/* =============================================
   style.css — Seulkee Oh Portfolio
   ============================================= */

/* --- Google Fonts & SUIT --- */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@200,300,400,500,600,700&display=swap');

:root {
  --bg: #fbfbfb;
  --ink: #1a1a1a;
  --ink2: #5a5a5a;
  --ink3: #aaaaaa;
  --rule: #e2e2e2;
  --accent: #c4829a;
  --peach: #F5DCC8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'SUIT', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* =============================================
   LANGUAGE TOGGLE
   ============================================= */
body.lang-en .ko { display: none !important; }
body.lang-ko .en { display: none !important; }
body:not(.lang-en):not(.lang-ko) .en { display: none !important; }

/* =============================================
   HEADER / NAV
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: none;
  background: rgba(251,251,251,0.97);
  backdrop-filter: blur(6px);
}

.header-name {
  font-family: 'General Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.header-nav a {
  font-family: 'General Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #B2B2B2;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.header-nav a:hover {
  color: #323232;
}

.header-nav a.active {
  font-weight: 600;
  color: #323232;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: all 0.25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 57px; left: 0; right: 0;
  background: rgba(251,251,251,0.99);
  border-bottom: 0.5px solid var(--rule);
  z-index: 199;
  padding: 16px 32px 24px;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'General Sans', sans-serif;
  font-size: 15px;
  color: var(--ink2);
  text-decoration: none;
  font-weight: 400;
  padding: 6px 0;
  border-bottom: 0.5px solid var(--rule);
}

.mobile-menu a.active {
  font-weight: 700;
  color: var(--ink);
}

/* =============================================
   LANGUAGE BUTTON (fixed bottom-right)
   ============================================= */
#lang-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  width: 52px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  font-family: 'General Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

#lang-btn:hover {
  background: var(--ink);
  color: var(--bg);
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  text-align: center;
  padding: 28px 32px;
  font-size: 11px;
  color: var(--ink3);
  border-top: none;
  letter-spacing: 0.04em;
  font-family: 'General Sans', sans-serif;
}

/* =============================================
   PAGE WRAPPER
   ============================================= */
.page-content {
  padding-top: 57px; /* header height */
}

/* =============================================
   SECTION HEADER BAR (reused across pages)
   ============================================= */
.sec-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 14px 32px;
  border-bottom: 0.5px solid var(--rule);
  font-size: 11px;
}

.sec-bar-l {
  font-family: 'General Sans', sans-serif;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

.sec-bar-m {
  color: var(--ink2);
  text-align: center;
}

.sec-bar-r {
  color: var(--ink3);
  text-align: right;
}

/* =============================================
   INDEX — HERO
   ============================================= */
.hero {
  min-height: calc(100vh - 57px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 32px;
  border-bottom: 0.5px solid var(--rule);
}

.hero-meta {
  padding: 40px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 0.5px solid var(--rule);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  gap: 16px;
  align-items: end;
}

.hero-meta-r { text-align: right; }

.hero-main {
  display: flex;
  align-items: flex-end;
  padding: 40px 0;
}

.hero-title {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-bottom {
  padding: 24px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  border-top: 0.5px solid var(--rule);
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.8;
}

/* =============================================
   INDEX — ABOUT
   ============================================= */
.about-section {
  border-bottom: 0.5px solid var(--rule);
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-left {
  padding: 48px 32px;
  border-right: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-quote {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
}

.about-quote em {
  font-style: normal;
  color: var(--accent);
}

.about-text {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.95;
  max-width: 460px;
}

.about-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}

/* Skill labels in about */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 400px;
}

.skill-item {
  padding: 20px;
  border: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-item-label {
  font-family: 'General Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
}

.skill-item-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

/* =============================================
   INDEX — WORK
   ============================================= */
.work-section {
  border-bottom: 0.5px solid var(--rule);
}

.project-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-bottom: 0.5px solid var(--rule);
  min-height: 160px;
}

.project-row:last-child {
  border-bottom: none;
}

.project-left {
  padding: 28px 32px;
  border-right: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-num {
  font-family: 'General Sans', sans-serif;
  font-size: 10px;
  color: var(--ink3);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.project-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 8px;
}

.project-type {
  font-size: 11px;
  color: var(--ink3);
  letter-spacing: 0.04em;
}

.project-right {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-desc {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.9;
  max-width: 640px;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 10px;
  padding: 3px 10px;
  background: #FFF0E8;
  color: #7a5030;
  border-radius: 0;
}

/* =============================================
   CAREER PAGE
   ============================================= */
.career-page {
  padding: 0;
}

.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: calc(100vh - 57px - 57px);
  border-bottom: 0.5px solid var(--rule);
}

.career-col {
  padding: 36px 32px;
  border-right: 0.5px solid var(--rule);
}

.career-col:last-child {
  border-right: none;
}

.career-col-title {
  font-family: 'General Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--rule);
}

/* Col 1 — Work History */
.job-entry {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 0.5px solid var(--rule);
}

.job-entry:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.job-company {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.job-period {
  font-size: 10px;
  color: var(--ink3);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.job-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.job-desc {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.9;
  margin-bottom: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip {
  font-size: 10px;
  padding: 3px 9px;
  background: #FFF0E8;
  color: #7a5030;
  font-weight: 400;
}

.career-contact {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 0.5px solid var(--rule);
}

.career-contact p {
  font-size: 11px;
  color: var(--ink2);
  line-height: 1.8;
}

.career-contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 0.5px solid var(--ink3);
}

/* Col 2 & 3 — Project lists */
.proj-category {
  margin-bottom: 28px;
}

.proj-category-title {
  font-family: 'General Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid var(--rule);
}

.proj-list {
  list-style: none;
  margin-bottom: 0;
}

.proj-list li {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.7;
  padding: 6px 0;
  border-bottom: 0.5px solid #f0f0f0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.proj-list li::before {
  content: "—";
  color: var(--ink3);
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 2px;
}

.proj-list a {
  color: var(--ink2);
  text-decoration: none;
  border-bottom: 0.5px solid var(--rule);
  transition: color 0.15s;
}

.proj-list a:hover {
  color: var(--ink);
}

/* =============================================
   NOTE PAGE
   ============================================= */
.note-page {
  padding: 80px 32px 60px;
  min-height: calc(100vh - 57px - 57px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.note-empty {
  text-align: center;
  color: var(--ink3);
}

.note-empty-label {
  font-family: 'General Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.note-empty-text {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.8;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-page {
  min-height: calc(100vh - 57px - 57px);
  display: flex;
  align-items: center;
  padding: 60px 32px;
}

.contact-inner {
  max-width: 640px;
}

.contact-name {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 48px;
}

.contact-name em {
  font-style: italic;
  color: var(--accent);
}

.contact-line {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--rule);
}

.contact-line:first-of-type {
  border-top: 0.5px solid var(--rule);
}

.contact-label {
  font-family: 'General Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  min-width: 80px;
}

.contact-value {
  font-size: 14px;
  color: var(--ink);
}

.contact-value a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 0.5px solid var(--rule);
  transition: color 0.15s, border-color 0.15s;
}

.contact-value a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  #site-header {
    padding: 16px 20px;
  }

  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
    margin-right: 5px;
  }

  .mobile-menu {
    padding: 16px 20px 20px;
  }

  /* Hero */
  .hero {
    padding: 0 20px;
    min-height: auto;
  }

  .hero-meta {
    padding: 32px 0 16px;
    grid-template-columns: 1fr;
    gap: 4px;
    font-size: 11px;
  }

  .hero-meta-r { text-align: left; }

  .hero-title {
    font-size: clamp(40px, 12vw, 60px);
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0 28px;
  }

  /* About */
  .about-body {
    grid-template-columns: 1fr;
  }

  .about-left {
    padding: 32px 20px;
    border-right: none;
    border-bottom: 0.5px solid var(--rule);
  }

  .about-right {
    padding: 32px 20px;
  }

  .skills-grid {
    max-width: 100%;
  }

  /* Work */
  .project-row {
    grid-template-columns: 1fr;
  }

  .project-left {
    padding: 20px;
    border-right: none;
    border-bottom: 0.5px solid var(--rule);
  }

  .project-right {
    padding: 20px;
  }

  /* Career */
  .career-grid {
    grid-template-columns: 1fr;
  }

  .career-col {
    padding: 28px 20px;
    border-right: none;
    border-bottom: 0.5px solid var(--rule);
  }

  .career-col:last-child {
    border-bottom: none;
  }

  /* Section bar */
  .sec-bar {
    padding: 12px 20px;
    grid-template-columns: 1fr 1fr;
  }

  .sec-bar-m { display: none; }

  /* Contact */
  .contact-page {
    padding: 40px 20px;
  }

  /* Note */
  .note-page {
    padding: 60px 20px;
  }

  #lang-btn {
    bottom: 20px;
    right: 20px;
  }

  #site-footer {
    padding: 22px 20px;
  }
}
