:root {
  color-scheme: light;
  font-family: Verdana, sans-serif;
  color: #333;
  background: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: #333;
  background: #fff;
  font-size: 15px;
  line-height: 1.45;
}

main {
  width: min(920px, calc(100% - 40px));
  margin: 20px auto 70px;
}

a { color: #0000bb; }
a:visited { color: #551a8b; }

:focus-visible {
  outline: 2px solid #0000bb;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
}

.skip-link:focus {
  left: 8px;
  padding: 5px 8px;
  background: #fff;
  border: 1px solid #333;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 250px;
  padding: 20px 0;
}

.profile img {
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
  border-radius: 50%;
  object-fit: cover;
}

.profile > div { max-width: 470px; }

h1 {
  margin: 0 0 6px;
  font-size: 2.2rem;
  line-height: 1.15;
  font-weight: 400;
}

.profile p { margin: 0 0 12px; }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

hr {
  margin: 0 calc(50% - 50vw) 22px;
  border: 0;
  border-top: 1px solid #ddd;
}

.timeline { margin-bottom: 42px; }

.timeline-entry {
  display: grid;
  grid-template-columns: 125px 1fr;
}

.date {
  padding: 2px 18px 28px 0;
  color: #aaa;
  font-size: 0.9rem;
  text-align: right;
  white-space: nowrap;
}

.timeline-copy {
  position: relative;
  min-width: 0;
  padding: 0 0 28px 24px;
  border-left: 2px solid #ddd;
}

.timeline-copy::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}

.timeline-entry:last-child .date,
.timeline-entry:last-child .timeline-copy { padding-bottom: 0; }

p { margin: 0 0 1em; }
.timeline-copy p { margin: 0; }

section:not(.timeline),
footer {
  max-width: 740px;
  margin-left: 149px;
}

section:not(.timeline) { margin-top: 38px; }

h2 {
  margin: 0 0 14px;
  color: #999;
  font-size: 1rem;
  font-weight: 400;
  text-transform: lowercase;
}

h3 {
  margin: 0 0 5px;
  font-size: 1rem;
  line-height: 1.45;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 24px;
}

li { margin-bottom: 7px; }

.app-list {
  padding-left: 0;
  list-style: none;
}

.investment-thesis { margin-bottom: 20px; }

.investment-group + .investment-group { margin-top: 22px; }

.investment-group .app-list { margin-bottom: 0; }

.app-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 11px;
}

.app-logo {
  display: block;
  width: 32px;
  height: 32px;
  padding: 2px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
}

.app-item > span { padding-top: 2px; }

.project-entry + .project-entry {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.project-entry > p:last-child,
.project-entry-app p {
  margin-bottom: 0;
}

.project-entry-app {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
}

.product-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.product-images figure { margin: 0; }

.product-images img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-images figcaption {
  margin-top: 5px;
  color: #888;
  font-size: 0.72rem;
  line-height: 1.3;
}

footer {
  margin-top: 50px;
  padding-top: 14px;
  border-top: 1px solid #ddd;
  color: #888;
  font-size: 0.88rem;
}

footer p { margin-bottom: 3px; }

@media (max-width: 680px) {
  main {
    width: min(100% - 30px, 920px);
    margin-top: 10px;
  }

  .profile {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    min-height: 0;
    padding: 20px 0 28px;
  }

  .profile img {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
  }

  h1 { font-size: 1.75rem; }
  .profile > div > p { font-size: 0.9rem; }

  nav { font-size: 0.9rem; }

  .product-images { grid-template-columns: repeat(2, 1fr); }

  .timeline-entry {
    grid-template-columns: 78px 1fr;
  }

  .date {
    padding-right: 12px;
    font-size: 0.78rem;
  }

  .timeline-copy { padding-left: 16px; }

  section:not(.timeline),
  footer { margin-left: 94px; }
}

@media (max-width: 430px) {
  .profile { display: block; }

  .profile img {
    float: left;
    width: 92px;
    height: 92px;
    margin: 0 16px 12px 0;
  }

  nav { clear: both; padding-top: 4px; }

  .timeline-entry { grid-template-columns: 1fr; }

  .date {
    padding: 0 0 4px;
    color: #999;
    text-align: left;
  }

  .timeline-copy {
    padding: 0 0 24px;
    border-left: 0;
  }

  .timeline-copy::before { display: none; }

  section:not(.timeline),
  footer { margin-left: 0; }
}
