/* ==========================================================
   WORLD PERCUSSION — universepercussion.com
   흰 종이 위의 먹색 활자, 포인트는 플라멩코 레드 한 가지.
   ========================================================== */

:root {
  --paper: #ffffff;
  --ink: #141414;
  --gray: #8a8a8a;
  --line: #e4e2de;
  --accent: #b3282d; /* 플라멩코 레드 — 호버/강세에만 사용 */
  --display: "Poiret One", "Pretendard Variable", sans-serif; /* 로고와 같은 아르데코 라인체 */
  --sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; display: block; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* ---------- 헤더 ---------- */
header { padding: 44px 0 0; }

.social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}
.social a {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  transition: all .2s;
}
.social a svg { width: 15px; height: 15px; fill: var(--ink); transition: fill .2s; }
.social a:hover { border-color: var(--accent); background: var(--accent); }
.social a:hover svg { fill: #fff; }

.logo { display: block; text-align: center; }
.logo-img {
  width: min(360px, 78vw);
  margin: 0 auto;
}

/* ---------- 내비게이션 ---------- */
nav {
  margin-top: 34px;
  border-bottom: 1px solid var(--line);
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav a {
  display: block;
  padding: 12px 22px;
  font-size: 12.5px;
  letter-spacing: .14em;
  color: #555;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
nav a:hover { color: var(--accent); }
nav a.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 400; }

/* ---------- 리듬 디바이더 (불레리아 12박 콤파스) ---------- */
.compas {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 11px;
  height: 18px;
  margin: 64px auto;
}
.compas i { width: 1px; height: 8px; background: #c9c6c0; }
.compas i.b { height: 18px; width: 2px; background: var(--accent); } /* 강박: 3·6·8·10·12 */

/* ---------- 본문 공통 ---------- */
main { padding: 56px 0 0; }

.page-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}
.page-title-ko {
  text-align: center;
  font-size: 13px;
  letter-spacing: .34em;
  text-indent: .34em;
  color: var(--gray);
  margin-top: 10px;
}

.section-label {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .08em;
  margin: 46px 0 10px;
}

.mono { font-weight: 300; font-size: 14px; line-height: 2.15; letter-spacing: .01em; }
.mono .venue { color: var(--gray); }

/* ---------- 홈 ---------- */
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 4.4vw, 40px);
  letter-spacing: .22em;
  text-indent: .22em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 44px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%; /* 위쪽(얼굴)을 우선 보여주고 아래쪽을 자름 */
  filter: grayscale(12%);
  transition: filter .3s;
}
.photo-grid img:hover { filter: grayscale(0%); }
.photo-grid img.tall { grid-row: span 2; aspect-ratio: auto; height: 100%; }

.home-caption {
  text-align: center;
  margin-top: 30px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: .04em;
}
.home-instruments {
  text-align: center;
  color: #444;
  font-size: 13.5px;
  margin-top: 8px;
  letter-spacing: .02em;
}

/* ---------- 프로필 ---------- */
.profile-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 52px;
  align-items: start;
}
.profile-layout img { width: 100%; filter: grayscale(8%); }
.profile-name {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.profile-name small {
  font-family: var(--sans);
  text-transform: none;
  font-size: 13px;
  color: var(--gray);
  letter-spacing: .2em;
  margin-left: 12px;
}

/* ---------- 공연 영상 ---------- */
.video-item { margin-bottom: 78px; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-title { font-weight: 500; font-size: 15px; margin-top: 16px; }
.video-desc { color: #555; font-size: 13.5px; margin-top: 4px; }

/* ---------- 작품 · 전시 목록 (New Media Artist) ---------- */
.work-item {
  margin: 34px 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.work-title {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .01em;
}
.work-year {
  font-family: var(--display);
  color: var(--accent);
  margin-left: 8px;
  font-size: 14px;
}
.work-medium {
  font-size: 13.5px;
  color: #555;
  margin-top: 3px;
}
.work-exhibit {
  list-style: none;
  margin-top: 10px;
}
.work-exhibit li {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.9;
  padding-left: 1em;
  text-indent: -1em;
}
.work-exhibit li::before {
  content: "· ";
  color: var(--accent);
}

/* ---------- 컨택트 ---------- */
.contact-list {
  max-width: 520px;
  margin: 40px auto 0;
}
.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.contact-row:first-child { border-top: 1px solid var(--ink); }
.contact-row dt { letter-spacing: .16em; font-size: 12px; color: var(--gray); align-self: center; }
.contact-row dd a:hover { color: var(--accent); }

/* ---------- 100 Years ---------- */
.essay {
  max-width: 640px;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 2.15;
}
.essay p + p { margin-top: 1.4em; }
.essay .lead {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: .08em;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 44px;
}

/* ---------- 푸터 ---------- */
footer {
  margin-top: 110px;
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--gray);
}

/* ---------- 반응형 ---------- */
@media (max-width: 760px) {
  .logo-img { width: min(280px, 82vw); }
  nav a { padding: 10px 12px; font-size: 11.5px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-layout { grid-template-columns: 1fr; gap: 34px; }
  .profile-layout img { max-width: 420px; margin: 0 auto; }
  .compas { gap: 8px; margin: 46px auto; }
}
@media (max-width: 480px) {
  .contact-row { grid-template-columns: 92px 1fr; }
}
