:root {
  --bg: #000;
  --fg: #f1f1f1;
  --dim: #8d8d8d;
  --line: rgba(255, 255, 255, .09);
  --panel: rgba(255, 255, 255, .03);
  --nav-h: 72px;
  --radius: 28px;
  --display: "Outfit", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: rgba(255,255,255,.85); color: #000; }

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, #0c0c0c 0%, #000 68%);
}

#sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

.logo {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(3.4rem, 15vw, 13rem);
  line-height: 1;
  letter-spacing: 0.22em;
  margin-right: -0.22em;
  display: flex;
  justify-content: center;
  animation: fadeIn 2.6s ease-out both;
}

.logo span {
  display: inline-block;
  color: rgba(255, 255, 255, .8);
  /* one slow wave of light passing across the letters */
  animation: breathe 9s cubic-bezier(.45, 0, .55, 1) infinite;
  animation-delay: calc(var(--i) * 0.5s);
  transition: color 1.2s ease, text-shadow 1.2s ease;
  cursor: default;
  will-change: text-shadow, color;
}

.logo span:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(255,255,255,.5), 0 0 60px rgba(255,255,255,.25);
}

@keyframes breathe {
  0%, 100% {
    color: rgba(255,255,255,.72);
    text-shadow: 0 0 10px rgba(255,255,255,.1), 0 0 40px rgba(255,255,255,.05);
  }
  50% {
    color: rgba(255,255,255,.95);
    text-shadow: 0 0 14px rgba(255,255,255,.35), 0 0 50px rgba(255,255,255,.18), 0 0 110px rgba(255,255,255,.08);
  }
}

@keyframes fadeIn {
  from { opacity: 0; filter: blur(8px); }
  to   { opacity: 1; filter: blur(0); }
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 10px;
}

.scroll-hint i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255,255,255,.8), transparent);
  transform-origin: top;
  animation: drip 2.6s ease-in-out infinite;
}

@keyframes drip {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

#nav-sentinel { height: 1px; margin-bottom: -1px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .5s ease, border-color .5s ease, box-shadow .5s ease;
}

.nav.stuck {
  background: rgba(0, 0, 0, .78);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 50px rgba(255, 255, 255, .04);
}

.nav-logo {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: .3em;
  color: rgba(255,255,255,.88);
  text-shadow: 0 0 14px rgba(255,255,255,.2);
  transition: text-shadow .6s ease, color .6s ease;
}
.nav-logo:hover { color: #fff; text-shadow: 0 0 18px rgba(255,255,255,.55); }

.nav-links { display: flex; gap: .3rem; }

.nav-links a {
  display: block;
  padding: .5rem 1.1rem;
  font-size: .9rem;
  color: var(--dim);
  border-radius: 999px;
  transition: color .4s ease, background .4s ease, box-shadow .4s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--fg);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 24px rgba(255,255,255,.08);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem);
  scroll-margin-top: var(--nav-h);
}

.section-title {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: .1em;
  color: rgba(255,255,255,.88);
  line-height: 1;
  margin-bottom: 2.4rem;
}

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .5s ease, box-shadow .5s ease, transform .5s ease, background .5s ease;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.12), transparent 65%);
  transition: opacity .5s ease;
}

.glow-card:hover { border-color: rgba(255,255,255,.22); box-shadow: 0 0 40px rgba(255,255,255,.06); }
.glow-card:hover::before { opacity: 1; }

.about-text {
  max-width: 760px;
}

.about-text .lead {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.45;
  color: rgba(255,255,255,.92);
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* always four per row */
  gap: 1.2rem;
}

.release { display: block; padding: 12px; min-width: 0; }
.release:hover { transform: translateY(-5px); }

.cover {
  aspect-ratio: 1;
  border-radius: calc(var(--radius) - 12px);
  position: relative;
  overflow: hidden;
}

.cover.has-art { background-size: cover; background-position: center; background-repeat: no-repeat; }
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.1), transparent 55%);
  transition: opacity .5s ease;
}
.release:hover .cover::after { opacity: 1.6; }

.c1 { background: radial-gradient(circle at 70% 80%, #1c1c1c, #050505 70%); }
.c2 { background: radial-gradient(circle at 20% 70%, #202020, #040404 70%); }
.c3 { background: radial-gradient(circle at 60% 20%, #181818, #060606 70%); }

.meta { padding: 1rem .6rem .5rem; }
.meta h3 { font-family: var(--display); font-weight: 300; font-size: 1.25rem; letter-spacing: .04em; }
.meta p { color: var(--dim); font-size: .85rem; }

.social-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 0;
  font-family: var(--display);
  font-weight: 200;
  font-size: 1.3rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.8);
  transition: color .5s ease, text-shadow .5s ease, padding .5s ease;
}
.social i { font-style: normal; font-weight: 200; color: var(--dim); transition: transform .5s ease, color .5s ease; }
.social:hover { color: #fff; text-shadow: 0 0 18px rgba(255,255,255,.45); padding-left: .6rem; }
.social:hover i { transform: translate(4px, -4px); color: #fff; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2.4rem clamp(1.2rem, 4vw, 3rem);
  color: var(--dim);
  font-size: .85rem;
}
.footer a { transition: color .4s ease, text-shadow .4s ease; }
.footer a:hover { color: var(--fg); text-shadow: 0 0 14px rgba(255,255,255,.6); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease, border-color .5s ease, box-shadow .5s ease, padding .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.release.reveal.in:hover { transform: translateY(-5px); }

@media (max-width: 760px) {
  :root { --nav-h: 62px; --radius: 24px; }
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .release { padding: 8px; }
  .meta { padding: .7rem .3rem .3rem; }
  .meta h3 { font-size: 1.05rem; }
  .meta p { font-size: .78rem; }
  .nav-logo { font-size: 1rem; letter-spacing: .24em; }
  .nav-links a { padding: .4rem .65rem; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}
