/* ────────────────────────────────────────
   VEVELL — Shared Styles
   ──────────────────────────────────────── */

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

/* TOKENS — VEVELL COLOR BOARD 2026-07-03 */
:root {
  /* dark family — DEEP PLUM 기준 (nav/footer/CTA-band) */
  --wine:       #473945;   /* DEEP PLUM — accent 텍스트/보더/CTA밴드 bg */
  --wine-dark:  #2E2530;   /* 최심도 다크 — nav/footer/히어로 bg */
  --wine-mid:   #5C4B58;   /* 중간톤 다크 */
  /* base — WARM IVORY 70% / SOFT STONE */
  --ivory:      #FFF6F2;
  --ivory-soft: #F1ECE7;
  --stone:      #D8D4D2;   /* MIST GRAY — 비활성/구분 마커 */
  --text:       #222222;   /* GRAPHITE */
  --text-soft:  #6E6168;
  --text-muted: #A79AA0;
  --border:     #D8D4D2;   /* MIST GRAY — 라인/구분선 */
  --charcoal:   #2E2530;
  --charcoal-dk:#2E2530;
  /* primary accent — 강조/버튼/포인트 20% */
  --pink:    #E88DA8;
  /* product line colors — 제품 섹션에서만 사용 */
  --rise:    #E88DA8;   /* RISE — Energy & Vitality */
  --restore: #7C3A4B;   /* RESTORE — Recovery & Rest */
  --rhythm:  #FF8F6A;   /* RHYTHM — Active & Strong (ENERGY) */
  --glow:    #FFC7B9;   /* GLOW — Radiance & Beauty */
  --balance: #A3B59F;   /* BALANCE — Daily Balance */
}

/* BASE */
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: 'Jost', sans-serif; }
html[lang="ja"] body { font-family: 'Noto Sans JP', sans-serif; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; background: var(--wine-dark);
  display: grid; grid-template-columns: 200px 1fr 200px;
  align-items: center; padding: 0 48px;
}
.nav-logo {
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: 26px; letter-spacing: .22em; color: #fff; text-decoration: none;
}
.nav-links {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; list-style: none;
}
.nav-links a {
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: 11px; letter-spacing: .16em;
  color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.lang-btn {
  font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .14em;
  color: rgba(255,255,255,.35); background: none; border: none;
  cursor: pointer; padding: 4px 6px; transition: color .2s;
}
.lang-btn:hover, .lang-btn.active { color: rgba(255,255,255,.9); }
.lang-sep { font-family: 'Jost', sans-serif; font-size: 9px; color: rgba(255,255,255,.15); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 0; margin-left: 12px;
}
.nav-toggle span { display: block; width: 100%; height: 1px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── PAGE HERO ── */
.page-hero {
  padding-top: 64px; min-height: 52vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 80px; padding-left: 80px; padding-right: 80px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; background: #2E2530;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-label {
  font-family: 'Jost', sans-serif; font-size: 9px; letter-spacing: .28em;
  color: rgba(255,255,255,.3); margin-bottom: 20px;
}
.page-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  line-height: 1.08; color: #fff; letter-spacing: -.01em;
}
html[lang="ko"] .page-hero-title { font-family: 'Noto Serif KR', serif; font-weight: 200; }
html[lang="en"] .page-hero-title { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
html[lang="ja"] .page-hero-title { font-family: 'Noto Serif JP', serif; font-weight: 200; }

/* ── UTILITIES ── */
.section-label {
  font-family: 'Jost', sans-serif; font-size: 9px; letter-spacing: .24em;
  color: var(--text-muted); margin-bottom: 20px;
}
.section-label.wine  { color: var(--wine); }
.section-label.light { color: rgba(255,255,255,.3); }

.img-ph { width: 100%; height: 100%; display: block; background: #F1ECE7; }
.img-ph.dark { background: #2E2530; }

.arrow-sm { width: 14px; height: 14px; flex-shrink: 0; }

.text-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .16em;
  color: var(--text-soft); text-decoration: none; transition: color .2s;
}
.text-link:hover { color: var(--text); }
.text-link.light { color: rgba(255,255,255,.45); }
.text-link.light:hover { color: rgba(255,255,255,.8); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal-dk);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 64px 80px 40px;
}
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr; gap: 96px;
  margin-bottom: 64px; padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo {
  font-family: 'Jost', sans-serif; font-weight: 300; font-size: 13px;
  letter-spacing: .34em; color: rgba(255,255,255,.7);
  text-decoration: none; display: block; margin-bottom: 16px;
}
.footer-tagline { font-size: .73rem; color: rgba(255,255,255,.25); line-height: 1.7; }
html[lang="ko"] .footer-tagline { font-family: 'Noto Serif KR', serif; font-weight: 200; }
html[lang="ja"] .footer-tagline { font-family: 'Noto Serif JP', serif; font-weight: 200; }
.footer-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-nav-col h4 {
  font-family: 'Jost', sans-serif; font-size: 9px; letter-spacing: .2em;
  color: rgba(255,255,255,.3); margin-bottom: 20px;
}
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-nav-col a {
  font-size: .73rem; color: rgba(255,255,255,.25);
  text-decoration: none; letter-spacing: .04em; transition: color .2s;
}
.footer-nav-col a:hover { color: rgba(255,255,255,.65); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy {
  font-family: 'Jost', sans-serif; font-size: 9px;
  letter-spacing: .12em; color: rgba(255,255,255,.18);
}
.footer-bottom-right { display: flex; align-items: center; gap: 28px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: rgba(255,255,255,.25); text-decoration: none; transition: color .2s; }
.footer-social a:hover { color: rgba(255,255,255,.65); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: 'Jost', sans-serif; font-size: 9px; letter-spacing: .1em;
  color: rgba(255,255,255,.18); text-decoration: none; transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.45); }

/* ── RESPONSIVE (shared: nav/hero/footer) ── */
@media (max-width: 860px) {
  nav {
    grid-template-columns: auto 1fr auto;
    padding: 0 20px;
  }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--wine-dark);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
    z-index: 99;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; width: 100%; padding: 16px 24px;
    box-sizing: border-box;
  }
  .nav-right { gap: 4px; }

  .page-hero {
    padding-left: 24px; padding-right: 24px; padding-bottom: 48px; min-height: 40vh;
  }

  footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; padding-bottom: 40px; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}
