:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --ink: #211F1C;
  --ink-soft: #766F66;
  --ink-faint: #B4ADA2;
  --line: #E7E2D9;
  --line-strong: #D8D1C4;
  --chip: #F1EDE4;
  --chip-active: #211F1C;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand, .pill-btn, .tab {
  font-family: "M PLUS Rounded 1c", "Zen Kaku Gothic New", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}

/* ---------- background swash (signature motif) ---------- */
.swash {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.swash svg {
  position: absolute;
  top: -6%;
  right: -14%;
  width: 60vw;
  max-width: 720px;
  opacity: 0.05;
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.brand:hover img {
  transform: rotate(-8deg) scale(1.08);
}
.brand-text {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.brand-text small {
  display: block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  margin-top: 1px;
}
nav {
  display: flex;
  gap: 4px;
}
nav a {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}
nav a:hover, nav a.active {
  background: var(--chip);
  color: var(--ink);
}
@media (max-width: 640px) {
  nav {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  position: relative;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  background: var(--chip);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hero p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 28px;
}
/* S-curve divider, the recurring signature line */
.s-divider {
  width: 100%;
  height: 34px;
  margin: 8px 0 4px;
}
.s-divider svg {
  width: 100%;
  height: 100%;
}

/* ---------- track list ---------- */
.list-section {
  max-width: 980px;
  margin: 36px auto 0;
  padding: 0 24px;
}
.list-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.list-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.list-header span {
  font-size: 12px;
  color: var(--ink-faint);
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.track {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.track:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px -14px rgba(33, 31, 28, 0.25);
  transform: translateY(-1px);
}

.play-btn {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .2s;
}
.play-btn:hover {
  transform: scale(1.06);
}
.play-btn svg {
  width: 16px;
  height: 16px;
}
.play-btn .icon-pause {
  display: none;
}
.track.playing .play-btn .icon-play {
  display: none;
}
.track.playing .play-btn .icon-pause {
  display: block;
}

.track-body {
  flex: 1 1 auto;
  min-width: 0;
}
.track-title {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.track-title .new {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}
.track-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}
.track-meta span {
  background: var(--chip);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.track-meta .plain {
  background: none;
  padding: 3px 2px;
  color: var(--ink-faint);
}

.waveform {
  flex: 0 0 auto;
  width: 120px;
  height: 28px;
  display: none;
  align-items: flex-end;
  gap: 2px;
}
@media (min-width: 760px) {
  .waveform {
    display: flex;
  }
}
.waveform i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--line-strong);
  height: 20%;
}
.track.playing .waveform i {
  background: var(--ink);
  animation: bounce 1.1s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% {
    height: 20%;
  }
  50% {
    height: var(--h, 80%);
  }
}

.dl-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.dl-btn svg {
  width: 13px;
  height: 13px;
}
.dl-btn:hover {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 600px) {
  .track {
    flex-wrap: wrap;
  }
  .dl-btn {
    margin-left: 62px;
  }
}

/* ---------- about strip ---------- */
.about {
  max-width: 980px;
  margin: 64px auto 0;
  padding: 0 24px;
}
.about-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.about-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: invert(1);
  flex: 0 0 auto;
}
.about-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
}
.about-card p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #D9D5CC;
  margin: 0;
  max-width: 560px;
}
@media (max-width: 640px) {
  .about-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* ---------- footer ---------- */
footer {
  max-width: 980px;
  margin: 64px auto 0;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links div h4 {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  font-weight: 700;
}
.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-faint);
}
.footer-bottom .brand {
  gap: 6px;
}
.footer-bottom .brand img {
  width: 20px;
  height: 20px;
}
.footer-bottom .brand-text {
  font-size: 13px;
}
