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

:root {
  --bg:      #ffffff;
  --text:    #111111;
  --muted:   #999999;
  --border:  #e8e8e8;
  --hover-bg:#f5f5f5;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.nav-left  { display: flex; gap: 24px; }
.nav-right { display: flex; gap: 20px; align-items: center; justify-content: flex-end; }

.nav-link {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.nav-logo-icon {
  height: 22px;
  width: auto;
  display: block;
}

/* 장바구니 버튼 */
.cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  transition: border-color 0.2s, color 0.2s;
}
.cart-btn:hover, .cart-btn.has-items { border-color: var(--text); color: var(--text); }
#cartCount { min-width: 1ch; }

/* ── 메인 홈 ── */
.home-hero {
  margin-top: 52px;
  height: calc(100vh - 52px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-half {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.hero-half:last-child { border-right: none; }

.hero-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: grayscale(10%);
}
.hero-half:hover img { transform: scale(1.03); filter: grayscale(0%); }

.hero-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #fff;
}

.hero-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-size: 18px;
  color: #fff;
  mix-blend-mode: difference;
  transition: transform 0.2s;
}
.hero-half:hover .hero-arrow { transform: translateX(4px); }

/* ── PEOPLE 페이지 ── */
.people-page { margin-top: 52px; }

/* 서브 네비 (필터) */
.sub-nav {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 52px;
  background: var(--bg);
  z-index: 80;
}

.sub-btn {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 0 16px 0 0;
  margin-right: 16px;
  border-right: 1px solid var(--border);
  line-height: 1;
  transition: color 0.2s;
}
.sub-btn:last-child { border-right: none; }
.sub-btn:hover, .sub-btn.active { color: var(--text); }

/* 모델 그리드 */
.model-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
}

.model-card {
  position: relative;
  background: var(--bg);
  cursor: pointer;
  overflow: hidden;
}

.model-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.model-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: grayscale(8%);
}
.model-card:hover .model-card-img img { transform: scale(1.04); filter: grayscale(0%); }

/* 상태 뱃지 */
.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.status-badge {
  font-size: 9px;
  letter-spacing: 0.18em;
  padding: 3px 7px;
  text-transform: uppercase;
}
.status-badge.in-town { background: var(--text); color: var(--bg); }
.status-badge.soon    { background: var(--border); color: var(--muted); }

.ai-badge {
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 3px 7px;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ai-badge:hover { background: var(--text); color: var(--bg); }

/* 선택 체크 */
.card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: var(--text);
  color: var(--bg);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.model-card.selected .card-check { display: flex; }
.model-card.selected .model-card-img img { filter: grayscale(0%) brightness(0.92); }

/* 담기 버튼 */
.card-add-btn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  border: none;
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 7px 0;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  font-family: inherit;
  cursor: pointer;
}
.model-card:hover .card-add-btn {
  opacity: 1;
  transform: translateY(0);
}
.card-add-btn.added {
  background: var(--text);
  color: var(--bg);
  opacity: 1;
  transform: translateY(0);
}

.model-card-info {
  padding: 10px 12px 14px;
}
.model-card-name {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
}
.model-card-height {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.08em;
}

/* ── 캐스팅 패널 ── */
#castingPanel {
  position: fixed;
  top: 0; bottom: 0;
  right: -680px;
  width: 660px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
#castingPanel.open { right: 0; }

.panel-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 52px;
  border-bottom: 1px solid var(--border);
}
.panel-head h2 { font-size: 11px; letter-spacing: 0.2em; font-weight: 400; }
.panel-close { font-size: 18px; color: var(--muted); transition: color 0.2s; }
.panel-close:hover { color: var(--text); }

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px 60px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* 선택 모델 칩 */
.chip-area {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 56px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.chip-empty { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; align-self: center; }

.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 5px 10px 5px 5px;
  background: var(--bg);
}
.chip img { width: 30px; height: 38px; object-fit: cover; }
.chip-name { font-size: 10px; letter-spacing: 0.1em; }
.chip-del { font-size: 12px; color: var(--muted); margin-left: 4px; transition: color 0.2s; }
.chip-del:hover { color: var(--text); }

/* 폼 */
.cast-form { display: flex; flex-direction: column; gap: 32px; }

.f-section { display: flex; flex-direction: column; gap: 14px; }
.f-label { font-size: 10px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; }

.f-row { display: flex; gap: 16px; }

.f-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.f-field label { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }

.f-field input,
.f-field textarea,
.f-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 8px 0;
  outline: none;
  transition: border-color 0.2s;
}
.f-field input::placeholder,
.f-field textarea::placeholder { color: var(--muted); }
.f-field input:focus,
.f-field textarea:focus,
.f-field select:focus { border-bottom-color: var(--text); }

.f-field textarea {
  border: 1px solid var(--border);
  padding: 12px;
  resize: vertical;
  min-height: 90px;
}
.f-field textarea:focus { border-color: var(--text); }

.cast-submit {
  background: var(--text);
  color: var(--bg);
  padding: 15px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.2s;
  margin-top: 8px;
}
.cast-submit:hover { background: #333; }
.cast-submit:disabled { background: var(--border); color: var(--muted); }

.form-success {
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 2.4;
}

/* ── ABOUT ── */
.about-page { margin-top: 52px; }

.about-hero {
  height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: 64px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%),
              url('photos/women/dmm-sasha.jpg') center 20% / cover no-repeat;
}
.about-hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}
.about-hero .sub {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.75);
}

.about-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.about-col {
  padding: 52px 44px;
  border-right: 1px solid var(--border);
}
.about-col:last-child { border-right: none; }

.col-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 26px;
  text-transform: uppercase;
}
.about-col p { font-size: 12px; line-height: 2.1; color: #555; letter-spacing: 0.04em; }

.about-col ul { list-style: none; }
.about-col ul li {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.about-col ul li:last-child { border-bottom: none; }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info a, .contact-info span {
  font-size: 12px;
  letter-spacing: 0.07em;
  color: var(--text);
  transition: color 0.2s;
}
.contact-info a:hover { color: var(--muted); }
.contact-info .muted { color: var(--muted); }

/* ── JOIN ── */
.join-page { margin-top: 52px; }

.join-header {
  padding: 72px 64px 56px;
  border-bottom: 1px solid var(--border);
}
.join-header h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 300; letter-spacing: 0.08em; margin-bottom: 14px; }
.join-header p { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; line-height: 1.8; }

.join-layout { display: grid; grid-template-columns: 260px 1fr; }

.join-sidebar {
  padding: 52px 36px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.sidebar-block { display: flex; flex-direction: column; gap: 12px; }
.sidebar-label { font-size: 10px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; }
.sidebar-block ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-block ul li {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #555;
  padding-left: 12px;
  position: relative;
}
.sidebar-block ul li::before { content: '—'; position: absolute; left: 0; color: var(--border); }
.sidebar-block a { font-size: 11px; letter-spacing: 0.06em; color: var(--text); transition: color 0.2s; }
.sidebar-block a:hover { color: var(--muted); }

.join-form-wrap { padding: 52px 56px 80px; }

.join-form { display: flex; flex-direction: column; gap: 40px; }

/* 파일 업로드 */
.upload-zone {
  border: 1px dashed var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}
.upload-zone:hover { border-color: var(--muted); }
#photoInput { display: none; }
.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
}
.upload-label:hover { color: var(--text); }
.upload-icon { font-size: 26px; font-weight: 200; line-height: 1; }
.upload-label span:last-child { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.file-list { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; justify-content: center; }
.file-item {
  font-size: 10px;
  color: var(--muted);
  background: var(--hover-bg);
  padding: 3px 10px;
  border: 1px solid var(--border);
}
.upload-guide { font-size: 10px; color: var(--muted); letter-spacing: 0.06em; text-align: center; }

/* ── 캐스팅 패널 내 파일 업로드 ── */
.upload-guide {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.upload-zone {
  border: 1px dashed var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s;
}
.upload-zone:hover { border-color: var(--muted); }

#castPhotoInput { display: none; }

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
}
.upload-label:hover { color: var(--text); }
.upload-icon { font-size: 22px; font-weight: 200; line-height: 1; }
.upload-label span:last-child { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }

.file-list { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; justify-content: center; }
.file-item {
  font-size: 10px;
  color: var(--muted);
  background: var(--hover-bg);
  padding: 3px 10px;
  border: 1px solid var(--border);
}

/* ── OVERLAY ── */
#overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 150;
}
#overlay.show { display: block; }

/* ── FOOTER ── */
footer {
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer span { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }
footer a { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); transition: color 0.2s; }
footer a:hover { color: var(--text); }

/* ── 모델 상세 모달 ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(220,220,220,0.82);
  z-index: 300;
  backdrop-filter: blur(2px);
}
.modal-overlay.show { display: block; }

.model-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
}
.model-modal.show { display: block; }

/* ── 모달 전체 ── */
.model-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--bg);
  flex-direction: column;
  overflow-y: auto;
}
.model-modal.show { display: flex; }

/* 닫기 */
.modal-close {
  position: fixed;
  top: 18px;
  right: 24px;
  font-size: 18px;
  color: var(--muted);
  z-index: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }

/* ── 상단: 가로 슬라이더 (사진 전체가 항상 보이도록, 기기 불문 잘림 없음) ── */
.modal-slider-wrap {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  height: 75vh;
  background: #ededed;
  overflow: hidden;
}

.modal-slider {
  display: flex;
  height: 100%;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
  user-select: none;
  cursor: grab;
}
.modal-slider.dragging,
.modal-slider.no-transition { transition: none; cursor: grabbing; }

.modal-slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  cursor: zoom-in;
}
.modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* 슬라이더 화살표 */
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  opacity: 0;
}
.modal-slider-wrap:hover .gallery-prev,
.modal-slider-wrap:hover .gallery-next { opacity: 1; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-prev:hover,
.gallery-next:hover { background: #fff; }

/* ── 하단: 정보 + 액션 ── */
.modal-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  min-height: 0;
}

.modal-bottom-left {
  padding: 36px 48px 40px;
  border-right: 1px solid var(--border);
}

.modal-bottom-right {
  padding: 36px 48px 40px;
  display: flex;
  flex-direction: column;
}

/* 이름 */
.modal-name {
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 28px;
}

/* 섹션 레이블 */
.modal-section-label {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 12px;
}

/* 스탯 테이블 */
.modal-stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.modal-stats-table tr { border-bottom: 1px solid var(--border); }
.modal-stats-table td { padding: 10px 0; vertical-align: middle; }
.modal-stats-table td:first-child { color: var(--muted); width: 50%; }

/* 액션 영역 */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.modal-status {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 3px 8px;
  display: inline-block;
  align-self: flex-start;
}
.modal-status.in-town { background: var(--text); color: var(--bg); }
.modal-status.soon    { background: var(--border); color: var(--muted); }

.modal-ai-note {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  transition: color 0.2s;
}
.modal-ai-note:hover { color: var(--text); }

.modal-add-btn {
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 14px 20px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-add-btn:hover { background: #333; }
.modal-add-btn.added {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--text);
}

.modal-contact-link {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  display: block;
}
.modal-contact-link:hover { color: var(--text); }

/* ── 스냅 가로 스트립 ── */
.snaps-strip {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.snaps-strip::-webkit-scrollbar { height: 3px; }
.snaps-strip::-webkit-scrollbar-thumb { background: var(--border); }

.snap-item {
  flex: 0 0 120px;
  height: 160px;
  overflow: hidden;
  background: #f0f0f0;
  cursor: pointer;
}
.snap-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.snap-item:hover img { transform: scale(1.05); }

.snaps-empty {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding: 20px 0;
}

/* ── 반응형 ── */
@media (max-width: 960px) {
  .modal-name { font-size: 28px; }
  .modal-bottom-left { padding: 28px 32px 32px; }
  .modal-bottom-right { padding: 28px 32px 32px; }
  .snap-item { flex: 0 0 90px; height: 120px; }
}

@media (max-width: 640px) {
  .modal-slider-wrap { height: 60vh; }
  .modal-bottom { grid-template-columns: 1fr; }
  .modal-bottom-left { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 20px; }
  .modal-bottom-right { padding: 20px; }
  .modal-name { font-size: 22px; margin-bottom: 18px; }
  .snap-item { flex: 0 0 80px; height: 110px; }
  .modal-close { top: 12px; right: 16px; }
}

/* ── 스냅 라이트박스 ── */
.snap-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.snap-lightbox.show { display: flex; }

.snap-lb-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.snap-lb-close {
  position: fixed;
  top: 20px;
  right: 28px;
  font-size: 22px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10;
}
.snap-lb-close:hover { opacity: 1; }

.snap-lb-prev,
.snap-lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  padding: 20px 16px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  z-index: 10;
}
.snap-lb-prev { left: 0; }
.snap-lb-next { right: 0; }
.snap-lb-prev:hover,
.snap-lb-next:hover { opacity: 1; }

/* ── 로딩 / 오류 상태 ── */
.grid-loading,
.grid-error {
  grid-column: 1 / -1;
  padding: 80px 28px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}

.grid-loading span {
  display: inline-block;
  animation: blink 1.2s step-start infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) { .model-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .model-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 768px) {
  #navbar {
    grid-template-columns: auto 1fr auto;
    column-gap: 8px;
    padding: 0 12px;
  }
  .nav-logo  { font-size: 9px; letter-spacing: 0.06em; min-width: 0; gap: 5px; }
  .nav-logo-icon { height: 15px; flex: none; }
  .nav-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .nav-left  { gap: 10px; }
  .nav-right { gap: 8px; }
  .nav-link  { font-size: 9px; letter-spacing: 0.06em; }
  .cart-btn  { font-size: 9px; padding: 3px 6px; gap: 4px; }
  .home-hero { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; height: auto; }
  .hero-half { height: 50vh; }
  .hero-label { font-size: 36px; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  #castingPanel { width: 100vw; right: -100vw; }
  .about-cols { grid-template-columns: 1fr; }
  .about-col { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 24px; }
  .about-hero { padding: 40px 24px; }
  .join-layout { grid-template-columns: 1fr; }
  .join-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 24px; }
  .join-form-wrap { padding: 36px 24px 60px; }
  .join-header { padding: 52px 24px 40px; }
  .sub-nav { padding: 0 16px; }
  .f-row { flex-wrap: wrap; }
}

/* D plus pictures brand connection */
.dplus-feature { padding:72px 44px; display:grid; grid-template-columns:1fr 1fr; gap:40px; background:#f5f4f0; border-top:1px solid var(--border); }
.dplus-eyebrow {display:block;font-size:10px;letter-spacing:.2em;color:#666;margin-bottom:26px;}
.dplus-feature h2 {font-size:clamp(38px,5vw,72px);font-weight:400;letter-spacing:-.05em;line-height:1.1;}
.dplus-plus {color:#777;}
.dplus-description p {font-size:13px;line-height:2;color:#444;letter-spacing:0;}
.dplus-services {display:block;font-size:9px;letter-spacing:.12em;color:#666;margin:20px 0 26px;line-height:1.8;}
.dplus-cta {display:inline-flex;align-items:center;gap:22px;border-bottom:1px solid #111;padding:12px 0;font-size:12px;}
.dplus-cta:hover {opacity:.6;}
.dplus-newtab {font-size:9px;color:#777;}
footer {flex-wrap:wrap;gap:18px;}
footer .dplus-footer {order:1;color:#333;}
a:focus-visible {outline:2px solid #555;outline-offset:5px;}
.dplus-preview {min-height:100vh;background:#f5f4f0;padding:32px 6vw;display:flex;flex-direction:column;}
.dplus-preview header {display:flex;justify-content:space-between;gap:24px;font-size:10px;line-height:1.6;}
.dplus-preview main {margin:auto 0;padding:90px 0;max-width:1000px;}
.dplus-preview h1 {font-size:clamp(64px,12vw,160px);font-weight:400;letter-spacing:-.07em;line-height:1.05;margin:32px 0;}
.dplus-preview .intro {font-size:16px;line-height:2;letter-spacing:0;max-width:560px;}
.dplus-preview .preview-note {margin-top:40px;color:#777;font-size:12px;line-height:1.8;}
.dplus-preview footer {padding:24px 0;}
@media(max-width:768px){.dplus-feature{grid-template-columns:1fr;padding:44px 24px;gap:30px;}.dplus-preview header{flex-direction:column;}.dplus-preview main{padding:65px 0;}.dplus-preview .intro{font-size:14px;}footer{padding:24px;}}
