/* Offbeet — white, minimal, one beet-crimson accent.
   The band name is a beat pun, so a few things sit deliberately
   off the grid (heading ticks, alternating member-card offsets). */

:root {
  --ink: #111114;
  --muted: #6e6e73;
  --hairline: #e9e9ec;
  --beet: #a91e4f;
  --beet-dark: #8c1941;
  --nav-h: 3.5rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: var(--beet); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--beet);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Sticky nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.nav-brand img {
  height: 1.75rem;
  width: auto;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 0;
}

.nav nav a {
  color: var(--ink);
  white-space: nowrap;
}

.nav nav a:hover { color: var(--beet); text-decoration: none; }

.nav-tickets {
  color: #fff !important;
  background: var(--beet);
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
}

.nav-tickets:hover { background: var(--beet-dark); }

@media (max-width: 40rem) {
  .nav { padding: 0 0.75rem; }
  .nav-brand img { height: 1.35rem; }
  .nav nav {
    font-size: 0.8125rem;
    gap: 0.6rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav nav::-webkit-scrollbar { display: none; }
  .nav-tickets { padding: 0.25rem 0.65rem; }
}

/* Anchor targets clear the sticky nav */
section[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

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

.hero {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(0.9rem, 2.5vh, 1.5rem) 1.5rem clamp(1rem, 2.5vh, 1.5rem);
  text-align: center;
}

.hero-logo {
  width: min(27rem, 76%);
  margin: 0 auto 0.85rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2.4vw, 1.375rem);
  color: var(--muted);
  font-weight: 400;
  max-width: 34em;
  margin: 0 auto 1rem;
  letter-spacing: -0.01em;
}

.show-banner {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--hairline);
  border-radius: 99px;
  font-size: 0.9375rem;
  color: var(--ink);
}

.show-banner:hover {
  text-decoration: none;
  border-color: var(--beet);
}

.show-label {
  color: var(--beet);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.show-status { color: var(--muted); }

/* On phones the three spans each wrapped onto their own line, eating the
   whole first screen. Pack them into two rows: label + CTA, then the date. */
@media (max-width: 40rem) {
  /* Keep the hero short enough that the About text clears the fold. */
  .hero { padding-top: 0.75rem; padding-bottom: 0.9rem; }
  .hero-logo { width: min(20rem, 66%); margin-bottom: 0.7rem; }
  .hero-tagline { margin-bottom: 0.85rem; }

  .show-banner {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: baseline;
    gap: 0.1rem 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 14px;
    font-size: 0.875rem;
  }
  .show-label  { grid-area: 1 / 1; }
  .show-status { grid-area: 1 / 2; }
  .show-details { grid-area: 2 / 1 / 3 / -1; }
}

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

.section {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(1.15rem, 2.75vh, 1.75rem) 1.5rem;
  border-top: 1px solid var(--hairline);
}

.section h2 {
  position: relative;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: clamp(0.9rem, 2vh, 1.25rem);
}

/* the offbeat tick: a small beet-colored dash sitting off the left edge */
.tick {
  position: absolute;
  left: -1.1em;
  top: 0.62em;
  width: 0.6em;
  height: 0.12em;
  background: var(--beet);
  border-radius: 2px;
  transform: rotate(-8deg);
}

@media (max-width: 64rem) {
  .tick { position: static; display: inline-block; margin-right: 0.5em; vertical-align: middle; }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

.about-text {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.about-photo {
  border-radius: 12px;
}

.placeholder-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #f5f5f7;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 40rem) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Members ---------- */

.members {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.1rem, 2.5vw, 1.6rem);
}

.member img,
.member-placeholder {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  filter: grayscale(1);
}

.member-placeholder span {
  font-size: 4rem;
  font-weight: 700;
  color: #d2d2d7;
}

.member h3 {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.member-instrument {
  color: var(--beet);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.25rem 0 0.75rem;
}

.member-bio {
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 40rem) {
  .members { grid-template-columns: 1fr; }
}

/* ---------- Music ---------- */

.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.video {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f7;
}

.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Tickets ---------- */

.ticket-card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.ticket-show {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  margin-bottom: 0.35rem;
}

.ticket-time {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 1.1rem;
}

.ticket-how h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.ticket-how ol {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.ticket-note {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 1rem;
}

/* ---------- Contact ---------- */

.contact-line {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
}

.contact-email {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: -0.015em;
}

.socials { margin-top: 1.5rem; }

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

.footer {
  border-top: 1px solid var(--hairline);
  text-align: center;
  padding: 1.5rem 1.5rem 1.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-beet {
  width: 2.6rem;
  margin: 0 auto 0.75rem;
}
