/* KoVox v2 — Bold dark, salmon-coral, kinetic */

:root {
  --bg: #2a2826;
  --bg-deep: #1f1d1b;
  --bg-soft: #36332f;
  --ink: #f4ede2;
  --ink-soft: #a8a098;
  --coral: #f57b6b;
  --coral-deep: #d85a4a;
  --rule: #4a4541;
}

html, body { margin: 0; padding: 0; background: var(--bg-deep); color: var(--ink); }
body { font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; }

.kv2 * { box-sizing: border-box; }
.kv2 {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard', 'Inter', sans-serif;
  letter-spacing: -0.005em;
}
.kv2 .display {
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.kv2 .display-kr {
  font-family: 'Pretendard', sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.kv2 .mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0;
}
.kv2 .coral { color: var(--coral); }
.kv2 .ink-soft { color: var(--ink-soft); }
.kv2 .rule-line { background: var(--rule); height: 1px; width: 100%; }
.kv2 .hairline { border-top: 1px solid var(--rule); }
.kv2 .hairline-b { border-bottom: 1px solid var(--rule); }
.kv2 .placeholder {
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-deep));
  border: 1px dashed var(--rule);
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* Buttons */
.kv2-btn {
  background: var(--coral);
  color: var(--bg-deep);
  border: none;
  padding: 18px 32px;
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s;
}
.kv2-btn:hover { transform: translateY(-2px); }
.kv2-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 18px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Kinetic landing animation */
@keyframes kv-fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes kv-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes kv-slide-left {
  from { opacity: 0; transform: translateX(-100px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes kv-slide-right {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes kv-scale-in {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

.kv-hero-stage {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}
.kv-hero-step {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  opacity: 0;
}
.kv-hero-step.active { opacity: 1; }

.kv-hero-step-1 .ko, .kv-hero-step-1 .vox {
  font-size: 280px; font-weight: 900; line-height: 0.85;
  font-family: 'Archivo Black', sans-serif;
  letter-spacing: -0.04em;
}
.kv-hero-step-1.active .ko { animation: kv-slide-left 0.7s cubic-bezier(.2,.7,.2,1) both; }
.kv-hero-step-1.active .vox {
  animation: kv-slide-right 0.7s cubic-bezier(.2,.7,.2,1) 0.2s both;
  color: var(--coral);
}

.kv-hero-step-2 .label-row {
  display: flex; align-items: baseline; gap: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; color: var(--ink-soft);
  margin-bottom: 32px;
}
.kv-hero-step-2.active .label-row { animation: kv-fade-in 0.5s both; }
.kv-hero-step-2 .word { font-size: 220px; font-family: 'Archivo Black', sans-serif; line-height: 0.85; letter-spacing: -0.04em; }
.kv-hero-step-2 .meaning { font-size: 80px; color: var(--coral); font-family: 'Pretendard', sans-serif; font-weight: 900; letter-spacing: -0.04em; }
.kv-hero-step-2.active .word { animation: kv-fade-up 0.6s both; }
.kv-hero-step-2.active .meaning { animation: kv-fade-up 0.6s 0.3s both; }

.kv-hero-step-3 .stack { text-align: center; }
.kv-hero-step-3 .top { font-size: 220px; font-family: 'Archivo Black', sans-serif; line-height: 0.85; letter-spacing: -0.04em; }
.kv-hero-step-3 .top .vox-c { color: var(--coral); }
.kv-hero-step-3 .tag { font-size: 28px; font-family: 'Pretendard', sans-serif; font-weight: 500; margin-top: 32px; letter-spacing: -0.02em; }
.kv-hero-step-3.active .top { animation: kv-scale-in 0.6s cubic-bezier(.2,.7,.2,1) both; }
.kv-hero-step-3.active .tag { animation: kv-fade-up 0.5s 0.4s both; }

/* Detail page: interactive link hover */
.kv2 .kv-link {
  transition: transform 0.15s ease, color 0.15s ease;
  display: inline-block;
}
.kv2 .kv-link:hover {
  transform: scale(1.03);
  color: var(--coral) !important;
}
