:root {
  --wall: #faf9f6;
  --plinth: #ffffff;
  --ink: #141413;
  --ink-muted: #5e5b55;
  --ink-subtle: #8c887f;
  --hairline: rgba(20, 20, 19, 0.11);
  --hairline-strong: rgba(20, 20, 19, 0.24);
  --brass: #8a7350;
  --danger: #9f2d2d;
  --danger-bg: #fdf4f4;
  --success: #1f5c3a;
  --success-bg: #f3faf5;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Noto Serif KR", "Batang", serif;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--wall);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.hidden {
  display: none !important;
}

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

.container-narrow {
  max-width: 820px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

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

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

.nav-link {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background-color: var(--plinth);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.lang-toggle:hover {
  border-color: var(--ink);
}

/* White Cube Hero (Single Focus Artist) */
.hero-stage {
  padding: 64px 0 88px;
}

.showroom-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid rgba(138, 115, 80, 0.35);
  background-color: var(--plinth);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.hero-exhibition-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 12px;
}

.hero-artist-line {
  font-size: 1rem;
  color: var(--ink-muted);
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.hero-curatorial-lead {
  font-size: 0.96rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.75;
}

.hero-plinth {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: center;
  background-color: var(--plinth);
  border: 1px solid var(--hairline);
  padding: 44px;
}

.artwork-frame-hero {
  background-color: var(--wall);
  border: 1px solid var(--hairline);
  padding: 28px;
}

.artwork-frame-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.hero-placard {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.placard-code {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.placard-title {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
}

.placard-meta {
  font-size: 0.9rem;
  color: var(--ink-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.placard-statement {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

.price-concierge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--brass);
  font-weight: 500;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--ink);
  color: var(--plinth);
}

.btn-primary:hover {
  background-color: #2c2c29;
}

.btn-secondary {
  background-color: var(--plinth);
  color: var(--ink);
  border-color: var(--hairline-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

/* Pillars Strip */
.pillars-section {
  padding: 44px 0 72px;
  border-top: 1px solid var(--hairline);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background-color: var(--plinth);
  border: 1px solid var(--hairline);
  padding: 26px;
}

.pillar-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--brass);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.pillar-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  margin: 0 0 8px;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.7;
}

/* Gallery Page */
.gallery-intro {
  padding: 64px 0 40px;
}

.statement-panel {
  background-color: var(--plinth);
  border: 1px solid var(--hairline);
  padding: 36px 40px;
  margin-top: 28px;
}

.statement-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 10px;
}

.statement-body {
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--ink);
  margin: 0;
}

.collection-section {
  padding: 28px 0 88px;
}

.section-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 12px;
}

.section-heading {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0;
}

.section-sub {
  font-size: 0.84rem;
  color: var(--ink-subtle);
}

.artworks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.work-card {
  background-color: var(--plinth);
  border: 1px solid var(--hairline);
  padding: 28px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.work-thumb-wrap {
  background-color: var(--wall);
  border: 1px solid var(--hairline);
  padding: 22px;
}

.work-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.work-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 6px;
}

.work-meta {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 0 0 8px;
}

.work-hint {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--brass);
}

/* Studio Page */
.studio-section {
  padding: 64px 0 88px;
}

.studio-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 36px;
}

.studio-rule-box {
  background-color: var(--plinth);
  border: 1px solid var(--hairline);
  padding: 18px 20px;
}

.studio-rule-title {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}

.studio-rule-desc {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0;
}

.studio-form-card {
  background-color: var(--plinth);
  border: 1px solid var(--hairline);
  padding: 36px 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  background-color: var(--wall);
  font-size: 0.92rem;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--ink);
  background-color: var(--plinth);
}

.field-textarea {
  min-height: 132px;
  resize: vertical;
}

.char-counter-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.79rem;
  color: var(--ink-muted);
}

.char-counter-row.is-invalid {
  color: var(--danger);
  font-weight: 600;
}

.char-counter-row.is-valid {
  color: var(--success);
  font-weight: 600;
}

.status-banner {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.55;
  border: 1px solid var(--hairline);
}

.status-banner.is-error {
  background-color: var(--danger-bg);
  border-color: rgba(159, 45, 45, 0.35);
  color: var(--danger);
}

.status-banner.is-success {
  background-color: var(--success-bg);
  border-color: rgba(31, 92, 58, 0.35);
  color: var(--success);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background-color: rgba(20, 20, 19, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-panel {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--plinth);
  border: 1px solid var(--hairline-strong);
  padding: 34px 36px;
  position: relative;
}

.modal-panel-wide {
  max-width: 860px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 14px;
}

.modal-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0;
}

.modal-close {
  background: transparent;
  border: 1px solid var(--hairline-strong);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
}

.modal-close:hover {
  border-color: var(--ink);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.detail-image-box {
  background-color: var(--wall);
  border: 1px solid var(--hairline);
  padding: 20px;
}

.detail-statement-box {
  background-color: var(--wall);
  border-left: 2px solid var(--brass);
  padding: 16px 18px;
  margin: 14px 0 20px;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 34px 0 46px;
  font-size: 0.8rem;
  color: var(--ink-subtle);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {
  .hero-plinth,
  .pillars-grid,
  .artworks-grid,
  .studio-rules-grid,
  .form-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-plinth,
  .statement-panel,
  .studio-form-card,
  .modal-panel {
    padding: 24px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }
}
