@font-face {
  font-family: 'Bountyman';
  src: url('/assets/Bountyman.woff2') format('woff2'),
       url('/assets/Bountyman.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f0f0f1;
  --ink: #111111;
  --muted: #555555;
  --link: #111111;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.letter-b {
  font-family: 'Bountyman', Georgia, serif;
  font-size: 8em;
  line-height: 1;
  color: #000;
  display: block;
  margin: 0 0 calc(1.5rem - 0.25em) -0.031em; /* visible gap under the B equals the gap above the text block (1.5rem) */
  padding: 0;
  text-decoration: none;
}

@media (max-width: 600px) {
  .letter-b { font-size: 4em; }
}

a { color: var(--link); text-underline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

.hero { width: 100%; aspect-ratio: 1; object-fit: cover; }


.links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0 0;
  font-size: 1rem;
}

.headshot { width: 250px; margin: 0 auto 2rem; }

h2 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2rem 0 0.25rem;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 2rem 0 0;
}
.video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}

/* Monospace text blocks (original design choice) */
pre.code-block {
  margin: 1.5rem 0 1rem;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  line-height: 1.5;
  overflow: auto;
}
pre.code-block code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
}
