/* =============================================
   TOONFOLIO — 산그림 벤치마킹 리디자인
   흰색 배경 · 미니멀 · 작품 중심
   ============================================= */

:root {
  /* Color */
  --white:    #ffffff;
  --bg:       #fafafa;
  --bg2:      #f4f4f4;
  --line:     #e8e8e8;
  --line2:    #d0d0d0;

  --text:     #111111;
  --text2:    #444444;
  --text3:    #888888;
  --text4:    #aaaaaa;

  --accent:   #ff4136;      /* 툰폴리오 레드 포인트 */
  --accent-bg:#fff2f1;
  --accent2:  #ff6b35;

  --tag-bg:   #f0f0f0;
  --tag-text: #555555;

  /* Size */
  --header-h: 60px;
  --max-w:    1160px;
  --radius:   10px;
  --radius-sm:6px;
  --radius-lg:16px;

  /* Shadow */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.16);

  /* Font */
  --font-ko:  'Noto Sans KR', sans-serif;
  --font-en:  'Montserrat', sans-serif;

  --tr: 0.2s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ko);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-ko);
  transition: all var(--tr);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 1.5px solid var(--accent);
}
.btn-primary:hover {
  background: #e0362b;
  border-color: #e0362b;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,65,54,0.3);
}
.btn-outline {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--line2);
}
.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--text);
  color: var(--white);
  border: 1.5px solid var(--text);
}
.btn-dark:hover {
  background: #333;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  background: var(--bg);
  border-color: var(--line2);
}
.btn-lg { padding: 13px 28px; font-size: 14px; }
.btn-sm { padding: 6px 13px; font-size: 12px; border-radius: 5px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--tr);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}
/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 36px;
  flex-shrink: 0;
}
.logo-mark {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}
.logo-mark span { color: var(--accent); }
/* NAV */
.nav-main {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
  border-radius: var(--radius-sm);
  transition: all var(--tr);
}
.nav-link:hover { color: var(--text); background: var(--bg); }
.nav-link.active { color: var(--text); font-weight: 600; }
/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
  margin: 0 4px;
}
/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--tr);
}
/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 12px 28px 20px;
  gap: 2px;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { font-size: 15px; padding: 11px 12px; }
.mobile-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ===== HERO (산그림 스타일 - 심플/작품중심) ===== */
.hero {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 72px;
  background: var(--white);
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-text { flex: 1; max-width: 500px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.hero-title {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-desc {
  font-size: 15px;
  color: var(--text3);
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stat-num {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-num span { font-size: 16px; color: var(--accent); font-weight: 700; }
.hero-stat-label { font-size: 12px; color: var(--text4); }

/* Hero Visual — 포트폴리오 카드 */
.hero-visual {
  flex: 1;
  max-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.hv-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  background: var(--bg2);
}
.hv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.hv-card.big { grid-row: span 2; }
.hv-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.hv-thumb.tall { aspect-ratio: 2/3; }
.hv-info {
  padding: 12px 14px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.hv-genre {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.hv-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.hv-artist { font-size: 11px; color: var(--text4); margin-top: 2px; }

/* ===== CATEGORY TABS (산그림 스타일) ===== */
.category-bar {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
}
.category-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-bar-inner::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--tr);
  white-space: nowrap;
}
.cat-tab:hover { color: var(--text); }
.cat-tab.active {
  color: var(--text);
  font-weight: 700;
  border-bottom-color: var(--text);
}

/* ===== SECTION COMMONS ===== */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-header-left {}
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
  line-height: 1.25;
}
.section-more {
  font-size: 13px;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--tr);
  flex-shrink: 0;
}
.section-more:hover { color: var(--accent); }
.section-more i { font-size: 11px; }

.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* ===== WORKS GRID (산그림식 마소너리/균일 그리드) ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.works-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.works-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.work-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
.work-card:hover {
  border-color: var(--line2);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.work-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: var(--bg2);
}
.work-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}
.work-card:hover .work-thumb-img { transform: scale(1.04); }

.work-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
}
.work-card:hover .work-thumb-overlay {
  background: rgba(0,0,0,0.28);
  opacity: 1;
}
.work-thumb-overlay .btn { transform: translateY(8px); transition: all 0.25s ease; }
.work-card:hover .work-thumb-overlay .btn { transform: translateY(0); }

.work-body {
  padding: 13px 14px 14px;
}
.work-genre-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--tag-bg);
  color: var(--text3);
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.3px;
  margin-bottom: 7px;
}
.work-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.work-artist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.work-artist-name {
  font-size: 12px;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 5px;
}
.work-avatar-xs {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.work-like {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--text4);
}
.work-like i { font-size: 10px; color: #ff8fa0; }

/* ===== ARTIST CARD (산그림 느낌) ===== */
.artist-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
}
.artist-card:hover {
  border-color: var(--line2);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
/* 커버 이미지 영역 */
.artist-cover-area {
  width: 100%;
  height: 120px;
  position: relative;
  overflow: hidden;
}
.artist-card-body {
  padding: 0 18px 18px;
  position: relative;
}
/* 아바타는 커버 아래에 걸쳐 있음 */
.artist-avatar-wrap {
  position: relative;
  margin-top: -24px;
  margin-bottom: 10px;
}
.artist-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.artist-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.artist-handle {
  font-size: 12px;
  color: var(--text4);
  margin-bottom: 10px;
}
.artist-genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.genre-pill {
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  background: var(--tag-bg);
  color: var(--tag-text);
}
.artist-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text4);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.artist-meta-row span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.artist-meta-row i { font-size: 11px; }

/* Artist badge */
.artist-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
}

/* ===== GRIDS ===== */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ===== FEATURED BANNER (산그림 스타일 - 심플 텍스트 배너) ===== */
.highlight-banner {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.highlight-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--accent-bg);
  pointer-events: none;
}
.hb-text h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  color: var(--text);
}
.hb-text p { font-size: 14px; color: var(--text3); line-height: 1.75; margin-bottom: 24px; }
.hb-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}
.hb-client-tag {
  padding: 4px 12px;
  background: var(--white);
  border: 1px solid var(--line2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
}
.hb-visual {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.hb-mini-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-width: 140px;
  text-align: left;
  transition: all var(--tr);
  box-shadow: var(--shadow-sm);
}
.hb-mini-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.hb-mini-card i {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.hb-mini-card h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.hb-mini-card p { font-size: 11px; color: var(--text4); }

/* ===== HOW IT WORKS ===== */
.how-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 44px;
}
.how-tab {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text3);
  background: var(--white);
  border: 1.5px solid var(--line);
  transition: all var(--tr);
}
.how-tab.active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}
.how-tab:hover:not(.active) { border-color: var(--line2); color: var(--text); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.how-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--tr);
  position: relative;
  z-index: 1;
}
.how-step:hover {
  border-color: var(--line2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.step-num-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--text3);
  margin: 0 auto 16px;
}
.how-step.active-step .step-num-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
}
.how-step h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.how-step p { font-size: 12px; color: var(--text3); line-height: 1.65; }

/* ===== VALUES / ABOUT ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
.value-item {
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--tr);
}
.value-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--line2);
}
.vi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 16px;
}
.value-item h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.value-item p { font-size: 13px; color: var(--text3); line-height: 1.65; }

/* BEEZZLE INFO */
.beezzle-row {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 48px;
}
.beezzle-logo-text {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  flex-shrink: 0;
}
.beezzle-row p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 14px;
}
.beezzle-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.beezzle-pills span {
  padding: 5px 14px;
  border: 1px solid var(--line2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
}

/* ===== CTA STRIP ===== */
.cta-strip {
  background: var(--text);
  padding: 72px 0;
  text-align: center;
}
.cta-strip h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.cta-strip p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
}
.cta-strip-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--white);
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.07);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-logo { font-family: var(--font-en); font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 10px; letter-spacing: -0.5px; }
.footer-logo span { color: var(--accent); }
.footer-brand p { font-size: 13px; color: var(--text3); line-height: 1.7; margin-bottom: 16px; }
.footer-sns { display: flex; gap: 10px; margin-bottom: 16px; }
.footer-sns a {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--text3);
  transition: all var(--tr);
}
.footer-sns a:hover { border-color: var(--text2); color: var(--text); }
.footer-cert { font-size: 11px; color: var(--text4); }
.footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--text3); transition: color var(--tr); }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--text4); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: calc(var(--header-h) + 52px) 0 52px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.page-hero .section-eyebrow { margin-bottom: 8px; }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 10px;
}
.page-hero p { font-size: 14px; color: var(--text3); }

/* ===== GALLERY LAYOUT ===== */
.gallery-layout { background: var(--white); padding: 40px 0 80px; }
.gallery-wrap { display: flex; gap: 40px; align-items: flex-start; }

/* Sidebar */
.gallery-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.sidebar-sec { margin-bottom: 28px; }
.sidebar-sec-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 8px;
  margin-bottom: 6px;
}
.sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text3);
  transition: all var(--tr);
  text-align: left;
}
.sidebar-btn:hover { background: var(--bg); color: var(--text); }
.sidebar-btn.active {
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 700;
}
.sidebar-count {
  font-size: 11px;
  color: var(--text4);
  background: var(--bg2);
  padding: 1px 6px;
  border-radius: 4px;
}
.sidebar-btn.active .sidebar-count {
  background: rgba(255,65,54,0.12);
  color: var(--accent);
}

/* Gallery Main */
.gallery-content { flex: 1; min-width: 0; }
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.gallery-result { font-size: 13px; color: var(--text3); }
.gallery-result strong { color: var(--text); font-weight: 700; }
.toolbar-right { display: flex; align-items: center; gap: 8px; }
.sort-group { display: flex; gap: 2px; }
.sort-pill {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all var(--tr);
}
.sort-pill.active, .sort-pill:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}
.view-toggle { display: flex; gap: 2px; }
.view-btn {
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--text3);
  transition: all var(--tr);
}
.view-btn.active, .view-btn:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

/* Gallery Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid.list-view { grid-template-columns: 1fr; }
.gallery-grid.list-view .work-card {
  display: flex; gap: 16px; padding: 16px; border-radius: var(--radius);
}
.gallery-grid.list-view .work-thumb {
  width: 72px; height: 72px; aspect-ratio: 1; flex-shrink: 0; border-radius: var(--radius-sm); font-size: 28px;
}
.gallery-grid.list-view .work-body { padding: 0; flex: 1; }
.gallery-grid.list-view .work-artist-row { margin-top: 6px; padding-top: 6px; }

/* Pagination */
.pagination {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 48px;
}
.pg-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text3);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
}
.pg-btn.active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
  font-weight: 700;
}
.pg-btn:hover:not(.active):not(:disabled) {
  background: var(--bg);
  border-color: var(--line2);
  color: var(--text);
}
.pg-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ===== SEARCH BAR ===== */
.search-wrap {
  margin-bottom: 36px;
}
.search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 4px 4px 18px;
  max-width: 460px;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.search-bar:focus-within {
  border-color: var(--text2);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-ko);
}
.search-bar input::placeholder { color: var(--text4); }
.search-bar button {
  padding: 8px 16px;
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  transition: background var(--tr);
}
.search-bar button:hover { background: #333; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--tr);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s ease;
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--text3);
  transition: all var(--tr);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.modal-close:hover { background: var(--line); color: var(--text); }
.modal-body { padding: 26px; }

/* Webtoon Viewer */
.webtoon-viewer {
  background: var(--bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 20px;
  display: grid;
  gap: 3px;
}
.viewer-panel {
  width: 100%;
  aspect-ratio: 16/5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* ===== REQUEST PAGE ===== */
.request-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: flex-start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.form-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 7px;
}
.form-section-title i { color: var(--accent); font-size: 14px; }
.form-section { margin-bottom: 32px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 7px;
}
.req-mark { color: var(--accent); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-ko);
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--text2);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text4); }
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 11px; color: var(--text4); margin-top: 5px; }

.budget-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.budget-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 10px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  cursor: pointer;
  transition: all var(--tr);
  text-align: center;
}
.budget-opt:hover { border-color: var(--line2); color: var(--text); }
.budget-opt.selected {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.info-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 7px;
}
.info-card h3 i { color: var(--accent); }
.info-list { display: flex; flex-direction: column; gap: 13px; }
.info-item { display: flex; gap: 11px; align-items: flex-start; }
.info-item i { color: var(--accent); flex-shrink: 0; margin-top: 2px; font-size: 13px; }
.info-item strong { font-size: 13px; font-weight: 700; display: block; color: var(--text); margin-bottom: 2px; }
.info-item p { font-size: 12px; color: var(--text3); line-height: 1.5; }

.success-message {
  display: none;
  background: #f0faf8;
  border: 1px solid #b2e4d9;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-top: 16px;
}
.success-message i { font-size: 36px; color: #0e9f7c; margin-bottom: 10px; }
.success-message h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.success-message p { font-size: 13px; color: var(--text3); line-height: 1.6; }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  z-index: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--tr);
  box-shadow: var(--shadow-md);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: #333; transform: translateY(-2px); }

/* ===== FADE IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fd2 { transition-delay: 0.08s; }
.fd3 { transition-delay: 0.16s; }
.fd4 { transition-delay: 0.24s; }
.fd5 { transition-delay: 0.32s; }

/* ===== EMPTY STATE ===== */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 72px 0;
  color: var(--text4);
}
.empty-state i { font-size: 36px; margin-bottom: 12px; display: block; }
.empty-state p { font-size: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1060px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .artists-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .how-steps { gap: 14px; }
}

@media (max-width: 800px) {
  .nav-main, .header-actions { display: none; }
  .hamburger { display: flex; }

  .hero-inner { flex-direction: column; }
  .hero-text { max-width: 100%; }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; }

  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .artists-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-steps::before { display: none; }

  .highlight-banner { flex-direction: column; padding: 40px 32px; }
  .hb-visual { width: 100%; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .request-grid { grid-template-columns: 1fr; }
  .gallery-sidebar { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .beezzle-row { flex-direction: column; gap: 20px; padding: 28px; }
}

@media (max-width: 540px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .artists-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .how-steps { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .highlight-banner { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .budget-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 14px; }
}
