/* ========================================
   Easy Stage — Detail Page Styles
======================================== */

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

:root {
  --blk: #111111;
  --wht: #ffffff;
  --gry: #888888;
  --lt:  #f5f5f3;
  --hh:  52px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  color: var(--blk);
  background: var(--wht);
  -webkit-font-smoothing: antialiased;
}

/* ── MARQUEE ── */
.mq-wrap {
  width: 100%;
  overflow: hidden;
  height: 22px;
  pointer-events: none;
  flex-shrink: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.mq-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  -webkit-animation: mq-move 36s linear infinite;
  animation: mq-move 36s linear infinite;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.mq-txt {
  display: inline;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #c6ff00;
  padding: 0 20px;
}
.mq-sep { display: inline; color: #c6ff00; opacity: 0.4; font-size: 9px; }
@-webkit-keyframes mq-move {
  from { -webkit-transform: translateX(0); transform: translateX(0); }
  to   { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@keyframes mq-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HEADER ── */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: transparent;
  border-bottom: none;
}
.hd-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
  background: transparent;
}
.hd-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.logo-img {
  display: block;
  height: 100px;
  width: auto;
}

@media (max-width: 768px) {
  .logo-img {
    height: 48px;
  }
}

/* 커서 제거 */
* { cursor: auto !important; }
.logo-easy {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px; font-weight: 400;
  letter-spacing: .06em;
  color: var(--blk);
}
.logo-stage {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 300;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blk);
  margin-left: 4px;
  align-self: center;
}
.logo-dot {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  color: #c6ff00;
  line-height: 1;
}

.hd-back {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--gry); text-decoration: none;
  transition: color 0.2s;
}
.hd-back:hover { color: var(--blk); }
.hd-back svg { transition: transform 0.2s; }
.hd-back:hover svg { transform: translateX(-3px); }

/* ── HERO ── */
.dh {
  padding-top: var(--hh);
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #f5f5f3;
}
.dh-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dh-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}
.dh-meta {
  position: absolute; bottom: 56px; left: 56px; right: 56px;
  color: var(--wht);
}
.dh-meta-top {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.75;
}
.dh-meta-top span::before { content: ''; }
.dh-meta-top span + span::before {
  content: '·'; margin-right: 16px;
}
.dh-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute; bottom: 32px; right: 56px;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ── CONTENT ── */
.dc {
  max-width: 1100px; margin: 0 auto;
  padding: 96px 56px;
}

.dc-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 96px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.dc-label {
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gry);
  margin-bottom: 20px;
}

.dc-desc {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400; line-height: 1.7;
  color: var(--blk);
}

.dc-specs {
  display: flex; flex-direction: column; gap: 20px;
}
.dc-spec {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.dc-spec:last-child { border-bottom: none; }
.dc-spec dt {
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gry);
}
.dc-spec dd { font-size: 14px; font-weight: 500; }

/* ── GALLERY ── */
.dg {
  display: grid;
  gap: 4px;
  margin-bottom: 96px;
}
.dg-2 { grid-template-columns: 1fr 1fr; }
.dg-3 { grid-template-columns: 1fr 1fr 1fr; }
.dg-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  overflow: hidden;
}
.dg-img:hover { transform: scale(1.02); }
.dg-full { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

/* ── GALLERY PLACEHOLDER ── */
.dg-full-wrap {
  width: 100%;
  margin-bottom: 4px;
}
.dg-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: #f5f5f3;
  border: 2px dashed #ddd;
  display: flex; align-items: center; justify-content: center;
  cursor: default;
}
.dg-placeholder span {
  font-size: 13px; color: #bbb;
  letter-spacing: 0.08em;
}
.dg-placeholder-full {
  aspect-ratio: 16/9;
  background: #f5f5f3;
  border: 2px dashed #ddd;
  display: flex; align-items: center; justify-content: center;
}
.dg-placeholder-full span {
  font-size: 13px; color: #bbb;
  letter-spacing: 0.08em;
}

/* ── CHALLENGE / RESULT ── */
.dc-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 96px;
  padding: 80px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.dc-block h3 {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gry);
  margin-bottom: 20px;
}
.dc-block p {
  font-size: 15px; line-height: 1.8;
  color: #444;
}

/* ── NEXT PROJECT ── */
.dn {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 56px;
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.dn-label {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gry);
  margin-bottom: 8px;
}
.dn-title {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; color: var(--blk);
  transition: opacity 0.2s;
}
.dn-title:hover { opacity: 0.5; }
.dn-arr {
  font-size: 32px; color: var(--gry);
  text-decoration: none;
  transition: transform 0.3s, color 0.2s;
  display: block; margin-top: 8px;
}
.dn-arr:hover { transform: translateX(6px); color: var(--blk); }

/* ── FOOTER ── */
.ft {
  text-align: center;
  padding: 32px 56px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: space-between;
}
.ft p { font-size: 12px; color: var(--gry); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .dh-meta { left: 24px; right: 24px; bottom: 40px; }
  .dc { padding: 64px 24px; }
  .dc-intro { grid-template-columns: 1fr; gap: 40px; }
  .dc-blocks { grid-template-columns: 1fr; gap: 40px; }
  .dg-2, .dg-3 { grid-template-columns: 1fr; }
  .dn { padding: 40px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .ft { padding: 24px; flex-direction: column; gap: 8px; }

  .di { padding: 160px 24px 56px; }
  .di-title { font-size: clamp(32px, 8vw, 56px); }
  .di-desc { font-size: 15px; }
  .di-specs { flex-direction: column; gap: 0; }
}

/* ── 상단 정보 섹션 ── */
.di {
  padding: 180px 56px 80px;
  max-width: 900px;
  margin: 0 auto;
}
.di-category {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gry);
  margin-bottom: 20px;
}
.di-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400; line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--blk);
  margin-bottom: 32px;
}
.di-desc {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.85;
  color: #444;
  margin-bottom: 48px;
  max-width: 620px;
}
.di-specs {
  display: flex; flex-direction: row;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 32px;
}
.di-spec {
  flex: 1;
  padding-right: 32px;
  border-right: 1px solid rgba(0,0,0,0.08);
  margin-right: 32px;
}
.di-spec:last-child {
  border-right: none;
  margin-right: 0;
}
.di-spec dt {
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gry);
  margin-bottom: 8px;
}
.di-spec dd {
  font-size: 14px; font-weight: 500;
}

/* ── 풀와이드 사진 목록 ── */
.df {
  display: block;
  width: 100%;
}
.df-img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0;
}
