:root {
  --background: #f0f0f0;
  --foreground: #1a1a1a;
  --muted: #71717a;
  --border: #d4d4d8;
  --cyan: #0891b2;
}

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #10b981;
  color: white;
}

main {
  display: flex;
  gap: 64px;
  width: min(100%, 1400px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px;
}

.profile {
  display: flex;
  flex: 0 0 320px;
  flex-direction: column;
  justify-content: center;
}

h1 {
  margin-bottom: 4px;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.role {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
}

.portrait {
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 4;
  place-items: center;
  border-radius: 8px;
  background: #1a1a1a;
  color: var(--background);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.625;
}

.content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.intro {
  margin-bottom: 32px;
}

.intro p {
  font-size: 13px;
  line-height: 1.625;
}

.intro p + p {
  margin-top: 4px;
}

.intro span {
  color: var(--muted);
  font-weight: 700;
}

.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

h2 {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.subheading {
  margin-top: 28px;
}

.entry {
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--border);
  font-size: 13px;
  line-height: 1.625;
}

.entry-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.entry-head time {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 11px;
}

.detail {
  font-size: 13px;
  line-height: 1.625;
}

.detail + .detail {
  margin-top: 2px;
}

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

@media (max-width: 1023px) {
  main {
    flex-direction: column;
    gap: 32px;
    min-height: auto;
    padding: 48px 32px 64px;
  }

  .profile {
    display: block;
    flex-basis: auto;
  }

  .portrait {
    max-height: 300px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  main {
    padding: 48px 24px;
  }

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

@media (max-width: 480px) {
  .entry-head {
    display: block;
  }

  .entry-head time {
    display: block;
    margin-top: 2px;
  }
}
