/* =========================================================================
   SONIC•THERA-P · Stylesheet
   70s vinyl-poster aesthetic. Warm cream paper, terracotta, mustard gold.
   ========================================================================= */

/* ----- Design tokens ----- */
:root {
  /* Colours pulled directly from the band logo */
  --cream: #F5EBD7;
  --cream-deep: #ECDFC5;
  --off-white: #FDFBF6; /* toned-down white for alternate sections */
  --terracotta: #C9482A;
  --terracotta-dark: #A8381F;
  --mustard: #E4A53A;
  --mustard-light: #ECBA5D;
  --ochre: #8C560C;
  --neon-pink: #FF2E93; /* special guests: border, tag, glow */
  --neon-pink-text: #C2116B; /* same pink, dark enough for small text */ /* darker mustard for small text on light backgrounds (5:1 contrast) */
  --ink: #2B1A12;
  --ink-soft: #6B5448;
  --shadow: rgba(43, 26, 18, 0.12);

  /* Typography */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 24px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* Needed for the full-bleed video section below: breaking an element out
     to 100vw can introduce a sliver of horizontal scroll in some browsers
     (100vw includes the scrollbar's own width), this prevents that. */
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  /* Subtle paper grain via SVG noise */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.17  0 0 0 0 0.10  0 0 0 0 0.07  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-blend-mode: multiply;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--terracotta-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0;
  font-weight: 800;
  line-height: 1.05;
  color: var(--terracotta);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-variation-settings: "opsz" 72, "SOFT" 100; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 2px solid var(--terracotta);
  background: var(--terracotta);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 0 var(--terracotta-dark);
}
.btn:hover {
  background: var(--terracotta-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--terracotta-dark);
}
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--terracotta-dark); }

.btn--ghost {
  background: transparent;
  color: var(--terracotta);
  box-shadow: 0 4px 0 var(--mustard);
}
.btn--ghost:hover {
  background: var(--mustard);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--terracotta);
}

/* ----- Header / nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 235, 215, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 26, 18, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  /* Only set vertical padding here: this element also has the .container
     class for its left/right gutter, and a padding shorthand here would
     overwrite that horizontal padding back to 0. */
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 800;
  color: var(--terracotta);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav__brand img { width: 42px; height: 42px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--terracotta); }

.nav__left { display: flex; align-items: center; gap: 0.5rem; }
.nav__right { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--cream-deep);
  border-radius: 999px;
  padding: 4px;
}
.lang-switch button {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.05em;
}
.lang-switch button.is-active {
  background: var(--terracotta);
  color: var(--cream);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: all 0.3s var(--ease);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(4rem, 10vw, 8rem);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--mustard);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--mustard);
}
.hero h1 {
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  color: var(--mustard);
  font-style: italic;
}
.hero__lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  max-width: 600px;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Decorative vinyl rings in the hero background */
.vinyl {
  position: absolute;
  top: -120px;
  right: -200px;
  width: 720px;
  height: 720px;
  z-index: 1;
  opacity: 0.85;
  animation: spin 60s linear infinite;
  pointer-events: none;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .vinyl { animation: none; }
}

/* ----- Section base ----- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
@media (min-width: 1024px) {
  /* Desktop/landscape screens hit the clamp's upper bound quickly, which
     left noticeably large gaps between sections; this tightens it back down. */
  .section {
    padding: 5rem 0;
  }
}
.section--alt {
  /* Sections alternate between the page's cream (body) and plain white. */
  background: var(--off-white);
  position: relative;
}
/* Two related sections sharing one background band, with a tighter gap between */
.section--join-next { padding-bottom: 1.5rem; }
.section--join-prev { padding-top: 1.5rem; }
@media (min-width: 1024px) {
  .section--join-next { padding-bottom: 1.5rem; }
  .section--join-prev { padding-top: 1.5rem; }
}
.section__head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 720px;
}
.section__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ochre);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ----- Featured video on home ----- */
.video-feature {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px var(--shadow);
}

/* Edge-to-edge variant for the homepage intro video: breaks out of
   .container to span the full viewport width. Capped at max-width so it
   doesn't become absurdly tall on ultra-wide monitors, a 16:9 video at
   100vw on a 2560px screen would be 1440px tall; 1800px caps that at a
   more reasonable ~1013px, and still reads as "full width" on every
   screen size most people actually use. */
.video-feature--bleed {
  width: 100vw;
  max-width: 1800px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  box-shadow: none;
  background: var(--ink);
}
.video-feature iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----- Vibe / sound cards ----- */
.vibe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.vibe-card {
  padding: 2rem 1.75rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.vibe-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--terracotta);
}
.vibe-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--terracotta);
}
.vibe-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--ink); }
.vibe-card p { color: var(--ink-soft); margin: 0; }

/* ----- Gig card (upcoming gig promo, used on home + gigs page) ----- */
.gig-card {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--mustard);
}
.gig-card__flyer {
  /* Same shape as the flyer image (644 x 911), so it is shown in full, never cropped */
  aspect-ratio: 644 / 911;
  background-size: 100% 100%;
  background-position: center;
}
.gig-card__body {
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 2.75rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gig-card__eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mustard-light);
  margin-bottom: 0.75rem;
}
.gig-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream);
  margin: 0 0 0.9rem;
  line-height: 1.1;
}
.gig-card__meta {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: rgba(245, 235, 215, 0.85);
}
.gig-card__meta li { display: flex; gap: 0.6rem; align-items: baseline; }
.gig-card__meta strong { color: var(--mustard-light); min-width: 72px; flex-shrink: 0; }
.gig-card__meta a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--mustard); text-underline-offset: 3px; }
.gig-card__meta a:hover { color: var(--mustard-light); }
.gig-card__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.gig-card .btn {
  background: var(--terracotta);
  border-color: var(--terracotta);
  box-shadow: 0 4px 0 var(--terracotta-dark);
}
.gig-card .btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
  box-shadow: 0 4px 0 var(--mustard);
}
.gig-card .btn--ghost:hover { background: var(--cream); color: var(--ink); }

.gig-list { display: grid; gap: 2rem; }

.gig-empty {
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  color: var(--ink-soft);
}
.gig-empty p { margin: 0 0 1rem; }

@media (max-width: 720px) {
  .gig-card { grid-template-columns: 1fr; }
  .gig-card__flyer { width: 100%; max-width: 420px; margin: 0 auto; }
  .gig-card__body { padding: 1.5rem; }
}

/* ----- About / members ----- */
.history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.history__image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--mustard), var(--terracotta));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
}
.history__text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  float: left;
  line-height: 0.85;
  margin: 0.1rem 0.6rem 0 0;
  color: var(--terracotta);
}

.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
/* Special guests: only a couple of cards. auto-fill (not auto-fit) keeps empty
   tracks, so each card is exactly the same width as in the main lineup above,
   at every screen size, instead of being stretched or capped. */
.members--guests {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.member-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  /* No background on the card itself: a negative z-index child (the vinyl)
     paints above its parent's own background, so the cream lives on the body instead */
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  transition: transform 0.3s var(--ease);
}
.member-card:hover { transform: translateY(-6px); }
.member-card__photo {
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--mustard) 0%, var(--terracotta) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.25rem;
  position: relative;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
}
.member-card__photo::before {
  content: "";
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid var(--cream);
}
.member-card__body {
  flex: 1;
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--cream);
  border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
}
.member-card__name { font-size: 1.3rem; margin: 0 0 0.2rem; color: var(--ink); }
.member-card__role { font-weight: 600; color: var(--terracotta); font-size: 0.95rem; margin-bottom: 0.6rem; }
.member-card__flag { font-size: 1.2rem; margin-right: 0.4rem; }
.member-card__bio { font-size: 0.9rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* ----- Gallery: video player ----- */
.gallery-player {
  margin-bottom: 2rem;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4rem;
}
.thumb {
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 0;
  font-family: var(--font-body);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.thumb:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--mustard); }
.thumb.is-active {
  border-color: var(--terracotta);
  box-shadow: 8px 8px 0 var(--terracotta);
}
.thumb__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--mustard), var(--terracotta));
  overflow: hidden;
}
.thumb__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(43, 26, 18, 0.55);
  display: grid;
  place-items: center;
  color: var(--cream);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.thumb:hover .thumb__play { background: var(--terracotta); transform: translate(-50%, -50%) scale(1.08); }
.thumb__caption {
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* ----- Photo grid ----- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 240px);
  gap: 1rem;
}
/* First photo is the feature: two columns wide, two rows tall */
.photo-grid__item:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 719px) {
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .photo-grid__item:first-child { grid-column: auto; grid-row: auto; }
  .photo-grid__item { aspect-ratio: 4 / 3; }
}
.photo-grid__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--mustard-light), var(--terracotta));
  position: relative;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1rem;
}
.photo-grid__item:hover { transform: scale(1.02); }
.photo-grid__item img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ----- Contact form ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info h3 { color: var(--ink); }
.contact-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1.5rem;
  margin: 1.5rem 0;
}
.contact-info dt {
  font-weight: 700;
  color: var(--ochre);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  padding-top: 0.2rem;
}
.contact-info dd { margin: 0; }

.form {
  background: var(--cream);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--mustard);
}
.form__row { margin-bottom: 1.2rem; }
.form__row--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}
.form__row--split > * { min-width: 0; }
.form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.form input,
.form textarea,
.form select {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream-deep);
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--cream);
}
.form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-height: 3rem;
  display: block;
}
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.form textarea { min-height: 130px; resize: vertical; font-family: var(--font-body); }
.form__msg {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}
.form__msg.is-visible { display: block; }
.form__msg.is-success { background: rgba(228, 165, 58, 0.25); color: var(--ink); }
.form__msg.is-error { background: rgba(201, 72, 42, 0.18); color: var(--terracotta-dark); }

/* ----- CTA banner ----- */
.cta-banner {
  background: var(--terracotta);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--cream); }
.cta-banner p { color: rgba(245, 235, 215, 0.85); max-width: 540px; margin: 0 auto 2rem; }
.cta-banner .btn {
  background: var(--cream);
  color: var(--terracotta);
  border-color: var(--cream);
  box-shadow: 0 4px 0 var(--mustard);
}
.cta-banner .btn:hover { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: -100px; left: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(228, 165, 58, 0.25);
}
.cta-banner::after {
  content: "";
  pointer-events: none;
  position: absolute;
  bottom: -120px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(228, 165, 58, 0.18);
}

/* ----- Footer ----- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}
.site-footer a { color: var(--mustard-light); }
.site-footer a:hover { color: var(--mustard); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 {
  color: var(--mustard);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(245, 235, 215, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(245, 235, 215, 0.65);
}

/* ----- Lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(43, 26, 18, 0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox__frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
}
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  display: block;
}
.lightbox__caption {
  margin-top: 0.9rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: center;
}
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--cream);
  border: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--ink);
  display: grid; place-items: center;
}

/* ----- Reveal on load (hero) ----- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.9s var(--ease) forwards;
}
.reveal:nth-child(1) { animation-delay: 0.1s; }
.reveal:nth-child(2) { animation-delay: 0.25s; }
.reveal:nth-child(3) { animation-delay: 0.4s; }
.reveal:nth-child(4) { animation-delay: 0.55s; }
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ----- Responsive ----- */
@media (max-width: 880px) {
  .history { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vinyl { width: 480px; height: 480px; right: -180px; top: -60px; opacity: 0.6; }
}

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem var(--gutter);
    gap: 1.2rem;
    border-bottom: 1px solid rgba(43, 26, 18, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .form__row--split { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .vinyl { width: 360px; height: 360px; right: -160px; top: -40px; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
}


/* ----- Video hero (homepage) ----- */
.video-hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
}
.video-hero__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  container-type: size;
}
.video-hero__poster,
.video-hero__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* "Cover" sizing: always fill the box, crop the overflow */
  width: max(100%, calc(100cqh * 16 / 9));
  height: max(100%, calc(100cqw * 9 / 16));
  border: 0;
  object-fit: cover;
}
.video-hero__frame {
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.video-hero__frame.is-ready { opacity: 1; }
.video-hero__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(43, 26, 18, 0.80) 0%, rgba(43, 26, 18, 0.50) 50%, rgba(43, 26, 18, 0.12) 100%),
    linear-gradient(0deg, rgba(43, 26, 18, 0.55) 0%, rgba(43, 26, 18, 0) 40%);
}
.video-hero__text {
  padding: 2rem 0 2.5rem;
}
.video-hero h1 {
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  margin-bottom: 1.5rem;
}
.video-hero h1 .accent { color: var(--mustard); font-style: italic; }
.video-hero .hero__lead { color: rgba(245, 235, 215, 0.9); margin-bottom: 0; }

@media (min-width: 720px) {
  /* Headline sits over the video; the box is a little taller than 16:9
     on narrow-but-wide windows so the text always fits, never taller than the screen. */
  .video-hero__media {
    aspect-ratio: auto;
    height: clamp(480px, 56.25vw, 88vh);
    max-width: 1800px;
    margin: 0 auto;
  }
  .video-hero__text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0;
    pointer-events: none; /* clicks fall through to the player controls */
  }
  .video-hero__text .container { width: 100%; }
  .video-hero .hero__inner { max-width: 760px; margin-right: auto; }
}
@media (max-width: 719px) {
  /* Phones: show the whole 16:9 video, headline in a dark panel underneath */
  .video-hero__tint { background: linear-gradient(0deg, rgba(43, 26, 18, 0.35) 0%, rgba(43, 26, 18, 0) 40%); }
  .video-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
}


/* ----- Vinyl record as a background decoration in sections ----- */
.section--vinyl { position: relative; overflow: hidden; }
.section--vinyl > .container { position: relative; z-index: 1; }
.vinyl--bg {
  width: clamp(380px, 44vw, 620px);
  height: auto;
  aspect-ratio: 1;
  opacity: 0.5;
  z-index: 0;
}
.vinyl--right { top: -90px; right: -170px; left: auto; }
.vinyl--left  { top: auto; bottom: -150px; left: -190px; right: auto; animation-direction: reverse; }
@media (max-width: 719px) {
  .vinyl--bg { opacity: 0.35; }
}


/* =========================================================================
   Brand identity: record sleeves, logo label badge, poster headings
   ========================================================================= */

/* ----- Member cards as record sleeves: a vinyl peeks out and slides on hover ----- */
.members { counter-reset: sleeve; gap: 2.25rem 2.5rem; }
.member-card { counter-increment: sleeve; }
.member-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 7%;
  right: -17%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--cream) 0 2.5%, var(--terracotta) 3% 16%, transparent 16.5%),
    repeating-radial-gradient(circle at center, #1d120c 0 2px, #35231a 2px 4px);
  transition: right 0.45s var(--ease);
}
.member-card:hover::before { right: -28%; }
.member-card__body::before {
  content: "STP-" counter(sleeve, decimal-leading-zero);
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.members--guests .member-card__body::before { content: "GUEST " counter(sleeve, decimal-leading-zero); }
@media (max-width: 719px) {
  /* Phones: one card per row, so the record rises out of the top of the sleeve
     instead of poking out the side (a side sliver looks like a glitch). */
  .members { gap: 3.25rem 1.5rem; }
  .member-card::before,
  .member-card:hover::before {
    top: -30px;
    right: auto;
    left: 50%;
    width: 62%;
    transform: translateX(-50%);
  }
}

/* ----- Logo as a record-label sticker on the homepage hero ----- */
.label-badge {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(110px, 20vw, 290px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--mustard);
  transform: rotate(-7deg);
  right: clamp(1rem, 6vw, 6rem);
  bottom: 2.5rem;
  pointer-events: none;
}
.label-badge img { width: 74%; height: auto; display: block; }
@media (max-width: 719px) {
  .video-hero__text { padding-top: 3.6rem; }
  .label-badge {
    bottom: auto;
    top: calc(56.25vw - 48px);
    border-width: 2px;
    box-shadow: 5px 5px 0 var(--mustard);
  }
}

/* ----- Poster-style page titles (inner pages) ----- */
.section__head h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  color: var(--terracotta);
  text-shadow: 3px 3px 0 rgba(228, 165, 58, 0.55);
  max-width: 20ch;
}
.section__head h1::after {
  content: "";
  display: block;
  width: 150px;
  height: 21px;
  margin-top: 1.4rem;
  background: linear-gradient(
    to bottom,
    var(--mustard) 0 5px, transparent 5px 8px,
    var(--terracotta) 8px 13px, transparent 13px 16px,
    var(--ink) 16px 21px
  );
}


/* ----- Consistent photo grade for band and guest headshots ----- */
/* The source photos differ in light and background; a gentle warm grade
   pulls them towards the site's palette so they read as one set. */
.member-card__photo img {
  filter: sepia(0.2) saturate(0.88) contrast(1.05) brightness(1.02);
}
.member-card__photo:has(img)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(228, 165, 58, 0.10) 0%, rgba(201, 72, 42, 0.12) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ----- "Where we've played" strip (home) ----- */
.played-strip {
  background: var(--mustard);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.played-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.75rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.played-strip__label {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.played-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}
.played-strip__list li { display: flex; align-items: center; gap: 0.6rem; }
.played-strip__list li::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 2px solid var(--ink);
  flex-shrink: 0;
}


/* ----- Hear us: audio clip cards (currently "Coming soon") ----- */
.listen {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.listen .section__head { margin-bottom: 2rem; }
.listen h2 { color: var(--cream); }
.listen .section__head p { color: rgba(245, 235, 215, 0.8); }
.listen .listen__eyebrow { color: var(--mustard); }
.listen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.listen-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 2px solid rgba(245, 235, 215, 0.2);
  background: rgba(245, 235, 215, 0.05);
  overflow: hidden;
}
.listen-card__play {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--mustard);
  flex-shrink: 0;
  position: relative;
}
.listen-card__play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ink);
}
.listen-card__meta { flex: 1; min-width: 0; }
.listen-card__meta strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.listen-card__meta span { font-size: 0.8rem; color: rgba(245, 235, 215, 0.7); }
.listen-card__wave { display: flex; align-items: center; gap: 3px; height: 26px; margin-top: 0.45rem; }
.listen-card__wave i { display: block; width: 3px; border-radius: 2px; background: var(--mustard); opacity: 0.8; }
/* Coming-soon state: card dimmed, a stamp across it */
.listen-card { padding-top: 2.4rem; }
.listen-card[aria-disabled="true"] > :not(.listen-card__soon) { opacity: 0.5; filter: grayscale(0.4); }
.listen-card__soon {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  transform: rotate(-4deg);
  padding: 0.35rem 0.9rem;
  background: var(--terracotta);
  color: var(--cream);
  border: 2px solid var(--cream);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--mustard);
}


/* ----- Repertoire as a record tracklist (home) ----- */
.tracklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.tracklist__side {
  background: var(--off-white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--mustard);
  padding: 1.5rem 1.5rem 1.25rem;
}
.tracklist__side-title {
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ink);
}
.tracklist { list-style: none; margin: 0; padding: 0; }
.tracklist li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  column-gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(43, 26, 18, 0.25);
}
.tracklist li:last-child { border-bottom: 0; }
.tracklist__no { grid-row: span 2; font-weight: 700; color: var(--ochre); font-size: 0.85rem; padding-top: 0.15rem; }
.tracklist__song { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.tracklist__artist { font-size: 0.85rem; color: var(--ink-soft); }


/* ----- Analytics notice in footer (only shown when analytics is switched on) ----- */
.analytics-note { display: inline-flex; gap: 0.4rem; align-items: baseline; flex-wrap: wrap; }
.analytics-note__btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--mustard-light);
  text-decoration: underline; text-underline-offset: 3px;
}
.analytics-note__btn:hover { color: var(--mustard); }


/* ----- Special guests inside the main lineup grid ----- */
.members { counter-reset: sleeve guest; }
.member-card--guest { counter-increment: guest; border-style: dashed; border-color: var(--ochre); }
.member-card--guest .member-card__body { background: var(--off-white); }
.members .member-card--guest .member-card__body::before { content: "GUEST " counter(guest, decimal-leading-zero); color: var(--ochre); }
/* Guests get a coloured (mustard) vinyl instead of black */
.member-card--guest::before {
  background:
    radial-gradient(circle at center, var(--cream) 0 2.5%, var(--terracotta) 3% 16%, transparent 16.5%),
    repeating-radial-gradient(circle at center, #D9962C 0 2px, #E9B456 2px 4px);
}
.member-card__tag {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--mustard);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.66rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Vinyl peeking out of the member cards removed (looked busy); sleeve styling and numbers stay */
.member-card::before,
.member-card--guest::before { content: none; display: none; }
.members { gap: 1.5rem; }
@media (max-width: 719px) { .members { gap: 1.5rem; } }

/* "Special guest" tag: high-contrast dark pill so it reads on any photo */
.member-card__tag {
  background: var(--ink);
  color: var(--mustard);
  border-color: var(--mustard);
  box-shadow: 2px 2px 0 var(--terracotta);
}


/* ----- Special guests in neon pink (contrast with the band's warm palette) ----- */
.member-card--guest {
  border: 2px dashed var(--neon-pink);
  box-shadow: 0 0 0 3px rgba(255, 46, 147, 0.15), 0 0 18px rgba(255, 46, 147, 0.25);
}
.member-card--guest .member-card__tag {
  background: var(--neon-pink);
  border-color: var(--ink);
  color: var(--ink);
}
.members .member-card--guest .member-card__body::before { color: var(--neon-pink-text); }

/* Guest tag: high-contrast cream text on dark ink, neon pink only as the outline */
.member-card--guest .member-card__tag {
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--neon-pink);
}


/* Secondary "Google Calendar" link under the gig card buttons */
.gig-card__cal-link {
  flex-basis: 100%;
  font-size: 0.85rem;
  color: var(--mustard-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gig-card__cal-link:hover { color: var(--mustard); }
.listen-card { cursor: pointer; }

/* ----- Privacy policy / legal notice pages ----- */
html[lang="de"] [data-lang-block="en"],
html:not([lang="de"]) [data-lang-block="de"] { display: none; }
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 2.25rem 0 0.6rem; color: var(--ink); }
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 0.4rem; color: var(--ink); }
.legal p { margin: 0 0 1rem; line-height: 1.7; }
.legal a { color: var(--terracotta-dark); text-decoration: underline; text-underline-offset: 3px; }
.form__privacy { font-size: 0.85rem; color: var(--ink-soft); margin: 0.9rem 0 0; }
.form__privacy a { color: var(--terracotta-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Long German words (e.g. Datenschutzerklärung) must never push the page wider */
.section__head h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.legal-page .section__head h1 { font-size: clamp(1.9rem, 6vw, 3.4rem); }


/* Spam trap field: invisible to people (kept off-screen, not display:none, so bots still fill it) */
.form__trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.gig-none { font-size: 1.05rem; margin: 0 0 1.5rem; }
.gig-none a { color: var(--terracotta-dark); text-decoration: underline; text-underline-offset: 3px; }

.gig-card--past .gig-card__flyer { filter: grayscale(0.35); }
.gig-past-more { margin: 1.5rem 0 0; }
.gig-past-more a { color: var(--terracotta-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
