/* One Million Likes — single-page press kit. Edit index.html for content. */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --text: #f2f2f2;
  --text-muted: #a3a3a3;
  --text-faint: #6b6b6b;
  --border: #262626;
  --accent: #e5e5e5;
  --max-read: 38rem;
  --max-wide: 72rem;
  --space-xs: 0.35rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Match Spotify column height to two SoundCloud players + gap (see .embed--spotify) */
  --embed-soundcloud-height: 300px;
  --header-offset: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: var(--space-sm) var(--space-md);
  background: #fff;
  color: #000;
}

.skip-link:focus {
  left: var(--space-md);
  top: var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: var(--space-sm) max(var(--space-md), env(safe-area-inset-right, 0))
    var(--space-sm) max(var(--space-md), env(safe-area-inset-left, 0));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.brand:hover {
  color: #fff;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  justify-content: flex-end;
  min-width: 0;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding: 0.35rem 0.15rem;
  touch-action: manipulation;
}

.nav a:hover {
  color: var(--text);
}

main {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 max(var(--space-md), env(safe-area-inset-right, 0)) var(--space-xl)
    max(var(--space-md), env(safe-area-inset-left, 0));
  min-width: 0;
}

.hero {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  gap: var(--space-lg);
  align-items: start;
}

.hero.hero--desktop {
  display: none;
}

.hero.hero--mobile {
  display: grid;
}

@media (min-width: 900px) {
  .hero.hero--desktop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--space-xl);
    align-items: start;
  }

  .hero.hero--mobile {
    display: none;
  }
}

.hero__intro {
  max-width: var(--max-read);
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 var(--space-md);
}

.hero h1 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__tagline {
  margin: 0 0 var(--space-lg);
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
}

.hero__bio p {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
}

.hero__bio p:last-child {
  margin-bottom: 0;
}

.hero__figure {
  margin: 0;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
}

.hero__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__caption {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8125rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
}

.section {
  padding-top: var(--space-xl);
  scroll-margin-top: var(--header-offset);
}

#what-i-do.section,
#what-we-do.section {
  padding-top: var(--space-md);
}

.section__title {
  margin: 0 0 var(--space-md);
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
}

.section__lead {
  margin: 0 0 var(--space-lg);
  max-width: var(--max-read);
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section__lead a {
  overflow-wrap: anywhere;
}

.section-sub {
  margin: var(--space-md) 0 0;
  font-size: 0.9rem;
}

.section-sub a {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.section-sub a:hover {
  color: var(--text);
}

.show-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--max-read);
}

.show-list__item {
  display: grid;
  grid-template-columns: minmax(6.5rem, auto) 1fr;
  gap: var(--space-md);
  align-items: baseline;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.show-list__item:first-child {
  padding-top: 0;
}

.show-list__item:last-child {
  border-bottom: 0;
}

.show-list__date {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.show-list__detail {
  color: var(--text-muted);
}

.show-list__place {
  color: var(--text-muted);
  font-weight: 400;
}

.show-list__item--tba .show-list__detail {
  grid-column: 1 / -1;
  font-style: italic;
}

.grid-2 {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: var(--space-md);
}

.card h3 {
  margin: 0 0 var(--space-sm);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card p:last-child {
  margin-bottom: 0;
}

#what-we-do > .card + .card {
  margin-top: var(--space-lg);
}

.release-spotlight__meta {
  margin: 0 0 var(--space-md);
  font-size: 0.9rem;
  color: var(--text-faint);
}

.release-spotlight__meta a {
  color: var(--text-muted);
  text-decoration: none;
}

.release-spotlight__meta a:hover {
  color: var(--text);
  text-decoration: underline;
}

.release-spotlight__body {
  display: grid;
  gap: var(--space-md);
  align-items: start;
}

@media (min-width: 560px) {
  .release-spotlight__body {
    grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  }
}

.release-spotlight__cover {
  display: block;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 2px;
  line-height: 0;
  text-decoration: none;
}

.release-spotlight__cover:hover {
  border-color: var(--accent);
}

.release-spotlight__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  vertical-align: middle;
}

.release-spotlight__copy p {
  margin: 0 0 var(--space-sm);
  color: var(--text-muted);
  font-size: 0.98rem;
}

.release-spotlight__copy p:last-child {
  margin-bottom: 0;
}

.release-spotlight__cta {
  display: inline-block;
  margin-top: var(--space-xs);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.release-spotlight__cta:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.embed {
  margin-top: var(--space-md);
  border: 1px solid var(--border);
  background: #000;
  overflow: hidden;
  border-radius: 2px;
}

.embed--16x9 {
  position: relative;
  aspect-ratio: 16 / 9;
}

.embed--16x9 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video section: stacked YouTube embeds + portrait MP4 */
.video-grid {
  display: grid;
  gap: var(--space-xl) clamp(2rem, 5vw, 3.5rem);
  margin-top: var(--space-md);
  align-items: stretch;
}

.video-grid__youtube-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  min-width: 0;
}

.video-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
}

.video-item__caption {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  overflow-wrap: break-word;
  hyphens: auto;
}

.video-item .embed {
  margin-top: 0;
}

.video-panel {
  margin: 0;
  border: 1px solid var(--border);
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}

.video-panel--portrait {
  aspect-ratio: 9 / 16;
  max-height: min(560px, 72vh);
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr min(30vw, 280px);
  }

  .video-panel--portrait {
    margin-inline: 0;
    max-width: none;
    max-height: none;
    height: 100%;
    min-height: 0;
  }
}

.video-panel--portrait video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#download .section__title {
  max-width: var(--max-read);
}

@media (min-width: 720px) {
  #what-i-do .section__lead,
  #what-we-do .section__lead,
  #download .section__lead {
    max-width: none;
  }

  #download .section__title,
  #download .section-sub {
    max-width: none;
  }
}

/* Bandcamp bar is fixed intrinsic width — keep block aligned with .section__lead */
#download .embed--bandcamp {
  max-width: var(--max-read);
}

#download .section-sub {
  max-width: var(--max-read);
}

.embed--bandcamp iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

/* SoundCloud artwork player (visual=true) needs more height than the compact bar */
.embed--soundcloud iframe {
  display: block;
  width: 100%;
  height: var(--embed-soundcloud-height);
  border: 0;
}

.embed--spotify iframe {
  display: block;
  width: 100%;
  height: 352px;
  border: 0;
}

/* Side-by-side with two SoundCloud rows: stretch album embed to similar total height */
@media (min-width: 720px) {
  .embed--spotify iframe {
    height: calc(2 * var(--embed-soundcloud-height) + var(--space-md));
  }
}

/* Narrow / single-column layout: taller Spotify embed so more of the track list is visible */
@media (max-width: 719px) {
  .embed--spotify iframe {
    height: min(520px, 72vh);
    height: min(520px, 72dvh);
  }
}

.embed__placeholder {
  padding: var(--space-lg);
  text-align: center;
  color: var(--text-faint);
  font-size: 0.875rem;
  line-height: 1.5;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.gallery .gallery__figure {
  margin: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elevated);
}

.gallery__thumb {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  line-height: 0;
}

.gallery__thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.gallery figcaption {
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
  color: var(--text-faint);
}

.lightbox {
  margin: 0;
  padding: max(3.5rem, env(safe-area-inset-top, 0))
    max(1rem, env(safe-area-inset-right, 0))
    max(1rem, env(safe-area-inset-bottom, 0))
    max(1rem, env(safe-area-inset-left, 0));
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100vh;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.lightbox__scrim {
  position: fixed;
  inset: 0;
  z-index: 0;
  cursor: zoom-out;
}

.lightbox__img {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1400px);
  max-height: min(88vh, 1200px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lightbox__close {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top, 0));
  right: max(0.75rem, env(safe-area-inset-right, 0));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(20, 20, 20, 0.92);
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lightbox__close:hover {
  border-color: var(--accent);
  background: rgba(30, 30, 30, 0.95);
}

.lightbox__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-footer {
  margin-top: var(--space-xl);
  padding: var(--space-lg) max(var(--space-md), env(safe-area-inset-right, 0))
    max(var(--space-lg), env(safe-area-inset-bottom, 0)) max(var(--space-md), env(safe-area-inset-left, 0));
  border-top: 1px solid var(--border);
  max-width: var(--max-wide);
  margin-left: auto;
  margin-right: auto;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: space-between;
  align-items: flex-start;
  color: var(--text-faint);
  font-size: 0.875rem;
}

.site-footer__meta {
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-footer__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-lg);
  justify-content: flex-end;
  flex-shrink: 0;
}

.site-footer .social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  justify-content: flex-end;
}

.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text-muted);
  text-decoration: none;
  text-decoration-thickness: 0;
  border-radius: 0.35rem;
  transition: filter 0.15s ease, background 0.15s ease;
}

.site-footer .social-link--soundcloud {
  width: auto;
  min-width: 2.65rem;
  padding-inline: 0.2rem;
}

.site-footer .social-link:hover {
  background: rgba(255, 255, 255, 0.06);
  filter: brightness(1.12);
}

.site-footer .social-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.site-footer .social-icon--soundcloud {
  width: auto;
  height: 1.22rem;
  aspect-ratio: 29 / 14.2;
}

.site-footer__media-kit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.site-footer__media-kit:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.site-footer__media-kit-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
  line-height: 1;
}

/* ——— Narrow screens / touch ——— */
@media (max-width: 720px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
    --header-offset: 5.75rem;
    --embed-soundcloud-height: 240px;
  }

  body {
    font-size: 1rem;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .brand {
    align-self: flex-start;
  }

  .nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: var(--space-xs) var(--space-sm);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.2rem;
    margin-left: calc(-1 * max(var(--space-md), env(safe-area-inset-left, 0)));
    margin-right: calc(-1 * max(var(--space-md), env(safe-area-inset-right, 0)));
    padding-left: max(var(--space-md), env(safe-area-inset-left, 0));
    padding-right: max(var(--space-md), env(safe-area-inset-right, 0));
  }

  .nav a {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .hero--mobile {
    padding-top: var(--space-md);
    padding-bottom: var(--space-sm);
  }

  .video-panel--portrait {
    max-height: min(520px, 65vh);
    max-height: min(520px, 62svh);
    max-width: min(320px, 100%);
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
  }

  .site-footer__right {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .site-footer .social {
    justify-content: flex-start;
  }

  .site-footer__media-kit {
    align-self: flex-start;
  }
}

@media (max-width: 420px) {
  :root {
    --embed-soundcloud-height: 200px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Legal pages (Impressum, Privacy) */
.legal-main {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: var(--space-xl) max(var(--space-md), env(safe-area-inset-right, 0))
    var(--space-xl) max(var(--space-md), env(safe-area-inset-left, 0));
  scroll-margin-top: var(--header-offset);
}

.legal-content {
  max-width: var(--max-read);
}

.legal-content h1 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.legal-content h2 {
  margin: var(--space-lg) 0 var(--space-sm);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.legal-content h2:first-of-type {
  margin-top: var(--space-md);
}

.legal-content p,
.legal-content ul {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

.legal-content__updated {
  font-size: 0.9rem;
  color: var(--text-faint);
}

.legal-content__back {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.site-footer__meta a {
  color: var(--text-faint);
  text-decoration-thickness: 1px;
}

.site-footer__meta a:hover {
  color: var(--text);
}

.site-footer--legal .site-footer__inner {
  align-items: center;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

.site-footer__legal a {
  color: var(--text-faint);
  text-decoration-thickness: 1px;
}

.site-footer__legal a:hover,
.site-footer__legal a[aria-current="page"] {
  color: var(--text);
}

.site-footer__legal a[aria-current="page"] {
  text-decoration: none;
}
