/* gallery.css — Teia Woman · #TeiaWoman */

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

:root {
  --blue:       #1515ee;
  --blue-mid:   #0e0ecc;
  --blue-dim:   rgba(21,21,238,0.18);
  --pink:       #ff2d9b;
  --pink-dim:   rgba(255,45,155,0.15);
  --yellow:     #ccff33;
  --red:        #cc1a1a;
  --mint:       #00dd88;
  --bg:         #05000d;
  --bg-card:    #0c0018;
  --text:       #ffffff;
  --text-dim:   rgba(255,255,255,0.55);
  --border:     rgba(255,255,255,0.10);
  --border-pink:rgba(255,45,155,0.25);
  --font-serif: 'Cormorant Garant', Georgia, serif;
  --font-sans:  'Space Grotesk', sans-serif;
}

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

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

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 52px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.nav-brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--text);
}
.nav-brand em { color: var(--pink); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 5px 12px;
  color: var(--text-dim);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--pink);
  border-bottom: 2px solid var(--pink);
}
.nav-cta {
  margin-left: 8px;
  border: 1px solid var(--border-pink) !important;
  color: var(--pink) !important;
  padding: 5px 14px !important;
}
.nav-cta:hover { background: var(--pink-dim) !important; }

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
}

.hero-left {
  background: #000;
  padding: 56px 48px 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-right {
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
}
.hero-right img {
  width: 100%;
  max-width: 340px;
  object-fit: contain;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--yellow);
}

.hero-title {
  font-family: var(--font-serif);
  line-height: 0.92;
}
.hero-title-teia {
  display: block;
  font-style: italic;
  font-size: clamp(64px, 10vw, 100px);
  font-weight: 700;
  color: var(--red);
}
.hero-title-woman {
  display: block;
  font-style: italic;
  font-size: clamp(56px, 9vw, 88px);
  font-weight: 700;
  color: var(--text);
}

.hero-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 420px;
}
.hero-desc a { color: var(--yellow); }

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--pink);
  padding: 5px 12px;
  align-self: flex-start;
}

/* ── Details band ────────────────────────────────── */

.details-band {
  display: flex;
  align-items: stretch;
  background: var(--blue);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 28px;
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.detail-item:last-child { border-right: none; }

.detail-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.detail-val {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.detail-val a { color: var(--yellow); text-decoration: none; }
.detail-val a:hover { text-decoration: underline; }

/* ── About section ───────────────────────────────── */

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.about-block {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
}
.about-block:last-child { border-right: none; }

.about-block-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
}

.about-block p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.about-block p:last-child { margin-bottom: 0; }
.about-block strong { color: var(--text); font-weight: 600; }
.about-block a { color: var(--yellow); }

.venue-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 8px;
}

.venue-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 20px !important;
}

/* ── Guidelines ──────────────────────────────────── */

.guidelines-section {
  padding: 48px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.guidelines-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 24px;
}

.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.guideline-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}
.guideline-item strong { color: var(--text); white-space: nowrap; }
.guideline-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  margin-top: 6px;
}
.guideline-dot--yellow { background: var(--yellow); }

/* ── Team ────────────────────────────────────────── */

.team-section {
  padding: 48px 40px;
  border-bottom: 1px solid var(--border);
}

.team-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 24px;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.team-handle {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 6px 14px;
  transition: border-color 0.15s, color 0.15s;
}
.team-handle:hover { border-color: var(--pink); color: var(--text); }

/* ── Gallery zone ────────────────────────────────── */

.gallery-zone {
  padding: 32px 0 0;
}

.gallery-zone-header {
  padding: 0 32px 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.gallery-zone-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gallery-zone-sub {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* ── Gallery controls ────────────────────────────── */

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 32px 20px;
}

#info-bar {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 1px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sort-control select {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 8px;
  cursor: pointer;
}
.sort-control select option { background: #0c0018; }

/* ── Gallery grid ────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px;
  padding: 0 2px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: #0c0018;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-item:hover .overlay { opacity: 1; }

.overlay-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.overlay-artist {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  margin-top: 3px;
}

.play-badge {
  position: absolute;
  bottom: 7px;
  right: 7px;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.5);
  padding: 2px 5px;
  pointer-events: none;
  z-index: 2;
  line-height: 1;
}

/* ── Empty state ─────────────────────────────────── */

.empty-state {
  padding: 80px 32px;
  text-align: center;
}
.empty-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 14px;
  color: var(--text-dim);
}

/* ── Load more ───────────────────────────────────── */

.load-more-wrapper {
  padding: 32px;
  text-align: center;
}

#load-more {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 10px 28px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
#load-more:hover { border-color: var(--pink); color: var(--text); }

/* ── Lightbox ────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }

.lightbox-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  max-width: min(92vw, 1100px);
  width: 100%;
  max-height: 90vh;
  padding: 0 48px;
}

#lightbox-media {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 85vh;
}
#lightbox-media img,
#lightbox-media video {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}
#lightbox-media a { display: contents; }

#lightbox-caption {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.lb-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.lb-artist {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
}
.lb-stats {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
}
.lb-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pink);
  border: 1px solid var(--border-pink);
  padding: 6px 12px;
}
.lb-link:hover { background: var(--pink-dim); }

.close-btn {
  position: fixed;
  top: 16px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  z-index: 1001;
  line-height: 1;
}
.close-btn:hover { color: #fff; }

.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 28px;
  cursor: pointer;
  z-index: 1001;
  padding: 12px;
  transition: color 0.15s;
}
.nav-arrow:hover { color: #fff; }
.nav-prev { left: 8px; }
.nav-next { right: 8px; }

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

footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--text); }
.footer-sep { color: var(--border); }

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-links a { padding: 5px 8px; font-size: 11px; }
  .nav-cta { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 36px 20px; gap: 16px; }
  .hero-title-teia  { font-size: clamp(44px, 14vw, 72px); }
  .hero-title-woman { font-size: clamp(38px, 12vw, 64px); }
  .hero-right { padding: 28px 20px; }
  .hero-right img { max-width: 200px; margin: 0 auto; }

  .details-band { flex-wrap: wrap; }
  .detail-item { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }

  .about-section { grid-template-columns: 1fr; }
  .about-block { padding: 32px 20px; border-right: none; border-bottom: 1px solid var(--border); }

  .guidelines-section { padding: 32px 20px; }
  .guidelines-grid { grid-template-columns: 1fr; }

  .team-section { padding: 32px 20px; }

  .gallery-zone-header { padding: 0 16px 16px; }
  .gallery-controls { padding: 0 16px 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 2px; }

  .load-more-wrapper { padding: 24px 16px; }

  .lightbox-inner { flex-direction: column; padding: 0 16px; max-height: 90vh; overflow-y: auto; }
  #lightbox-caption { flex: none; }
  footer { padding: 20px 16px; flex-wrap: wrap; }
}
