/* ==========================================================================
   Tenant Color Themes — body 클래스로 CSS 변수 오버라이드
   기본(warm)은 :root 그대로 사용. 나머지는 톤만 변경.
   각 테마는 코어(green/cream/gold/ink/line) + 푸터(footer-*) + 섹션(section-soft-bg)을 함께 정의.
   ========================================================================== */

/* WARM 명시 정의 (기본값과 동일 — 일관성 위해 명시) */
body.theme-warm {
  --footer-bg:          #141d12;
  --footer-text:        #a4ab98;
  --footer-text-soft:   #7a8074;
  --footer-text-strong: #cdd2c8;
  --footer-title:       var(--gold-400);
  --footer-divider:     rgba(255,255,255,0.08);
  --footer-link-hover:  #fff;
  --section-soft-bg:    #fbfaf6;
}

/* LIGHT — 깔끔한 화이트 + 골드 */
body.theme-light {
  --cream-100: #ffffff;
  --cream-200: #f7f5f0;
  --cream-300: #ece7dc;
  --line:      #ebe7da;
  --green-900: #1a3a17;
  --green-800: #224721;
  --green-700: #2e5a2a;
  --green-600: #3f7438;
  --gold-600:  #b8941f;
  --gold-500:  #d8b73f;
  --gold-400:  #e8c963;
  --ink-900:   #1a1a1a;
  --ink-700:   #3a3a3a;
  --ink-500:   #6b6b6b;
  --ink-300:   #c2c2c2;
  --footer-bg:          #f7f5f0;
  --footer-text:        #4a4a4a;
  --footer-text-soft:   #8a8a8a;
  --footer-text-strong: #1a1a1a;
  --footer-title:       #b8941f;
  --footer-divider:     rgba(0,0,0,0.08);
  --footer-link-hover:  #b8941f;
  --section-soft-bg:    #f3f0e8;
}

/* DARK — 다크 배경 + 골드 강조 */
body.theme-dark {
  --cream-100: #161616;
  --cream-200: #1f1f1f;
  --cream-300: #2a2a2a;
  --line:      #333;
  --green-900: #d9e5d4;
  --green-800: #c4d4be;
  --green-700: #a8c39f;
  --green-600: #8aab7f;
  --green-500: #6f9264;
  --green-50:  #232a21;
  --gold-600:  #f5e285;
  --gold-500:  #efd355;
  --gold-400:  #c9a82e;
  --ink-900:   #f2f2f2;
  --ink-700:   #d0d0d0;
  --ink-500:   #9a9a9a;
  --ink-300:   #6a6a6a;
  --footer-bg:          #0a0a0a;
  --footer-text:        #b8b8b8;
  --footer-text-soft:   #7a7a7a;
  --footer-text-strong: #ececec;
  --footer-title:       #f5e285;
  --footer-divider:     rgba(255,255,255,0.06);
  --footer-link-hover:  #f5e285;
  --section-soft-bg:    #1c1c1c;
}
body.theme-dark .rn-partners__link { background: #242424; border-color: rgba(255,255,255,.06); }
body.theme-dark .rn-partners__link:hover { border-color: rgba(245,226,133,.32); box-shadow: 0 10px 28px rgba(0,0,0,.4); }
body.theme-dark .rn-partners__logo { filter: brightness(1.1) grayscale(.1); }

/* NAVY — 네이비 + 골드 (차분한 모던) */
body.theme-navy {
  --cream-100: #f5f7fa;
  --cream-200: #e9edf2;
  --cream-300: #d8dfe7;
  --line:      #d2d8e0;
  --green-900: #0c1e36;
  --green-800: #14304f;
  --green-700: #1e4470;
  --green-600: #2b5b8e;
  --green-500: #4778ad;
  --green-50:  #e3eaf3;
  --gold-600:  #c9a82e;
  --gold-500:  #e0bf3c;
  --gold-400:  #ebcf57;
  --ink-900:   #14213d;
  --ink-700:   #2e3e5c;
  --ink-500:   #5a6b85;
  --ink-300:   #a8b1c1;
  --footer-bg:          #0c1e36;
  --footer-text:        #98a3b8;
  --footer-text-soft:   #6c7790;
  --footer-text-strong: #d8dfe7;
  --footer-title:       #ebcf57;
  --footer-divider:     rgba(255,255,255,0.06);
  --footer-link-hover:  #ebcf57;
  --section-soft-bg:    #ebeef2;
}

/* SAGE — 세이지그린 + 베이지 (자연·차분) */
body.theme-sage {
  --cream-100: #f4f1e8;
  --cream-200: #e9e4d2;
  --cream-300: #d8d2bb;
  --line:      #d1ccb8;
  --green-900: #3a4a37;
  --green-800: #4a5d44;
  --green-700: #607057;
  --green-600: #7b8b6f;
  --green-500: #9aa78a;
  --green-50:  #e8ede1;
  --gold-600:  #a89a4c;
  --gold-500:  #c2b35d;
  --gold-400:  #d4c875;
  --ink-900:   #2a2e25;
  --ink-700:   #4a4e44;
  --ink-500:   #75796d;
  --ink-300:   #b3b6ab;
  --footer-bg:          #3a4a37;
  --footer-text:        #b9c2af;
  --footer-text-soft:   #8e9786;
  --footer-text-strong: #e2e6d8;
  --footer-title:       #d4c875;
  --footer-divider:     rgba(255,255,255,0.08);
  --footer-link-hover:  #d4c875;
  --section-soft-bg:    #ece8db;
}

/* MOCHA — 모카브라운 + 크림 (따뜻하고 깊은) */
body.theme-mocha {
  --cream-100: #f7f0e6;
  --cream-200: #ede2cf;
  --cream-300: #ddccb0;
  --line:      #d4c4a8;
  --green-900: #2d1f15;
  --green-800: #43301f;
  --green-700: #5e442d;
  --green-600: #7d5d3f;
  --green-500: #9a7752;
  --green-50:  #ede0cc;
  --gold-600:  #b88a3e;
  --gold-500:  #d4a455;
  --gold-400:  #e3b96d;
  --ink-900:   #2a1c12;
  --ink-700:   #4d3a2a;
  --ink-500:   #7a6651;
  --ink-300:   #b8a890;
  --footer-bg:          #2d1f15;
  --footer-text:        #b8a48a;
  --footer-text-soft:   #856f59;
  --footer-text-strong: #e8d9bf;
  --footer-title:       #e3b96d;
  --footer-divider:     rgba(255,255,255,0.08);
  --footer-link-hover:  #e3b96d;
  --section-soft-bg:    #ede2cf;
}

/* ROSE — 와인로즈 + 누드 (우아·따스) */
body.theme-rose {
  --cream-100: #faf2ef;
  --cream-200: #f2e3dd;
  --cream-300: #e6cdc2;
  --line:      #e0c5b8;
  --green-900: #4a1e26;
  --green-800: #5e2832;
  --green-700: #793542;
  --green-600: #9a4858;
  --green-500: #b86374;
  --green-50:  #f4dde2;
  --gold-600:  #b8884a;
  --gold-500:  #d4a060;
  --gold-400:  #e2b67a;
  --ink-900:   #2a1b1f;
  --ink-700:   #4d353c;
  --ink-500:   #7d626a;
  --ink-300:   #b8a3ab;
  --footer-bg:          #4a1e26;
  --footer-text:        #c5a7ad;
  --footer-text-soft:   #8a6c72;
  --footer-text-strong: #e8d2d6;
  --footer-title:       #e2b67a;
  --footer-divider:     rgba(255,255,255,0.08);
  --footer-link-hover:  #e2b67a;
  --section-soft-bg:    #f2e3dd;
}

/* MONO — 흑백 + 골드 포인트 (미니멀) */
body.theme-mono {
  --cream-100: #ffffff;
  --cream-200: #f4f4f4;
  --cream-300: #e6e6e6;
  --line:      #d4d4d4;
  --green-900: #0a0a0a;
  --green-800: #1a1a1a;
  --green-700: #262626;
  --green-600: #3a3a3a;
  --green-500: #5a5a5a;
  --green-50:  #ededed;
  --gold-600:  #b89345;
  --gold-500:  #d2ad5a;
  --gold-400:  #e2c277;
  --ink-900:   #0a0a0a;
  --ink-700:   #2a2a2a;
  --ink-500:   #6b6b6b;
  --ink-300:   #b8b8b8;
  --footer-bg:          #0a0a0a;
  --footer-text:        #b0b0b0;
  --footer-text-soft:   #6b6b6b;
  --footer-text-strong: #ffffff;
  --footer-title:       #e2c277;
  --footer-divider:     rgba(255,255,255,0.08);
  --footer-link-hover:  #e2c277;
  --section-soft-bg:    #f4f4f4;
}
