/* ============================================================
   Endorphin Live — site styles
   Brand tokens below are PLACEHOLDERS. Replace from the
   Claude Design brandbook (colors, fonts) — nothing else
   in this file needs to change.
   ============================================================ */

:root {
  /* --- brand tokens: from raw/brand/brand-kit/tokens.css (Endorphin Live Design System) --- */
  --color-bg: #141219;        /* night */
  --color-bg-deep: #0B0A0D;   /* black */
  --color-surface: #1C1922;   /* night 2 */
  --color-surface-2: #26222E; /* night 3 */
  --color-fg: #F4EEE3;        /* ivory — headings */
  --color-body: #EAE2D3;      /* ivory 2 — body */
  --color-muted: #9B948A;     /* stone */
  --color-accent: #D4A24C;    /* gold */
  --color-accent-hover: #E8C077;
  --color-accent-fg: #0B0A0D;
  --color-line: rgba(244,238,227,0.10);
  --color-line-strong: rgba(244,238,227,0.22);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* --- layout --- */
  --max: 1120px;
  --gutter: 20px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; color: var(--color-fg); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--color-muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 72px 0; border-top: 1px solid var(--color-line); }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 12px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: block; line-height: 0; }
.logo img { height: 22px; width: auto; }
.nav { display: none; gap: 24px; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--color-muted); }
.nav a:hover { color: var(--color-fg); }
.lang { display: flex; gap: 6px; font-size: 0.85rem; }
.lang a { text-decoration: none; padding: 4px 8px; border-radius: 6px; color: var(--color-muted); }
.lang a[aria-current="true"] { background: var(--color-surface); color: var(--color-fg); }
@media (min-width: 860px) { .nav { display: flex; } }

/* ---------- hero ---------- */
.hero { border-top: 0; padding: 0; position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; display: block; }
.hero-media img { object-fit: cover; object-position: 50% 40%; }
@media (min-width: 860px) { .hero-media img { transform: scale(1.3); transform-origin: 0% 45%; } }
.hero p.lead, .hero h1 { max-width: 640px; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,25,0.20) 0%, rgba(20,18,25,0.62) 55%, var(--color-bg) 100%);
}
.hero::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(212,162,76,0.22), transparent 70%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 56px; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 620px; }
.placeholder {
  background: repeating-linear-gradient(45deg, var(--color-surface) 0 14px, var(--color-surface-2) 14px 28px);
  display: grid; place-items: center; color: var(--color-muted); font-size: 0.85rem; text-align: center; padding: 20px;
}

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border: 1px solid var(--color-line);
  transition: transform .15s ease, background .15s ease;
}
.btn { transition: background .14s ease, color .14s ease, border-color .14s ease; }
.btn-primary { background: var(--color-accent); color: var(--color-accent-fg); border-color: transparent; }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-ghost { background: transparent; color: var(--color-fg); }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius); padding: 28px 24px;
}
.card h3 { margin-top: 0; }
.card .who { color: var(--color-accent); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- events chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.chip { padding: 10px 16px; border: 1px solid var(--color-line); border-radius: 999px; font-size: 0.95rem; background: var(--color-surface); }

/* ---------- repertoire ---------- */
.two-col { display: grid; gap: 28px; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; } }
.artists { columns: 1; font-size: 1rem; line-height: 1.9; color: var(--color-muted); }
@media (min-width: 480px) { .artists { columns: 2; } }

/* ---------- about ---------- */
.about { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 5fr 7fr; } }
.about .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.about .photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--color-accent); }
.fact span { font-size: 0.85rem; color: var(--color-muted); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery .ph { aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- contacts ---------- */
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.contact-list a { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; font-size: 1.15rem; }
.contact-list a:hover { color: var(--color-accent); }

/* ---------- footer ---------- */
.site-footer { padding: 32px 0 40px; background: var(--color-bg-deep); border-top: 1px solid var(--color-line); font-size: 0.85rem; color: var(--color-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- format cards with photo ---------- */
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-photo .card-body { padding: 22px 24px 26px; }

/* ---------- live video block ---------- */
.live-frame { margin-top: 24px; border-radius: 4px; overflow: hidden; background: var(--color-bg-deep); border: 1px solid var(--color-line); }
.live-frame video { width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; }
