/* ==========================================================================
   MAXXMERISE — Label site
   Type system: Space Mono only (real brand font files, assets/fonts).
   Hero wordmark + logo mark are real brand assets (assets/brand).
   ========================================================================== */

@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/SpaceMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/SpaceMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/SpaceMono-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/SpaceMono-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #efeadf;
  --cream-2: #e6e0d2;
  --ink: #14120f;
  --ink-soft: #14120fcc;
  --white: #fbfaf7;
  --red: #e3402a;
  --line: #14120f2e;
  --line-strong: #14120f;

  --mono: "Space Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1600px;
  --gutter: clamp(20px, 5vw, 64px);

  --radius: 14px;
  --radius-sm: 8px;
  --card-gap: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.btn-ghost-inverse {
  border-color: var(--white);
  color: var(--white);
}
.btn-ghost-inverse:hover { background: var(--white); color: var(--ink); }

/* Send-button "roll up to Thank you!" animation, used on booking/demo submits */
.btn-swap {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}
.btn-swap-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: transform .5s cubic-bezier(.65, 0, .35, 1), opacity .35s ease;
}
.btn-swap-face--sent {
  position: absolute;
  inset: 0;
  transform: translateY(115%);
  opacity: 0;
}
.btn-swap-check {
  display: inline-block;
  transform: scale(0);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1) .15s;
}
.btn-animated.is-sent .btn-swap-face--default {
  transform: translateY(-115%);
  opacity: 0;
}
.btn-animated.is-sent .btn-swap-face--sent {
  transform: translateY(0);
  opacity: 1;
}
.btn-animated.is-sent .btn-swap-check { transform: scale(1); }
.btn-animated.is-sent {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  animation: btnSentPulse .5s ease;
}
@keyframes btnSentPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.035); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-swap-face, .btn-swap-check, .btn-animated.is-sent { transition: none; animation: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line-strong);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 76px;
  position: relative;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}
.brand img {
  width: 34px;
  height: 34px;
  animation: spin-logo 10s linear infinite;
}
@keyframes spin-logo {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .brand img { animation: none; }
}
.brand-word {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* The hamburger + dropdown nav is now the header's only nav style at every
   width, not just mobile — a deliberate simplification (OSKA wanted a
   consistently "clean" header rather than the desktop inline-links version). */
.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line-strong);
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 8px var(--gutter) 18px;
}
.main-nav.is-open { display: flex; }
.main-nav a {
  width: 100%;
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  border-bottom: 1px solid var(--line);
}
.main-nav a:hover,
.main-nav a.is-active {
  color: var(--red);
}
.main-nav .nav-secondary-link:first-of-type {
  margin-top: 8px;
}
.main-nav .nav-secondary-link {
  color: var(--ink-soft);
}

.nav-toggle {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  padding: 8px 10px;
  font-family: var(--mono);
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Language switcher: a small dropdown, always visible (desktop + mobile),
   sitting between the nav toggle and the main nav in the header. */
.lang-switch {
  position: relative;
  flex-shrink: 0;
}
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 7px 10px;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.lang-switch-btn:hover { background: var(--ink); color: var(--cream); }
.lang-caret { font-size: 9px; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(20, 18, 15, 0.2);
  z-index: 150;
}
.lang-menu[hidden] { display: none; }
.lang-menu li {
  padding: 8px 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}
.lang-menu li:hover,
.lang-menu li.is-active {
  background: var(--ink);
  color: var(--cream);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: clamp(28px, 5vw, 56px);
  overflow: hidden;
}
.hero-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 0.7vw, 12px);
  width: 100%;
  max-width: var(--wrap);
  aspect-ratio: 3.05 / 1;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero-wordmark .letter {
  height: 100%;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: contrast(1.03);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.hero-wordmark .letter-holder {
  position: relative;
  height: 100%;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.hero-wordmark .letter-holder .letter {
  flex-shrink: initial;
}
.hero-star {
  position: absolute;
  left: 21.51%;
  top: 44.8%;
  width: 56.41%;
  height: 21.6%;
  fill: var(--cream);
  stroke: var(--ink);
  stroke-width: 0.3;
  stroke-linejoin: round;
  overflow: visible;
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: none;
  z-index: 2;
}
.hero-wordmark .letter-x {
  position: relative;
  z-index: 1;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.hero-sub {
  text-align: center;
  padding: 18px var(--gutter) clamp(28px, 5vw, 48px);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
}
.marquee-text {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-sketch {
  height: 34px;
  width: auto;
  display: block;
  margin: 0 20px;
  flex-shrink: 0;
}
.marquee-star {
  margin-right: 28px;
  color: var(--red);
  font-size: 13px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ==========================================================================
   Section shell
   ========================================================================== */
section { scroll-margin-top: 84px; }

.section {
  padding-block: clamp(48px, 8vw, 88px);
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.section-count {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Releases
   ========================================================================== */
.releases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
}
.release-card {
  flex: 0 1 calc((100% - 2 * var(--card-gap)) / 3);
  min-width: 260px;
  background: var(--cream);
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.release-cover {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: var(--cream-2);
}
.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.release-card:hover .release-cover img { transform: scale(1.04); }

.release-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.release-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.2;
}
.release-artists {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.release-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.release-links {
  display: grid;
  gap: 6px;
  margin-top: auto;
}

/* ==========================================================================
   Artists
   ========================================================================== */
.artist-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: var(--card-gap);
  margin-bottom: clamp(24px, 4vw, 40px);
}
.artist-profile {
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 32px);
  /* Subgrid: head/bio/photo share row height with the artist card next to
     it (OSKAMAXX + Lostsister), so a longer bio doesn't make one photo end
     up smaller than the other — both always match, whichever bio is longer. */
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
}
.artist-profile-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.artist-profile-name {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}
.artist-profile-role {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.artist-profile-bio {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.artist-profile-bio p { margin: 0 0 1em; }
.artist-profile-bio p:first-child { color: var(--ink); font-weight: 700; }
.artist-profile-bio p:last-child { margin-bottom: 0; }
.artist-profile-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 28px);
}
.artist-profile-booking .eyebrow,
.artist-profile-socials .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.artist-profile-socials .follow-links {
  display: grid;
  gap: 8px;
}

/* Flip card: the whole booking area starts as one full-bleed photo with the
   artist's name centered at the bottom; click/tap (or Enter/Space when
   focused) rotates it to reveal the normal Follow + booking layout on the
   back. Front/back sit in the same grid cell so the card's height is driven
   by whichever face needs more room (almost always the booking form on the
   back) — no fixed/guessed height needed. */
.artist-flip {
  perspective: 1800px;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.artist-flip-inner {
  display: grid;
  height: 100%;
  transition: transform .7s cubic-bezier(.65, 0, .35, 1);
  transform-style: preserve-3d;
}
.artist-flip.is-flipped .artist-flip-inner { transform: rotateY(180deg); }
.artist-flip-face {
  grid-area: 1 / 1;
  min-width: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.artist-flip-front {
  position: relative;
  background-size: cover;
  background-position: center 22%;
  background-color: var(--ink);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 360px;
  padding: 24px;
}
/* A permanent (not hover-only) darkening at the bottom of the photo — makes
   the name read as a clickable "plate" rather than just a caption, which is
   the main affordance cue on touch devices that never see the hover state. */
.artist-flip-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .38) 32%, rgba(0, 0, 0, 0) 62%);
  transition: background-color .25s ease;
  pointer-events: none;
}
.artist-flip:hover .artist-flip-front::before,
.artist-flip:focus-visible .artist-flip-front::before,
.artist-flip.flip-attention .artist-flip-front::before {
  background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .5) 38%, rgba(0, 0, 0, .05) 70%);
}
.artist-flip-name {
  position: relative;
  z-index: 1;
  color: var(--cream);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .6), 0 1px 3px rgba(0, 0, 0, .5);
  transition: color .2s ease;
}
/* Small always-visible "this rotates" badge — the clearest signal that the
   photo is interactive, since it doesn't rely on a hover state that touch
   devices never trigger. Spins a bit further and darkens on hover/focus as
   extra feedback on devices that do have hover. */
.artist-flip-hint {
  position: absolute;
  top: clamp(12px, 2.5vw, 18px);
  right: clamp(12px, 2.5vw, 18px);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 18, 15, .55);
  border: 1px solid rgba(251, 250, 247, .55);
  color: var(--cream);
  font-size: 17px;
  line-height: 1;
  transition: background-color .2s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.artist-flip:hover .artist-flip-hint,
.artist-flip:focus-visible .artist-flip-hint,
.artist-flip.flip-attention .artist-flip-hint {
  background: rgba(20, 18, 15, .8);
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .artist-flip-hint { transition: background-color .2s ease; }
  .artist-flip:hover .artist-flip-hint,
  .artist-flip:focus-visible .artist-flip-hint,
  .artist-flip.flip-attention .artist-flip-hint { transform: none; }
}
/* Hover/focus tints the name — a quiet hint that the whole photo is clickable.
   .flip-attention is the same treatment triggered without hover: on mobile,
   script.js adds it briefly the first time each card scrolls into view, since
   touch devices never see :hover and the affordance needs some other cue. */
#artist-oskamaxx .artist-flip:hover .artist-flip-name,
#artist-oskamaxx .artist-flip:focus-visible .artist-flip-name,
#artist-oskamaxx .artist-flip.flip-attention .artist-flip-name {
  color: #ff3fa0;
}
#artist-lostsister .artist-flip:hover .artist-flip-name,
#artist-lostsister .artist-flip:focus-visible .artist-flip-name,
#artist-lostsister .artist-flip.flip-attention .artist-flip-name {
  color: #a855f7;
}
#artist-moonlin .artist-flip:hover .artist-flip-name,
#artist-moonlin .artist-flip:focus-visible .artist-flip-name,
#artist-moonlin .artist-flip.flip-attention .artist-flip-name {
  color: #f5c542; /* the yellow of Moon's cap */
}
.artist-flip-back {
  position: relative;
  background: var(--cream);
  padding: clamp(22px, 4vw, 32px);
  padding-top: 56px;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .artist-flip-inner { transition: none; }
}

/* Scroll-more cue: on mobile the flipped-back panel is height-capped (see the
   900px breakpoint) and its booking form scrolls internally — without a cue
   it isn't obvious there's more below the fold. script.js adds "has-more" to
   .artist-flip-back while it's scrollable and not yet at the bottom, which
   fades in a bottom shadow plus a small bouncing arrow; both fade out once
   scrolled to the end. Only ever active where scrollHeight > clientHeight,
   which on wider screens (uncapped height) never happens. */
.artist-flip-back::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: linear-gradient(to bottom, rgba(239, 234, 223, 0), var(--cream) 85%);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.artist-flip-back.has-more::after {
  opacity: 1;
}
.flip-scroll-cue {
  display: none;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(20, 18, 15, .35);
  animation: scrollCueBounce 1.4s ease-in-out infinite;
  pointer-events: none;
}
.artist-flip-back.has-more .flip-scroll-cue {
  display: flex;
}
@keyframes scrollCueBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .flip-scroll-cue { animation: none; }
}

/* "Back to the photo" button on a flipped card. */
.flip-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.flip-close:hover { background: var(--ink); color: var(--cream); }
.artist-card-back .flip-close { width: 28px; height: 28px; top: 8px; right: 8px; font-size: 14px; }

.artists-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
}
.artist-card {
  flex: 0 1 calc((100% - 2 * var(--card-gap)) / 3);
  min-width: 220px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  perspective: 1400px;
  cursor: pointer;
}
.artist-card-inner {
  display: grid;
  height: 100%;
  transition: transform .6s cubic-bezier(.65, 0, .35, 1);
  transform-style: preserve-3d;
}
.artist-card.is-flipped .artist-card-inner { transform: rotateY(180deg); }
.artist-card-face {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 132px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: background-color .2s ease, color .2s ease;
}
.artist-card-back {
  position: relative;
  transform: rotateY(180deg);
  justify-content: center;
  padding-top: 44px;
}
/* Card inverts on hover/focus — the same "something happens if you click"
   cue used on buttons elsewhere on the site. */
.artist-card:hover .artist-card-front,
.artist-card:focus-visible .artist-card-front {
  background: var(--ink);
  color: var(--white);
}
.artist-card:hover .artist-card-front .artist-role,
.artist-card:focus-visible .artist-card-front .artist-role {
  color: #ffffff8a;
}
@media (prefers-reduced-motion: reduce) {
  .artist-card-inner { transition: none; }
}
.artist-name {
  font-size: 17px;
  font-weight: 700;
}
.artist-role {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ==========================================================================
   Events
   ========================================================================== */
.events-empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 44px);
  text-align: center;
}
.events-empty p:first-child {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
}
.events-empty p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* ==========================================================================
   About + Follow
   ========================================================================== */
.about-follow {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--card-gap);
}
.about-follow > div {
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.about-copy {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.65;
  max-width: 58ch;
  color: var(--ink-soft);
}
.about-copy p { margin: 0 0 1.2em; }
.about-copy p:first-child { color: var(--ink); font-weight: 700; font-size: 1.2em; }
.about-copy p:last-child { margin-bottom: 0; }
.follow-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

/* ==========================================================================
   Booking
   ========================================================================== */
.booking {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.booking-copy p { color: var(--ink-soft); max-width: 52ch; }
.booking-copy p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.booking-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px;
}
.booking-card .eyebrow { display: block; margin-bottom: 14px; }
.booking-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 10px;
}

.demo-card {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.demo-card .eyebrow { display: block; color: var(--red); margin-bottom: 10px; }
.demo-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}
.demo-copy {
  font-size: 13px;
  line-height: 1.5;
  color: #ffffffb3;
  margin: 0 0 20px;
}
.demo-form {
  display: grid;
  gap: 12px;
  flex-grow: 1;
  align-content: start;
}
.demo-btn.btn {
  border-color: var(--cream);
  color: var(--cream);
}
.demo-btn.btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.booking-form {
  display: grid;
  gap: 12px;
}
.form-row {
  display: grid;
  gap: 6px;
}
.form-row label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-row input {
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
}
.form-row input::placeholder { color: var(--ink-soft); }
.form-row input:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.booking-form .btn { margin-top: 4px; }
.demo-form .form-row label { color: #ffffff8a; }
.demo-form .form-row input {
  color: var(--cream);
  border-color: #ffffff40;
}
.demo-form .form-row input::placeholder { color: #ffffff66; }
.demo-form .form-row input:focus-visible { outline-color: var(--red); }
.demo-form .btn { margin-top: 4px; }

/* Honeypot field — invisible to real visitors, catches simple form bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--cream);
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: clamp(28px, 5vw, 44px);
  border-bottom: 1px solid #ffffff22;
}
.footer-top img { width: 40px; height: 40px; }
.footer-top .brand-word { font-size: 20px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 40px);
  padding-block: clamp(28px, 5vw, 44px);
  border-bottom: 1px solid #ffffff22;
}
.footer-col h3 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff8a;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: 20px;
  font-size: 12px;
  color: #ffffff8a;
  letter-spacing: 0.04em;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.footer-legal a:hover { color: var(--red); }

/* ==========================================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================================== */
.legal {
  padding-block: clamp(40px, 7vw, 80px);
}
.legal-body {
  max-width: 720px;
}
.legal-body h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.legal-updated {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 clamp(28px, 5vw, 44px);
}
.legal-body h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 36px 0 10px;
}
.legal-body h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 22px 0 6px;
}
.legal-body p,
.legal-body address {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 66ch;
  margin: 0 0 14px;
}
.legal-body address { font-style: normal; }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover { color: var(--red); }
.legal-body .legal-lead {
  color: var(--ink);
  font-size: 15px;
}

/* ==========================================================================
   Privacy note — one-time heads-up, not a consent gate (the site sets no
   cookies and does no tracking, so there is nothing to consent to).
   ========================================================================== */
.privacy-note[hidden] { display: none; }
.privacy-note {
  position: fixed;
  left: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 24px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 300;
  max-width: 400px;
  margin-left: auto;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 34px rgba(20, 18, 15, .28);
  animation: privacyNoteIn .3s ease;
}
.privacy-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #ffffffbf;
}
.privacy-note strong { color: var(--cream); font-weight: 700; }
.privacy-note .privacy-note-ok {
  width: auto;
  align-self: flex-start;
  justify-content: center;
  padding-inline: 20px;
}
@keyframes privacyNoteIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .privacy-note { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Tablet / iPad: the hero wordmark's full-bleed size is only meant for wide
   screens — on iPad (incl. the 12.9" at 1366px) it overflows and clips too
   hard. Shrink it so it sits inside the gutters with a small margin. */
@media (max-width: 1400px) {
  .hero-wordmark { aspect-ratio: 3.5 / 1; }
}

/* Below ~1150px the three artist profiles get too narrow side by side —
   drop to two across (the third wraps under, leaving one empty slot, which
   is fine — cards stay a consistent size, they don't stretch to fill it). */
@media (max-width: 1150px) {
  .artist-profiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .release-card { flex-basis: calc((100% - var(--card-gap)) / 2); }
  .about-follow { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr; }
  .artist-profiles { grid-template-columns: 1fr; }

  /* Below this width the 3 profiles stack in one column, and the flip card's
     front/back share one height (see the "Flip card" comment above) — with
     the booking form on the back often running 700px+ tall, the photo on the
     front was being stretched to match it, so you had to scroll almost a
     full screen of photo before the artist's name (bottom-aligned) came into
     view. Capping the card's height here keeps photo + name in one glance;
     the back becomes independently scrollable so the form still fits. */
  .artist-flip { max-height: 540px; }
  .artist-flip-back {
    overflow-y: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .release-card { flex-basis: 100%; }
  .artist-card { flex-basis: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .hero-wordmark { aspect-ratio: 3.6 / 1; padding-inline: clamp(20px, 8vw, 32px); }
}

@media (max-width: 420px) {
  .hero-sub { font-size: 11px; }
}
