:root {
  --bg: #faf7f3;
  --bg-alt: #ffffff;
  --text: #1f1a17;
  --muted: #827568;
  --accent: #c8a676;
  --accent-soft: rgba(200, 166, 118, 0.12);
  --border-subtle: rgba(0,0,0,0.06);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 18px 45px rgba(15, 9, 3, 0.12);
}

body {
  background: var(--bg);
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(250,247,243,0.95), rgba(250,247,243,0.80));
  border-bottom: 1px solid var(--border-subtle);
}

.site-header, .site-header * {
  pointer-events: auto;
}

.site-main {
  padding-top: 90px;
  padding-bottom: 120px;
}

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

.site-main > .section:last-child {
  padding-bottom: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 600;
}

.logo-sub {
  font-size: 11px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.nav-list li {
  display: inline-flex;
}

.nav-list a {
  position: relative;
  z-index: 10000;
  display: inline-block;
  padding: 4px 0;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1.2;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .18s ease-out;
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  white-space: nowrap;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.9);
  padding: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 18px;
  border: none;
  cursor: pointer;
  transition: background .12s ease-out;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 25px rgba(200,166,118,0.35);
}

.btn.primary:hover {
  box-shadow: 0 16px 30px rgba(200,166,118,0.42);
}

.btn.ghost {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-subtle);
}

.btn.ghost:hover {
  background: #fff;
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--accent);
}

.btn.kakao-btn {
  background: #fee500;
  color: #3a1d1d;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.section-header h2 {
  margin: 0;
  font-size: 24px;
}

.section-title-sm {
  margin: 0 0 18px;
  font-size: 20px;
}

/* Footer */
.site-footer {
  padding: 28px 0 32px;
  background: #f3ebe2;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  margin-top: 8px;
  color: var(--muted);
}

.footer-meta {
  margin-top: 10px;
  color: var(--muted);
}

/* Subpages 공통 */
.subpage main {
  min-height: 80vh;
}

.sub-hero {
  padding: 50px 0 30px;
  background: linear-gradient(140deg, #f6efe6, #faf7f3);
  border-bottom: 1px solid var(--border-subtle);
}

.sub-main-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.sub-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.sub-hero h1 {
  margin: 0 0 10px;
  font-size: 26px;
}

.sub-desc {
  margin: 0;
  color: var(--muted);
}

.sub-main-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.stat {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
}

.stat-label {
  color: var(--muted);
  margin-right: 6px;
}

.stat-value {
  font-weight: 600;
}

/* Filter chips (collection, gallery, news, notice 공통) */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.98);
  padding: 8px 18px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}

.chip.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 48px 0;
}

.empty-message {
  font-size: 14px;
  color: var(--muted);
}

/* Text link */
.text-link {
  font-size: 12px;
  text-decoration: underline;
}

/* Pagination (news, notice, collection 공통) */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.page-item {
  display: flex;
}

.page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255,255,255,0.98);
  line-height: 1;
}

.page-item .page-link:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.page-item.disabled .page-link {
  color: var(--muted);
  opacity: 0.45;
  pointer-events: none;
  background: rgba(255,255,255,0.6);
}

.page-item .page-link svg {
  display: block;
}

@media (max-width: 720px) {
  .header-inner {
    height: 64px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    flex-direction: column;
    flex-wrap: wrap;
    background: rgba(250,247,243,0.98);
    padding: 14px 18px 16px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease-out, transform .16s ease-out;
  }
  .nav-list a {
    padding: 10px 10px;
    font-size: 14.5px;
  }
  .nav-list.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .sub-main-inner {
    flex-direction: column;
  }
  .sub-main-meta {
    justify-content: flex-start;
  }
}
