:root {
  --background: #ffffff;
  --text: #111111;
  --muted: #777777;
  --border: #e8e8e8;
  --link: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.6;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 28px;
}

header {
  margin-bottom: 30px;
}

.name {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.8px;
}

.intro {
  max-width: 620px;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.2px;
}

.intro-line {
  display: block;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  font-size: 15px;
}

section {
  margin-bottom: 30px;
}


#work,
#thoughts {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  color: #666666;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 20px;
  padding: 8px 0;
  /* border-top: 1px solid var(--border); */
}

.experience-date {
  margin: 2px 0 0;
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
}

.experience-role,
.experience-company {
  margin: 0;
}

.experience-role {
  font-size: 17px;
  font-weight: 450;
  line-height: 1.45;
}

.experience-company {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.experience-company a {
  color: inherit;
}

.post {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 20px;
  padding: 12px 0;
}

.post-date {
  margin: 2px 0 0;
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
}

.post-title {
  margin: 0;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.45;
}

.post-title a {
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
}

.loading {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 600px) {
  .container {
    padding: 50px 22px;
  }

  header,
  section {
    margin-bottom: 70px;
  }

  .name {
    font-size: 27px;
  }

  .intro {
    font-size: 18px;
  }

  .experience,
  .post {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .experience-date,
  .post-date {
    order: 2;
  }

  .experience-details,
  .post-title {
    order: 1;
  }
}
