:root {
  --night: #0c1128;
  --night-2: #141a33;
  --night-3: #1c2446;
  --ink: #ece8df;
  --ink-dim: #a9adc4;
  --gold: #d6b46c;
  --moon: #6f9bff;
  --sun: #ffa04a;
  --line: rgba(236, 232, 223, 0.12);
  --radius: 18px;
  --max: 1080px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: "Noto Sans KR", "Noto Sans JP", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
:lang(ja) body, body:lang(ja) { font-family: "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 32%, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 58%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 26%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 88%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 52%, #fff6 50%, transparent 51%),
    radial-gradient(1200px 700px at 50% -10%, #1d2a5c 0%, transparent 70%),
    var(--night);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(12, 17, 40, 0.72);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.logo span { color: var(--gold); }
.langs { display: flex; gap: 4px; flex-shrink: 0; }
.langs button { white-space: nowrap; }
.langs .short { display: none; }
.langs button {
  font: inherit; font-size: 13px; color: var(--ink-dim);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 10px; cursor: pointer;
}
.langs button[aria-pressed="true"] { color: var(--night); background: var(--gold); border-color: var(--gold); }

.hero { padding-top: 72px; padding-bottom: 56px; text-align: center; }
.hero h1 { font-size: clamp(40px, 8vw, 76px); margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
.hero .tag { color: var(--ink-dim); margin: 14px auto 0; max-width: 560px; font-size: clamp(15px, 2.4vw, 18px); }
.twins { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 4vw, 40px); max-width: 620px; margin: 44px auto 0; }
.twin { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night-2); border: 1px solid var(--line); }
.twin img { width: 100%; aspect-ratio: 270 / 343; object-fit: cover; }
.twin::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(12,17,40,0.92)); }
.twin.moon { box-shadow: 0 0 60px -10px var(--moon); }
.twin.sun { box-shadow: 0 0 60px -10px var(--sun); }
.twin .name { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 1; font-weight: 700; font-size: clamp(16px, 3vw, 20px); }
.twin.moon .name { color: #b9cdff; }
.twin.sun .name { color: #ffd2a6; }
.ask { margin-top: 36px; font-size: clamp(20px, 4vw, 30px); font-weight: 700; }
.cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 12px 22px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 800; text-decoration: none; }
.cta:hover { filter: brightness(1.08); }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 18px; }
section p { color: var(--ink-dim); margin: 0 0 12px; }
.lead { color: var(--ink); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; font-size: 15px; }
.num { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; }

.profiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.profile { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.profile img { width: 96px; height: 300px; object-fit: cover; object-position: top; border-radius: 12px; }
.profile.moon { border-color: rgba(111, 155, 255, 0.4); }
.profile.sun { border-color: rgba(255, 160, 74, 0.4); }
.profile .quote { color: var(--ink); font-style: italic; margin-top: 8px; }
.profile.moon h3 { color: #b9cdff; }
.profile.sun h3 { color: #ffd2a6; }

.episodes .soon { display: flex; gap: 14px; align-items: center; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); }
.vs { font-weight: 800; }
.vs .m { color: #b9cdff; }
.vs .s { color: #ffd2a6; }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.contact a.btn { display: inline-block; margin-top: 12px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; font-weight: 700; font-size: 14px; }

footer { padding: 36px 0 56px; border-top: 1px solid var(--line); color: var(--ink-dim); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }

.doc { padding-top: 48px; padding-bottom: 24px; }
.doc h1 { font-size: clamp(26px, 5vw, 36px); margin: 0 0 6px; }
.doc .meta { color: var(--ink-dim); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 19px; margin: 28px 0 8px; }
.doc p, .doc li { color: #cfd1de; font-size: 15.5px; }
.doc ul { padding-left: 20px; }
.doc .box { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }

[data-lang-block] { display: none; }
[data-lang-block].on { display: block; }

@media (max-width: 520px) {
  .hero { padding-top: 48px; }
  .logo { font-size: 17px; }
  .langs .long { display: none; }
  .langs .short { display: inline; }
  .langs button { padding: 4px 9px; }
  .profile { grid-template-columns: 72px 1fr; }
  .profile img { width: 72px; height: 220px; }
}

/* 첫 화면: 선택의 딜레마 + 최신 에피소드 (2026-11-14) */
.hero .eyebrow { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.18em; color: var(--gold); font-weight: 700; }
.hero h1.dilemma { font-size: clamp(26px, 5.2vw, 46px); line-height: 1.32; letter-spacing: -0.01em; }
.choices { display: flex; align-items: stretch; justify-content: center; gap: 12px; margin: 22px auto 0; max-width: 620px; }
.choice { flex: 1; border-radius: var(--radius); padding: 14px 16px; text-align: left; background: var(--night-2); border: 1px solid var(--line); }
.choice .who { display: block; font-size: 12px; color: var(--ink-dim); }
.choice strong { display: block; font-size: clamp(16px, 2.6vw, 20px); line-height: 1.35; }
.choice.moon { border-color: rgba(111, 155, 255, 0.55); box-shadow: inset 0 0 40px rgba(111, 155, 255, 0.12); }
.choice.moon strong { color: #b9cdff; }
.choice.sun { border-color: rgba(255, 160, 74, 0.55); box-shadow: inset 0 0 40px rgba(255, 160, 74, 0.12); }
.choice.sun strong { color: #ffd2a6; }
.choices .vs { align-self: center; color: var(--gold); font-weight: 800; }
.latest { display: block; max-width: 620px; margin: 22px auto 0; text-decoration: none; }
.thumbbox { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.thumbbox img { width: 100%; height: auto; transition: transform 0.4s ease; }
.latest:hover .thumbbox img { transform: scale(1.02); }
.play { position: absolute; right: 16px; bottom: 16px; width: 64px; height: 64px; border-radius: 50%; background: rgba(12, 17, 40, 0.72); border: 2px solid var(--gold); }
.play::after { content: ""; position: absolute; left: 25px; top: 19px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent var(--gold); }
.latest-text { display: block; margin-top: 10px; font-weight: 700; }
.ep-card { text-decoration: none; }
.episodes .ep-card { align-items: flex-start; }
.ep-thumb { width: 220px; flex-shrink: 0; border-radius: 12px; }
@media (max-width: 640px) {
  .choices { flex-direction: column; }
  .choices .vs { margin: -2px 0; }
  .episodes .ep-card { flex-direction: column; }
  .ep-thumb { width: 100%; }
}

.contact.single { grid-template-columns: 1fr; max-width: 620px; }
