: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); }

.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,.38) 0%, rgba(91,49,153,.18) 24%, transparent 52%),
    radial-gradient(ellipse at 70% 54%, transparent 28%, rgba(172,124,255,.08) 29%, transparent 30%),
    radial-gradient(ellipse at 8% 82%, rgba(90,55,170,.24) 0%, transparent 46%),
    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, .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; }

.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; }

.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; }
.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; }
  .hero { grid-template-columns: 1fr; padding-top: 150px; gap: 55px; }
  body::before, body::after { height: 1110px; }
  .hero-card { max-width: 470px; }
  .about, .experience, .principles { grid-template-columns: 1fr; gap: 45px; }
  .experience-intro h2 span { white-space: normal; }
  .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; }
  .header-cta { padding: 10px 12px; }
  .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, .principles, .expertise { padding-top: 90px; padding-bottom: 95px; }
  .about-body { grid-template-columns: 1fr; gap: 24px; }
  .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; }
  .principles li { grid-template-columns: 48px 1fr; }
  .contact { padding: 90px 0; }
  .contact h2 br { display: none; }
  .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; }
}
