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

body {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #222;
  background: #fff;
  display: flex;
  min-height: 100vh;
}

aside {
  width: 240px;
  padding: 2rem;
  border-right: 1px solid #ddd;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.name {
  font-weight: 600;
  margin-bottom: 2rem;
}

.name a {
  color: #222;
  text-decoration: none;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section-label {
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #222;
}

nav ul {
  list-style: none;
  padding-left: 1rem;
}

nav li {
  margin-bottom: 0.25rem;
}

nav a {
  color: #666;
  font-size: 13px;
  text-decoration: none;
}

nav a:hover {
  color: #222;
  text-decoration: underline;
}

nav a.active {
  color: #222;
  font-weight: 600;
}

nav a.active::before {
  content: "▸ ";
  color: #222;
  margin-left: -0.85rem;
}

.contact {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.contact a {
  color: #666;
  font-size: 13px;
}

main {
  margin-left: 240px;
  padding: 2rem 3rem;
  max-width: 760px;
  width: 100%;
}

.breadcrumb {
  color: #888;
  font-size: 13px;
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: #888;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #222;
  text-decoration: underline;
}

h1 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: lowercase;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

main p {
  color: #444;
  margin-bottom: 1rem;
}

main ul {
  list-style: none;
  margin-bottom: 1rem;
}

main li {
  margin-bottom: 0.5rem;
}

main a {
  color: #222;
}

main a:hover {
  text-decoration: underline;
}

.date {
  display: inline-block;
  width: 100px;
  color: #888;
}

blockquote {
  border-left: 2px solid #ddd;
  padding-left: 1rem;
  margin: 1rem 0 1.5rem;
  color: #555;
  font-style: italic;
}

blockquote p {
  margin-bottom: 1rem;
}

blockquote p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  body {
    flex-direction: column;
  }

  aside {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 1.5rem;
  }

  .contact {
    margin-top: 1.5rem;
    padding-top: 0;
  }

  main {
    margin-left: 0;
    padding: 1.5rem;
    max-width: none;
  }
}
