*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #08080d;
  --surface: #0d0c13;
  --text: #c8bab0;
  --text-dim: #6b6060;
  --text-faint: #302a2a;
  --accent: #c4956a;
  --accent-cool: #8b7ea0;
  --accent-rose: #a06858;
  --accent-sky: #7889a0;
  --highlight: #e8ddd4;
  --rule: rgba(122, 111, 100, 0.1);
  --grid-label: clamp(90px, 16vw, 170px);
  --grid-gap: clamp(1.5rem, 4vw, 3.5rem);
  --page-pad: clamp(1.25rem, 5vw, 3rem);
  --max-w: 880px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  animation: pageIn 1.2s 0.1s ease forwards;
}

@keyframes pageIn {
  to { opacity: 1; }
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--highlight); }

/* ═══ Canvas ═══ */
#komorebi {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ═══ Scroll progress ═══ */
.scroll-line {
  position: fixed;
  top: 0; left: 0;
  height: 1px;
  background: var(--accent);
  z-index: 100;
  width: 0%;
  opacity: 0.5;
  transition: opacity 0.3s;
}

/* ═══ Page ═══ */
.page {
  position: relative;
  z-index: 1;
}

/* ═══ Grid row (zef-style two-column) ═══ */
.row {
  display: grid;
  grid-template-columns: var(--grid-label) 1fr;
  gap: 0 var(--grid-gap);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.row-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cool);
  font-weight: 400;
  padding-top: 0.35rem;
  line-height: 1.5;
}

.row-body {
  min-width: 0;
}

/* ═══ Hero ═══ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.6) brightness(0.9);
  transform: scale(1.08);
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(8,8,13,0.4) 0%, transparent 30%);
}

.hero .row {
  position: relative;
  z-index: 2;
}

.hero-date {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s 0.4s ease forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 4.5rem);
  line-height: 1.05;
  color: var(--highlight);
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s 0.6s ease forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 480px;
  margin-top: 1.5rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s 1s ease forwards;
}

.hero-nav {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s 1.3s ease forwards;
}

.hero-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent);
  transition: color 0.3s, border-color 0.3s;
}
.hero-nav a:hover {
  color: var(--highlight);
  border-color: var(--highlight);
}

/* ═══ Content blocks ═══ */
.block {
  padding: clamp(3.5rem, 6vh, 5.5rem) 0;
  border-top: 1px solid var(--rule);
}

.block.no-rule { border-top: none; }

/* ═══ Reveal animation ═══ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ Typography ═══ */
.body-text {
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.body-text:last-child { margin-bottom: 0; }

blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
}
blockquote:first-child { margin-top: 0; }
blockquote:last-child { margin-bottom: 0; }

blockquote .body-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text);
  opacity: 0.9;
}

/* ═══ Band image ═══ */
.img-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.img-wrap img {
  width: 100%;
  display: block;
  filter: saturate(0.8);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.img-wrap:hover img {
  filter: saturate(1);
  transform: scale(1.01);
}

.img-credit {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* ═══ Lyrics ═══ */
.lyrics {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 2.1;
  color: var(--accent);
  opacity: 0.75;
}

.lyrics .stanza {
  margin-bottom: 1.75rem;
}
.lyrics .stanza:last-child { margin-bottom: 0; }

.lyrics-glow {
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.9; }
}

/* ═══ Concerts ═══ */
.concert-list {
  list-style: none;
}

.concert-item {
  display: grid;
  grid-template-columns: clamp(100px, 20vw, 140px) 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.concert-item:last-child { border-bottom: none; }

.concert-date {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
}

.concert-venue {
  font-size: 0.85rem;
  color: var(--text);
}

.concert-venue em {
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ═══ Links ═══ */
.link-row {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.link-row a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
}
.link-row a:hover { color: var(--accent); }

/* ═══ Contact ═══ */
.contact p {
  font-size: 0.88rem;
  line-height: 1.9;
}

/* ═══ Footer ═══ */
.footer {
  padding: 4rem 0 2.5rem;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ═══ Keyframes ═══ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ Responsive ═══ */
@media (max-width: 640px) {
  .row {
    grid-template-columns: 1fr;
    gap: 0.6rem 0;
  }
  .hero-nav { gap: 1.25rem; }
  .concert-item {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
