:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #111111;
  --muted: #626976;
  --line: #e5e5e5;
  --mark: #fff0b8;
  --max: 940px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.55;
}

main {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 96px;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  background: var(--mark);
}

.profile {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 68px;
}

.avatar {
  width: 190px;
  height: 190px;
  display: block;
  object-fit: cover;
  border-radius: 28px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.25rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.location {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1.25;
}

#seoul-time {
  margin-left: 8px;
  font-size: 1rem;
  color: #8a9099;
  white-space: nowrap;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 24px;
  color: #4d5561;
  font-size: 1.1rem;
}

.copy {
  max-width: 860px;
}

.copy p {
  margin-bottom: 28px;
}

ul {
  margin: -10px 0 0;
  padding-left: 1.25em;
}

li {
  margin: 9px 0;
}

.rows {
  margin-top: 72px;
}

h2 {
  margin-bottom: 26px;
  font-size: 2rem;
  line-height: 1.1;
}

.rows a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.rows a:last-child {
  border-bottom: 1px solid var(--line);
}

.rows a:hover span {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

time {
  color: #7a8190;
  font-size: 1.1rem;
}

footer {
  margin-top: 58px;
  color: var(--muted);
}

@media (max-width: 720px) {
  body {
    font-size: 18px;
  }

  main {
    width: min(100% - 32px, var(--max));
    padding: 28px 0 64px;
  }

  .profile {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 52px;
  }

  .avatar {
    width: min(70vw, 260px);
    height: min(70vw, 260px);
  }

  .location {
    font-size: 1.15rem;
  }

  .links {
    font-size: 1rem;
  }

  .rows a {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
