/* =============================================================
   COMPONENTS — Button, modal, form fields
   ============================================================= */

/* ------- button ------- */
.btn {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 700;
  transition:
    transform .35s ease,
    background .35s ease,
    border-color .35s ease,
    color .35s ease;
}
.btn:hover { transform: translateY(-3px); border-color: var(--gold2); }

.btn-gold {
  background: var(--gold);
  color: #080808;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold2); border-color: var(--gold2); }

.btn-arrow svg { width: 16px; height: 16px; transition: transform .3s; }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ------- project modal ------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: none;
  place-items: center;
  padding: 14px;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s;
  overflow-y: auto;
}
.modal.open { display: grid; opacity: 1; visibility: visible; }

.modal-box {
  width: min(540px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 22px 20px;
  position: relative;
  background: #0e0e0e;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.modal-close {
  position: absolute;
  right: 15px; top: 11px;
  width: 35px; height: 35px;
  display: grid;
  place-items: center;
  color: #aaa;
  font-size: 23px;
}
.modal-close:hover { color: #fff; }

.modal-title {
  margin: 8px 0 16px;
  font: 400 clamp(32px, 7vw, 44px) / 1 var(--display);
  text-transform: uppercase;
}

/* ------- form fields ------- */
.field { display: block; margin: 8px 0; }
.field span {
  display: block;
  margin-bottom: 4px;
  color: #8d8a84;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #070707;
  color: #fff;
  outline: none;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: rgba(213,170,75,.7); }
.field textarea { min-height: 60px; resize: vertical; }

.modal-submit { width: 100%; margin-top: 10px; padding: 12px; }




/* =====================
   BEHIND THE SCENES
   ===================== */
.bts-section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
  position: relative;
}

.bts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.bts-grid .content-card {
  flex: none;
  width: 100%;
}

@media (max-width: 980px) {
  .bts-section {
    padding: 70px 0;
  }
  .bts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
  }
}

/* BTS Card Live Video Styling */
.content-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s ease, filter .4s ease;
}
.bts-video-card:hover .content-card-media video,
.bts-video-card.is-playing .content-card-media video {
  opacity: 1;
  filter: contrast(1.04);
}

/* BTS Video Card Sound & Button Enhancements */
.bts-video-card {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.bts-video-card .content-card-media {
  z-index: 2;
}

.bts-video-card .media-play-overlay {
  transition: opacity 0.35s cubic-bezier(.2,.8,.2,1), transform 0.35s ease;
  opacity: 1;
  pointer-events: none;
  z-index: 15;
}

.bts-video-card .media-play-btn {
  pointer-events: auto;
  cursor: pointer;
}

.bts-video-card.is-playing .media-play-overlay {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.bts-sound-btn {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.btn-bts-reel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(213, 170, 75, 0.16);
  border: 1.2px solid rgba(213, 170, 75, 0.55);
  color: var(--gold2);
  font: 700 9px var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  pointer-events: auto;
  position: relative;
  z-index: 5;
}

.btn-bts-reel:hover {
  background: var(--gold);
  color: #080808;
  border-color: var(--gold2);
  box-shadow: 0 4px 14px rgba(213, 170, 75, 0.45);
  transform: translateY(-2px);
}

/* BTS Title Typography & Scrim Background — 100% visible over any video background */
.bts-grid .content-card-title {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  padding: 45px 16px 16px !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 55%, transparent 100%) !important;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  pointer-events: none;
  z-index: 6;
}

.bts-grid .content-card-title > * {
  pointer-events: auto;
}

.bts-grid .media-cat-label {
  color: #f0cf7b !important;
  font-weight: 700;
  letter-spacing: .15em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  font-size: 8.5px;
}

.bts-grid .media-item-title {
  font-family: var(--display, 'Anton', sans-serif);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 0.95;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  margin: 4px 0 8px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.bts-grid .btn-bts-reel {
  background: rgba(14, 15, 14, 0.9) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(213, 170, 75, 0.65) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8) !important;
}

@media (max-width: 980px) {
  .bts-grid .content-card-title {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 34px 12px 12px !important;
  }
  .bts-grid .media-item-title {
    font-size: clamp(14px, 3.8vw, 19px);
    line-height: 0.95;
    margin: 3px 0 6px;
  }
  .bts-grid .btn-bts-reel {
    padding: 5px 10px;
    font-size: 8px;
    margin-top: 4px;
    letter-spacing: 0.05em;
  }
}
