/* ============================================================
   Onstage — site.css
   Minimal design system. No brand decisions yet.
   Mobile-first.
   ============================================================ */

/* ── Tokens ───────────────────────────────────────────────── */

:root {
  /* Colour */
  --c-bg:        #111111;
  --c-surface:   #1a1a1a;
  --c-surface-2: #222222;
  --c-border:    #2a2a2a;
  --c-text:      #ffffff;
  --c-text-2:    #aaaaaa;
  --c-text-3:    #555555;

  /* Spacing — 4px base */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;
  --sp-10: 128px;

  /* Type scale */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-xs:   11px;
  --fs-sm:   13px;
  --fs-base: 15px;
  --fs-md:   18px;
  --fs-lg:   22px;
  --fs-xl:   28px;
  --fs-2xl:  36px;
  --fs-3xl:  48px;
  --fs-4xl:  64px;

  /* Layout */
  --max-w:     1200px;
  --gutter:    20px;
  --radius:    4px;
  --radius-lg: 8px;
  --nav-h:     56px;
}

/* ── Reset ────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  background: var(--c-bg);
  color: var(--c-text);
  min-height: 100vh;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ── Typography ───────────────────────────────────────────── */

h1, h2, h3, h4 {
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { max-width: 64ch; }

.label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

.muted { color: var(--c-text-2); }
.dim   { color: var(--c-text-3); }

/* ── Layout ───────────────────────────────────────────────── */

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

.section {
  padding-block: var(--sp-7);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--sp-9);
  }
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.divider {
  border: none;
  border-top: 1px solid var(--c-border);
}

/* ── Grid ─────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: var(--sp-4);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 599px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 600px) and (max-width: 959px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Horizontal scroll strip — becomes grid at wider breakpoint */
.scroll-strip {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--sp-2);
}
.scroll-strip::-webkit-scrollbar { display: none; }
.scroll-strip > * { flex: 0 0 260px; }

@media (min-width: 768px) {
  .scroll-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    padding-bottom: 0;
  }
  .scroll-strip > * { flex: none; }
}

/* ── Cards ────────────────────────────────────────────────── */

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Thumbnail placeholder blocks */
.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--c-surface-2);
}

.card-thumb--portrait {
  aspect-ratio: 3 / 4;
}

.card-body {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

/* Show card */
.show-card .show-date      { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-2); }
.show-card .show-artist    { font-size: var(--fs-md);  font-weight: 600; }
.show-card .show-stage     { font-size: var(--fs-sm);  color: var(--c-text-2); }

/* Artist card */
.artist-card .artist-name        { font-size: var(--fs-base); font-weight: 600; }
.artist-card .artist-instrument  { font-size: var(--fs-sm);   color: var(--c-text-2); }

/* Stage card */
.stage-card {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-height: 200px;
}

.stage-card .stage-name {
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-top: var(--sp-2);
}

.stage-card .stage-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  flex: 1;
}

.stage-card .stage-link {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  align-self: flex-start;
  margin-top: var(--sp-2);
}
.stage-card .stage-link:hover { color: var(--c-text); }

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
}
.btn:hover { border-color: #555; }

.btn--primary {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
}
.btn--primary:hover { background: #ddd; border-color: #ddd; }

.btn--sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}

/* ── Link with arrow ──────────────────────────────────────── */

.link-more {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  white-space: nowrap;
}
.link-more:hover { color: var(--c-text); }

/* ── Nav ──────────────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav-logo {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
  }
  .nav-links a {
    font-size: var(--fs-sm);
    color: var(--c-text-2);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--c-text);
  }
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  min-height: calc(85vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: var(--sp-9);
  border-bottom: 1px solid var(--c-border);
}

.hero-eyebrow {
  margin-bottom: var(--sp-4);
}

.hero-title {
  font-size: clamp(var(--fs-2xl), 7vw, var(--fs-4xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  max-width: 14ch;
  margin-bottom: var(--sp-5);
}

.hero-sub {
  font-size: var(--fs-md);
  color: var(--c-text-2);
  max-width: 42ch;
  margin-bottom: var(--sp-7);
}

.hero-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* ── Studios panel ────────────────────────────────────────── */

.studios-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6);
  display: grid;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .studios-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: var(--sp-8);
  }
}

.studios-panel p {
  color: var(--c-text-2);
  margin-bottom: var(--sp-5);
}

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-8);
}

.footer-grid {
  display: grid;
  gap: var(--sp-7);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr repeat(3, 140px);
    align-items: start;
  }
}

.footer-brand .footer-logo {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--c-text-3);
}

.footer-col h4 {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: var(--sp-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col a {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}
.footer-col a:hover { color: var(--c-text); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
}

.footer-base p,
.footer-base a {
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}

.footer-legal {
  display: flex;
  gap: var(--sp-5);
}

.footer-legal a:hover { color: var(--c-text-2); }

/* ── Page header (listing pages) ─────────────────────────── */

.page-header {
  padding-block: var(--sp-8) var(--sp-7);
  border-bottom: 1px solid var(--c-border);
}

.page-header .page-title {
  font-size: clamp(var(--fs-2xl), 5vw, var(--fs-3xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: var(--sp-3);
}

.page-header .page-sub {
  font-size: var(--fs-base);
  color: var(--c-text-2);
  margin-top: var(--sp-4);
}

/* ── Filter bar ───────────────────────────────────────────── */

.filter-bar {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--c-border);
}

.filter-pill {
  padding: var(--sp-2) var(--sp-4);
  border-radius: 99px;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-text-2);
  cursor: pointer;
}

.filter-pill:hover { border-color: #555; color: var(--c-text); }

.filter-pill--active {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
}

/* ── Show banner (detail page) ────────────────────────────── */

.show-banner {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: var(--c-surface-2);
}

@media (min-width: 768px) {
  .show-banner { aspect-ratio: 3 / 1; }
}

/* ── Show detail layout ───────────────────────────────────── */

.show-detail {
  display: grid;
  gap: var(--sp-8);
  padding-block: var(--sp-7);
}

@media (min-width: 768px) {
  .show-detail {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.show-detail-meta { display: flex; flex-direction: column; gap: var(--sp-5); }

.meta-block { display: flex; flex-direction: column; gap: var(--sp-1); }
.meta-block .meta-label { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-3); font-weight: 600; }
.meta-block .meta-value { font-size: var(--fs-base); font-weight: 500; }

.show-detail-body { display: flex; flex-direction: column; gap: var(--sp-6); }

.show-detail-body h1 {
  font-size: clamp(var(--fs-xl), 4vw, var(--fs-3xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.show-detail-body .show-desc {
  font-size: var(--fs-base);
  color: var(--c-text-2);
  line-height: 1.75;
  max-width: 60ch;
}

/* ── Tag list ─────────────────────────────────────────────── */

.tag-list { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

.tag {
  padding: var(--sp-1) var(--sp-3);
  border-radius: 99px;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  border: 1px solid var(--c-border);
  color: var(--c-text-2);
}

/* ── Artist hero (detail page) ────────────────────────────── */

.artist-hero {
  display: grid;
  gap: var(--sp-7);
  padding-block: var(--sp-8);
  border-bottom: 1px solid var(--c-border);
}

@media (min-width: 768px) {
  .artist-hero {
    grid-template-columns: 280px 1fr;
    align-items: start;
    gap: var(--sp-9);
  }
}

.artist-hero-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--c-surface-2);
  border-radius: var(--radius-lg);
}

.artist-hero-body { display: flex; flex-direction: column; gap: var(--sp-3); }

.artist-hero-body h1 {
  font-size: clamp(var(--fs-xl), 5vw, var(--fs-3xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: var(--sp-2);
}

.artist-hero-body .artist-instrument-label {
  font-size: var(--fs-md);
  color: var(--c-text-2);
}

.artist-bio {
  font-size: var(--fs-base);
  color: var(--c-text-2);
  line-height: 1.75;
  max-width: 58ch;
  margin-top: var(--sp-4);
}

/* ── Feature block ────────────────────────────────────────── */

.feature-block {
  display: grid;
  gap: var(--sp-5);
  padding-block: var(--sp-7);
  border-top: 1px solid var(--c-border);
}

@media (min-width: 768px) {
  .feature-block {
    grid-template-columns: 220px 1fr;
    gap: var(--sp-8);
    align-items: start;
  }
}

.feature-block-label { display: flex; flex-direction: column; gap: var(--sp-2); }
.feature-block-label h3 { font-size: var(--fs-lg); font-weight: 600; line-height: 1.15; margin-top: var(--sp-2); }

.feature-block-body { display: flex; flex-direction: column; gap: var(--sp-5); }
.feature-block-body p { color: var(--c-text-2); line-height: 1.75; max-width: 60ch; }

/* ── Info grid ────────────────────────────────────────────── */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6) var(--sp-5);
}

@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}

.info-item { display: flex; flex-direction: column; gap: var(--sp-1); }
.info-item .info-label { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-3); font-weight: 600; }
.info-item .info-value { font-size: var(--fs-sm); color: var(--c-text-2); line-height: 1.6; }

/* ── CTA panel ────────────────────────────────────────────── */

.cta-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

@media (min-width: 768px) {
  .cta-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-7);
    padding: var(--sp-7) var(--sp-8);
  }
}

.cta-panel-text { display: flex; flex-direction: column; gap: var(--sp-2); }
.cta-panel-text h3 { font-size: var(--fs-lg); font-weight: 600; }
.cta-panel-text p { font-size: var(--fs-sm); color: var(--c-text-2); max-width: 44ch; }

/* ── Studio card (overview grid) ──────────────────────────── */

.studio-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  min-height: 180px;
}

.studio-card:hover { border-color: #555; }

.studio-card .studio-name { font-size: var(--fs-lg); font-weight: 600; margin-top: var(--sp-2); }
.studio-card .studio-desc { font-size: var(--fs-sm); color: var(--c-text-2); flex: 1; line-height: 1.6; }
.studio-card .studio-link { font-size: var(--fs-sm); color: var(--c-text-2); margin-top: var(--sp-2); align-self: flex-start; }
.studio-card:hover .studio-link { color: var(--c-text); }

/* ── FAQ layout ───────────────────────────────────────────── */

.faq-item {
  padding-block: var(--sp-6);
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-q {
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.4;
}

.faq-a {
  color: var(--c-text-2);
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-a ul {
  list-style: disc;
  padding-left: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.faq-a li { color: var(--c-text-2); font-size: var(--fs-base); }

/* ── Legal document ───────────────────────────────────────── */

.legal-section {
  padding-block: var(--sp-7);
  border-top: 1px solid var(--c-border);
}

.legal-section h2 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}

.legal-section h3 {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-text);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-2);
}

.legal-section p,
.legal-section li {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  line-height: 1.8;
}

.legal-section p + p { margin-top: var(--sp-4); }

.legal-section ul {
  list-style: disc;
  padding-left: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

/* ── Narrow container ─────────────────────────────────────── */

.container--narrow { max-width: 520px; }

/* ── Centered page (login, holding, access) ───────────────── */

.page-centered {
  min-height: calc(80vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--sp-9);
}

/* ── Form elements ────────────────────────────────────────── */

.form-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-field label {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-3);
  font-weight: 600;
}

input[type="email"],
input[type="text"] {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-base);
  font-family: var(--font);
  color: var(--c-text);
  width: 100%;
}

input[type="email"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: #555;
}

input::placeholder { color: var(--c-text-3); }

/* ── Tier card (membership) ───────────────────────────────── */

.tier-card {
  padding: var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.tier-name {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-top: var(--sp-2);
}

.tier-price {
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-block: var(--sp-2);
  border-top: 1px solid var(--c-border);
}

.tier-price span {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--c-text-2);
  letter-spacing: 0;
}

.tier-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.tier-benefits li {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  display: flex;
  gap: var(--sp-2);
}

.tier-benefits li::before {
  content: "—";
  color: var(--c-text-3);
  flex-shrink: 0;
}
