/* ================= RESET & BASE ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-dark: #0c0c0d;
  --bg-darker: #060607;
  --bg-card: #161618;
  --gold: #c9a961;
  --gold-soft: #e6d5ac;
  --cream: #f5f1e8;
  --text-muted: #9a958c;
  --border: rgba(201, 169, 97, 0.18);
  --serif: 'Noto Serif KR', 'Playfair Display', serif;
  --sans: 'Noto Sans KR', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-dark);
  color: var(--cream);
  line-height: 1.7;
  font-weight: 300;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

img { display: block; max-width: 100%; }

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 28px 0;
}

.navbar.scrolled {
  background: rgba(6, 6, 7, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  padding: 14px 0;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

.logo span {
  color: var(--gold);
  font-weight: 400;
  font-size: 0.7em;
  display: block;
  letter-spacing: 0.3em;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 300;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--gold-soft);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: all 0.3s ease;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 169, 97, 0.10), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(201, 169, 97, 0.08), transparent 50%),
    linear-gradient(180deg, #0c0c0d 0%, #08080a 60%, #060607 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 80px);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 104px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.hero-title span {
  display: inline-block;
  font-size: 0.42em;
  letter-spacing: 0.5em;
  color: var(--gold-soft);
  font-weight: 400;
  margin-top: 14px;
}

.hero-tagline {
  margin: 32px auto 0;
  max-width: 560px;
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 80px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.4em;
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================= SECTION COMMON ================= */
.section {
  padding: 130px 0;
  position: relative;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.45em;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--cream);
}

.section-sub {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.center { text-align: center; }

/* fade-in animation */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-desc {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 300;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px 32px;
  border-left: 1px solid var(--border);
  padding-left: 56px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--gold-soft);
  font-weight: 600;
}

.stat-num small {
  font-size: 0.4em;
  margin-left: 4px;
  color: var(--gold);
  font-weight: 400;
}

.stat-num-text {
  font-size: 0.55em;
}

.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ================= BUSINESS ================= */
.business {
  background: var(--bg-darker);
}

.business-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.business-card {
  background: var(--bg-darker);
  padding: 48px 36px;
  transition: background 0.4s ease;
}

.business-card:hover {
  background: var(--bg-card);
}

.business-num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--gold);
  font-weight: 600;
}

.business-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 24px 0 16px;
  font-weight: 600;
  color: var(--cream);
}

.business-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.business-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.business-list li {
  font-size: 13px;
  color: var(--gold-soft);
  padding-left: 18px;
  position: relative;
}

.business-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--gold);
}

/* ================= ARTISTS ================= */
.artist-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.artist-card {
  text-align: center;
}

.artist-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.artist-photo::after {
  content: 'PHOTO';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(245,241,232,0.25);
  font-family: var(--serif);
  pointer-events: none;
}

.artist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.slider-img { display: none; }
.slider-img.active { display: block; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.artist-slider:hover .slider-btn { opacity: 1; }
.slider-prev { left: 8px; }
.slider-next { right: 8px; }

.ph-1 { background: linear-gradient(150deg, #1c1c1f 0%, #2a2620 100%); }
.ph-2 { background: linear-gradient(150deg, #1a1a1c 0%, #262220 100%); }
.ph-3 { background: linear-gradient(150deg, #1e1c1a 0%, #2c2722 100%); }
.ph-4 { background: linear-gradient(150deg, #1c1b1e 0%, #292420 100%); }
.ph-5 { background: linear-gradient(150deg, #1c1c1f 0%, #232a26 100%); }
.ph-6 { background: linear-gradient(150deg, #1a1a1c 0%, #20242a 100%); }
.ph-7 { background: linear-gradient(150deg, #1e1c1a 0%, #2c2722 100%); }
.ph-8 { background: linear-gradient(150deg, #1c1b1e 0%, #292420 100%); }
.ph-9 { background: linear-gradient(150deg, #1c1c1f 0%, #2a2620 100%); }
.ph-10 { background: linear-gradient(150deg, #1a1a1c 0%, #262220 100%); }

.artist-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
}

.artist-card p {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.artist-video {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.artist-video img {
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
  padding: 4px;
}

.artist-video span {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

/* ================= TEAM ================= */
.team-photo-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: linear-gradient(150deg, #1c1c1f 0%, #2a2620 100%);
  position: relative;
  overflow: hidden;
}

.team-photo::after {
  content: 'GROUP PHOTO';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: rgba(245,241,232,0.25);
  font-family: var(--serif);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================= WORKS ================= */
.works {
  background: var(--bg-darker);
}

.works-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.works-empty {
  margin-top: 64px;
  padding: 80px 0;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.works-empty p {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.work-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.work-poster {
  aspect-ratio: 16 / 10;
  position: relative;
}

.work-poster::after {
  content: 'POSTER';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(245,241,232,0.2);
  font-family: var(--serif);
}

.wp-1 { background: linear-gradient(135deg, #1d1c1e, #2b2722); }
.wp-2 { background: linear-gradient(135deg, #1a1c1e, #222a2c); }
.wp-3 { background: linear-gradient(135deg, #1e1b1c, #2c2422); }
.wp-4 { background: linear-gradient(135deg, #1c1d1a, #28291f); }
.wp-5 { background: linear-gradient(135deg, #1b1c1f, #25232a); }
.wp-6 { background: linear-gradient(135deg, #1d1b1a, #2a2520); }

.work-info {
  padding: 24px 28px 28px;
}

.work-year {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.work-info h3 {
  font-family: var(--serif);
  font-size: 19px;
  margin: 10px 0 6px;
  font-weight: 600;
  color: var(--cream);
}

.work-info p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ================= CONTACT ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  gap: 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}

.contact-label {
  min-width: 90px;
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 12px;
  padding-top: 2px;
}

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

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 14px 4px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  resize: none;
  transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form button {
  margin-top: 12px;
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  padding: 14px 40px;
  font-size: 13px;
  letter-spacing: 0.3em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-form button:hover {
  background: var(--gold);
  color: var(--bg-darker);
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-darker);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-stats {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 40px;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .artist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .team-photo-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 240px;
    background: var(--bg-darker);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    border-left: 1px solid var(--border);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 90px 0;
  }

  .artist-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= ADMIN MODE ================= */
.admin-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #c9a961;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.admin-bar.hidden { display: none; }
.admin-bar button {
  background: rgba(201,169,97,0.2);
  color: #c9a961;
  border: 1px solid rgba(201,169,97,0.4);
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}
.admin-mode .navbar { top: 42px; }

.admin-edit-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(201,169,97,0.9);
  color: #000;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  z-index: 10;
  display: none;
}
.admin-mode .admin-edit-btn { display: block; }
.about-text { position: relative; }
.contact-info { position: relative; }

.admin-delete-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255,60,60,0.9);
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  z-index: 10;
  display: none;
}
.admin-mode .admin-delete-btn { display: block; }

/* Admin Modal */
.admin-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.admin-modal.hidden { display: none; }
.admin-modal-backdrop { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); }
.admin-modal-content {
  position: relative;
  background: #1a1a2e;
  border: 1px solid rgba(201,169,97,0.3);
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1;
}
.admin-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: #999;
  font-size: 20px;
  cursor: pointer;
}
.admin-modal-content h3 {
  color: #c9a961;
  margin-bottom: 20px;
  font-size: 18px;
}
.admin-modal-content label {
  display: block;
  color: #9a958c;
  font-size: 12px;
  margin-top: 14px;
  margin-bottom: 4px;
}
.admin-modal-content input,
.admin-modal-content textarea {
  width: 100%;
  background: #0c0c16;
  border: 1px solid rgba(255,255,255,0.1);
  color: #f5f1e8;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.admin-modal-content input:focus,
.admin-modal-content textarea:focus {
  outline: none;
  border-color: #c9a961;
}
.admin-save-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #c9a961, #b8943f);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.admin-save-btn:hover { opacity: 0.9; }
