@font-face { font-family: "Berkeley Mono"; src: url("/assets/BerkeleyMono-Regular.63b2c9c7ff3f8441.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Berkeley Mono"; src: url("/assets/BerkeleyMono-Bold.3d44fe70b7959830.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Berkeley Mono"; src: url("/assets/BerkeleyMono-Oblique.555f4ec71f36b708.woff2") format("woff2"); font-weight: 400; font-style: oblique; font-display: swap; }
:root {
  --ink: #0f0f0f;
  --paper: #ffffff;

  --seal-red: #bc0005;

  --wood: #878787;
  --leaf: #b7b7b7;

  color-scheme: only light;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  font:
    400 16px/24px "Berkeley Mono",
    Menlo,
    monospace;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  font-style: oblique;
}
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0;
  background: var(--ink);
  color: var(--paper);
}

h1,
p,
ul,
pre {
  margin: 0;
  padding: 0;
}
h1 {
  font: inherit;
  font-weight: 700;
}
ul {
  list-style: none;
}
.small {
  font-size: 12px;
  line-height: 20px;
}

.sheet {
  position: relative;
  z-index: 1;
  width: min(60ch, 100% - 48px);
  min-height: 100vh;
  min-height: 100svh;
  margin-left: max(24px, calc((100% - min(100%, 1440px)) / 2 + min(9%, 130px)));
  padding: clamp(28px, 7vh, 72px) 0 clamp(72px, 19vh, 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.seal {
  display: block;
  width: 90px;
  height: 90px;
  margin: 0 0 24px -1px;
  image-rendering: pixelated;
  user-select: none;
  -webkit-user-select: none;
}

h1 {
  margin-bottom: 24px;
}

.lines span,
.bio span {
  white-space: nowrap;
}

.bio,
.back {
  margin-top: 48px;
}
.bio {
  color: var(--seal-red);
}

.grove {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  font:
    400 12px/14px "Berkeley Mono",
    Menlo,
    monospace;
  white-space: pre;
  color: var(--wood);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.grove[hidden] {
  display: none;
}
.grove > div {
  height: 14px;
}
.grove i,
.grove em {
  font-style: normal;
  color: var(--leaf);
}
.grove b,
.grove strong {
  font-weight: 400;
  color: var(--seal-red);
}
.grove s {
  text-decoration: none;
}
.grove s,
.grove em,
.grove strong {
  opacity: 0.18;
}

@media (max-width: 639px) {
  .sheet {
    justify-content: flex-end;
    padding-bottom: 88px;
  }
}

@media (max-width: 319px) {
  .lines span,
  .bio span {
    white-space: normal;
  }
}
