/* zeliace.com — Jaymok Arts
   원래 Adobe Portfolio 디자인을 따름: 흰 바탕, 가운데 로고, 3열 16:9 그리드, 제목/연도 가운데 정렬 */
:root {
  --bg: #fff;
  --fg: #222;
  --muted: #999;
  --line: #eee;
  --max: 1280px;
  --gap: 28px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- 머리 ---------- */
.hd { position: relative; max-width: var(--max); margin: 0 auto; padding: 28px 24px 8px; text-align: center; }
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; margin: 0 auto; }
.logo-text { font-size: 22px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; line-height: 72px; }
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; margin-top: 22px; }
.nav a { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); padding: 6px 0; border-bottom: 2px solid transparent; opacity: .55; transition: opacity .15s; }
.nav a:hover, .nav a.on { opacity: 1; }
.nav a.on { border-bottom-color: var(--fg); }
.burger { display: none; position: absolute; right: 20px; top: 44px; width: 36px; height: 30px; padding: 4px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 6px 0; background: var(--fg); transition: transform .2s, opacity .2s; }

@media (max-width: 760px) {
  .hd { padding: 22px 20px 4px; }
  .logo img { height: 60px; }
  .burger { display: block; top: 36px; }
  .nav { display: none; flex-direction: column; gap: 0; margin: 18px -20px 0; border-top: 1px solid var(--line); }
  .nav a { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; opacity: 1; }
  .nav a.on { background: #fafafa; }
  body.nav-open .nav { display: flex; }
  body.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .burger span:nth-child(2) { opacity: 0; }
  body.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- 본문 ---------- */
.main { max-width: var(--max); margin: 0 auto; padding: 36px 24px 60px; }
@media (max-width: 760px) { .main { padding: 24px 16px 48px; } }

/* 그리드 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px var(--gap); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; gap: 36px; } }
.card { display: block; text-align: center; }
.th { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f3f3f3; }
.th img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.card:hover .th img { transform: scale(1.03); }
.tt { display: block; margin-top: 12px; font-size: 14px; color: var(--fg); }
.yr { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* 작품 상세 */
.work { max-width: 1000px; margin: 0 auto; }
.work-hd { text-align: center; margin-bottom: 28px; }
.work-hd h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.work-hd .sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; margin-bottom: 20px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.still { margin-bottom: 20px; }
.still img { width: 100%; height: auto; }
.desc { max-width: 760px; margin: 28px auto 0; font-size: 15px; color: #444; }
.desc p { margin: 0 0 10px; word-break: keep-all; }
.desc a { text-decoration: underline; text-underline-offset: 2px; }
.others { max-width: 1000px; margin: 72px auto 0; border-top: 1px solid var(--line); padding-top: 36px; }
.others h3 { margin: 0 0 24px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.grid.small .tt { font-size: 13px; }
.grid.small .yr { font-size: 12px; }

/* Me & Contact */
.me { max-width: 640px; margin: 0 auto; text-align: center; }
.me h1 { margin: 0; font-size: 30px; letter-spacing: .02em; }
.me .role { margin: 6px 0 28px; color: var(--muted); }
.me .edu { list-style: none; padding: 0; margin: 0 0 32px; font-size: 15px; color: #444; }
.me .edu li { margin: 2px 0; }
.hist { margin: 0; display: grid; gap: 8px; }
.hist div { display: grid; grid-template-columns: 64px 1fr; text-align: left; gap: 14px; font-size: 15px; }
.hist dt { color: var(--muted); font-variant-numeric: tabular-nums; }
.hist dd { margin: 0; }
.me .contact { margin-top: 36px; font-size: 15px; }
.me .contact a { text-decoration: underline; text-underline-offset: 3px; }

.nf { text-align: center; padding: 80px 0; color: var(--muted); }
.nf a { text-decoration: underline; }

.ft { max-width: var(--max); margin: 0 auto; padding: 24px; text-align: center; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.ft a:hover { text-decoration: underline; }
