/* ========================================
   secretlabel — main stylesheet
   white on black. edit freely.
   ======================================== */

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

body {
  background: #000;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: white;
  /* text-decoration: none; */
}

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

/* ── Splash ── */

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.splash.done {
  opacity: 0;
  pointer-events: none;
}

/* ── Splash Logo ── */

.splash-logo {
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.15));
  overflow: visible;
}

.splash-logo path,
.splash-logo line {
  transition: opacity 0.3s linear;
}

.splash-logo.exploding path,
.splash-logo.exploding line {
  opacity: 0;
}

.splash-logo {
  transition: transform 2s cubic-bezier(0.4, 0, 1, 1),
              opacity 2s linear;
}

.splash-logo.explode-out {
  transform: scale(15);
  opacity: 0;
}

.splash-logo.explode-in {
  transform: scale(0);
  opacity: 0;
}

.hint {
  font-size: 13px;
  letter-spacing: 2px;
  color: #555;
  transition: opacity 0.2s ease;
  display: none;
}

.hint.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── Site layout ── */

#site {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site .header,
.site .info {
  opacity: 0;
  transition: opacity 0.4s ease;
  flex-shrink: 0;
}

.site.visible .header,
.site.visible .info {
  opacity: 1;
}

/* ── Header ── */

.header {
  padding: 40px;
  border-bottom: 1px solid #222;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  vertical-align:super;
}

.header-icon {
  width: 75px;
  /* height: 150px; */
}

.logo {
  /* font-size: 50px;
  font-weight: 800;
  letter-spacing: 4px;
  text-decoration: none; */
  font-size: 50px;
  font-weight: 300;
  /* letter-spacing: 4px; */
  text-decoration: none;
}
.header a {
  text-decoration: none;
}

/* ── Releases section ── */

.releases-section {
  background: #fff;
  /* overflow: hidden; */
  transition: clip-path 0s linear,
              max-height 5s ease,
              padding 1s ease,
              opacity 0s linear;
  clip-path: inset(0 0);
  padding: 30px;
  opacity: 1;
  max-height: 2000px;
  /* overflow: scroll; */
  
}

.releases-section.closed {
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  clip-path: inset(50% 0);
  max-height: 0;
}

.releases-section.done {
  transition: padding 0s;
}

.releases .card {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.releases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  display: block;
}

.card img {
  aspect-ratio: 1.;
  object-fit: contain;
}

.card-text {
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-catalog {
  letter-spacing: 1px;
  color: #666;
}

.card-title {
  font-size: 20px;
  font-weight: 300;
  color: #000;
}

.card-artist {
  color: #666;
}

.card-date {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}

/* ── Info ── */

.info {
  padding: 40px;
  border-top: 1px solid #222;
}

.info p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ── Modal ── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.modal-panel {
  position: relative;
  background: #111;
  border: 1px solid #333;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.open .modal-panel {
  transform: translateY(0);
}

.modal-close {
/* position: sticky; */
  top: 0;
  float: right;
  background: none;
  /* border: none; */
  display:none;
  color: #888;
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
  z-index: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 0 0 32px;
}

.modal-img {
  width: 100%;
  /* aspect-ratio: 1; */
  object-fit: contain;
  /* background: #000; */
}

.modal-info {
  padding: 20px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-catalog {
  letter-spacing: 1px;
  color: #666;
}

.modal-title {
  font-size: 24px;
  font-weight: 300;
  color: #fff;
}

.modal-artist {
  color: #888;
}

.modal-date {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}

.modal-brief {
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.8;
  color: #aaa;
}

.modal-bandcamp {
  padding: 0 24px;
}

.modal-link {
  display: block;
  padding: 16px 24px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.modal-link:hover {
  color: #fff;
}

.modal-bandcamp iframe {
  display: block;
  width: 100%;
  border: 0;
}

@media (max-width: 600px) {
  #site {
    position: static;
  }

  .splash {
    z-index: 200;
  }

  .splash-logo {
    width: 150px;
    height: 150px;
  }

  .releases {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .header,
  .info {
    padding: 24px;
  }

  .header{
    margin-top:30vh;
  }

  .releases-section{
    padding-left:0px;
    padding-right:0px;
  }
}
