/* ============ VARIABLES ============ */
:root {
  --bg: #0a0a09;
  --bg-alt: #131210;
  --fg: #f4f2ec;
  --fg-dim: #a8a49a;
  --olive: #8a9463;
  --olive-dim: #6d7650;
  --wood: #8b6f52;
  --wood-dark: #4a3b2c;
  --line: rgba(244, 242, 236, 0.12);
  --ff-head: 'Oswald', 'Pretendard', sans-serif;
  --ff-body: 'Inter', 'Pretendard', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  background: rgba(244,242,236,0.08);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
}

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

.section-label {
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--olive);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section-label.light { color: var(--wood); }

.section-title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 40px;
}

.section-desc {
  color: var(--fg-dim);
  font-size: 14px;
  margin-bottom: 32px;
  max-width: 620px;
}

.btn {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.btn-outline {
  border: 1px solid var(--fg);
  color: var(--fg);
}
.btn-outline:hover { background: var(--fg); color: var(--bg); }
.btn-solid {
  background: var(--olive);
  color: #0a0a09;
}
.btn-solid:hover { background: #a3ae78; }
.btn-outline-light {
  border: 1px solid rgba(244,242,236,0.5);
  color: var(--fg);
}
.btn-outline-light:hover { border-color: var(--fg); background: rgba(244,242,236,0.08); }

/* ============ REVEAL ANIM ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 32px;
  height: 84px;
  transition: background 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,9,0.9);
  backdrop-filter: blur(10px);
  height: 66px;
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 14px; }
.logo-badge {
  background: #f4f2ec;
  border-radius: 10px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: padding 0.3s ease;
}
.site-header.scrolled .logo-badge { padding: 6px 12px; }
.logo-icon {
  height: 46px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: height 0.3s ease;
}
.site-header.scrolled .logo-icon { height: 36px; }
.logo-text { display: flex; align-items: baseline; gap: 8px; }
.logo-mark {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--fg);
}
.logo-sub {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--olive);
  text-transform: uppercase;
}

.nav-desktop { display: flex; gap: 40px; }
.nav-desktop a {
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--fg-dim);
  transition: color 0.2s ease;
}
.nav-desktop a:hover { color: var(--olive); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--fg);
  transition: all 0.25s ease;
}
.nav-mobile {
  position: fixed;
  top: 0; right: 0;
  width: min(78vw, 320px);
  height: 100vh;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 40px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 99;
  border-left: 1px solid var(--line);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  font-family: var(--ff-head);
  font-size: 20px;
  letter-spacing: 0.1em;
}
.nav-mobile-social {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 56px;
  padding: 160px 32px 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 15%, rgba(138,148,99,0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(139,111,82,0.14), transparent 60%),
    var(--bg);
  z-index: -1;
}
.hero-content { max-width: 780px; margin: 0 auto; width: 100%; }
.hero-eyebrow {
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--olive);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(32px, 6vw, 62px);
  line-height: 1.14;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title em { color: var(--olive); font-style: normal; }
.hero-desc {
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

/* 최근 작업 — 좌우 끝까지 꽉 채워서 끊김 없이 루프되는 가로 마퀴 */
.hero-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}
.hero-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: heroMarqueeScroll 60s linear infinite;
}
.hero-marquee:hover .hero-marquee-track {
  animation-play-state: paused;
}
@keyframes heroMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-scroll span {
  font-family: var(--ff-head);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--fg-dim);
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--olive), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: tickerScroll 32s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.ticker-item .dot { color: var(--olive); }
.ticker-item .role { color: var(--wood); }
@keyframes tickerScroll {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============ ABOUT ============ */
.about { padding: 140px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text { color: var(--fg-dim); font-size: 15.5px; }
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.stat-num {
  display: block;
  font-family: var(--ff-head);
  font-size: 40px;
  font-weight: 600;
  color: var(--olive);
}
.stat-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--fg-dim);
  margin-top: 4px;
  text-transform: uppercase;
}

/* ============ SERVICES ============ */
.services { padding: 100px 0 140px; background: var(--bg-alt); }
.service-list { border-top: 1px solid var(--line); }
.service-item {
  display: flex;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.3s ease;
}
.service-item:hover { padding-left: 12px; }
.service-num {
  font-family: var(--ff-head);
  font-size: 15px;
  color: var(--wood);
  min-width: 32px;
}
.service-body h3 {
  font-family: var(--ff-head);
  font-size: 24px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.service-body p { color: var(--fg-dim); font-size: 14.5px; }

/* ============ DISCOGRAPHY ============ */
.discography { padding: 140px 0; }
.disco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.disco-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: default;
}
.disco-item--link {
  cursor: pointer;
}
.disco-item-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.disco-item:hover .disco-item-bg { transform: scale(1.06); }
.disco-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,9,0) 40%, rgba(10,10,9,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.disco-item:hover .disco-overlay { opacity: 1; }
.disco-role {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--olive);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.disco-artist {
  font-family: var(--ff-head);
  font-size: 13px;
  color: var(--fg);
}
.disco-track {
  font-size: 11px;
  color: var(--fg-dim);
  margin-top: 2px;
}

/* ============ NAV ACTIVE ============ */
.nav-active { color: var(--olive) !important; }

/* ============ RECENT WORKS (hero marquee item sizing) ============ */
.hero-marquee-track .disco-item.recent-item {
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 1 / 1;
}
@media (max-width: 640px) {
  .hero-marquee-track .disco-item.recent-item { width: 150px; }
}

/* ============ DISCOGRAPHY PAGE HEAD ============ */
.page-head {
  position: relative;
  padding: 160px 32px 60px;
  overflow: hidden;
}
.page-head-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 15%, rgba(138,148,99,0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(139,111,82,0.14), transparent 60%),
    var(--bg);
  z-index: -1;
}
.page-title {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(36px, 7vw, 72px);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 20px;
}
.discography-full { padding: 40px 0 140px; }

/* ============ CONTACT ============ */
.contact {
  position: relative;
  padding: 160px 0;
  background: var(--wood-dark);
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(138,148,99,0.25), transparent 65%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0,0,0,0.35), transparent 60%);
}
.contact-inner { position: relative; text-align: left; }
.contact-title {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 64px);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}
.contact-desc {
  color: rgba(244,242,236,0.75);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 480px;
}
.contact-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.contact-email {
  font-family: var(--ff-head);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}

/* ============ FOOTER ============ */
.site-footer { padding: 60px 32px; border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-social { display: flex; gap: 24px; font-size: 12px; letter-spacing: 0.1em; color: var(--fg-dim); }
.footer-social a:hover { color: var(--olive); }
.footer-copy { width: 100%; font-size: 11px; color: var(--fg-dim); opacity: 0.6; margin-top: 8px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 28px;
  }
  .disco-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .disco-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item { gap: 20px; }
  .contact { padding: 110px 0; }
  .hero { padding: 120px 24px 80px; }
}
