:root {
  color-scheme: dark;
  --bg: #0f1210;
  --surface: #171d1a;
  --surface-2: #1f2723;
  --ink: #ecf1e6;
  --muted: #9aaba2;
  --acid: #8fe6be;
  --teal: #2f9c86;
  --red: #e2483b;
  --step: 5px;
  --font: "Archivo", "Arial Narrow", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.45;
  background:
    radial-gradient(60rem 40rem at 50% -10%, color-mix(in srgb, var(--teal) 35%, transparent), transparent 70%),
    radial-gradient(40rem 30rem at 110% 80%, color-mix(in srgb, var(--red) 12%, transparent), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

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

.wrap {
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: 0 1.25rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
}

/* Language switch */
.lang {
  position: fixed;
  top: calc(0.75rem + env(safe-area-inset-top, 0px));
  right: 0.75rem;
  z-index: 5;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-stretch: 80%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  backdrop-filter: blur(6px);
}

.lang:hover {
  border-color: var(--acid);
  color: var(--acid);
}

/* Hero: photo fading into the page, logo on top */
.hero {
  position: relative;
  margin: 0 -1.25rem;
}

.hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: 50% 15%;
  filter: saturate(1.15) contrast(1.05);
  -webkit-mask-image: linear-gradient(#000 55%, transparent 98%);
  mask-image: linear-gradient(#000 55%, transparent 98%);
}

/* Wider than the column: fade the photo's side edges too */
@media (min-width: 31rem) {
  .hero__photo img {
    -webkit-mask-image: linear-gradient(#000 55%, transparent 98%), linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(#000 55%, transparent 98%), linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    mask-composite: intersect;
  }
}

.hero__logo {
  position: relative;
  width: 9.5rem;
  margin: -6.5rem auto 0;
  color: var(--ink);
  filter: drop-shadow(0 2px 14px rgb(0 0 0 / 0.7));
}

.hero__logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.genre {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-stretch: 75%;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acid);
}

.tagline {
  margin: 0.4rem auto 1.75rem;
  max-width: 22rem;
  text-align: center;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
}

/* Stepped corners, borrowed from the pixel bat */
.btn,
.gigs,
.booking,
.consent,
.consent__btn {
  --s: var(--step);
  clip-path: polygon(
    0 calc(var(--s) * 2), var(--s) calc(var(--s) * 2), var(--s) var(--s), calc(var(--s) * 2) var(--s), calc(var(--s) * 2) 0,
    calc(100% - var(--s) * 2) 0, calc(100% - var(--s) * 2) var(--s), calc(100% - var(--s)) var(--s), calc(100% - var(--s)) calc(var(--s) * 2), 100% calc(var(--s) * 2),
    100% calc(100% - var(--s) * 2), calc(100% - var(--s)) calc(100% - var(--s) * 2), calc(100% - var(--s)) calc(100% - var(--s)), calc(100% - var(--s) * 2) calc(100% - var(--s)), calc(100% - var(--s) * 2) 100%,
    calc(var(--s) * 2) 100%, calc(var(--s) * 2) calc(100% - var(--s)), var(--s) calc(100% - var(--s)), var(--s) calc(100% - var(--s) * 2), 0 calc(100% - var(--s) * 2)
  );
}

/* Links */
.links {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.5rem;
  padding: 0.8rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface-2);
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}

.btn:hover {
  background: var(--red);
  color: #fff;
  transform: translateX(3px);
}

.btn--featured {
  background: var(--acid);
  color: var(--bg);
}

.btn__icon {
  display: inline-flex;
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
}

.btn__icon svg {
  width: 100%;
  height: 100%;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acid);
}

.section-title::after {
  content: "";
  flex: 1;
  height: var(--step);
  background: repeating-linear-gradient(90deg, currentColor 0 var(--step), transparent var(--step) calc(var(--step) * 2));
  opacity: 0.5;
}

/* Gigs */
.gigs,
.booking {
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: var(--surface);
}

.gigs__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gig {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.gig + .gig {
  border-top: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
}

.gig__date {
  display: grid;
  justify-items: center;
  width: 3.1rem;
  line-height: 1;
  font-stretch: 75%;
  text-transform: uppercase;
}

.gig__day {
  font-size: 1.75rem;
  font-weight: 900;
}

.gig__month {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--acid);
}

.gig__where {
  display: grid;
  min-width: 0;
}

.gig__where strong {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gig__where span {
  font-size: 0.9rem;
  color: var(--muted);
}

.gig__link {
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--acid);
  color: var(--acid);
}

.gig__link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Booking */
.booking p {
  margin: 0 0 0.6rem;
  color: var(--muted);
}

.booking__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration-color: var(--acid);
  text-underline-offset: 4px;
}

.booking__mail:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

/* Footer */
.foot {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.foot__bat {
  display: block;
  width: 2.5rem;
  height: 1.75rem;
  margin: 0 auto 0.5rem;
  background: url("/assets/img/favicon.svg") center / contain no-repeat;
  opacity: 0.8;
}

.foot p {
  margin: 0;
}

.foot__src {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-top: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.foot__src:hover,
.foot__src:focus-visible {
  color: var(--acid);
}

.foot__src svg {
  width: 1.1em;
  height: 1.1em;
}
.foot__consent {
  margin-top: 0.4rem;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.foot__consent:hover,
.foot__consent:focus-visible {
  color: var(--acid);
}

/* Consent banner (only with "analytics": true in band.json) */
.consent {
  position: fixed;
  inset: auto 0.75rem 0.75rem;
  z-index: 20;
  max-width: 34rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--surface-2);
}
.consent[hidden] {
  display: none;
}
.consent p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}
.consent__actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}
.consent__btn {
  --s: 3px;
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--surface-2);
  border: 0;
  cursor: pointer;
}
.consent__btn:hover {
  background: var(--red);
  color: #fff;
}
.consent__btn--accept {
  background: var(--acid);
  color: var(--bg);
}

/* Slow light-show drift on the background glow */
@media (prefers-reduced-motion: no-preference) {
  body {
    animation: drift 24s ease-in-out infinite alternate;
  }

  @keyframes drift {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: -6rem 3rem, 4rem -6rem, 0 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Bio page */
.bio {
  padding-top: calc(4rem + env(safe-area-inset-top, 0px));
}

.bio__nav {
  position: fixed;
  top: calc(0.75rem + env(safe-area-inset-top, 0px));
  left: 0.75rem;
  z-index: 5;
}

.bio__back {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-stretch: 80%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  backdrop-filter: blur(6px);
}

.bio__back:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.bio__head {
  margin-bottom: 1.5rem;
}

.bio__logo {
  display: block;
  width: 7rem;
  margin: 0 auto 2rem;
  color: var(--ink);
}

.bio__logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.6;
}

.prose > :first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1em;
}

.prose blockquote {
  margin: 0 0 1.75rem;
  padding: 0 0 0 1rem;
  border-left: var(--step) solid var(--acid);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}

.prose blockquote p {
  margin: 0;
}

.prose h2,
.prose h3 {
  margin: 2rem 0 0.75rem;
  font-weight: 800;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prose ul {
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.prose li {
  padding: 0.7rem 0;
  color: var(--muted);
}

.prose li + li {
  border-top: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
}

.prose li strong {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.prose a {
  color: var(--acid);
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--red);
}

.bio__photo {
  margin: 2rem -1.25rem 0;
}

.bio__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(transparent, #000 15%, #000 80%, transparent);
  mask-image: linear-gradient(transparent, #000 15%, #000 80%, transparent);
}
