/* ============================================================
   RESUME + ABOUT — shared styles
   Figma design: black bg, sidebar (intro+contact) + main content
   Fonts: Schibsted Grotesk (sans), Geist (mono-ish for descriptions)
   ============================================================ */

.page-resume,
.page-about {
  font-family: 'Schibsted Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #000;
  color: #fff;
  letter-spacing: -0.005em;
  line-height: 1.4;
  min-height: 100vh;
}

/* Korean — slightly tighter line height + Pretendard fallback */
.page-resume[data-lang="kr"],
.page-about[data-lang="kr"] {
  font-family: 'Pretendard', 'Pretendard Variable', 'Schibsted Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

/* ============================================================
   TOP BAR (NAV)
   ============================================================ */
.ra-nav {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  padding: 50px clamp(28px, 6vw, 100px) 26px;
  gap: 32px;
}

.ra-nav__brand {
  display: flex;
  flex-direction: column;
}

.ra-nav__name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
}

.ra-nav__role {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.04em;
  color: #fff;
  margin-top: 0;
}

.ra-nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ra-nav__link {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.ra-nav__link:hover {
  opacity: 0.65;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-toggle__btn {
  background: transparent;
  border: 0;
  padding: 4px 6px;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  border-radius: 100px;
  transition: color 200ms ease, background 200ms ease;
}

.lang-toggle__btn:hover {
  color: rgba(255,255,255,0.85);
}

.lang-toggle__btn.is-active {
  color: #000;
  background: #fff;
}

.lang-toggle__sep {
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}

/* Top divider — full-width hairline */
.ra-divider {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin: 0 clamp(28px, 6vw, 100px);
}

/* ============================================================
   MAIN LAYOUT — sidebar + content
   ============================================================ */
.ra-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 7vw, 100px);
  padding: 80px clamp(28px, 6vw, 100px) 200px;
  max-width: 1440px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .ra-main {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 50px;
  }
}

/* ── SIDEBAR (left) ── */
.ra-sidebar {
  position: sticky;
  top: 40px;
  align-self: start;
}

@media (max-width: 900px) {
  .ra-sidebar { position: static; }
}

.ra-intro {
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  max-width: 320px;
}

.page-resume[data-lang="kr"] .ra-intro,
.page-about[data-lang="kr"] .ra-intro {
  line-height: 1.65;
}

.ra-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ra-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.ra-contact__link:hover {
  opacity: 0.65;
}

.ra-contact__link--plain {
  font-weight: 400;
}

.ra-arrow {
  font-size: 10px;
  font-family: 'Reddit Sans', 'Schibsted Grotesk', sans-serif;
  font-weight: 600;
  margin-left: 2px;
}

/* ============================================================
   CONTENT (right side)
   ============================================================ */
.ra-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.ra-section {
  display: block;
}

.ra-section__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.75);
  margin: 0 0 6px;
  text-transform: none;
}

.ra-section__rule {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin: 0 0 32px;
}

/* ============================================================
   JOB ENTRIES (Experience)
   ============================================================ */
.ra-job {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(20px, 4vw, 50px);
  padding-bottom: 50px;
  margin-bottom: 0;
}

.ra-job + .ra-job {
  padding-top: 0;
}

@media (max-width: 720px) {
  .ra-job { grid-template-columns: 1fr; gap: 16px; }
}

.ra-job__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ra-job__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 4px;
}

.ra-job__company,
.ra-job__date,
.ra-job__location {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.ra-job__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Geist', 'Schibsted Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.92);
}

.page-resume[data-lang="kr"] .ra-job__bullets,
.page-about[data-lang="kr"] .ra-job__bullets {
  font-family: 'Pretendard', 'Pretendard Variable', 'Geist', sans-serif;
  line-height: 1.7;
}

.ra-job__bullets li {
  position: relative;
  padding-left: 18px;
}

.ra-job__bullets li::before {
  content: '·';
  position: absolute;
  left: 4px;
  top: -2px;
  font-size: 22px;
  line-height: 1;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   SKILLS
   ============================================================ */
.ra-skills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
}

.ra-skills li {
  font-size: 16px;
}

@media (max-width: 720px) {
  .ra-skills { grid-template-columns: 1fr; }
}

/* ============================================================
   EDUCATION
   ============================================================ */
.ra-edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 50px);
}

@media (max-width: 720px) {
  .ra-edu-grid { grid-template-columns: 1fr; gap: 32px; }
}

.ra-edu p {
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.ra-edu__school {
  font-weight: 400;
  color: #fff;
}

.ra-edu__major {
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px !important;
}

.ra-edu__year {
  color: rgba(255,255,255,0.75);
}

.ra-edu__honor {
  color: rgba(255,255,255,0.75);
}

.ra-edu__detail {
  color: rgba(255,255,255,0.65);
  margin-top: 4px !important;
}

/* ============================================================
   ABOUT — narrative
   ============================================================ */
.ra-content--narrative {
  max-width: 760px;
}

.ra-narrative {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: rgba(255,255,255,0.92);
}

.ra-narrative p {
  margin: 0 0 28px;
}

.ra-narrative p:last-child {
  margin-bottom: 0;
}

.page-about[data-lang="kr"] .ra-narrative {
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

/* ============================================================
   CONTACT CTA
   ============================================================ */
.ra-cta {
  margin-top: 60px;
}

.ra-cta__link {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: opacity 200ms ease;
}

.ra-cta__link:hover {
  opacity: 0.65;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .ra-nav {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 20px 20px;
  }
  .ra-nav__name,
  .ra-nav__role,
  .ra-nav__link {
    font-size: 18px;
  }
  .ra-nav__right {
    gap: 16px;
    flex-wrap: wrap;
  }
  .ra-divider { margin: 0 20px; }
  .ra-main { padding: 40px 20px 100px; }
  .ra-narrative { font-size: 18px; }
  .ra-cta__link { font-size: 20px; }
}
