/* black-lab.com -- very black, a little scary, entirely harmless. */
:root {
  --void: #000;
  --ash: #8a8a8a;
  --ember: #c4161c;
  --glow: rgba(196, 22, 28, .55);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--void);
  color: var(--ash);
  font: 16px/1.6 Georgia, "Times New Roman", serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
/* A faint red breath rising from below. */
body::before {
  content: '';
  position: fixed;
  inset: auto -20% -40% -20%;
  height: 70vh;
  background: radial-gradient(ellipse at center, rgba(120, 0, 0, .35), transparent 65%);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
  position: relative;
}
/* The eyes. */
#eyes { display: flex; gap: 46px; margin-bottom: 40px; }
.eye {
  width: 46px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, #ffd24a 0%, #e08a00 45%, #6b2a00 75%, transparent 78%);
  box-shadow: 0 0 18px 4px rgba(224, 138, 0, .35);
  position: relative;
  overflow: hidden;
  transform-origin: 50% 50%;
  transition: transform .12s ease-in;
}
.eye.shut { transform: scaleY(.06); }
.pupil {
  position: absolute; top: 50%; left: 50%;
  width: 7px; height: 18px;
  margin: -9px 0 0 -3.5px;
  border-radius: 50%;
  background: #110400;
  transition: transform .25s ease-out;
}
h1 {
  margin: 0;
  font: 900 clamp(48px, 11vw, 132px)/1 Impact, "Arial Black", sans-serif;
  letter-spacing: .18em;
  color: #0d0d0d;
  text-shadow: 0 0 2px #222, 0 0 24px var(--glow), 0 0 60px rgba(120, 0, 0, .6);
}
.flicker { animation: flicker 7s infinite; }
.whisper {
  margin: 18px 0 44px;
  font-style: italic;
  letter-spacing: .12em;
  color: #5a5a5a;
}
.ways { display: flex; flex-direction: column; gap: 14px; }
.ways a {
  color: #b9b9b9;
  text-decoration: none;
  letter-spacing: .1em;
  padding: 10px 22px;
  border: 1px solid #2a0000;
  border-radius: 2px;
  transition: color .3s, border-color .3s, box-shadow .3s;
}
.ways a:hover, .ways a:focus-visible {
  color: #fff;
  border-color: var(--ember);
  box-shadow: 0 0 22px var(--glow);
  outline: none;
}
.ways a.cave { border: 0; font-size: 14px; color: #4a4a4a; }
.ways a.cave:hover, .ways a.cave:focus-visible { color: #d6d6d6; box-shadow: none; }
.story {
  margin-top: 56px;
  max-width: 560px;
  font-size: 15px;
  color: #6e6e6e;
}
.story summary {
  cursor: pointer;
  list-style: none;
  color: #4d4d4d;
  letter-spacing: .08em;
}
.story summary::-webkit-details-marker { display: none; }
.story summary:hover, .story summary:focus-visible { color: #bdbdbd; outline: none; }
.story[open] summary { color: #8a8a8a; margin-bottom: 14px; }
.story p { margin: 0 0 12px; text-align: left; }
footer {
  text-align: center;
  padding: 18px 16px;
  font-size: 12px;
  color: #2e2e2e;
}
@keyframes flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: .35; } 94% { opacity: 1; } 96% { opacity: .55; } 97% { opacity: 1; }
}
@keyframes breathe {
  0%, 100% { opacity: .55; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .flicker, body::before { animation: none; }
  .eye, .pupil { transition: none; }
}
