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

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  font-size: 11px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  color: #000;
  background: #fff;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100vh;
  padding: 40px;
}

.sidebar .logo img {
  display: block;
  margin-bottom: 40px;
}

.sidebar .tagline {
  margin-bottom: 0;
}

.home-projects {
  margin-top: 4.8em;
  margin-bottom: 40px;
}

.home-projects summary {
  cursor: pointer;
  list-style: none;
}

.home-projects summary::-webkit-details-marker {
  display: none;
}

.home-projects summary:hover {
  color: #0066ff;
}

.home-projects-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.home-projects-list a,
.project-list a {
  color: #000;
  text-decoration: none;
}

.home-projects-list a:hover,
.project-list a:hover {
  color: #0066ff;
}

.home-projects-list a.active,
.project-list a.active {
  color: #0066ff;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.sidebar nav a {
  text-decoration: none;
  color: #000;
}

.sidebar nav a:hover {
  color: #0066ff;
}

.sidebar nav a[href="/about.html"],
.sidebar nav a[href="/writing.html"] {
  display: none;
}

.nav-expand {
  display: none;
}

.nav-expand a {
  text-decoration: none;
  color: #000;
}

.nav-expand a:hover {
  color: #0066ff;
}

.nav-expand a[href="/people.html"] {
  display: none;
}

main {
  margin-left: 200px;
  padding: 40px 60px;
}

.home-stream {
  max-width: 760px;
}

.stream-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
  max-width: 680px;
}

.stream-loader {
  min-height: 120px;
  display: flex;
  align-items: flex-start;
}

.stream-loader-star {
  display: flex;
  align-items: center;
  gap: 6.4px;
  width: auto;
  height: 8.32px;
  margin-top: 2px;
}

.stream-loader-dot {
  display: block;
  width: 8.32px;
  height: 8.32px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.55);
  animation: stream-loader-dot 900ms ease forwards;
}

.stream-loader-dot-top {
  background: #ffd400;
  animation-delay: 80ms;
}

.stream-loader-dot-right {
  background: #ff120d;
  animation-delay: 220ms;
}

.stream-loader-dot-bottom-right {
  background: #00f812;
  animation-delay: 360ms;
}

.stream-loader-dot-bottom-left {
  background: #ff9700;
  animation-delay: 500ms;
}

.stream-loader-dot-left {
  background: #0b19ff;
  animation-delay: 640ms;
}

@keyframes stream-loader-dot {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }

  70% {
    opacity: 1;
    transform: scale(1.14);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stream-loader-dot {
    opacity: 1;
    transform: scale(1);
    animation: none;
  }
}

.stream-day-header {
  margin-bottom: 20px;
}

.stream-day-notes {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stream-note-time {
  margin-bottom: 8px;
}

.stream-note-body {
  white-space: pre-wrap;
  line-height: 1.9;
}

.stream-image-asset {
  display: block;
  max-width: min(100%, 520px);
  height: auto;
}

.stream-image-caption {
  margin-top: 12px;
}

.stream-empty {
  color: #000;
}

.hero {
  margin-bottom: 200px;
}

.hero h1 {
  margin-bottom: 0;
}

.hero h2 {
  color: #000;
}

.hero .intro {
  margin-top: 40px;
  color: #000;
  max-width: 700px;
}

.projects-hero {
  margin-bottom: 40px;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-detail h1 {
  margin-bottom: 40px;
}

.project-video {
  display: block;
  width: min(100%, 640px);
  height: auto;
}

.project-video-embed {
  aspect-ratio: 16 / 9;
  border: 0;
}

.project-image {
  display: block;
  width: min(100%, 960px);
  height: auto;
  margin-top: 40px;
}

.project-notes {
  margin-top: 40px;
}

.project-notes h2 {
  margin-bottom: 16px;
}

.project-note-label {
  max-width: 520px;
  margin-bottom: 16px;
  line-height: 1.9;
}

.project-notes .project-commentary {
  margin-top: 0;
}

.project-commentary {
  max-width: 520px;
  margin-top: 40px;
  line-height: 1.9;
}

.project-commentary-list {
  max-width: 520px;
  margin-top: 16px;
  margin-left: 18px;
  line-height: 1.9;
}

.project-commentary-list li + li {
  margin-top: 4px;
}

.paths h3 {
  margin-bottom: 40px;
}

.path-item {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.path-number {
  color: #000;
}

.path-content h4 {
  margin-bottom: 4px;
}

.path-content .company,
.path-content .dates {
  color: #000;
  margin: 0;
}

.month-list,
.day-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.month-list a,
.day-list a {
  text-decoration: none;
  color: #000;
}

.month-list a:hover,
.day-list a:hover {
  color: #0066ff;
}

.day-entry h1 {
  margin-bottom: 40px;
}

.day-entry p {
  margin-bottom: 4px;
}

.entry-content {
  white-space: pre-wrap;
  outline: none;
  line-height: 2;
}

.day-entry {
  margin-bottom: 60px;
}

.day-entry h2 {
  margin-bottom: 20px;
}

.day-entry h2 a {
  color: #000;
  text-decoration: none;
}

.day-entry h2 a:hover {
  color: #0066ff;
}

.top-actions {
  position: fixed;
  top: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}

.top-actions button {
  background: none;
  border: none;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  color: #000;
  padding: 0;
  text-align: right;
}

.top-actions button:hover {
  color: #0066ff;
}

.entry-images {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.entry-images img {
  max-width: 500px;
  height: auto;
}

.goals-section {
  margin-bottom: 40px;
}

.goal-entry {
  margin-bottom: 30px;
}

.goal-entry h3 {
  margin-bottom: 10px;
}

.goal-content {
  white-space: pre-wrap;
}

.goal-content:focus {
  outline: none;
}

main > h1 {
  margin-bottom: 40px;
}

.letter-section {
  margin-bottom: 20px;
}

.letter-section h2 {
  margin-bottom: 4px;
}

.people-layout {
  display: flex;
  gap: 80px;
}

.people-list {
  flex: 0 0 auto;
}

.people-detail {
  flex: 1;
  display: none;
}

.people-detail.active {
  display: block;
}

.people-detail h2 {
  margin-bottom: 4px;
}

.detail-city {
  margin-bottom: 20px;
  outline: none;
}

.detail-city:empty::before {
  content: attr(data-placeholder);
  color: #999;
}

.person-name {
  cursor: pointer;
}

.person-name:hover {
  color: #0066ff;
}

.person-name.active {
  color: #0066ff;
}

.media-section {
  margin-bottom: 40px;
}

.media-section h2 {
  margin-bottom: 10px;
}

.media-content {
  white-space: pre-wrap;
  min-height: 20px;
}

.media-content:focus {
  outline: none;
}

@media (max-width: 760px) {
  body {
    min-width: 0;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 24px 20px 0;
  }

  .sidebar .logo img {
    margin-bottom: 28px;
  }

  .sidebar .tagline {
    max-width: 120px;
  }

  .home-projects {
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .sidebar nav {
    margin-bottom: 16px;
  }

  main {
    margin-left: 0;
    padding: 36px 20px 48px;
  }

  .home-stream,
  .stream-list,
  .project-commentary,
  .project-commentary-list,
  .project-note-label,
  .hero .intro {
    max-width: none;
  }

  .stream-list {
    gap: 56px;
  }

  .stream-day-header {
    margin-bottom: 18px;
  }

  .stream-day-notes {
    gap: 24px;
  }

  .stream-image-asset,
  .project-video,
  .project-image,
  .entry-images img {
    max-width: 100%;
  }

  .hero {
    margin-bottom: 96px;
  }

  .projects-hero {
    margin-bottom: 36px;
  }

  .project-detail h1 {
    margin-bottom: 32px;
  }

  .project-commentary {
    margin-top: 32px;
  }

  .project-commentary-list {
    margin-top: 14px;
  }

  .path-item,
  .people-layout {
    flex-direction: column;
    gap: 32px;
  }

  .people-list,
  .people-detail {
    width: 100%;
  }

  .top-actions {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 32px;
  }

  .top-actions button {
    text-align: left;
  }

  .day-entry {
    margin-bottom: 48px;
  }

  .day-entry h1,
  main > h1 {
    margin-bottom: 32px;
  }
}

@media (max-width: 420px) {
  .sidebar {
    padding-left: 16px;
    padding-right: 16px;
  }

  main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .project-commentary-list {
    margin-left: 16px;
  }
}
