@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Noto+Sans+KR:wght@300;400;500;600&display=swap");

:root {
  --ink: #18211e;
  --pine: #173a32;
  --pine-deep: #0c2621;
  --paper: #f2ede3;
  --paper-light: #faf7f0;
  --line: rgba(24, 33, 30, 0.2);
  --muted: #6f746f;
  --brass: #a77d43;
  --white: #fffdf8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(24, 33, 30, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 33, 30, 0.02) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--pine-deep);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: relative;
  z-index: 10;
  color: var(--white);
  background: var(--pine-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-inner,
.wrap {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.11em;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
}

.brand span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  line-height: 1;
}

.home-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-link::after {
  content: "↗";
  color: var(--brass);
  font-size: 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  color: var(--white);
  background: var(--pine-deep);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 40%, transparent 0 18%, rgba(12, 38, 33, 0.18) 48%, rgba(12, 38, 33, 0.72) 100%),
    linear-gradient(90deg, rgba(12, 38, 33, 0.98) 0 40%, rgba(12, 38, 33, 0.58) 70%, rgba(12, 38, 33, 0.35));
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 92px 5vw 82px max(32px, calc((100vw - 1440px) / 2));
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: #d0b185;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(66px, 8.2vw, 132px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.74;
}

.hero h1 em {
  display: block;
  margin-left: 0.45em;
  color: #e8d5b9;
  font-weight: 500;
}

.hero-description {
  max-width: 580px;
  margin: 42px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
}

.hero-description .en {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.hero-visual img {
  position: absolute;
  width: 55%;
  height: 74%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-visual .image-one {
  right: 7%;
  top: 8%;
}

.hero-visual .image-two {
  left: 3%;
  bottom: 3%;
  width: 43%;
  height: 52%;
  border: 8px solid var(--pine-deep);
}

.hero-index {
  position: absolute;
  right: 28px;
  bottom: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.stats {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  color: var(--white);
  background: var(--pine);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  align-items: stretch;
}

.stats-intro,
.stat {
  min-height: 132px;
  padding: 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.stats-intro {
  padding-left: 0;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.stat span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive {
  padding: 112px 0 130px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 62px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.section-note {
  max-width: 620px;
  margin: 0 0 4px auto;
  color: var(--muted);
  font-size: 14px;
}

.section-note .en {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.4;
}

.controls {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: 24px;
  align-items: center;
  margin-bottom: 42px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter {
  padding: 9px 16px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  transition: 0.2s ease;
}

.filter:hover,
.filter:focus-visible,
.filter.is-active {
  color: var(--white);
  background: var(--pine);
  border-color: var(--pine);
  outline: none;
}

.search-box {
  position: relative;
}

.search-box::before {
  content: "⌕";
  position: absolute;
  left: 15px;
  top: 50%;
  color: var(--brass);
  font-size: 20px;
  transform: translateY(-54%);
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 43px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
}

.search-box input:focus {
  background: var(--paper-light);
  border-color: var(--brass);
}

.archive-status {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
  margin: -20px 0 22px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-status strong {
  color: var(--pine);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

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

.archive-card[hidden] {
  display: none;
}

.archive-card {
  min-width: 0;
}

.card-link {
  display: block;
  text-decoration: none;
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #d7d3c9;
}

.card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
  transition: transform 0.65s cubic-bezier(0.2, 0.72, 0.25, 1), filter 0.4s ease;
}

.card-number {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 48px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(12, 38, 33, 0.9);
  font-family: var(--serif);
  font-size: 15px;
  text-align: center;
}

.card-arrow {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(12, 38, 33, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
}

.card-body {
  padding: 22px 2px 0;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--brass);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.card-meta .place {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-body h3 {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.38;
}

.card-title-en {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.25;
}

.card-count {
  margin: 17px 0 0;
  padding-top: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card-link:hover .card-image img,
.card-link:focus-visible .card-image img {
  filter: saturate(0.98) contrast(1.05);
  transform: scale(1.035);
}

.card-link:hover .card-arrow,
.card-link:focus-visible .card-arrow {
  opacity: 1;
  transform: translateY(0);
}

.card-link:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 5px;
}

.empty-state {
  margin-top: 42px;
  padding: 74px 24px;
  text-align: center;
  border: 1px solid var(--line);
}

.empty-state p {
  margin: 0 0 20px;
  color: var(--muted);
}

.empty-state button {
  padding: 10px 20px;
  color: var(--white);
  background: var(--pine);
  border: 0;
  cursor: pointer;
}

.archive-note {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 70px;
  margin-top: 112px;
  padding: 54px 0 0;
  border-top: 1px solid var(--line);
}

.archive-note h2 {
  margin: 0;
  color: var(--pine);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}

.archive-note p {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.archive-note .en {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.45;
}

.site-footer {
  padding: 50px 0;
  color: rgba(255, 255, 255, 0.64);
  background: var(--pine-deep);
  font-size: 11px;
  letter-spacing: 0.08em;
}

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

.site-footer p {
  margin: 0;
}

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .hero-visual .image-one {
    width: 72%;
  }

  .hero-visual .image-two {
    width: 58%;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-intro {
    display: none;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner,
  .wrap {
    width: min(100% - 36px, 1440px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand span,
  .home-link span {
    display: none;
  }

  .hero,
  .hero-grid {
    min-height: 720px;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    padding: 74px 24px 310px;
  }

  .hero h1 {
    font-size: clamp(58px, 19vw, 92px);
  }

  .hero-description {
    margin-top: 34px;
  }

  .hero-visual {
    position: absolute;
    inset: auto 0 0;
    min-height: 330px;
  }

  .hero-visual .image-one {
    right: 0;
    top: 0;
    width: 72%;
    height: 100%;
  }

  .hero-visual .image-two {
    left: 0;
    bottom: 0;
    width: 48%;
    height: 65%;
    border-width: 5px;
  }

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

  .stat {
    min-height: 108px;
    padding: 22px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .stat strong {
    font-size: 34px;
  }

  .archive {
    padding: 80px 0 92px;
  }

  .section-heading,
  .controls,
  .archive-note {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 26px;
    margin-bottom: 42px;
  }

  .section-note {
    margin-left: 0;
  }

  .controls {
    gap: 18px;
  }

  .filter-list {
    gap: 5px;
  }

  .filter {
    padding: 8px 12px;
  }

  .archive-status {
    margin-top: -12px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .archive-note {
    gap: 24px;
    margin-top: 82px;
  }

  .footer-inner {
    display: block;
  }

  .site-footer p + p {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
