@font-face { font-family: "Freesentation"; src: url("assets/font/Freesentation-4Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Freesentation"; src: url("assets/font/Freesentation-5Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* 바탕 흰·연회색 / 주색 먹 / 포인트 초록(문의 버튼만) */
:root {
  --white: #ffffff; --gray: #f4f4f2; --dark: #121313;
  --ink: #17181a; --sub: #6e7075; --line: #e5e6e8;
  --point: #00573f; --point-on: #00704f;
  --wrap: 1200px; --gut: 24px;
  --h: 34px; --h-sm: 28px; --h-xs: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--white); color: var(--ink); font-family: "Freesentation", sans-serif; font-weight: 400; font-synthesis-weight: none; font-size: 17px; line-height: 1.65; word-break: keep-all; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 500; }
b, strong { font-weight: 500; }
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.u { display: inline-block; white-space: nowrap; }

main { min-height: calc(100vh - 150px); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px var(--gut); }

/* 버튼: 알약 하나, 높이 34 */
.pill { display: inline-flex; align-items: center; gap: 6px; height: var(--h); padding: 0 18px; border-radius: 17px; font-size: 15px; white-space: nowrap; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.pill:hover { border-color: var(--ink); }
.pill.cta { background: var(--point); border-color: var(--point); color: #fff; }
.pill.cta:hover { background: var(--point-on); border-color: var(--point-on); }
.pill.light { background: #fff; border-color: #fff; color: var(--ink); }
.pill.light:hover { background: transparent; color: #fff; }
.link { display: inline-flex; align-items: center; height: var(--h); font-size: 15px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 머리줄 */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
header .in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; width: 80px; height: 24px; background: var(--ink); -webkit-mask: url("assets/img/logo.png") left center / contain no-repeat; mask: url("assets/img/logo.png") left center / contain no-repeat; transition: background .3s; }
nav { display: flex; align-items: center; gap: 4px; font-size: 16px; }
nav a { display: inline-flex; align-items: center; height: var(--h); padding: 0 12px; border-radius: 17px; color: var(--sub); }
nav a:hover { color: var(--ink); background: var(--gray); }
nav a[aria-current="page"] { color: var(--ink); background: var(--gray); }
.menu { display: none; width: var(--h); height: var(--h); margin-right: -6px; place-items: center; color: var(--ink); }
.menu span, .menu span::before, .menu span::after { display: block; width: 20px; height: 1.5px; background: currentColor; }
.menu span { position: relative; }
.menu span::before, .menu span::after { content: ""; position: absolute; left: 0; }
.menu span::before { top: -6px; }
.menu span::after { top: 6px; }
/* 첫 페이지: 영상 위에서는 투명 */
body.home header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
body.home header .logo { background: #fff; }
body.home header .menu { color: #fff; }
body.home header nav a { color: rgba(255,255,255,.85); }
body.home header nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
body.home header.solid { background: rgba(255,255,255,.97); border-color: var(--line); }
body.home header.solid .logo { background: var(--ink); }
body.home header.solid .menu { color: var(--ink); }
body.home header.solid nav a { color: var(--sub); }
body.home header.solid nav a:hover { color: var(--ink); background: var(--gray); }
body.home header nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.16); }
body.home header.solid nav a[aria-current="page"] { color: var(--ink); background: var(--gray); }

/* 섹션 */
section { padding: 96px 0; }
section.after { padding-top: 0; }
.sh { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.sh h2 { font-size: 36px; line-height: 1.3; }
.sh .link { color: var(--sub); }
.sh .link:hover { color: var(--ink); }
.gray { background: var(--gray); }

/* 하위 페이지 머리 */
.ph-head { padding: 72px 0 40px; }
.ph-head h1 { font-size: 48px; line-height: 1.25; }
.ph-head p { font-size: 17px; color: var(--sub); margin-top: 12px; }
.ph-head + section { padding-top: 0; }

/* 첫 화면 */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: var(--dark); padding: 0; }
.hero video { position: absolute; inset: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.4) 60%, rgba(10,10,10,.2) 100%); }
.hero .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero .k { font-size: 16px; color: rgba(255,255,255,.7); }
.hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.25; margin-top: 16px; }
.hero .about { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: rgba(255,255,255,.88); margin-top: 16px; }
.hero .act { display: flex; align-items: center; gap: 20px; margin-top: 36px; }
.hero .act .link { color: #fff; }
.hero .cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 28px; font-size: 14px; color: rgba(255,255,255,.6); }

/* 전시: 한 화면에 하나씩 */
html:has(.slides) { scroll-snap-type: y proximity; }
.slide { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; background: var(--dark); overflow: hidden; scroll-snap-align: start; }
.slide img { position: absolute; inset: 0; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,.8) 0%, rgba(10,10,10,.25) 55%, rgba(10,10,10,.3) 100%); }
.slide .wrap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 64px; }
.slide .k { font-size: 16px; color: rgba(255,255,255,.75); }
.slide h2 { font-size: clamp(34px, 5vw, 62px); line-height: 1.2; margin-top: 8px; }
.slide .d { font-size: 18px; color: rgba(255,255,255,.85); margin-top: 14px; }
.slide .pill { margin-top: 24px; }
.series { padding: 72px 0; scroll-snap-align: start; }
.series h2 { font-size: 36px; line-height: 1.3; }
.series p { font-size: 18px; color: #45474c; margin-top: 10px; }

/* 작업 카드 */
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); transition: border-color .2s, transform .3s; }
a.card:hover { border-color: #c9cbcf; transform: translateY(-2px); }
.card .im { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.card .im img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.card:hover .im img { transform: scale(1.04); }
.card .play { position: absolute; right: 12px; bottom: 12px; width: var(--h-sm); height: var(--h-sm); border-radius: 50%; background: rgba(18,19,19,.72); display: grid; place-items: center; }
.card .play::before { content: ""; margin-left: 2px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.card .bd { display: flex; flex-direction: column; flex: 1; min-height: 120px; padding: 16px 18px 18px; }
.card .k { font-size: 14px; color: var(--sub); }
.card .t { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; font-size: 19px; font-weight: 500; }
.card .t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .t i { font-style: normal; font-weight: 400; color: var(--sub); }
.card .d { font-size: 15px; color: var(--sub); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 자료를 기다리는 빈 칸 */
.blank .bd { min-height: 120px; }
.blank .bd i { display: block; height: 14px; width: 35%; border-radius: 4px; background: var(--gray); }
.blank .bd i + i { width: 70%; height: 18px; margin-top: 10px; }

/* 함께한 곳 */
.with { padding: 44px 0; text-align: center; }
.with p { font-size: 15px; color: var(--sub); }
.with ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px var(--gut); margin-top: 24px; }
.with li { flex: 0 0 calc((100% - var(--gut) * 4) / 5); height: 52px; display: flex; align-items: center; justify-content: center; }
.with img { width: auto; height: auto; max-width: min(100%, 150px); max-height: 100%; object-fit: contain; }

/* 어두운 띠 */
.band { position: relative; color: #fff; background: var(--dark); overflow: hidden; }
.band img { position: absolute; inset: 0; opacity: .35; }
.band .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.band h2 { font-size: 36px; line-height: 1.3; }
.band p { font-size: 18px; color: rgba(255,255,255,.75); margin-top: 8px; }

/* 프로젝트 상세 */
.cover { position: relative; height: 70vh; min-height: 420px; color: #fff; background: var(--dark); padding: 0; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,.75), rgba(10,10,10,.08) 60%); }
.cover img { position: absolute; inset: 0; }
.cover .wrap { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 1; }
.cover .k { font-size: 16px; color: rgba(255,255,255,.75); }
.cover h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.2; margin-top: 8px; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); padding-top: 48px; }
.meta div { border-top: 1px solid var(--ink); padding-top: 12px; }
.meta span { display: block; font-size: 14px; color: var(--sub); }
.meta b { display: block; font-size: 21px; margin-top: 2px; }
.yt { position: relative; display: block; margin-top: 48px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--dark); }
.with-poster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); align-items: start; margin-top: 48px; }
.with-poster .poster { border-radius: 12px; overflow: hidden; }
.with-poster .poster img { height: auto; }
.with-poster .yt { grid-column: span 2; margin-top: 0; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(18,19,19,.72); display: grid; place-items: center; transition: background .2s; }
.yt:hover .yt-play { background: rgba(18,19,19,.9); }
.yt-play::before { content: ""; margin-left: 4px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.about { margin-top: 56px; }
.about .lead { font-size: 24px; line-height: 1.45; }
.about ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gut); margin-top: 24px; }
.about li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 17px; }
.log-h { font-size: 36px; line-height: 1.3; margin-top: 96px; }
.log-h + .step { margin-top: 36px; }
.step { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); margin-top: 88px; }
.step .txt small { display: block; font-size: 15px; color: var(--sub); }
.step .txt h3 { font-size: 26px; line-height: 1.35; margin-top: 6px; }
.step .txt p { font-size: 17px; color: #45474c; margin-top: 12px; line-height: 1.75; }
.step figure { grid-column: span 2; }
.step .im { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--gray); }
figcaption { font-size: 14px; color: var(--sub); margin-top: 8px; }
.endbar { margin-top: 96px; padding: 48px 0; }
.endbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.endbar p { font-size: 20px; }
.endbar .act { display: flex; flex-wrap: wrap; gap: 8px; }

/* 팀 */
.hist { border-top: 1px solid var(--ink); }
.hist li { display: flex; align-items: baseline; gap: var(--gut); padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.hist a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hist em { font-style: normal; font-size: 15px; color: var(--sub); margin-left: 6px; white-space: nowrap; }
.hist li > span { flex: 0 0 64px; font-size: 15px; color: var(--sub); }
.mem .im { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--gray); }
.mem h3 { font-size: 22px; margin-top: 16px; }
.mem .r { font-size: 15px; color: var(--sub); }
.mem .r2 { font-size: 15px; color: var(--ink); margin-top: 2px; }
.how ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); counter-reset: n; }
.sh .sub { font-size: 17px; color: var(--sub); margin-top: 8px; }
.how ol.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.how ol.names li::before { content: none; }
.how small { display: block; font-size: 14px; color: var(--sub); }
.how li { border-top: 1px solid var(--ink); padding-top: 14px; }
.how li::before { counter-increment: n; content: "0" counter(n); font-size: 14px; color: var(--sub); }
.how h3 { font-size: 21px; margin-top: 4px; }
.how p { font-size: 15px; color: var(--sub); margin-top: 6px; line-height: 1.6; }

/* 음악 이력 */
.meta.music { padding-top: 0; }
.albums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px var(--gut); margin-top: 40px; }
.album .im { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--gray); }
.album figcaption { margin-top: 10px; }
.album b { display: block; font-size: 16px; line-height: 1.4; color: var(--ink); }
.album span { display: block; font-size: 14px; color: var(--sub); margin-top: 2px; }
.disc-h { font-size: 22px; margin-top: 56px; }
.disc-h + .albums { margin-top: 20px; }
.more .albums { margin-top: 28px; }
.more .hist { border-top: 0; }
.more-act { margin-top: 32px; text-align: center; }
.disc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gut); margin-top: 40px; }
.disc li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }

/* 사진: 큰 크기로 옆으로 넘기기 */
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; }
.gallery::-webkit-scrollbar { display: none; }
.gallery .im { flex: 0 0 100%; aspect-ratio: 21 / 9; overflow: hidden; background: var(--gray); scroll-snap-align: start; }
.gallery .im img { object-position: 50% 55%; }
.gallery-box { position: relative; }
.p-album { margin-top: 48px; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(18,19,19,.62); color: #fff; font-size: 18px; transition: background .2s; }
.gal-btn:hover { background: rgba(18,19,19,.85); }
.gal-btn.prev { left: 12px; }
.gal-btn.next { right: 12px; }
@media (max-width: 640px) { .gallery .im { aspect-ratio: 4 / 3; } }

/* 팀 단체 사진 */
.team-photo { aspect-ratio: 2 / 1; border-radius: 12px; overflow: hidden; background: var(--gray); }
.team-photo img { object-position: 50% 60%; }
@media (max-width: 640px) { .team-photo { aspect-ratio: 16 / 9; } }

/* 문의 */
.box { border: 1px solid var(--line); border-radius: 12px; padding: 8px 24px; max-width: 720px; }
.box a, .box div { display: flex; justify-content: space-between; align-items: center; height: 68px; border-bottom: 1px solid var(--line); font-size: 20px; }
.box > :last-child { border-bottom: 0; }
.box span { font-size: 15px; color: var(--sub); }
.box a:hover { color: var(--point); }
.contact-act { margin-top: 28px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 92px; font-size: 14px; color: var(--sub); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; }
.sns { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.sns a:hover { color: var(--ink); }

/* 아래 고정 문의 바 */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .4s; }
.sticky.on { transform: none; }
.sticky .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--sub); }

@media (max-width: 960px) {
  .with li { flex: 0 0 calc((100% - var(--gut) * 2) / 3); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how ol, .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .albums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { grid-template-columns: 1fr; }
  .with-poster { grid-template-columns: 1fr; }
  .with-poster .yt { grid-column: auto; }
  .with-poster .poster { max-width: 360px; }
  .step figure { grid-column: auto; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .menu { display: grid; }
  header .in { position: relative; }
  nav { display: none; position: absolute; top: 60px; left: var(--gut); right: var(--gut); flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
  header.open nav { display: flex; }
  body.home header nav a, body.home header nav a:hover { color: var(--sub); background: none; }
  nav a[aria-current="page"], body.home header nav a[aria-current="page"] { color: var(--ink); background: var(--gray); }
  section { padding: 72px 0; }
  .sh h2, .band h2 { font-size: 28px; }
  .ph-head { padding: 48px 0 28px; }
  .ph-head h1 { font-size: 34px; }
  .hero h1 { font-size: 34px; }
  .g3 { grid-template-columns: 1fr; }
  .team-grid.g3 { grid-template-columns: 1fr; }
  .hist li { gap: 12px; font-size: 16px; }
  .hist li > span { flex-basis: 44px; font-size: 14px; }
  .how ol, .how ol.three { grid-template-columns: 1fr; }
  br.pc { display: none; }
  .disc { grid-template-columns: 1fr; }
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--gut); }
  .disc li { font-size: 15px; }
  .band .wrap, .endbar .wrap { flex-direction: column; align-items: flex-start; }
  .box { padding: 4px 16px; }
  .box a, .box div { font-size: 17px; height: 60px; }
  .step .txt h3 { font-size: 22px; }
  .slide .wrap { bottom: 40px; }
  .slide .d { font-size: 16px; }
  .series { padding: 56px 0; }
  .series h2 { font-size: 28px; }
  .series p { font-size: 16px; }
  .about { margin-top: 40px; }
  .about .lead { font-size: 20px; }
  .about ul { grid-template-columns: 1fr; }
  .about li { font-size: 16px; }
  .log-h { font-size: 28px; margin-top: 72px; }
  .sticky .msg { display: none; }
  .sticky .wrap { justify-content: flex-end; height: 56px; }
}
