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

:root {
  --bg:           #07070c;
  --bg-surface:   #0d0d16;
  --bg-elevated:  #14142080;
  --accent:       #a89ee8;
  --accent-soft:  rgba(168, 158, 232, 0.12);
  --text-primary: #eeeef6;
  --text-muted:   #7878a0;
  --text-dim:     #3a3a54;
  --border:       rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.14);
  --spotify:      #1db954;
  --radius-xl:    24px;
  --radius-lg:    16px;
  --radius-full:  9999px;
  --nav-h:        60px;
  --max-w:        1080px;
  --gap-section:  128px;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Navigation ─────────────────────────────── */

#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(7, 7, 12, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* ─── Hero ───────────────────────────────────── */

.hero {
  height: 100svh;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  position: relative;
  overflow: hidden;
}

.hero-text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 64px) 48px 80px 40px;
  max-width: var(--max-w);
  padding-left: max(40px, calc((100vw - var(--max-w)) / 2 + 40px));
  position: relative;
  z-index: 2;
}

.hero-catch {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 28px;
  font-family: 'Noto Sans JP', sans-serif;
}

.hero-name {
  font-size: clamp(54px, 6.5vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 56px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--spotify);
  color: #000;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.hero-image-side {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 30%),
    linear-gradient(to top,   var(--bg) 0%, transparent 35%);
}

/* ─── Section commons ────────────────────────── */

.section { padding: var(--gap-section) 0; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section-header { margin-bottom: 56px; }

.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ─── About ──────────────────────────────────── */

.about-section { background: var(--bg-surface); }

.about-body {
  max-width: 660px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.about-body.in-view { opacity: 1; transform: none; }

.about-body p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-muted);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  margin-bottom: 20px;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.tag {
  padding: 5px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
}

.tag:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Music ──────────────────────────────────── */

.music-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.track-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: border-color 0.25s, transform 0.6s var(--ease), opacity 0.6s var(--ease);
}

.track-card.in-view {
  opacity: 1;
  transform: none;
}

.track-card:nth-child(2) { transition-delay: 0.12s; }

.track-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.track-jacket {
  overflow: hidden;
  aspect-ratio: 1;
}

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

.track-card:hover .track-jacket img { transform: scale(1.04); }

.track-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.track-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.track-date {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.track-genre {
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(168, 158, 232, 0.28);
  padding: 3px 11px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.track-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  font-family: 'Noto Sans JP', sans-serif;
}

.track-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
}

.btn-listen {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--spotify);
  color: #000;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  width: fit-content;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.btn-listen:hover { opacity: 0.85; transform: translateY(-1px); }

/* ─── Follow ─────────────────────────────────── */

.follow-section { background: var(--bg-surface); }

.follow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.follow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 44px 20px 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  opacity: 0;
  transform: translateY(16px);
  transition: border-color 0.25s, transform 0.6s var(--ease), background 0.25s, opacity 0.6s var(--ease);
}

.follow-card.in-view {
  opacity: 1;
  transform: none;
}

.follow-card:nth-child(2) { transition-delay: 0.08s; }
.follow-card:nth-child(3) { transition-delay: 0.16s; }
.follow-card:nth-child(4) { transition-delay: 0.24s; }

.follow-card:hover {
  border-color: var(--border-hover);
  background: var(--accent-soft);
  transform: translateY(-4px);
}

.follow-icon-wrap {
  width: 54px;
  height: 54px;
  background: var(--bg-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.follow-platform {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.follow-handle {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ─── Footer ─────────────────────────────────── */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ─── Responsive ─────────────────────────────── */

@media (max-width: 960px) {
  :root { --gap-section: 96px; }

  .hero {
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-text-side {
    order: 2;
    padding: 48px 32px 64px;
    padding-left: 32px;
  }

  .hero-image-side {
    order: 1;
    height: 55vw;
    min-height: 260px;
    max-height: 480px;
  }

  .hero-image-overlay {
    background:
      linear-gradient(to bottom, transparent 55%, var(--bg) 100%);
  }

  .hero-cta { flex-direction: row; }

  .follow-grid { grid-template-columns: repeat(2, 1fr); }

  .track-card { grid-template-columns: 160px 1fr; }

  .track-body { padding: 24px 28px; }
}

@media (max-width: 640px) {
  :root { --gap-section: 72px; }

  .nav-inner { padding: 0 20px; }
  .nav-links { gap: 24px; }
  .container { padding: 0 20px; }

  .hero-text-side { padding: 40px 20px 56px; }
  .hero-name { font-size: 44px; }
  .hero-cta { flex-wrap: wrap; }

  .track-card { grid-template-columns: 1fr; }

  .track-jacket {
    aspect-ratio: auto;
    height: 200px;
  }

  .track-body { padding: 24px 20px; }

  .track-meta { flex-wrap: wrap; gap: 8px; }

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

  .follow-card { padding: 32px 16px 28px; }
}
