@font-face {
  font-family: "Nanum Myeongjo";
  src: url("../fonts/NanumMyeongjo-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f5efe3;
  --paper-light: #faf6ed;
  --ink: #302b26;
  --muted: #6c6257;
  --accent: #713f3b;
  --rule: #d5c8b4;
  --gold: #9b835b;
  --font-title: "Nanum Myeongjo", "Batang", "AppleMyungjo", serif;
  --font-body: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --bs-body-bg: var(--paper);
  --bs-body-color: var(--ink);
  --bs-body-font-family: var(--font-body);
  --bs-border-color: var(--rule);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

::selection { color: var(--paper-light); background: var(--accent); }

.container.page-width {
  width: min(1160px, calc(100% - 64px));
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 108px;
  padding-block: 24px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1.65rem;
  font-weight: 400;
  text-decoration: none;
}

.brand:hover { color: var(--accent); }

.brand-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 7px;
  color: var(--paper-light);
  background: var(--accent);
  border: 3px double var(--paper);
  outline: 1px solid var(--accent);
  font-size: .95rem;
  line-height: 1.1;
  writing-mode: vertical-rl;
  letter-spacing: .12em;
}

.header-note {
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
  letter-spacing: .06em;
}

.hero {
  position: relative;
  isolation: isolate;
  margin-top: 24px;
  overflow: hidden;
  border-block: 1px solid var(--rule);
  background: var(--paper-light);
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(250 246 237 / 55%), rgb(250 246 237 / 15%) 55%, transparent 78%);
  pointer-events: none;
}

.hero-copy {
  max-width: 670px;
  padding: 68px 48px 76px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .09em;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--accent);
}

h1 {
  margin: 0 0 27px;
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.7vw, 3.55rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -.055em;
  line-height: 1.5;
}

h1 span { color: var(--accent); }
.intro { margin: 0; color: #554a3f; font-size: .95rem; }

.exhibition-section { padding-top: 45px; }

.section-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.empty-state {
  position: relative;
  padding: 48px 24px;
  border: 1px solid var(--rule);
  background: rgb(250 246 237 / 68%);
  text-align: center;
}

.empty-state::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 0 auto 22px;
  background: var(--gold);
}

.empty-title {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 1.25rem;
  line-height: 1.65;
}

.empty-description { margin: 0; color: var(--muted); font-size: .95rem; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 30px 34px;
}

.footer-brand { margin: 0; font-family: var(--font-title); font-size: 1rem; }
.footer-note { margin: 0; color: var(--muted); font-size: .875rem; }

.skip-link {
  position: absolute;
  top: -6rem;
  left: 1rem;
  z-index: 10;
  padding: .75rem 1rem;
  color: var(--paper-light);
  background: var(--ink);
}

.skip-link:focus { top: 1rem; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }

@media (max-width: 767px) {
  .container.page-width { width: calc(100% - 40px); }
  .header-inner { min-height: 88px; padding-block: 20px; }
  .brand { font-size: 1.4rem; }
  .header-note { display: none; }
  .hero { margin-top: 20px; }
  .hero-art {
    top: auto;
    bottom: 0;
    height: 280px;
    object-position: right center;
  }
  .hero::after {
    background: linear-gradient(180deg, var(--paper-light) 0%, var(--paper-light) 44%, transparent 74%);
  }
  .hero-copy { max-width: none; padding: 36px 24px 270px; }
  .eyebrow { margin-bottom: 20px; font-size: .875rem; letter-spacing: .04em; }
  h1 { margin-bottom: 20px; font-size: clamp(1.85rem, 5.6vw, 2.6rem); letter-spacing: -.055em; }
  .intro { max-width: 22em; font-size: .9rem; }
  .exhibition-section { padding-top: 32px; }
  .section-heading { margin-bottom: 18px; gap: 20px; }
  .section-heading h2 { font-size: 1.25rem; }
  .empty-state { padding: 36px 20px; }
  .empty-title { font-size: 1.15rem; }
  .empty-description { font-size: .9rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 6px; padding-block: 25px; }
}

@media (max-width: 359px) {
  .container.page-width { width: calc(100% - 28px); }
  .hero-copy { padding-inline: 18px; }
  .brand { gap: 12px; font-size: 1.3rem; }
}

@media (forced-colors: active) {
  .hero-art, .hero::after { display: none; }
  .brand-seal { border: 1px solid CanvasText; }
}
