:root {
  --bg: #0f0a07;
  --bg-2: #1a1310;
  --fg: #f4ece1;
  --fg-dim: #a8998a;
  --ember: #d97935;
  --ember-dim: #8a4a1f;
  --line: #2a1f18;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html,
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse at top, #1d140d 0%, var(--bg) 55%),
    var(--bg);
  min-height: 100vh;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
}

.hero-inner {
  max-width: 720px;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 2rem;
}

.title {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 18vw, 11rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #f4ece1 0%, #d97935 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.byline {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 2.5rem;
}

.play-all {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--ember);
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.play-all:hover {
  background: var(--ember);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(217, 121, 53, 0.6);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ember);
  font-size: 1.4rem;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- App sections ---------- */
.app {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.song {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
}

.song:first-child { border-top: none; }

.song-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.song-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ember);
  font-size: 1.1rem;
}

.song-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.song-meta {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---------- Media grid ---------- */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.tile {
  position: relative;
  background: var(--bg-2);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  flex: 0 0 auto;
  width: 240px;
  aspect-ratio: 9 / 16;
}

.tile.landscape {
  width: 480px;
  aspect-ratio: 16 / 9;
}

@media (max-width: 560px) {
  .tile          { width: calc(50% - 0.5rem); }
  .tile.landscape{ width: 100%; }
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.85) saturate(0.95);
}

.tile:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.1);
}

.tile .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.tile .play::before {
  content: '';
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 10, 7, 0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(244, 236, 225, 0.3);
}

.tile .play::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 11px solid var(--fg);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

/* ---------- Photos section ---------- */
.photos-section {
  margin-top: 2rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
}

.photos-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 0.4rem;
  text-align: center;
}

.photos-section .note {
  font-size: 0.78rem;
  color: var(--fg-dim);
  margin-bottom: 1.75rem;
  font-style: italic;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  color: var(--fg-dim);
  font-family: var(--serif);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 5, 3, 0.96);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] { display: none; }

.lb-stage {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-stage video,
.lb-stage img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 4px;
  display: block;
}

.lb-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--fg-dim);
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(244, 236, 225, 0.08);
  border: 1px solid rgba(244, 236, 225, 0.2);
  color: var(--fg);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgba(217, 121, 53, 0.25);
}

.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev  { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 1.2rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .lb-prev, .lb-next { width: 40px; height: 40px; }
  .lb-caption { font-size: 0.95rem; bottom: 1rem; }
}
