@font-face {
  font-family: 'NotoSansKR';
  src: url(/assets/fonts/NotoSansKR-Regular.otf);
}

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg:      #07071a;
  --surface: rgba(255,255,255,0.04);
  --border:  rgba(255,255,255,0.08);
  --primary: #2563eb;
  --sky:     #0ea5e9;
  --text:    #f8fafc;
  --muted:   #94a3b8;
  --dim:     #475569;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'NotoSansKR', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* orbs */
.orb {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.orb-1 {
  top: -15%; left: -10%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
}
.orb-2 {
  bottom: -15%; right: -10%; width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(14,165,233,0.07) 0%, transparent 70%);
}

/* page */
.page {
  position: relative; z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* header */
.r-header {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.r-profile {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.r-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.4);
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(37,99,235,0.1);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.r-avatar img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.r-avatar-init {
  font-family: 'Sora', sans-serif;
  font-size: 36px; font-weight: 800;
  color: #2563eb;
}
.r-name {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.r-name-en {
  font-size: 0.55em; font-weight: 600;
  color: var(--muted); letter-spacing: 0.02em;
}
.r-title {
  font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-top: 4px;
}
.r-contact {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 10px;
}
.r-contact a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.r-contact a:hover { color: #60a5fa; }

/* main */
.r-main { display: flex; flex-direction: column; gap: 40px; }

/* section */
.r-section { display: flex; flex-direction: column; gap: 20px; }
.r-section-title {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.r-section-title i { color: var(--primary); font-size: 12px; }

.r-bio {
  font-size: 15px; color: var(--muted); line-height: 1.75;
}

/* timeline */
.r-timeline {
  display: flex; flex-direction: column; gap: 28px;
  position: relative;
  padding-left: 20px;
}
.r-timeline::before {
  content: '';
  position: absolute; top: 8px; left: 5px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, #2563eb, transparent);
}
.r-tl-item {
  position: relative;
  display: flex; gap: 20px;
}
.r-tl-dot {
  position: absolute; left: -20px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.3);
  flex-shrink: 0;
}
.r-tl-content { flex: 1; }
.r-tl-header {
  display: flex; align-items: baseline;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 4px;
}
.r-company {
  font-size: 16px; font-weight: 700;
  color: var(--text);
}
.r-period {
  font-size: 12px; font-weight: 500;
  color: var(--dim);
  letter-spacing: 0.04em;
}
.r-role {
  font-size: 13px; font-weight: 600;
  color: #60a5fa; margin-bottom: 10px;
}
.r-works {
  list-style: none;
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 12px;
}
.r-works li {
  font-size: 14px; color: var(--muted);
  display: flex; align-items: baseline; gap: 8px;
}
.r-works li::before { content: '–'; color: var(--dim); flex-shrink: 0; }

.r-link {
  font-size: 12px; font-weight: 600;
  color: #60a5fa !important;
  display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 1px solid rgba(96,165,250,0.3);
  transition: border-color 0.2s;
}
.r-link:hover { border-color: #60a5fa; }
.r-link i { font-size: 10px; }

/* skills */
.r-skills { display: flex; flex-direction: column; gap: 16px; }
.r-skill-group { display: flex; flex-direction: column; gap: 8px; }
.r-skill-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim);
}

/* chips */
.r-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px; font-weight: 600;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  color: #93c5fd;
  letter-spacing: 0.02em;
}
