* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  background: white;
  color: black;
}

body.home {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  padding: 18px 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  z-index: 20;
  font-size: 12px;
  letter-spacing: 0.2px;
  mix-blend-mode: difference;
  color: white;
}

.site-header a {
  color: inherit;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: white;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
}

.caption {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  z-index: 5;
}

/* 커서 영역 */
.slideshow.cursor-left {
  cursor: w-resize;
}

.slideshow.cursor-right {
  cursor: e-resize;
}

/* Contact */
.contact-page {
  overflow: auto;
  min-height: 100vh;
  min-height: 100dvh;
}

.contact-content {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  font-size: 12px;
  line-height: 1.8;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
  .site-header {
    padding: 16px 16px;
    gap: 12px;
    font-size: 10px;
  }

  .caption {
    left: 16px;
    bottom: 16px;
    font-size: 10px;
    max-width: calc(100% - 32px);
  }

  .contact-content {
    padding: 16px;
    font-size: 10px;
    line-height: 1.9;
  }

  .slide {
    background-size: contain;
    background-position: center center;
  }
}
