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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #000;
  color: #fff;
  font: 300 18px/1.8 "Noto Sans KR", sans-serif;
  word-wrap: break-word;
}

h2, p { margin: 0 0 20px; text-shadow: 0 0 5px rgba(0, 0, 0, .6); }
h2 { font-size: 1.7rem; font-weight: 500; line-height: 1.2; margin-bottom: 30px; }
p { font-size: 1.125rem; }
a { color: #fff; font-weight: 700; text-decoration: none; }
img, video { max-width: 100%; }

/* Sections: tall so the fixed background shows while scrolling */
.section {
  position: relative;
  display: flex;
  min-height: 175vh;
}

/* Parallax without JS: each section clips a full-screen fixed background */
.bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: inset(0);
}
.bg > img, .bg > video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  max-width: none;
  object-fit: cover;
}

.panel {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 40px 100px;
}
.panel--clear { text-align: center; }

/* Phones: darken behind the text (desktop shows the photos clean) */
@media (hover: none) and (pointer: coarse) {
  .panel:not(.panel--clear) { background: rgba(0, 0, 0, .45); }
  .section--hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .45); }
}

.notes { margin: 40px 0 0; padding: 0; list-style: none; font-size: .9rem; }
.notes li::before { content: "* "; }

.sheet { display: block; width: 100%; max-width: 560px; margin: 0 auto 60px; }

/* Hero */
.section--hero { min-height: 100vh; }
.hero__logo, .hero__down { position: absolute; left: 50%; translate: -50% -50%; }
.hero__logo { top: 360px; width: min(410px, calc(50vw - 40px)); }
.hero__down { top: 600px; width: min(82px, calc(10vw - 8px)); }
.hero__logo img, .hero__down img { display: block; width: 100%; }
.float { animation: float 1s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-20px); } }

.menu-button { position: absolute; top: 85px; left: 80%; width: 60px; z-index: 1; }
.menu-button img { display: block; width: 100%; }

/* Map */
.map {
  max-width: 400px;
  height: 300px;
  margin: 0 auto 30px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}
.map__info { padding: 10px; font-size: 12px; line-height: 1.5; text-align: center; color: #333; white-space: nowrap; }
.map__info a { color: blue; font-weight: 400; }

.share { display: block; margin: 40px auto; padding: 0; border: 0; background: none; cursor: pointer; width: 200px; }
.share img { display: block; width: 100%; }

.credits { margin-top: 60px; font-size: .9rem; opacity: .5; text-align: right; }

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