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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* ---- BACKGROUND ---- */
.bg {
  position: fixed;
  inset: 0;
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.62) contrast(1.08);
  z-index: 0;
}

/* ---- CONTENT ---- */
.content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 48px 26px 48px;
}

/* ---- TOP BAR ---- */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.top-label {
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: clamp(10px, 0.95vw, 14px);
  color: #fff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ---- MAIN ---- */
.main {
  flex: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.main-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.title {
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 8vw, 95px);
  line-height: 0.92;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.5);
  text-shadow:
    4px 4px 0 #000,
    8px 8px 0 rgba(0, 0, 0, 0.35);
}

.title-sign {
  max-width: 100%;
  height: auto;
  display: block;
  width: clamp(280px, 48vw, 750px);
  margin: 0 auto -4px auto;
}

.tagline {
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: clamp(11px, 1.1vw, 16px);
  color: #fff;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 18px;
  line-height: 1.6;
  opacity: 0.82;
}

/* ─── CONTACT FORM ─── */
.main-form {
  flex: 1;
  min-width: 320px;
  max-width: 440px;
  background: rgba(0, 0, 0, 0.75);
  border: 3px solid #fff;
  padding: 24px 32px;
  box-shadow: 6px 6px 0 #000;
  margin-top: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form h2 {
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.form-subtitle {
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: 11.5px;
  color: #fff;
  letter-spacing: 0.1em;
  opacity: 0.65;
  margin-top: 0;
  margin-bottom: 8px;
}

#form-collapsible {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#toggle-icon {
  display: none;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 2px solid #fff;
  padding: 14px;
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.1em;
  outline: none;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.15);
}

.contact-form button {
  background: #fff;
  color: #000;
  border: none;
  padding: 16px;
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2em;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
  margin-top: 8px;
}

.contact-form button:hover {
  background: #000;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: -2px;
}

/* ─── MASK STRIPS ─── */
.mask-strip {
  /* Break out of parent padding to go full viewport width */
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  margin-top: 6vh;
  margin-bottom: 8vh;
}

.mask-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

/* Tight row: no gap */
.mask-track-tight {
  gap: 0;
}

.mask-img {
  height: clamp(110px, 15vh, 180px);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* Tight row: no gap */
.mask-track-tight .mask-img {
  height: clamp(110px, 15vh, 180px);
  width: auto;
  object-fit: contain;
}

/* ---- BOTTOM ---- */
.bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

/* ─── AUDIO PLAYER ─── */
.player-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #fff;
  padding: 8px 14px;
  box-shadow: 4px 4px 0 #000;
}

#play-btn {
  background: transparent;
  color: #fff;
  border: none;
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.15em;
  cursor: pointer;
  text-transform: uppercase;
  min-width: 55px;
  text-align: left;
}

#play-btn:hover {
  text-decoration: underline;
}

#visualizer {
  display: block;
  background: transparent;
}

.bottom-left {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.bottom-korean {
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: clamp(14px, 1.2vw, 18px);
  color: #fff;
  letter-spacing: 0.15em;
}

.links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.mobile-break {
  display: none;
}

.link {
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: clamp(11px, 1.05vw, 15px);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
  transition: opacity 0.15s;
}

.link:hover {
  opacity: 0.5;
}

.copy {
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 800;
  font-size: clamp(9px, 0.8vw, 12px);
  color: #fff;
  letter-spacing: 0.18em;
  opacity: 0.5;
  text-transform: uppercase;
}

/* ─── MOBILE RESPONSIVENESS ─── */
@media (max-width: 860px) {

  html,
  body,
  .page {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .content {
    height: auto;
    min-height: 100vh;
    padding: 24px 20px;
    gap: 24px;
    justify-content: flex-start;
  }

  .top-bar {
    justify-content: center;
    gap: 12px;
    text-align: center;
  }

  .main {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    text-align: center;
    flex: none;
    height: auto;
  }

  .title {
    font-size: clamp(14px, 7.5vw, 38px);
  }

  .main-form {
    max-width: 100%;
    width: 100%;
    margin-top: 0;
    padding: 10px 24px;
    flex: none;
    height: auto;
  }

  .contact-form h2 {
    margin: 0;
    margin-bottom: 4px;
    line-height: 1.1;
  }

  .form-subtitle {
    margin: 0;
    margin-bottom: 6px;
    line-height: 1.2;
  }

  #form-toggle-header {
    cursor: pointer;
  }

  #toggle-icon {
    display: inline;
  }

  #form-collapsible {
    display: none;
    margin-top: 24px;
  }

  #form-collapsible.open {
    display: flex;
  }

  .bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    padding-bottom: 24px;
    padding-top: 16px;
  }

  .bottom-left {
    flex-direction: column;
    gap: 20px;
  }

  .links {
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .mobile-break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }

  .mask-strip {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .bottom-korean {
    font-size: clamp(16px, 4vw, 22px);
  }

  .mask-track-tight .mask-img {
    height: clamp(80px, 12vh, 120px);
  }
}