/* ============================================================
   hustle muscle records — test2 (design-driven rebuild)
   단일 스타일시트. 디자인 수치(17/34/68px) 기반.
   ============================================================ */

:root {
  --fg: #000000;
  --bg: #ffffff;
  --accent: #c75302;
  --active: #0000ff;
  --u: 17px;        /* 기본 간격 단위 */
  --u2: 34px;
  --u4: 68px;
  --sidebar-w: 200px;
  --page-max: 1440px;
  --content-max: 590px;
}

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

html {
  font-size: 12px;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(199, 83, 2, 0.4);
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--active);
}

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

/* ── 레이아웃 (좌측 정렬, 최대 1440px) ───────────────────────── */

.wrapper {
  display: flex;
  max-width: var(--page-max);
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  padding: 20px;
}

.content-area {
  flex: 1;
  padding: 20px 0 0 20px;
}

/* 동적 로드 영역 */
.load-wrap {
  padding-top: var(--u);
  min-height: 60vh;
}

.loading {
  color: #777;
}

/* ── 사이드바 ────────────────────────────────────────────────── */

.slogan {
  font-weight: 700;
}

.nav-item {
  display: block;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--active);
  text-decoration: underline;
}

.sub-nav {
  padding: var(--u) 0 var(--u) var(--u);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: var(--active);
  cursor: pointer;
  padding: 0;
}

.lang-btn.active {
  color: var(--active);
}

/* 다국어 토글 (현재 영문만) */
.en { display: block; }
.ko { display: none; }

/* ── 공통: 섹션 화살표 라벨 ──────────────────────────────────── */

.arrow {
  color: var(--fg);
}

/* ── home: release note ─────────────────────────────────────── */

.release-list {
  display: flex;
  gap: var(--u);
  padding: var(--u) 0;
}

.release-list .col {
  display: flex;
  flex-direction: column;
}

.contact {
  white-space: pre-line;
}

/* ── easymind ───────────────────────────────────────────────── */

.easymind {
  display: flex;
  flex-direction: column;
  gap: var(--u4);
}

.artist-profile {
  display: flex;
  flex-direction: column;
}

.profile-body {
  display: flex;
  flex-direction: column;
  gap: var(--u);
  padding-top: var(--u2);
}

.artist-info {
  max-width: var(--content-max);
}

.artist-info p + p {
  margin-top: 1.5em;
}

/* 프로필 이미지 슬라이더
   규칙: 최대높이 300px, 비율 유지, 하단 정렬, gap 8px, 하단 가로 스크롤바 */
.slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  width: 100%;
}

.slider {
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.slider.dragging {
  cursor: grabbing;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider-track {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: max-content;
  height: 300px;
}

.slider-track img {
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.slider-scrollbar {
  width: 100%;
  height: 6px;
  background: #EEEEEE;
  border-radius: 3px;
  position: relative;
}

.slider-thumb {
  height: 6px;
  background: var(--accent);
  border-radius: 3px;
  position: absolute;
  left: 0;
}

/* release list (album card) */
.release-section {
  display: flex;
  flex-direction: column;
  gap: var(--u2);
}

.release-card {
  display: flex;
  gap: var(--u);
  align-items: flex-end;
}

.album-cover {
  width: 200px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.release-right {
  display: flex;
  gap: var(--u);
}

.release-card-info {
  display: flex;
  flex-direction: column;
  gap: var(--u);
}

.release-head {
  display: flex;
  gap: var(--u);
  align-items: center;
}

.release-format {
  display: inline-flex;
  align-items: center;
  border: 0.5px solid var(--fg);
  border-radius: 22px;
  padding: 0 var(--u);
  white-space: nowrap;
}

.release-meta {
  display: flex;
  flex-direction: column;
  gap: var(--u);
}

/* ── 반응형: 850px 이하 → 햄버거 드로어 ─────────────────────── */

.sidebar-toggle,
.hamburger {
  display: none;
}

#sidebar-toggle + .hamburger .chevron-left {
  display: none;
}
#sidebar-toggle:checked + .hamburger .chevron-right {
  display: none;
}
#sidebar-toggle:checked + .hamburger .chevron-left {
  display: block;
}

@media (max-width: 850px) {
  .hamburger {
    display: flex;
    position: fixed;
    top: 16px;
    left: 16px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger svg {
    width: 24px;
    height: 24px;
    color: #333;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 240px;
    background: var(--bg);
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    z-index: 900;
    padding-top: 60px;
  }

  #sidebar-toggle:checked ~ .wrapper .sidebar {
    transform: translateX(0);
  }

  .content-area {
    padding: 60px 16px 24px;
  }
}
