/* Social Dream Music — one file, no build step, no JS. */

/* Self-hosted (no Google Fonts request → no DSGVO problem, no extra DNS hop).
   Latin subsets only; Å, Ø, ä/ö/ü/ß are all inside U+0000-00FF. */
@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  src: url('fonts/space-mono.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Syne';
  src: url('fonts/syne.woff2') format('woff2');
  font-weight: 600 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0b0d;
  --ink: #ece7de;
  --accent: #d8b48c;
  --teal: #6fa8a0;
  --violet: #584678;
  --muted: rgba(236, 231, 222, .66);
  --dim: rgba(236, 231, 222, .48);
  --line: rgba(236, 231, 222, .14);
  --line-strong: rgba(236, 231, 222, .22);
  --pad: clamp(20px, 3.5vw, 60px);
  --sec: clamp(80px, 12vh, 150px);
  --display: Syne, 'Trebuchet MS', sans-serif;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 20px;
}
.skip:focus { left: 0; }

/* ── shared type ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0;
}
.eyebrow--accent { color: var(--accent); }

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -.025em;
  margin: 0;
}
h2, h3 { text-wrap: balance; }
h2 {
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 48px);
  line-height: 1.05;
  text-transform: uppercase;
}
p { text-wrap: pretty; }

.wrap { max-width: 1320px; margin: 0 auto; }
.section { border-top: 1px solid var(--line); padding: var(--sec) var(--pad); }
.section--bleed { padding-left: 0; padding-right: 0; }
.section--bleed > .wrap { padding: 0 var(--pad); }
.head { display: flex; flex-direction: column; gap: 16px; }

/* ── nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px var(--pad);
  background: rgba(11, 11, 13, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(236, 231, 222, .1);
}
.nav a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav__brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav__links { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.6vw, 24px); align-items: center; }
.nav__links a { color: var(--dim); }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__lang {
  color: var(--accent) !important;
  border: 1px solid rgba(216, 180, 140, .4);
  padding: 4px 8px;
}
.nav__lang:hover { background: var(--accent); color: var(--bg) !important; }
@media (max-width: 760px) { .nav__links a:not(.nav__lang):not(.nav__links-keep) { display: none; } }
/* The legal pages' only in-nav link is "back" — never hide it. */
.nav__links--back a { display: inline !important; }

/* ── hero ────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  padding-top: 60px;
  min-height: 100svh;
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(22px, 2.8vh, 32px);
  padding: clamp(44px, 7vh, 96px) var(--pad);
  container-type: inline-size;
}
.hero h1 {
  font-weight: 800;
  /* Sized against the column, not the viewport: Syne 800 is wide enough that a
     vw-based clamp wraps the headline. 8.4cqw is the largest value at which the
     four authored lines hold at every width in BOTH languages — the German
     "EINE PERSON." is the widest line on the site. Raising it breaks de/. */
  font-size: clamp(24px, 8.4cqw, 80px);
  line-height: .94;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.08fr .92fr; }
}
.hero h1 span { color: var(--accent); }
.hero__lead {
  margin: 0; max-width: 44ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: rgba(236, 231, 222, .7);
}
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 26px;
  background: var(--ink); color: var(--bg);
  align-self: flex-start;
  transition: background .2s;
}
.btn:hover { background: var(--accent); color: var(--bg); }
.stats {
  display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 28px);
  padding-top: 14px; margin: 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(236, 231, 222, .5);
  list-style: none;
}

/* Hero artwork: pure CSS, no image weight, no LCP cost. */
.hero__art {
  position: relative; overflow: hidden;
  min-height: 58svh;
  border-left: 1px solid rgba(236, 231, 222, .12);
}
.hero__art > * { position: absolute; }
.hero__blobs {
  /* Kept close to the panel: at -25% the gradients scale past the visible
     area and the whole thing washes out to near-black. */
  inset: -8%;
  filter: blur(58px);
  opacity: .95;
  background:
    radial-gradient(42% 42% at 34% 30%, rgba(216, 180, 140, .85), transparent 70%),
    radial-gradient(46% 44% at 70% 62%, rgba(111, 168, 160, .7), transparent 72%),
    radial-gradient(50% 50% at 46% 88%, rgba(88, 70, 120, .72), transparent 74%);
  animation: drift 38s ease-in-out infinite;
}
.hero__disc, .hero__ring, .hero__label, .hero__spindle {
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  aspect-ratio: 1; border-radius: 50%;
}
.hero__disc {
  width: min(86%, 70vh);
  mix-blend-mode: screen;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(236, 231, 222, .14) 0 1px, transparent 1px 9px);
  mask-image: radial-gradient(circle at 50% 50%, #000 26%, rgba(0, 0, 0, .55) 62%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 26%, rgba(0, 0, 0, .55) 62%, transparent 78%);
  animation: spin 120s linear infinite;
}
.hero__ring { width: min(86%, 70vh); border: 1px solid rgba(236, 231, 222, .22); }
.hero__label {
  width: min(30%, 24vh);
  background: radial-gradient(circle at 40% 35%, rgba(11, 11, 13, .1), rgba(11, 11, 13, .72));
  border: 1px solid rgba(236, 231, 222, .28);
}
.hero__spindle { width: 6px; height: 6px; background: var(--ink); }
.hero__grain {
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(11, 11, 13, .3) 0 1px, transparent 1px 12px);
}
.hero__fade { inset: 0; background: linear-gradient(to top, rgba(11, 11, 13, .55), transparent 55%); }
.hero__caption {
  left: 20px; right: 20px; bottom: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(236, 231, 222, .66);
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.05) rotate(0deg); }
  50% { transform: translate3d(5%, -4%, 0) scale(1.18) rotate(8deg); }
}
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── two-column section (pillars, faq) ───────────────────── */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
}
.split .head h2 { max-width: 18ch; }

.pillar {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid rgba(236, 231, 222, .16);
}
.pillar__no { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.pillar h3 { font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.01em; }
.pillar p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 52ch; }

/* ── releases ────────────────────────────────────────────── */
/* Fünf Karten lassen bei jedem Umbruch eine Lücke. Statt Grid deshalb Flexbox
   mit zentrierter letzter Reihe. Die max-width je Breakpoint deckelt die Karten
   auf exakt die Breite, die sie in einer vollen Reihe hätten, damit die letzte
   Reihe nicht breiter wird als die darüber. */
.releases {
  --gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(34px, 4vw, 56px);
  max-width: 1320px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
  padding: 0 var(--pad);
}
.release {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: clamp(12px, 1.2vw, 18px);
}
@media (min-width: 680px)  { .release { max-width: calc((100% - var(--gap)) / 2); } }
@media (min-width: 1080px) { .release { max-width: calc((100% - 2 * var(--gap)) / 3); } }
.release img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #14141a; }
.release__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 2px 2px; }
.release__meta {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim);
}
.release h3 {
  font-weight: 700;
  font-size: clamp(19px, 1.9vw, 28px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.release__artist { font-size: 14px; color: var(--accent); letter-spacing: .04em; margin: 0; }
/* Syne's zero is near-identical to its "o" — set the terminal title in mono,
   which is also how it appears on the cover. */
.release h3.is-mono { font-family: var(--mono); font-size: clamp(17px, 1.6vw, 23px); letter-spacing: 0; }

/* ── process ─────────────────────────────────────────────── */
.steps { list-style: none; margin: clamp(34px, 4vw, 56px) 0 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: baseline;
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 1px solid var(--line-strong);
}
.step__no {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 92px);
  line-height: .85;
  letter-spacing: -.04em;
  color: rgba(236, 231, 222, .16);
}
.step h3 { font-weight: 700; font-size: clamp(19px, 2vw, 28px); letter-spacing: -.02em; text-transform: uppercase; }
.step p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 40ch; }

/* ── faq (native <details>, zero JS) ─────────────────────── */
.faq { border-top: 1px solid rgba(236, 231, 222, .18); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 15px;
  color: rgba(236, 231, 222, .55);
  flex: none;
}
.faq[open] summary::after { content: '\2212'; }
.faq p { margin: 0; padding: 0 0 24px; max-width: 52ch; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ── footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 5vw, 60px) var(--pad);
}
.footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(236, 231, 222, .5);
}
.footer__brand { color: rgba(236, 231, 222, .85); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { color: rgba(236, 231, 222, .5); }
.footer nav a:hover { color: var(--ink); }

/* ── legal pages ─────────────────────────────────────────── */
.legal {
  max-width: 72ch;
  margin: 0 auto;
  padding: calc(60px + var(--sec)) var(--pad) var(--sec);
}
.legal h1 {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: clamp(18px, 1.8vw, 24px);
  margin: 48px 0 12px;
  text-transform: none;
  letter-spacing: -.01em;
}
.legal h3 { font-weight: 700; font-size: 16px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.legal__updated { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* ── attribution line (hero + standing sentence on project pages) ── */
.claim {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: rgba(236, 231, 222, .82);
}
.claim strong { color: var(--ink); font-weight: 500; }

/* Offizielle EU-Kennzeichnung fuer KI-Inhalte (Art. 50 AI Act).
   Die Symbole sind freiwillig, deshalb im Katalog nur als kleine Marke in der
   Ecke. Den Klartext dazu traegt die Transparenzseite. */
.head--row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
/* Die SVG-Variante bringt ihre eigene 50-Prozent-Pille mit. Zusaetzlich
   abdunkeln wuerde das "AI" darin unlesbar machen, deshalb nur leicht. */
.aimark { flex: none; line-height: 0; opacity: .8; transition: opacity .2s; }
.aimark:hover { opacity: 1; }
.aimark img { width: 34px; height: auto; }

/* Auf der Transparenzseite steht das Symbol neben seiner Erklaerung. */
.ailabel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 32px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}
.ailabel img { width: 54px; height: auto; flex: none; }
.ailabel a { color: var(--accent); }
@media (max-width: 560px) {
  .ailabel { flex-direction: column; align-items: flex-start; gap: 10px; }
}

.lead {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: rgba(236, 231, 222, .72);
}

/* ── projects index ──────────────────────────────────────── */
.projects { list-style: none; margin: clamp(34px, 4vw, 56px) 0 0; padding: 0; }
.project {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, .9fr);
  gap: clamp(14px, 2vw, 32px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-top: 1px solid var(--line-strong);
}
@media (max-width: 820px) { .project { grid-template-columns: 1fr; gap: 12px; } }
.project h3 { font-weight: 700; font-size: clamp(19px, 2vw, 30px); letter-spacing: -.02em; text-transform: uppercase; }
.project__genre {
  display: block; margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.project p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 46ch; }
.project__links { display: flex; flex-direction: column; gap: 8px; }
.project__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(236, 231, 222, .82);
}
.project__links a:hover { color: var(--accent); }
/* Alias ohne Profil: gleiche Zeile wie ein Link, nur stumm. */
.project__soon {
  display: block;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim);
}

/* ── portrait (about page) ───────────────────────────────── */
.portrait { margin: 0 0 34px; }
.portrait img { width: 100%; max-width: 420px; border: 1px solid var(--line); }
.portrait figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim);
}
/* Deliberate empty state: no stand-in portrait is generated, because a
   generated face is exactly what this page exists to rule out. */
.portrait--todo {
  display: grid; place-items: center;
  max-width: 420px; aspect-ratio: 3 / 4;
  border: 1px dashed rgba(216, 180, 140, .5);
  padding: 24px; text-align: center;
  font-family: var(--mono);
  font-size: 11px; line-height: 1.8; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
}

/* ── link + release lists on text pages ──────────────────── */
.linklist { list-style: none; padding: 0; margin: 0 0 14px; }
.linklist li { border-top: 1px solid var(--line); }
.linklist a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 0;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(236, 231, 222, .82);
  text-decoration: none;
}
.linklist a:hover { color: var(--accent); }
.linklist__soon {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 0;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim);
}

.releasetable { width: 100%; border-collapse: collapse; margin: 0 0 14px; }
.releasetable th, .releasetable td {
  text-align: left; padding: 12px 14px 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
  vertical-align: top;
}
.releasetable th {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); font-weight: 400;
}
.releasetable td:first-child { color: var(--ink); }
.releasetable code { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tablescroll { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
