:root {
  --navy: #1b1230;
  --navy-soft: #2b1b46;
  --purple: #7c3aed;
  --ink: #142033;
  --muted: #667085;
  --line: #dfe3e8;
  --paper: #f7f8fa;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transform: translateX(-50%);
}
.brand { font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.brand span { color: #a78bfa; }
.site-header nav { display: flex; gap: 38px; color: #e1dceb; font-size: 14px; font-weight: 600; }
.site-header nav a, .site-footer a { transition: color .2s ease; }
.site-header nav a:hover, .site-footer a:hover { color: var(--white); }
.header-cta { padding: 12px 18px; font-size: 13px; border: 1px solid rgba(255,255,255,.45); }
.menu-toggle { display: none; padding: 10px 0; color: var(--white); background: transparent; border: 0; font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .12em; cursor: pointer; }
.menu-toggle i, .menu-toggle i::before { display: block; width: 20px; height: 1px; background: currentColor; transition: transform .25s ease; }
.menu-toggle i { position: relative; margin-left: 10px; }
.menu-toggle i::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] i { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::before { transform: translateY(-6px) rotate(-90deg); }
.mobile-menu { position: absolute; z-index: 9; top: 92px; left: 0; width: 100%; padding: 18px 24px 28px; color: var(--white); background: rgba(16,10,30,.97); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 50px rgba(5,2,12,.3); backdrop-filter: blur(18px); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; font-weight: 600; letter-spacing: .08em; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a span { color: #a78bfa; font-size: 10px; }
body.menu-open { overflow: hidden; }

.hero {
  min-height: 760px;
  padding-top: 178px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1.5fr .72fr;
  gap: 48px;
  align-items: center;
  color: var(--white);
}
body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 760px;
  background:
    radial-gradient(circle at 87% 24%, rgba(242,232,255,.2) 0%, rgba(178,132,255,.08) 5%, transparent 13%),
    radial-gradient(ellipse at 82% 30%, rgba(145,92,246,.3) 0%, rgba(91,49,153,.12) 30%, transparent 64%),
    radial-gradient(ellipse at 70% 54%, transparent 34%, rgba(172,124,255,.035) 36%, transparent 40%),
    radial-gradient(ellipse at 8% 82%, rgba(90,55,170,.17) 0%, transparent 58%),
    radial-gradient(circle at 52% 12%, rgba(86,54,135,.15) 0%, transparent 30%),
    linear-gradient(125deg, #100a1e 0%, #1d1133 45%, #2c1948 100%);
  background-size: 110% 110%;
  animation: nebula-drift 18s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 760px;
  opacity: .82;
  background-image:
    radial-gradient(circle at 7% 21%, rgba(255,255,255,.85) 0 1px, transparent 1.5px),
    radial-gradient(circle at 17% 58%, rgba(216,201,255,.65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 29% 13%, rgba(255,255,255,.7) 0 1.5px, transparent 2px),
    radial-gradient(circle at 39% 72%, rgba(255,255,255,.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 51% 25%, rgba(217,196,255,.6) 0 1px, transparent 1.5px),
    radial-gradient(circle at 63% 66%, rgba(255,255,255,.75) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 12%, rgba(255,255,255,.85) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 83% 58%, rgba(225,210,255,.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 92% 22%, rgba(255,255,255,.75) 0 1px, transparent 1.5px),
    radial-gradient(circle at 96% 79%, rgba(211,191,255,.58) 0 1px, transparent 1.5px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  pointer-events: none;
  animation: starlight 6s ease-in-out infinite alternate;
}
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 28px; color: #c4b5fd; font-size: 12px; font-weight: 600; letter-spacing: .13em; }
.eyebrow span { width: 28px; height: 1px; background: #a78bfa; }
.hero h1 { margin: 0; font-size: clamp(43px, 5vw, 68px); line-height: 1.23; letter-spacing: -.055em; font-weight: 500; word-break: keep-all; }
.hero h1 strong { color: #c4b5fd; font-weight: 500; }
.hero-description { max-width: 635px; margin: 30px 0 0; color: #b9c2cf; font-family: "Noto Sans KR", sans-serif; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; gap: 34px; align-items: center; margin-top: 42px; }
.button { display: inline-flex; gap: 32px; align-items: center; padding: 17px 22px; font-size: 14px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--purple); color: var(--white); }
.text-link { padding: 14px 0 9px; border-bottom: 1px solid rgba(255,255,255,.4); color: #d7dce4; font-size: 14px; }
.text-link span { margin-left: 10px; }
.hero-card { position: relative; padding: 34px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035)); border: 1px solid rgba(211,187,255,.22); box-shadow: 0 28px 70px rgba(5,2,12,.3), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.profile-photo { position: relative; width: 100%; height: 250px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: #d0cccd; box-shadow: 0 18px 40px rgba(5,2,12,.2); }
.profile-photo::after { content: ""; position: absolute; inset: 0; background: rgba(72,40,112,.08); pointer-events: none; }
.profile-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: saturate(.9) contrast(.97); }
.profile-status { display: flex; gap: 9px; align-items: center; justify-content: center; padding: 22px 0; color: #bfc7d3; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 12px; text-align: center; }
.profile-status span { width: 7px; height: 7px; background: #57bf8a; border-radius: 50%; box-shadow: 0 0 0 4px rgba(87,191,138,.11); }
.profile-meta > div { display: grid; grid-template-columns: 68px 1fr; margin-top: 18px; }
.profile-meta span { color: #6f7e94; font-size: 10px; letter-spacing: .12em; }
.profile-meta strong { color: #dfe4ec; font-size: 12px; font-weight: 500; }

.statement { padding: 110px 0; text-align: center; background: var(--paper); }
.statement p { margin: 0; color: #25334a; font-family: "Noto Sans KR", sans-serif; font-size: clamp(25px, 3vw, 38px); font-weight: 500; line-height: 1.65; letter-spacing: -.035em; }
.about, .experience, .articles, .principles { padding-top: 130px; padding-bottom: 140px; display: grid; grid-template-columns: 240px 1fr; gap: 60px; }
.section-label { display: flex; gap: 16px; color: #697387; font-size: 11px; font-weight: 600; letter-spacing: .16em; }
.section-label span { color: var(--purple); }
.about-content .lead { margin: -9px 0 58px; color: #17243a; font-family: "Noto Sans KR", sans-serif; font-size: clamp(28px, 3.2vw, 43px); font-weight: 600; line-height: 1.55; letter-spacing: -.04em; }
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: 15px; line-height: 1.9; }
.about-body p { margin: 0; }
.current-work { display: grid; grid-template-columns: 1fr 1.5fr; gap: 55px; margin-top: 58px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.current-work div { display: grid; gap: 12px; }
.current-work span { color: var(--purple); font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.current-work strong { color: #17243a; font-family: "Noto Sans KR", sans-serif; font-size: 17px; font-weight: 600; }
.current-work p { margin: 0; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: 14px; line-height: 1.85; }

.expertise { padding: 130px 0 140px; color: var(--white); background: var(--navy); }
.section-label.light { color: #8290a5; }
.expertise-intro { margin: 30px 0 65px 300px; }
.expertise-intro h2, .principles h2, .contact h2 { margin: 0; font-family: "Noto Sans KR", sans-serif; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.5; letter-spacing: -.045em; word-break: keep-all; }
.expertise-intro p { max-width: 720px; margin: 24px 0 0; color: #8f9bad; font-family: "Noto Sans KR", sans-serif; font-size: 14px; line-height: 1.75; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #2b3546; border-bottom: 1px solid #2b3546; }
.expertise-card { min-height: 340px; padding: 35px 34px 32px; border-right: 1px solid #2b3546; }
.expertise-card:last-child { border: 0; }
.card-number { color: #9b7bd4; font-size: 11px; }
.expertise-card h3 { margin: 85px 0 18px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.expertise-card p { min-height: 75px; margin: 0; color: #919cad; font-family: "Noto Sans KR", sans-serif; font-size: 14px; line-height: 1.8; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 29px; }
.tags span { padding: 7px 10px; color: #92a2bb; background: #162238; font-size: 10px; letter-spacing: .04em; }

.experience { border-bottom: 1px solid var(--line); }
.experience-intro { margin: -10px 0 65px; }
.experience-intro h2 { margin: 0; color: #17243a; font-family: "Noto Sans KR", sans-serif; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.5; letter-spacing: -.045em; word-break: keep-all; }
.experience-intro h2 span { display: block; white-space: nowrap; }
.experience-intro p { max-width: 720px; margin: 28px 0 0; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: 15px; line-height: 1.9; }
.career-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.career-list li { min-height: 180px; padding: 30px 32px 28px 0; border-bottom: 1px solid var(--line); }
.career-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.career-list li:nth-child(even) { padding-left: 32px; }
.career-company { display: block; margin-bottom: 38px; color: var(--purple); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.career-list strong { display: block; color: #17243a; font-family: "Noto Sans KR", sans-serif; font-size: 18px; font-weight: 600; }
.career-list p { margin: 9px 0 0; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: 13px; }
.education { display: grid; grid-template-columns: 160px 1fr; padding-top: 38px; }
.education > span { padding-top: 4px; color: var(--purple); font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.education div { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.education p { margin: 0; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: 13px; }
.education strong { margin-right: 7px; color: #17243a; font-weight: 600; }

.articles { border-bottom: 1px solid var(--line); background: var(--white); }
.articles-intro { margin: -10px 0 54px; }
.articles-intro h2 { margin: 0; color: #17243a; font-family: "Noto Sans KR", sans-serif; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.5; word-break: keep-all; }
.articles-intro p { max-width: 720px; margin: 26px 0 0; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: 15px; line-height: 1.9; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-card { min-height: 430px; padding: 32px 34px 30px 0; border-right: 1px solid var(--line); }
.article-card:nth-child(even) { padding-left: 34px; padding-right: 0; border-right: 0; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--purple); font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.article-meta time { color: #8b95a6; font-weight: 500; letter-spacing: 0; }
.article-card h3 { margin: 52px 0 22px; color: #17243a; font-family: "Noto Sans KR", sans-serif; font-size: 24px; font-weight: 600; line-height: 1.45; }
.article-card p { margin: 0 0 16px; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: 14px; line-height: 1.85; }
.article-card p:last-of-type { margin-bottom: 0; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.article-tags span { padding: 7px 10px; color: #5b21b6; background: #f1ecff; font-size: 10px; font-weight: 600; }
.article-link, .articles-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--purple); font-size: 13px; font-weight: 600; }
.article-link span, .articles-more span { transition: transform .2s ease; }
.article-link:hover span, .articles-more:hover span { transform: translateX(4px); }
.articles-more { margin-top: 34px; }

.page-simple::before, .page-simple::after { display: none; }
.page-simple .site-header { position: relative; left: auto; margin: 0 auto; transform: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.page-simple .site-header nav { color: #4b5563; }
.page-simple .site-header nav a:hover, .page-simple .site-footer a:hover { color: var(--purple); }
.page-simple .header-cta { border-color: #d8dce6; color: var(--ink); }
.page-simple .menu-toggle { color: var(--ink); }
.article-hero { padding-top: 92px; padding-bottom: 78px; }
.article-hero .eyebrow { color: var(--purple); }
.article-hero h1 { max-width: 880px; margin: 0; color: #17243a; font-family: "Noto Sans KR", sans-serif; font-size: clamp(38px, 5vw, 60px); line-height: 1.35; letter-spacing: -.045em; word-break: keep-all; }
.article-hero p { max-width: 760px; margin: 28px 0 0; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: 16px; line-height: 1.9; }
.article-page-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 32px; color: #7a8494; font-size: 12px; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; padding-bottom: 130px; }
.article-aside { color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-aside a { display: inline-flex; margin-top: 18px; color: var(--purple); font-weight: 600; }
.article-body { max-width: 780px; }
.article-body h2 { margin: 0 0 20px; color: #17243a; font-family: "Noto Sans KR", sans-serif; font-size: 28px; line-height: 1.45; letter-spacing: -.03em; }
.article-body h2:not(:first-child) { margin-top: 62px; }
.article-body p { margin: 0 0 20px; color: #4f5b6f; font-family: "Noto Sans KR", sans-serif; font-size: 16px; line-height: 1.95; }
.article-body ul, .article-body ol { margin: 20px 0 0; padding-left: 20px; color: #4f5b6f; font-family: "Noto Sans KR", sans-serif; font-size: 15px; line-height: 1.9; }
.article-body li { margin: 8px 0; }
.article-callout { margin: 40px 0; padding: 28px 30px; background: var(--paper); border-left: 3px solid var(--purple); color: #25334a; font-family: "Noto Sans KR", sans-serif; font-size: 16px; line-height: 1.8; }
.article-back { display: inline-flex; align-items: center; gap: 10px; margin-top: 64px; color: var(--purple); font-size: 13px; font-weight: 600; transition: transform .2s ease; }
.article-back:hover { transform: translateX(-4px); }
.article-list { padding-top: 92px; padding-bottom: 130px; }
.article-list-head { margin-bottom: 58px; }
.article-list-head h1 { margin: 0; color: #17243a; font-family: "Noto Sans KR", sans-serif; font-size: clamp(38px, 5vw, 58px); line-height: 1.35; letter-spacing: -.045em; }
.article-list-head p { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: 16px; line-height: 1.9; }
.principles-content h2 { margin: -10px 0 65px; color: #17243a; }
.principles ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 90px 1fr; padding: 30px 0; border-bottom: 1px solid var(--line); }
.principles li > span { color: var(--purple); font-size: 11px; }
.principles strong { font-family: "Noto Sans KR", sans-serif; font-size: 18px; font-weight: 600; }
.principles li p { margin: 10px 0 0; color: var(--muted); font-family: "Noto Sans KR", sans-serif; font-size: 14px; line-height: 1.7; }

.contact { padding: 125px 0; text-align: center; color: var(--white); background: var(--purple); }
.contact .eyebrow { justify-content: center; color: #ede9fe; }
.contact .eyebrow span { background: #ede9fe; }
.contact h2 { font-size: clamp(34px, 4vw, 52px); }
.contact p { margin: 24px 0 35px; color: #ede9fe; font-family: "Noto Sans KR", sans-serif; font-size: 15px; }
.button-light { color: #5b21b6; background: var(--white); }
.contact small { display: block; margin-top: 14px; color: rgba(255,255,255,.55); font-size: 10px; }
.mobile-inline-gap { display: none; }
.site-footer { height: 110px; padding: 0 max(24px, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; color: #788397; background: var(--navy); font-size: 11px; }
.site-footer .brand { color: var(--white); font-size: 18px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes nebula-drift {
  from { background-position: 0% 0%; }
  to { background-position: 4% 2%; }
}

@keyframes starlight {
  from { opacity: .6; }
  to { opacity: .9; }
}

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .menu-toggle { display: flex; align-items: center; }
  .hero { grid-template-columns: 1fr; padding-top: 150px; gap: 55px; }
  body::before, body::after { height: 1110px; }
  body::before {
    background:
      radial-gradient(ellipse 105% 18% at 86% 34%, rgba(226,208,255,.1) 0%, rgba(166,116,245,.04) 34%, transparent 76%),
      radial-gradient(ellipse 145% 30% at 76% 40%, rgba(132,79,224,.19) 0%, rgba(83,43,145,.08) 42%, transparent 82%),
      radial-gradient(ellipse 130% 27% at 5% 84%, rgba(83,48,157,.12) 0%, transparent 78%),
      linear-gradient(155deg, #100a1e 0%, #1d1133 50%, #2c1948 100%);
    background-size: 100% 100%;
  }
  .hero-card { max-width: 470px; }
  .about, .experience, .articles, .principles { grid-template-columns: 1fr; gap: 45px; }
  .experience-intro h2 span { white-space: normal; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card, .article-card:nth-child(even) { min-height: auto; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .article-card:last-child { border-bottom: 0; }
  .article-card h3 { margin-top: 38px; }
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .expertise-intro { margin-left: 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: auto; border-right: 0; border-bottom: 1px solid #2b3546; }
  .expertise-card h3 { margin-top: 45px; }
  .expertise-card p { min-height: auto; }
}

@media (max-width: 600px) {
  .section-shell, .site-header { width: min(100% - 32px, 1180px); }
  .site-header { height: 76px; }
  .mobile-menu { top: 76px; }
  .page-simple .site-header { width: min(100% - 32px, 1180px); }
  .page-simple .mobile-menu { color: var(--white); }
  .header-cta { display: none; }
  .hero { min-height: auto; padding-top: 125px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(34px, 10vw, 39px); line-height: 1.3; }
  .hero-description { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-card { padding: 22px; }
  body::before, body::after { height: 1100px; }
  .statement { padding: 80px 0; }
  .statement p br { display: none; }
  .about, .experience, .articles, .principles, .expertise { padding-top: 90px; padding-bottom: 95px; }
  .about-body { grid-template-columns: 1fr; gap: 24px; }
  .current-work { grid-template-columns: 1fr; gap: 22px; }
  .expertise-intro { margin-top: 40px; }
  .expertise-card { padding-left: 0; padding-right: 0; }
  .career-list { grid-template-columns: 1fr; }
  .career-list li, .career-list li:nth-child(even) { min-height: auto; padding: 25px 0; border-right: 0; }
  .career-company { margin-bottom: 24px; }
  .education { grid-template-columns: 1fr; gap: 20px; }
  .education div { display: grid; gap: 12px; }
  .article-hero { padding-top: 70px; padding-bottom: 56px; }
  .article-list { padding-top: 70px; padding-bottom: 95px; }
  .article-body h2:not(:first-child) { margin-top: 48px; }
  .article-back { margin-top: 52px; }
  .principles li { grid-template-columns: 48px 1fr; }
  .contact { padding: 90px 0; }
  .contact h2 br { display: none; }
  .mobile-inline-gap { display: inline; }
  .mobile-inline-gap::before { content: " "; }
  .site-footer { height: auto; padding-top: 34px; padding-bottom: 34px; flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  body::before, body::after { animation: none; }
}
