/* NARECORD — 색과 글꼴은 로고·유튜브 프로필에서 가져왔습니다 */
:root {
  --paper: #ECE8E4;      /* 배너의 웜그레이 */
  --paper-2: #F7F5F2;
  --forest: #203726;     /* NR 프로필의 진녹색 */
  --forest-2: #2C4A33;
  --ink: #1F211D;
  --muted: #5E5F58;
  --rose: #C7A096;       /* 말린 장미 배너 */
  --line: rgba(31, 33, 29, 0.18);

  --serif-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --serif-ko: 'Gowun Batang', 'AppleMyungjo', serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-ko);
  font-size: 17px;
  line-height: 1.85;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter);
  background: rgba(236, 232, 228, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__logo img { width: 132px; }
.topbar__nav { display: flex; gap: clamp(14px, 3vw, 32px); font-size: 15px; }
.topbar__nav a { text-decoration: none; padding: 6px 0; }
.topbar__nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.btn--solid { background: var(--forest); color: #fff; }
.btn--solid:hover { background: var(--forest-2); }
.btn--line { border: 1px solid var(--forest); color: var(--forest); }
.btn--line:hover { background: var(--forest); color: #fff; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 100px) var(--gutter) clamp(56px, 9vw, 120px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.hero__art img { width: 100%; max-width: 560px; margin-left: -4%; }
.hero__title { margin: 0 0 28px; font-weight: 400; }
.hero__en {
  display: block;
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 96px);
  line-height: .98;
  letter-spacing: -0.01em;
  color: var(--forest);
}
.hero__ko {
  display: block;
  margin-top: 22px;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.6;
}
.hero__lead { margin: 0 0 32px; max-width: 30em; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- section heads ---------- */
.section-head { max-width: 40em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--serif-en);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--forest);
}
.section-head p { margin: 0; color: var(--muted); }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: rgba(255, 255, 255, .72); }

/* ---------- albums ---------- */
.albums {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 10vw, 128px);
}
.albums__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.album h3 {
  margin: 16px 0 2px;
  font-family: var(--serif-en);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
}
.album h3 em { font-weight: 400; color: var(--muted); }
.album p { margin: 0 0 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.album__links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; line-height: 1.7; }
.album__links a { color: var(--forest); text-underline-offset: 4px; }
.album__play {
  display: block; width: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
  aspect-ratio: 1; overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 18px 30px -22px rgba(32, 55, 38, .55);
}
.album__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.album__play img.is-thumb { transform: scale(1.34); } /* 유튜브 썸네일 위아래 검은 띠 숨김 */
.album__play:hover img { transform: scale(1.04); }
.album__play:hover img.is-thumb { transform: scale(1.4); }

/* ---------- listen (player) ---------- */
.listen {
  background: var(--forest);
  color: #fff;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
}
.listen > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.listen__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.player { position: sticky; top: 92px; }
.player__frame { aspect-ratio: 16 / 9; background: #000; }
.player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player__now { margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, .72); }
.player__now span { color: #fff; }

.playlists__group + .playlists__group { margin-top: 32px; }
.playlists h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--rose);
}
.playlists ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.pl {
  display: flex; align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.pl__play {
  flex: 1;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 4px 12px 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  font-size: 15px; line-height: 1.5;
}
.pl__play:hover .pl__title { text-decoration: underline; text-underline-offset: 4px; }
.pl__count { font-size: 13px; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.pl.is-active .pl__title { color: var(--rose); }
.pl.is-active .pl__title::before { content: '▸ '; }
.pl__out {
  display: grid; place-items: center;
  width: 40px;
  color: rgba(255, 255, 255, .55);
}
.pl__out:hover { color: #fff; }
.pl__out svg { width: 14px; height: 14px; }

/* ---------- sheet music ---------- */
.sheet {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
}
.books { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.book {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) 1fr;
  gap: clamp(18px, 2.5vw, 32px);
  align-items: end;
}
.book__cover { box-shadow: 0 24px 40px -26px rgba(31, 33, 29, .6); }
.book h3 { margin: 0; font-size: 21px; line-height: 1.45; font-weight: 700; }
.book__sub { margin: 4px 0 18px; font-family: var(--serif-en); font-style: italic; font-size: 18px; color: var(--muted); }
.book__facts { margin: 0 0 24px; font-size: 14px; line-height: 1.6; }
.book__facts div { display: flex; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.book__facts div:last-child { border-bottom: 1px solid var(--line); }
.book__facts dt { flex: none; width: 2.6em; color: var(--muted); }
.book__facts dd { margin: 0; }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  padding: 56px var(--gutter);
  text-align: center;
  font-size: 14px;
}
.footer__logo { width: 180px; margin: 0 auto 20px; }
.footer__links { list-style: none; margin: 0 0 20px; padding: 0; display: flex; justify-content: center; gap: 28px; }
.footer__links a { color: #fff; text-decoration: none; font-size: 15px; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer__note { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .albums__list { grid-template-columns: repeat(3, 1fr); }
  .listen__grid { grid-template-columns: 1fr; }
  .player { position: static; }
  .books { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar__logo img { width: 108px; }
  .topbar__nav { gap: 14px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero__art img { max-width: 320px; margin: 0 auto; }
  .albums__list { grid-template-columns: repeat(2, 1fr); }
  .book { grid-template-columns: 120px 1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .album__play img, .btn { transition: none; }
}

/* ---------- smart store ---------- */
.stores { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1000px) { .stores { grid-template-columns: 1fr; } }
.store {
  padding: 24px 28px;
  display: flex; align-items: center; gap: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.store__mark { width: 72px; height: 72px; border-radius: 50%; flex: none; object-fit: cover; background: #fff; }
.store { flex-wrap: wrap; }
.store__text { flex: 1; }
.store h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.4; }
.store p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 720px) {
  .store { flex-wrap: wrap; padding: 22px; }
  .store__mark { width: 56px; height: 56px; }
  .store .btn { width: 100%; text-align: center; }
}

.album__buy {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 16px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 13px;
  color: var(--forest);
  text-decoration: none;
}
.album__buy:hover { background: var(--forest); color: #fff; }

/* 앨범 섹션 설명은 데스크톱에서 한 줄로 */
.albums .section-head { max-width: none; }

/* ---------- footer business info ---------- */
.footer__biz {
  max-width: 760px;
  margin: 28px auto 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px 20px;
  font-size: 13px;
  line-height: 1.7;
}
.footer__biz div { display: flex; gap: 6px; }
.footer__biz dt { color: rgba(255, 255, 255, .45); }
.footer__biz dd { margin: 0; color: rgba(255, 255, 255, .78); }
.footer__biz a { color: inherit; text-decoration: none; }
.footer__biz a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__note { font-size: 12px; color: rgba(255, 255, 255, .45); }
