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

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  background: #f8f8f8;
  color: #21201d;
  line-height: 1.6;
  font-size: 17px;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 140px 24px 96px;
}

.name {
  font-size: 3em;
  font-weight: 800;
  color: #77c4d3;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.tagline { font-size: 1.15em; margin-bottom: 12px; }

.bio { color: #7b776b; font-size: 0.95em; }

section { margin-top: 56px; }

h2 {
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b776b;
  margin-bottom: 14px;
}

ul { list-style: none; }
li { margin-bottom: 10px; }
.muted { color: #a09c90; }

a { color: #77c4d3; text-decoration: none; }
a:hover { text-decoration: underline; }

footer {
  margin-top: 96px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
  color: #a09c90;
  font-size: 0.85em;
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding-top: 80px; }
  .name { font-size: 2.4em; }
}

/* ---- language toggle ---- */
[data-lang="en"] [lang="ko"] { display: none; }
[data-lang="ko"] [lang="en"] { display: none; }

.langbar {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 0.8em;
  color: #a09c90;
}
.langbar .sep { margin: 0 6px; }
.lang {
  background: none;
  border: 0;
  padding: 4px 2px;
  font: inherit;
  color: #a09c90;
  cursor: pointer;
  border-radius: 4px;
}
.lang:hover { color: #77c4d3; }
.lang[aria-pressed="true"] { color: #21201d; font-weight: 600; cursor: default; }
.lang:focus-visible { outline: 2px solid #77c4d3; outline-offset: 2px; }

.name.small { font-size: 2em; margin-top: 24px; }
section p { color: #21201d; }

/* Korean: never break inside a word */
[data-lang="ko"] body, [data-lang="ko"] .wrap { word-break: keep-all; overflow-wrap: break-word; }

/* avatar */
.avatar {
  display: block;
  height: 104px;
  width: auto;
  margin: 0 0 20px -4px;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 480px) { .avatar { height: 88px; } }
