@charset "UTF-8";

:root {
  --ink: #16211f;
  --muted: #6f7d78;
  --line: #d8e0db;
  --paper: #f5f7f2;
  --accent: #d5ef67;
  --accent-deep: #84a735;
  --warm: #f1dfcb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  top: -20rem;
  right: -13rem;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: var(--warm);
  content: "";
  opacity: .7;
}

.page-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}

.brand span,
em {
  color: var(--accent-deep);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a,
.contact-links a {
  color: inherit;
  text-decoration: none;
}

.nav a {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.nav a:hover,
.contact-links a:hover {
  color: var(--accent-deep);
}

.hero {
  padding: clamp(74px, 13vw, 150px) 0 106px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: end;
  gap: 72px;
}

.profile-photo {
  position: relative;
  margin: 0;
  animation: reveal-up .8s .65s both;
}

.profile-photo::after {
  position: absolute;
  z-index: -1;
  right: -14px;
  bottom: -14px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-deep);
  content: "";
}

.profile-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  filter: saturate(.8);
}

.eyebrow,
.label {
  margin: 0 0 24px;
  color: var(--accent-deep);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.eyebrow span {
  color: var(--muted);
}

.eyebrow,
.hero-copy h1,
.hero-copy .hero-bottom {
  animation: reveal-up .8s both;
}

.hero-copy h1 {
  animation-delay: .12s;
}

.english-name {
  margin: -30px 0 42px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  letter-spacing: .02em;
  animation: reveal-up .8s .22s both;
}

.hero-copy .hero-bottom {
  animation-delay: .3s;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 48px;
  font-size: clamp(3.8rem, 10vw, 8.3rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .98;
}

.typing-greeting,
.typing-ending {
  color: var(--ink);
}

.typing-name {
  color: var(--accent-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.07em;
}

.typing-cursor {
  display: inline-block;
  width: .07em;
  height: .85em;
  margin-left: .12em;
  background: var(--accent-deep);
  vertical-align: -.04em;
  animation: cursor-blink .8s steps(1) infinite;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: 960px;
}

.intro {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero-note,
.muted {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.hero-note {
  text-align: right;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  border-top: 1px solid var(--line);
}

.info-block,
.contact-block {
  min-height: 245px;
  padding: 42px 40px 40px 0;
  animation: reveal-up .7s .72s both;
}

.education-block {
  animation-delay: .86s;
}

.info-block:nth-child(3) {
  animation-delay: 1s;
}

.course-block {
  animation-delay: 1.14s;
}

.contact-block {
  animation-delay: 1.28s;
}

.info-block:nth-child(2),
.contact-block {
  padding-right: 0;
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.course-block,
.contact-block {
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1.25;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--accent);
  font-size: .92rem;
  font-weight: 700;
}

.tag-list li span {
  font-size: 1.05em;
}

.contact-block {
  background: var(--ink);
  color: var(--paper);
}

.contact-block .label {
  color: var(--accent);
}

.contact-block h2 {
  margin-bottom: 26px;
}

.contact-links {
  display: grid;
  gap: 10px;
  font-size: .9rem;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 330px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 247, 242, .28);
}

.contact-links a:hover {
  color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .04em;
  animation: reveal-up .7s 1.4s both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 32px, 520px);
  }

  .site-header {
    min-height: 76px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: .68rem;
  }

  .hero {
    padding: 76px 0 78px;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .profile-photo {
    width: min(72vw, 300px);
    align-self: flex-end;
  }

  h1 {
    margin-bottom: 36px;
    font-size: clamp(3.6rem, 18vw, 6rem);
  }

  .hero-bottom {
    display: block;
  }

  .hero-note {
    margin-top: 18px;
    text-align: left;
  }

  .content-grid {
    display: block;
  }

  .info-block,
  .contact-block,
  .info-block:nth-child(2) {
    min-height: auto;
    padding: 34px 0;
    border-left: 0;
  }

  .info-block + .info-block,
  .contact-block {
    border-top: 1px solid var(--line);
  }

  .contact-block {
    padding: 34px 24px;
  }

  .site-footer {
    gap: 12px;
    flex-direction: column;
  }
}
