*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: Times, "Times New Roman", serif;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #1a1a1a;
}

header { margin-bottom: 2rem; }
nav { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 1.5rem; }
nav a { font-weight: 600; }

h1 { font-size: 1.6rem; line-height: 1.2; }
h2 { font-size: 1.25rem; line-height: 1.2; }
h3 { font-size: 1.05rem; line-height: 1.2; }

article { margin-bottom: 2.5rem; }
article header { margin-bottom: 1rem; }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-row { display: flex; align-items: baseline; padding: 0.4rem 0; }
.dots { flex: 1; overflow: hidden; margin: 0 0.4rem; }
.dots::after { content: " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "; white-space: nowrap; }

time { color: #666; font-size: 0.9em; }

a { color: #0000EE; }
a:visited { color: #551A8B; }

pre {
  background: #f5f5f5;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 4px;
}

code {
  background: #f5f5f5;
  padding: 0.1em 0.3em;
  border-radius: 3px;
  font-size: 0.9em;
}

pre code { background: none; padding: 0; }

img { max-width: 100%; height: auto; }

.footnotes {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  font-size: 0.875em;
  color: #555;
}

blockquote {
  border-left: 3px solid #ccc;
  margin: 1rem 0;
  padding: 0 1rem;
  font-style: italic;
  color: #444;
}

/* CV */
.cv-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 0.25rem;
}

.cv-company {
  margin-bottom: 2.5rem;
}

.cv-company-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.cv-company-header a {
  font-size: 0.875rem;
  color: #888;
}

.cv-role {
  margin-top: 1rem;
}

.cv-role-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.cv-role-header h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

.cv-role-header span {
  font-size: 0.875rem;
  color: #888;
  white-space: nowrap;
}

.cv-role ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: #444;
}

.cv-role ul li {
  margin-bottom: 0.25rem;
}
