@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

/* ====================================================
   Tokens
==================================================== */
:root {
  --bg: #070b12;
  --bg-deep: #04060a;
  --surface: #10192a;
  --surface-raised: #141f34;
  --border: rgba(190, 205, 222, 0.18);
  --border-strong: rgba(210, 222, 235, 0.46);
  --text: #eef1f7;
  --text-muted: #8d99b0;
  --gold: #aebdcd;
  --gold-bright: #edf4fb;
  --steel: #7894b3;
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.4);
  --header-height: 84px;
  --font-display: "Cinzel", "Hiragino Mincho ProN", serif;
  --font-body: "Manrope", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ====================================================
   Ambient background glows
==================================================== */
.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.ambient-one {
  top: -10%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(184, 203, 222, 0.30), transparent 70%);
}

.ambient-two {
  bottom: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(92, 124, 169, 0.3), transparent 70%);
}

/* ====================================================
   Header / Nav
==================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(7, 11, 18, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text);
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  cursor: pointer;
  z-index: 110;
}

.menu-button span {
  width: 18px;
  height: 1.5px;
  background: var(--gold-bright);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav {
  display: flex;
  gap: 40px;
}

.site-nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 4px;
  transition: color 0.25s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-bright);
  transition: width 0.25s var(--ease);
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  width: 100%;
}

/* ====================================================
   Layout / Sections
==================================================== */
main {
  position: relative;
  z-index: 1;
}

.section {
  padding: 140px 0;
}

.content-section {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 52ch;
}

/* ====================================================
   Hero
==================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .eyebrow {
  font-size: 13px;
}

.hero-visual {
  position: relative;
  width: min(840px, 94vw);
  display: grid;
  place-items: center;
  margin: 4px auto 24px;
}

.hero-star-chart {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(820px, 96vw);
  max-width: none;
  opacity: 0.075;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: rotate-stars 180s linear infinite;
  filter: drop-shadow(0 0 10px rgba(216, 220, 226, 0.18));
}

.hero-logo-frame {
  position: relative;
  z-index: 1;
  width: min(780px, 90vw);
  padding: 10px;
  border: 1px solid rgba(237, 244, 251, 0.78);
  border-radius: 3px;
  background:
    linear-gradient(145deg, rgba(238, 241, 247, 0.05), rgba(7, 11, 18, 0.24));
  box-shadow:
    inset 0 0 0 1px rgba(174, 189, 205, 0.28),
    0 0 18px rgba(216, 220, 226, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.38);
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(0, 122, 204, 0.34))
    drop-shadow(0 12px 30px rgba(0, 0, 0, 0.48));
}

@keyframes rotate-stars {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-copy {
  font-size: 19px;
  color: var(--text);
  letter-spacing: 0.04em;
}

.hero-subcopy {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.button-primary {
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 700;
  border: 1px solid var(--gold);
}

.button-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.button-ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin: 10px auto 0;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-cue-pulse 2.4s var(--ease) infinite;
}

@keyframes scroll-cue-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* ====================================================
   Latest release
==================================================== */
.latest-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(160deg, var(--surface), var(--surface-raised));
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.latest-art {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
}

.latest-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-body .lead {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.85;
}

.action-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  color: var(--text);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.action-link:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(190, 210, 230, 0.09);
}

/* ====================================================
   Discography grid
==================================================== */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 32px 24px;
}

.album-card {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

.album-cover {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
}

.album-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 6, 10, 0.85));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.album-card:hover .album-cover img {
  transform: scale(1.06);
}

.album-card:hover .album-cover {
  border-color: var(--border-strong);
}

.album-card:hover .album-cover::after {
  opacity: 1;
}

.album-meta {
  display: block;
  padding-top: 14px;
}

.album-meta h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.album-meta p {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
  min-height: 1em;
}

/* ====================================================
   Follow / Socials
==================================================== */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(145deg, var(--surface), rgba(20, 31, 52, 0.78));
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.social-card:hover {
  border-color: var(--gold-bright);
  background: var(--surface-raised);
  transform: translateY(-2px);
}

.social-card[aria-disabled="true"],
.action-link[aria-disabled="true"] {
  opacity: 0.58;
  cursor: default;
}

.social-card[aria-disabled="true"]:hover,
.action-link[aria-disabled="true"]:hover {
  transform: none;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--gold-bright);
}

.social-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-name {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.02em;
}

.social-arrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ====================================================
   About
==================================================== */
.about-section .about-copy {
  max-width: 720px;
}

.about-copy p {
  font-size: 18px;
  line-height: 2;
  color: var(--text-muted);
}

/* ====================================================
   Footer
==================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  position: relative;
  z-index: 1;
}

.footer-mark {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--text);
}

/* ====================================================
   Album dialog
==================================================== */
.album-dialog {
  width: min(640px, calc(100% - 48px));
  max-height: calc(100svh - 48px);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.album-dialog::backdrop {
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(6px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(4, 6, 10, 0.5);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.dialog-close:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

#dialog-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.dialog-content {
  padding: 32px 36px 36px;
}

.dialog-content h2 {
  font-size: 30px;
  margin: 6px 0 16px;
}

.dialog-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
}

.dialog-content .action-grid {
  margin-top: 24px;
}

.noscript {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
}

/* ====================================================
   Mobile
==================================================== */
@media (max-width: 760px) {
  :root {
    --header-height: 60px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding: 0 20px;
  }

  .wordmark {
    font-size: 16px;
    letter-spacing: 0.14em;
  }

  .menu-button {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7, 11, 18, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }

  .site-nav.open {
    max-height: 320px;
  }

  .site-nav a {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 72px) 0 72px;
  }

  .hero-visual {
    width: 94vw;
    margin-bottom: 20px;
  }

  .hero-logo-frame {
    width: min(92vw, 620px);
    padding: 7px;
  }

  .hero-star-chart {
    width: min(760px, 118vw);
    opacity: 0.065;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-subcopy {
    margin-top: 7px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .section {
    padding: 80px 0;
  }

  .content-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .latest-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }

  .latest-art {
    max-width: 320px;
    margin: 0 auto;
  }

  .latest-body .lead {
    font-size: 15px;
  }

  .action-grid {
    justify-content: center;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
  }

  .album-meta h3 {
    font-size: 13px;
  }

  .album-meta p {
    font-size: 10px;
  }

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

  .about-copy p {
    font-size: 15px;
    line-height: 1.9;
  }

  .album-dialog {
    width: calc(100% - 24px);
  }

  .dialog-content {
    padding: 24px 20px 28px;
  }

  .dialog-content h2 {
    font-size: 24px;
  }
}
