@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Inter:wght@300;400;700;900&family=Noto+Sans+KR:wght@500&display=swap');

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { -webkit-text-size-adjust: 100%; }

body {
  background: #fff;
  color: #111;
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }

/* ─── 3-COLUMN GRID ─────────────────────────────────── */
.site-wrapper {
  display: grid;
  grid-template-columns: 220px 1fr 290px;
  min-height: 100vh;
}

/* ─── LEFT NAV ──────────────────────────────────────── */
.site-nav {
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.nav-logo {
  display: block;
  margin-bottom: 10px;
}

.nav-logo img {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
}

.nav-divider {
  border: none;
  border-top: 1px solid #111;
  margin-bottom: 16px;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-list li a {
  font-size: 13px;
  font-weight: 300;
  display: block;
  padding: 1px 0;
}

.nav-footer {
  margin-top: auto;
  font-size: 9px;
  font-weight: 300;
  line-height: 1.6;
  color: #111;
}

/* ─── CENTER ────────────────────────────────────────── */
.site-main {
  padding: 20px 40px 80px;
}

/* ─── RIGHT SIDEBAR ─────────────────────────────────── */
.site-about {
  padding: 69px 20px 60px;
  font-size: 10px;
  font-weight: 300;
  line-height: 1.65;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

/* Each section = label + content, separated by a top rule */
.about-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0 10px;
  border-top: 1px solid #111;
  padding-top: 10px;
  padding-bottom: 28px;
}

.about-label {
  font-size: 9px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  padding-top: 0;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.about-content {
  font-size: 10px;
  font-weight: 300;
  line-height: 1.65;
}

.about-content p {
  margin-bottom: 12px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content em {
  font-style: italic;
}

/* ─── INDEX: SECTION LABEL ─────────────────────────── */
.site-main > section:first-child {
  padding-top: 40px; /* 20px(site-main) + 49px = 69px, 우측 Education 줄선과 높이 일치 */
}

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid #111;
  padding-bottom: 10px;
  margin-bottom: 28px;
}

section + section {
  margin-top: 16px;
}

/* ─── INDEX: WORK GRID ──────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 20px;
  margin-bottom: 60px;
}

.work-list-item {
  display: block;
}

.work-list-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 8px;
  transition: opacity 0.25s ease;
}

.work-list-item:hover img {
  opacity: 0.82;
}

.work-list-item:hover {
  text-decoration: none;
}

.work-list-item-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.work-list-item-meta {
  font-size: 11px;
  font-weight: 300;
  color: #666;
  margin-top: 2px;
}

/* ─── SUBPAGE: WORK ─────────────────────────────────── */
.work-cover {
  width: 100%;
  display: block;
}

.work-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(60px, 9.5vw, 115px);
  line-height: 0.95;
  letter-spacing: -0.075em;
  margin-top: 32px;
  margin-bottom: 16px;
}

.work-specs {
  font-size: 10px;
  font-weight: 300;
  color: #666;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.work-description {
  border-top: 1px solid #111;
  padding-top: 20px;
}

.work-description p {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 100;
  letter-spacing: -0.05em;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 16px;
}

.work-description p:last-child { margin-bottom: 0; }

.work-images-extra {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.work-images-extra img { width: 100%; }

/* ─── SUBPAGE: EXHIBITION ───────────────────────────── */
.exhibition-cover { width: 100%; display: block; }

.exhibition-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6.5vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-top: 32px;
  margin-bottom: 6px;
}

.exhibition-title em {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: 0.55em;
  letter-spacing: 0;
  margin-top: 4px;
}

.exhibition-meta {
  font-size: 11px;
  font-weight: 300;
  color: #666;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-bottom: 36px;
}

.exhibition-description {
  border-top: 1px solid #111;
  padding-top: 20px;
}

.exhibition-description p {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 16px;
}

.exhibition-description p:last-child { margin-bottom: 0; }

.exhibition-photos {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.exhibition-photos img { width: 100%; }

/* ─── TOP LINK ──────────────────────────────────────── */
.top-link {
  display: inline-block;
  margin-top: 56px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.top-link:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1100px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .site-wrapper {
    grid-template-columns: 180px 1fr 240px;
  }
  .nav-logo { font-size: 30px; }
  .site-main { padding: 20px 28px 60px; }
  .site-about { padding: 69px 14px 40px; }
  .about-row { grid-template-columns: 78px 1fr; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Collapse to single column */
  .site-wrapper {
    display: block;
  }

  /* Nav: fixed horizontal bar */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 12px 16px 10px;
    border-bottom: 1px solid #111;
    gap: 0;
  }

  .nav-logo {
    font-size: 28px;
    margin-bottom: 0;
    margin-right: auto;
  }

  .nav-divider { display: none; }

  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px 14px;
    width: 100%;
    margin-top: 6px;
  }

  .nav-list li a {
    font-size: 11px;
    padding: 2px 0;
  }

  .nav-footer { display: none; }

  /* Main — top offset accounts for fixed nav height */
  .site-main { padding: 80px 16px 48px; }

  /* Sidebar stacks below */
  .site-about {
    padding: 0 16px 40px;
    border-top: 1px solid #d0d0d0;
    margin-top: 4px;
  }

  /* Sidebar 2-col stays but slightly narrower label */
  .about-row {
    grid-template-columns: 72px 1fr;
    gap: 0 8px;
  }

  /* Work title */
  .work-title {
    font-size: clamp(44px, 14vw, 80px);
  }

  /* Exhibition title */
  .exhibition-title {
    font-size: clamp(32px, 10vw, 60px);
  }

  .work-images-extra,
  .exhibition-photos {
    gap: 28px;
    margin-top: 32px;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .site-main > section:first-child {
    padding-top: 20px;
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .nav-logo { font-size: 24px; }

  .about-row {
    grid-template-columns: 1fr;
  }
  .about-label {
    font-size: 9px;
    margin-bottom: 4px;
  }

  .work-title { font-size: clamp(36px, 16vw, 64px); }
  .exhibition-title { font-size: clamp(26px, 12vw, 48px); }
}
