:root {
  color-scheme: dark;
  --bg: #101010;
  --panel: #181818;
  --panel-strong: #202020;
  --ink: #f2f0ec;
  --muted: #aaa49a;
  --line: #2f2d29;
  --accent: #d7b778;
  --accent-ink: #16130d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 320px),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button {
  color: inherit;
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 16, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 0.88rem;
  font-weight: 760;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  padding: 10px 0;
}

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

.intro-band {
  display: grid;
  align-items: end;
  min-height: calc(100vh - 68px);
  padding: clamp(64px, 10vw, 130px) clamp(18px, 4vw, 54px) clamp(44px, 7vw, 84px);
}

.intro-copy {
  width: min(960px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 11vw, 8.7rem);
  font-weight: 810;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 790;
}

h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 720;
}

.lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 34px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 760;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: #efcf8d;
}

.featured-band,
.gallery-sections {
  padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 54px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.featured-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 31vw);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
}

.featured-strip .photo-button {
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
}

.gallery-hero {
  padding: clamp(46px, 7vw, 92px) clamp(18px, 4vw, 54px) clamp(20px, 3vw, 34px);
}

.date-section {
  padding: clamp(28px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
}

.date-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.photo-count {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.photo-button {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: var(--panel);
  cursor: pointer;
  aspect-ratio: 3 / 4;
}

.photo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.photo-button:hover img,
.photo-button:focus-visible img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.photo-button:focus-visible,
.icon-button:focus-visible,
.primary-link:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.empty-state,
.error-state {
  min-height: 220px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  padding: 20px;
  background: rgba(4, 4, 4, 0.9);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 1320px);
  height: min(100%, 860px);
}

.lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 40px);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.lightbox-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 102;
  display: flex;
  gap: 8px;
}

.nav-button {
  position: fixed;
  top: 50%;
  z-index: 102;
  transform: translateY(-50%);
}

.nav-button.prev {
  left: 20px;
}

.nav-button.next {
  right: 20px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.78);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.icon-button:hover {
  background: rgba(48, 48, 48, 0.92);
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.detail-panel {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 101;
  width: min(calc(100vw - 40px), 640px);
  max-height: min(55vh, 430px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(18, 18, 18, 0.9);
  box-shadow: var(--shadow);
  transform: translate(-50%, calc(100% + 32px));
  transition: transform 220ms ease;
  backdrop-filter: blur(18px);
}

.detail-panel.is-visible {
  transform: translate(-50%, 0);
}

.detail-panel h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-caption {
  margin: 14px 0 0;
  color: var(--ink);
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 54px) 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

@media (max-width: 760px) {
  .site-header {
    min-height: 62px;
  }

  .intro-band {
    min-height: calc(92vh - 62px);
  }

  .featured-strip {
    grid-auto-columns: minmax(230px, 82vw);
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .date-header {
    display: block;
  }

  .photo-count {
    display: block;
    margin-top: 6px;
  }

  .nav-button {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .nav-button.prev {
    left: 20px;
  }

  .nav-button.next {
    right: 20px;
  }

  .detail-panel {
    bottom: 76px;
  }
}
