@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

@import url("../icons/remixicon.css");

html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  margin: 0;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

img,
video {
  display: block;
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

td:not([align]),
th:not([align]) {
  text-align: left;
}

html {
  height: 100%;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

article,
aside,
figure,
footer,
header,
hgroup,
section {
  display: block;
}

body,
button,
input,
select,
textarea {
  font-family: Pretendard, BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

code,
pre {
  font-family: Courier, "Courier New", monospace;
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: auto;
}

body {
  position: relative;
  min-height: 100%;
  font-size: 1rem;
  letter-spacing: .0125em;
  line-height: 1.5;
  font-weight: 500;
  word-break: keep-all;
  font-variant-numeric: tabular-nums;
  color: black;
  background-color: white;
  cursor: default;
}

body#home {
  background-color: black;
}

body#home.is-loaded {
  background-color: white;
  -webkit-transition: background-color .5s .5s;
  -o-transition: background-color .5s .5s;
  transition: background-color .5s .5s;
}

body#work,
body#exhibition {
  overflow: hidden;
}

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

.header {
  position: relative;
  z-index: 999;
  padding: 1rem;
}

@media screen and (min-width: 900px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 15rem;
    height: 100%;
    padding: 1.5rem;
  }
}

#home .header {
  opacity: 0;
}

#home.is-loaded .header {
  opacity: 1;
  -webkit-transition: opacity 1s;
  -o-transition: opacity 1s;
  transition: opacity 1s;
}

.header-title {
  margin-bottom: 3rem;
  font-weight: inherit;
  color: darkgray;
}

.toggle-nav {
  display: block;
  position: absolute;
  z-index: 999;
  top: 0;
  right: 0;
  padding: 1rem;
  cursor: pointer;
}

@media screen and (min-width: 900px) {
  .toggle-nav {
    display: none !important;
  }
}

.nav {
  display: none;
}

#home .nav {
  display: block;
}

@media screen and (min-width: 900px) {
  .nav {
    display: block !important;
  }
}

.nav li {
  padding-left: 1rem;
  text-indent: -1rem;
}

/* .nav li:not(:last-child) {
  margin-bottom: .125rem;
} */

.nav li li {
  opacity: .5;
}

.nav a {
  display: block;
  margin: -.125rem;
  padding: .125rem;
  color: darkgray;
  transition: color .125s;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: black;
}

.main {
  position: relative;
}

@media screen and (min-width: 900px) {
  .main {
    margin-left: 15rem;
  }
}

.footer {
  display: none;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  padding: 1.5rem;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 1rem 1rem 3rem;
}

@media screen and (min-width: 900px) {
  .section {
    padding: 1.5rem 1.5rem 3rem;
  }
}

.section .section {
  padding: 0;
}

.section .section:not(:last-child) {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-weight: inherit;
}

.section-title a {
  opacity: .5;
}

.slides {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  background-color: black;
}

.is-loaded .slides {
  background-color: white;
  transition: background-color .5s;
}

#home .slides {
  z-index: 111;
}

.slide {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  scroll-snap-align: center;
}

.slide-image {
  display: block;
  position: relative;
  max-width: calc(100% - 2rem);
  width: 100%;
  max-height: 75%;
  height: 100%;
}

#home .slide-image {
  max-width: 75%;
}

.slide-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.slide-image figcaption {
  margin-top: .5rem;
  font-size: .875rem;
  text-align: center;
  color: darkgray;
}

#home .slide a {
  width: 50%;
}

.slide-text {
  text-align: center;
  width: 100%;
  padding: 0 1.5rem;
}

/* .metadata {
  min-width: fit-content;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid gainsboro;
} */

.metadata div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.metadata span:not(:last-child) {
  margin-right: .25em;
}

.metadata span:not(:last-child)::after {
  content: ",";
}

.metadata small {
  display: block;
  margin-top: .125rem;
}

.slide-close {
  position: fixed;
  top: 0;
  right: 0;
  padding: 1rem;
  font-size: 1.25rem;
  color: darkgray;
  transition: color .125s;
}

@media screen and (min-width: 900px) {
  .slide-close {
    padding: 1.5rem;
  }
}

.slide-close:hover {
  color: black;
}

.article-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title {
  font-weight: inherit;
}

.content {
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: balance;
}

.content > *:not(:last-child) {
  margin-bottom: 1rem;
}

:lang(ko) .content {
  line-height: 1.625;
}

:lang(en) .content {
  line-height: 1.375;
}

.content a {
  text-decoration: underline;
  text-decoration-color: gainsboro;
  text-underline-offset: .25em;
  text-decoration-thickness: 2px;
}

.content a:hover {
  text-decoration-color: silver;
}

.content h1,
.content h2 {
  font-weight: 700;
}

.content h2 + * {
  margin-top: -1em;
}

.content ul,
.content ol {
  margin-left: 2rem;
}

.content li:not(:last-child) {
  margin-bottom: .125em;
}

.content ul li {
  text-indent: -2rem;
}

:lang(en) .content em {
  font-weight: inherit;
  font-style: italic;
}

:lang(en) .content strong {
  font-weight: inherit;
}

:lang(en) .content strong::before {
  content: "“";
  margin-right: .05em;
}

:lang(en) .content strong::after {
  content: "”";
  margin-left: .05em;
}

:lang(ko) .content strong {
  font-weight: inherit;
}

:lang(ko) .content strong::before {
  content: "《";
  margin-right: .05em;
}

:lang(ko) .content strong::after {
  content: "》";
  margin-left: .05em;
}

:lang(ko) .content em {
  font-style: inherit;
}

:lang(ko) .content em::before {
  content: "〈";
  margin-right: .05em;
}

:lang(ko) .content em::after {
  content: "〉";
  margin-left: .05em;
}

.content.is-column {
  -webkit-columns: 4 30ch;
  -moz-columns: 4 30ch;
  columns: 4 30ch;
  -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  column-gap: 2em;
}

.footnotes {
  position: relative;
  font-size: .875rem;
}

.footnotes hr {
  display: none;
}

.footnote-backref {
  font-size: .75rem;
  vertical-align: text-top;
  text-decoration: none !important;
}

.content sup:has(.footnote-ref) {
  position: relative;
  top: -.25em;
  vertical-align: text-top;
  scroll-margin-top: 3rem;
}

.content sup a {
  text-decoration: none;
}

.container {
  position: relative;
  width: auto;
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  .container {
    max-width: 60rem;
  }
}

.columns {
  --gap: 1.5rem;
  --gap-column: var(--gap);
  --gap-row: var(--gap);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap-column) var(--gap-row);
}

.column {
  grid-column: span 12;
}

.column.is-1-12 {
  grid-column: span 1;
}

.column.is-2-12 {
  grid-column: span 2;
}

.column.is-3-12 {
  grid-column: span 3;
}

.column.is-4-12 {
  grid-column: span 4;
}

.column.is-5-12 {
  grid-column: span 5;
}

.column.is-6-12 {
  grid-column: span 6;
}

.column.is-7-12 {
  grid-column: span 7;
}

.column.is-8-12 {
  grid-column: span 8;
}

.column.is-9-12 {
  grid-column: span 9;
}

.column.is-10-12 {
  grid-column: span 10;
}

.column.is-11-12 {
  grid-column: span 11;
}

.column.is-12-12 {
  grid-column: span 12;
}

@media screen and (min-width: 600px) {
  .column.is-1-12-600 {
    grid-column: span 1;
  }

  .column.is-2-12-600 {
    grid-column: span 2;
  }

  .column.is-3-12-600 {
    grid-column: span 3;
  }

  .column.is-4-12-600 {
    grid-column: span 4;
  }

  .column.is-5-12-600 {
    grid-column: span 5;
  }

  .column.is-6-12-600 {
    grid-column: span 6;
  }

  .column.is-7-12-600 {
    grid-column: span 7;
  }

  .column.is-8-12-600 {
    grid-column: span 8;
  }

  .column.is-9-12-600 {
    grid-column: span 9;
  }

  .column.is-10-12-600 {
    grid-column: span 10;
  }

  .column.is-11-12-600 {
    grid-column: span 11;
  }

  .column.is-12-12-600 {
    grid-column: span 12;
  }

  .column > .column-sticky {
    position: sticky;
    top: var(--gap);
  }
}

@media screen and (min-width: 900px) {
  .column.is-1-12-900 {
    grid-column: span 1;
  }

  .column.is-2-12-900 {
    grid-column: span 2;
  }

  .column.is-3-12-900 {
    grid-column: span 3;
  }

  .column.is-4-12-900 {
    grid-column: span 4;
  }

  .column.is-5-12-900 {
    grid-column: span 5;
  }

  .column.is-6-12-900 {
    grid-column: span 6;
  }

  .column.is-7-12-900 {
    grid-column: span 7;
  }

  .column.is-8-12-900 {
    grid-column: span 8;
  }

  .column.is-9-12-900 {
    grid-column: span 9;
  }

  .column.is-10-12-900 {
    grid-column: span 10;
  }

  .column.is-11-12-900 {
    grid-column: span 11;
  }

  .column.is-12-12-900 {
    grid-column: span 12;
  }
}

@media screen and (min-width: 1200px) {
  .column.is-1-12-1200 {
    grid-column: span 1;
  }

  .column.is-2-12-1200 {
    grid-column: span 2;
  }

  .column.is-3-12-1200 {
    grid-column: span 3;
  }

  .column.is-4-12-1200 {
    grid-column: span 4;
  }

  .column.is-5-12-1200 {
    grid-column: span 5;
  }

  .column.is-6-12-1200 {
    grid-column: span 6;
  }

  .column.is-7-12-1200 {
    grid-column: span 7;
  }

  .column.is-8-12-1200 {
    grid-column: span 8;
  }

  .column.is-9-12-1200 {
    grid-column: span 9;
  }

  .column.is-10-12-1200 {
    grid-column: span 10;
  }

  .column.is-11-12-1200 {
    grid-column: span 11;
  }

  .column.is-12-12-1200 {
    grid-column: span 12;
  }
}

.list {
  list-style: none;
  margin-top: -.5rem;
  text-align: left;
}

.list a {
  color: darkgray;
  -webkit-transition: color .25s;
  -o-transition: color .25s;
  transition: color .25s;
}

.list a:hover {
  color: black;
}

.list-item:not(:last-child) {
  border-bottom: 1px solid gainsboro;
}

.list-item a {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: .5rem 0;
}

.list-item a > div {
  flex: 1 1 0;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.list-item-main {
  flex: 1 1 calc(100% / 4) !important;
}

.list-item-date {
  flex: 0 0 auto !important;
  font-variant-numeric: tabular-nums;
}

@media screen and (max-width: 599px) {
  .list-item a > div:not(.list-item-main, .list-item-date) {
    display: none;
  }
}

.index.is-image {
  --gap: 1.5rem;
  --gap-column: var(--gap);
  --gap-row: var(--gap);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap-column) var(--gap-row);
}

.index.is-image li {
  grid-column: span 12;
}

.index.is-image .is-6 {
  grid-column: span 6;
}

@media screen and (min-width: 600px) {
  .index.is-image li {
    grid-column: span 4;
  }

  .index.is-image .is-6 {
    grid-column: span 6;
  }
}

@media screen and (min-width: 1200px) {
  .index.is-image li {
    grid-column: span 3;
  }
}

@media screen and (min-width: 1800px) {
  .index.is-image li {
    grid-column: span 2;
  }

  .index.is-image .is-6 {
    grid-column: span 3;
  }
}

.image {
  display: block;
  position: relative;
}

.image[data-ratio="1/1"] {
  aspect-ratio: 1 / 1;
}

.image[data-ratio="4/3"] {
  aspect-ratio: 4 / 3;
}

.image[data-ratio="16/9"] {
  aspect-ratio: 16 / 9;
}

.image[data-ratio] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.image[data-crop] img {
  object-fit: cover;
}

.cards {
  --gap: 1.5rem;
  --gap-column: var(--gap);
  --gap-row: var(--gap);
  --columns: 3;
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), 1fr);
  gap: var(--gap-column) var(--gap-row);
}

.card {
  display: block;
  position: relative;
  width: 100%;
}

.card-text {
  margin-top: .5rem;
  padding: 0 1rem;
  text-align: center;
  color: darkgray;
  -webkit-transition: color .25s;
  -o-transition: color .25s;
  transition: color .25s;
}

.card:hover .card-text {
  color: black;
}

.card-text div {
  width: 100%;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: .5;
}

.card-text div:first-child {
  opacity: 1;
}

.image-title {
  width: 100%;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}



.tags {
  font-size: .75rem;
}

.tag {
  display: inline-block;
  color: gray;
}

.tag:not(:last-child)::after {
  content: ",";
  margin-right: .25em;
}

.tag:hover {
  opacity: .75;
}