
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');

@import 'reset.css';
@import 'main.css';
@import 'sub.css';



html, body { width: 100%; height: 100%; background: #111; cursor: none; scroll-behavior: smooth;}


/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #0d0d0d;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 52px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── 로고 ── */
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header__logo img {
  height: 22px;
  width: auto;
  display: block;
  margin: 0 8px; /* ← 좌우 여백 추가 */
}
/* 로고 이미지 없을 때 텍스트 fallback */
.header__logo-fallback {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__logo-dot {
  width: 8px; height: 8px;
  background: #E8521A;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── 중앙 nav ── */
.header__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  list-style: none;
}
.header__nav a {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.header__nav a:hover { color: #fff; }

/* ── 우측 액션 ── */
.header__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 검색 */
.search-wrap {
  display: flex;
  align-items: center;
  position: relative;
}
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.search-btn:hover { color: #fff; }
.search-btn svg { width: 16px; height: 16px; }

/* 검색 인풋 (토글) */
.search-input-wrap {
  position: absolute;
  right: 28px; top: 50%;
  transform: translateY(-50%);
  width: 0;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.search-input-wrap.open { width: 180px; }
.search-input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 4px 8px 4px 0;
  outline: none;
}
.search-input::placeholder { color: rgba(255,255,255,0.3); }

/* 구분선 */
.header__divider {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.15);
}

/* LOGIN / SIGN */
.header__auth a {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.header__auth a:hover { color: #fff; }
.header__auth {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── 햄버거 (모바일) ── */
.header__hamburger {
  display: none;
  margin-left: auto; 
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}
.header__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.7);
  transition: transform 0.3s, opacity 0.3s;
}
.header__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════
   MOBILE DRAWER
══════════════════════════════ */
.drawer {
  position: fixed;
  top: 0; left: 0;
  width: 75vw; max-width: 320px;
  height: 100%;
  background: #f0ece5;
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.drawer.open { transform: translateX(0); }

/* 드로어 상단 바 */
.drawer__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
  background: #0d0d0d;
  flex-shrink: 0;
}
.drawer__login-hint {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.drawer__login-link {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.drawer__login-link:hover { color: #fff; }

/* 드로어 검색 */
.drawer__search {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.drawer__search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding-bottom: 8px;
}
.drawer__search-inner svg { width: 14px; height: 14px; color: rgba(0,0,0,0.35); flex-shrink: 0; }
.drawer__search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #333;
}
.drawer__search-input::placeholder { color: rgba(0,0,0,0.3); }

/* 드로어 메뉴 */
.drawer__nav {
  list-style: none;
  padding: 8px 0;
  flex: 1;
}
.drawer__nav li a {
  display: block;
  padding: 16px 20px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #222;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.drawer__nav li a:hover { background: rgba(0,0,0,0.04); }

/* 드로어 오버레이 */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 768px) {
  .header__nav,
  .header__divider,
  .header__auth,
  .search-wrap { display: none; }

  .header__hamburger { display: flex; }

  /* 모바일: 로고 + 햄버거만 */
  .header__logo-fallback { font-size: 13px; }
}

/* ══════════════════════════════
   DEMO: 페이지 패딩
══════════════════════════════ */
.page-body {
  padding-top: 60px;
  height: 200vh;
  background: linear-gradient(to bottom, #2a2a2a, #111);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-body p {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}



/* ══ FOOTER CTA BAND ══ */
.footer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

/* 좌측 텍스트 */
.footer-cta__left {
  background: #0d0d0d;
  padding: clamp(48px, 8vw, 96px) clamp(32px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-cta__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(24px, 3.2vw, 52px);
  color: #fff;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: clamp(20px, 3vh, 36px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.footer-cta.in-view .footer-cta__title { opacity: 1; transform: translateY(0); }

.footer-cta__desc {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(11px, 0.9vw, 13px);
  color: rgba(255,255,255,0.4);
  line-height: 1.85;
  letter-spacing: 0.02em;
  margin-bottom: clamp(32px, 5vh, 52px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s 0.15s ease, transform 0.9s 0.15s ease;
}
.footer-cta.in-view .footer-cta__desc { opacity: 1; transform: translateY(0); }

/* CTA 버튼 */
.footer-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Mono', monospace;
  font-size: clamp(8px, 0.8vw, 10px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.9s 0.3s ease, gap 0.2s;
  width: fit-content;
}
.footer-cta.in-view .footer-cta__btn { opacity: 1; }
.footer-cta__btn:hover { gap: 18px; }

.footer-cta__btn-dot {
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.2s;
}
.footer-cta__btn:hover .footer-cta__btn-dot { background: rgba(255,255,255,0.5); }

/* 우측 이미지 */
.footer-cta__right {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.footer-cta__right img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) saturate(0.9);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-cta__right:hover img { transform: scale(1.03); }

/* ══ FOOTER BAR ══ */
.footer-bar {
  background: #f0ece5;
  padding: clamp(20px, 3vh, 28px) clamp(24px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.8s 0.4s ease;
}
.footer-cta.in-view ~ .footer-bar { opacity: 1; }

/* 로고 */
.footer-bar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer-bar__logo img {
  height: 18px;
  width: auto;
}
.footer-bar__logo-text {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #1a1a1a;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-bar__logo-dot {
  width: 7px; height: 7px;
  background: #D4A849;
  border-radius: 50%;
}

/* 중앙 링크 */
.footer-bar__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  list-style: none;
}
.footer-bar__links a {
  font-family: 'Space Mono', monospace;
  font-size: clamp(8px, 0.75vw, 10px);
  letter-spacing: 0.18em;
  color: rgba(30,30,30,0.5);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-bar__links a:hover { color: #1a1a1a; }

/* 우측 카피라이트 */
.footer-bar__copy {
  font-family: 'Space Mono', monospace;
  font-size: clamp(8px, 0.7vw, 9px);
  letter-spacing: 0.18em;
  color: rgba(30,30,30,0.4);
  text-transform: uppercase;
  text-align: right;
  line-height: 1.8;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
  .footer-cta {
    grid-template-columns: 1fr;
  }
  .footer-cta__right {
    min-height: 260px;
    order: -1; /* 이미지 위로 */
  }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-bar__links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .footer-bar__copy { text-align: left; }
}