@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.wrap {
  width: 100%;
  max-width: 560px;
}

/* The source video is letterboxed, so its own black bars blend into the
   page background instead of being cropped away. */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video iframe,
.video-play {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play {
  position: relative;
  display: block;
  padding: 0;
  background: #000;
  cursor: pointer;
}

.video-play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  transition: opacity 0.15s;
}

.video-play:hover .play-icon {
  opacity: 0.8;
}

h1 {
  font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  font-weight: 400;
  font-size: clamp(1.75rem, 7vw, 2.375rem);
  line-height: 1.15;
  margin: 20px 0 10px;
}

.loc {
  font-size: 14px;
  margin: 0 0 10px;
}

.li {
  display: inline-flex;
  color: #70b5f9; /* LinkedIn's dark-mode blue; #0a66c2 is too dim on black */
}

.li:hover {
  opacity: 0.8;
}
