/* ============================================
   2DollarsCash — shared styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Work+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #14100d;
  --bg-panel: #1d1710;
  --bg-panel-raised: #241c13;
  --text: #ede6d6;
  --text-muted: #b8ad98;
  --accent: #c89b3c;
  --accent-dim: #8a6d2c;
  --wine: #7a3030;
  --line: #3a3024;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 16, 13, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand span {
  color: var(--accent);
}

.brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 16px 28px;
    border-bottom: none;
  }
}

/* ---------- Ticket-stub divider (signature element) ---------- */

.ticket-divider {
  position: relative;
  height: 34px;
  background: var(--accent-dim);
  background-image:
    radial-gradient(circle at 8px 17px, var(--bg) 6px, transparent 7px);
  background-size: 24px 34px;
  background-repeat: repeat-x;
}

.ticket-divider::before,
.ticket-divider::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 24px;
  background: inherit;
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--text-muted);
  max-width: 32em;
  margin: 0 auto 2.5rem;
}

/* Waveform */

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 60px;
  margin: 0 auto 2.5rem;
}

.waveform span {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: var(--accent);
  animation: wave 1.6s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 18px; animation-delay: -1.4s; }
.waveform span:nth-child(2) { height: 34px; animation-delay: -1.1s; }
.waveform span:nth-child(3) { height: 52px; animation-delay: -0.9s; }
.waveform span:nth-child(4) { height: 28px; animation-delay: -1.5s; }
.waveform span:nth-child(5) { height: 44px; animation-delay: -0.6s; }
.waveform span:nth-child(6) { height: 58px; animation-delay: -1.2s; }
.waveform span:nth-child(7) { height: 30px; animation-delay: -0.3s; }
.waveform span:nth-child(8) { height: 46px; animation-delay: -0.8s; }
.waveform span:nth-child(9) { height: 20px; animation-delay: -1.6s; }
.waveform span:nth-child(10) { height: 38px; animation-delay: -0.5s; }
.waveform span:nth-child(11) { height: 24px; animation-delay: -1.0s; }
.waveform span:nth-child(12) { height: 16px; animation-delay: -0.2s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: 3px;
  border: 1px solid var(--accent);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-solid {
  background: var(--accent);
  color: var(--bg);
}

.btn-solid:hover {
  background: #dcb15a;
}

.btn-outline {
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(200, 155, 60, 0.1);
}

/* ---------- Sections ---------- */

section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head .eyebrow {
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

/* Two-column teaser */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
}

.placeholder-photo {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background:
    repeating-linear-gradient(135deg, var(--bg-panel-raised) 0 14px, var(--bg-panel) 14px 28px);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

.placeholder-photo.wide {
  aspect-ratio: 4 / 5;
}

/* Real photos dropped into split/member layouts */

.split-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.split-photo.wide {
  aspect-ratio: 1 / 1;
}

.member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

/* Cards */

.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.75rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Ticket / show cards */

.show-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  position: relative;
}

.show-card + .show-card {
  margin-top: 1rem;
}

.show-date {
  font-family: var(--font-mono);
  text-align: center;
  border-right: 1px dashed var(--line);
  padding-right: 1.25rem;
}

.show-date .month {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

.show-date .day {
  display: block;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
}

.show-info h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.show-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.show-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .show-card {
    grid-template-columns: 70px 1fr;
  }
  .show-status {
    grid-column: 1 / -1;
  }
}

/* Track list (music page) */

.track-list {
  border-top: 1px solid var(--line);
}

.track {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.track-num {
  font-family: var(--font-mono);
  color: var(--accent);
}

.track-title {
  font-weight: 500;
}

.track-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.track-len {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.embed-placeholder {
  margin-top: 3rem;
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.embed-placeholder iframe {
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 560 / 314;
  border: none;
  display: block;
  margin: 0 auto;
}

/* Member cards (bio page) */

.member-card {
  text-align: center;
}

.member-card .placeholder-photo {
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
  border-radius: 50%;
}

.member-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.member-card .role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.member-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Pull quote */

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--text);
  text-align: center;
  max-width: 34em;
  margin: 0 auto;
  line-height: 1.4;
}

.pull-quote::before,
.pull-quote::after {
  content: none;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.social-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.social-links a {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social-links a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ---------- Page intro (non-home pages) ---------- */

.page-intro {
  padding: 64px 0 24px;
  text-align: center;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 0.75rem;
}

.page-intro p {
  color: var(--text-muted);
  max-width: 34em;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Legal text (Impressum) — left-aligned for readability, unlike centered intros */

.legal-text {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-text strong {
  display: block;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
}

.legal-text strong:first-child {
  margin-top: 0;
}
