:root {
  --bg: #000;
  --text: #fff;
  --muted: #e8e8e8;
  --accent: #ffd400;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
  line-height: 1.4;
}

a {
  color: inherit;
}

.site-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 55px;
}

.brand-logo {
  width: 175px;
  height: 175px;
  object-fit: contain;
  display: block;
}

.header-main {
  min-width: 0;
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 15px 0 50px;
  font-size: 21px;
  font-weight: 500;
  white-space: nowrap;
}

.nav a {
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.page-title {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  line-height: .98;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
}

.page-kicker {
  margin: 18px 0 0;
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 700;
}

.section-title {
  margin: 16px 0 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  color: var(--accent);
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 72px;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 4px solid var(--accent);
  border-radius: 12px;
  padding: 14px 14px 8px;
  text-decoration: none;
  background: #060606;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px rgba(255, 212, 0, .22), 0 14px 35px rgba(255, 212, 0, .14);
}

.card-image-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 2px solid #fff;
  background: #111;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-label {
  text-align: center;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  padding: 16px 4px 8px;
}

.instagram {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 72px 0 90px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
}

.instagram img {
  width: 34px;
  height: 34px;
  display: block;
}

.instagram:hover,
.instagram:focus-visible {
  color: var(--accent);
}

.content-placeholder {
  margin: 70px 0 120px;
  padding: 50px;
  border: 2px dashed #666;
  border-radius: 12px;
  color: #cfcfcf;
  text-align: center;
  font-size: 20px;
}

.content-placeholder strong {
  color: #fff;
}

@media (max-width: 900px) {
  .site-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    grid-template-columns: 140px 1fr;
    gap: 18px;
    padding-top: 28px;
  }

  .brand-logo {
    width: 125px;
    height: 125px;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 8px 0 32px;
    font-size: 18px;
    white-space: normal;
  }

  .home-cards {
    margin-top: 50px;
  }
}

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

  .brand-logo {
    margin-bottom: 18px;
  }

  .nav {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 14px 0;
    margin-bottom: 34px;
  }

  .home-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .instagram {
    margin-top: 50px;
  }
}

/* ============================================================
   Stage Photography - dynamic show folders and galleries
   ============================================================ */

.stage-intro,
.photo-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin: 66px 0 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid #262626;
}

.content-heading {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  font-weight: 850;
}

.content-subheading {
  margin: 9px 0 0;
  color: #bfbfbf;
  font-size: 18px;
}

.page-actions,
.bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #111;
  background: var(--accent);
  text-decoration: none;
  font-weight: 800;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}

.back-link.secondary {
  color: #fff;
  background: #111;
  border-color: #555;
}

.back-link:hover,
.back-link:focus-visible {
  transform: translateY(-2px);
}

.back-link.secondary:hover,
.back-link.secondary:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.show-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding-bottom: 95px;
}

.show-card {
  display: block;
  min-width: 0;
  background: #060606;
  border: 2px solid #313131;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.show-card:hover,
.show-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(255, 212, 0, .10);
}

.show-cover-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0c0c0c;
  border-bottom: 1px solid #2b2b2b;
}

.show-cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  transition: transform .35s ease;
}

.show-card:hover .show-cover,
.show-card:focus-visible .show-cover {
  transform: scale(1.025);
}

.show-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 212, 0, .11), transparent 32%),
    linear-gradient(145deg, #111, #020202);
  color: #777;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.placeholder-mark {
  color: var(--accent);
  font-size: 62px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -4px;
}

.show-card-copy {
  padding: 18px 19px 20px;
}

.show-name {
  color: #fff;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.08;
  font-weight: 850;
}

.show-date {
  margin-top: 8px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
}

.show-count {
  margin-top: 9px;
  color: #888;
  font-size: 14px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 36px 0 90px;
  padding: 46px 30px;
  border: 1px dashed #4b4b4b;
  border-radius: 12px;
  text-align: center;
  color: #999;
}

.empty-state strong {
  color: #fff;
  font-size: 22px;
}

.empty-state code {
  color: var(--accent);
}

.gallery-heading-row {
  align-items: end;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.photo-tile {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #101010;
  border: 1px solid #292929;
  border-radius: 7px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.photo-tile:hover,
.photo-tile:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(255, 212, 0, .08);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .3s ease;
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
  transform: scale(1.02);
}

.bottom-actions {
  margin: 34px 0 95px;
}

.photo-detail-header {
  align-items: end;
}

.photo-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 8px 0 18px;
}

.photo-detail img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid #333;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .65);
}

.photo-bottom-actions {
  justify-content: center;
}

@media (max-width: 1050px) {
  .show-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .stage-intro,
  .photo-detail-header {
    display: block;
    margin-top: 42px;
  }

  .page-actions {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .show-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .show-card {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .bottom-actions {
    justify-content: flex-start;
  }

  .photo-bottom-actions {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .show-card-copy {
    padding: 16px;
  }
}
