:root {
  --bh-void: #010102;
  --bh-warm: #e9bf83;
  --bh-rim: #f7e6cb;
}

.black-hole-world {
  --world-bg: var(--bh-void);
  --world-bg-soft: #070708;
  --world-ink: #e5e3df;
  --world-muted: rgb(229 227 223 / 68%);
  --world-faint: rgb(229 227 223 / 58%);
  --world-accent: #d2b184;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgb(164 126 85 / 5%), transparent 24rem),
    var(--bh-void);
}

.black-hole-header {
  position: absolute;
  inset: 0 0 auto;
  color: rgb(236 232 226 / 52%);
}

.black-hole-header .site-mark,
.black-hole-header .site-nav a:hover,
.black-hole-header .site-nav a:focus-visible {
  color: #f3f0ea;
}

.bh-opening {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  background: #010102;
  isolation: isolate;
}

.bh-opening__image,
.bh-opening__veil {
  position: absolute;
  inset: 0;
}

.bh-opening__image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.82) contrast(1.04) brightness(0.8);
  transform: scale(1.015);
}

.bh-opening__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(1 1 2 / 84%) 0 25%, rgb(1 1 2 / 42%) 54%, rgb(1 1 2 / 14%) 78%),
    linear-gradient(180deg, rgb(1 1 2 / 42%), transparent 34%, rgb(1 1 2 / 38%) 74%, #010102 100%);
}

.bh-opening__copy {
  display: grid;
  min-height: 100svh;
  padding-top: clamp(8rem, 18vh, 12rem);
  padding-bottom: clamp(5rem, 10vh, 8rem);
  align-content: center;
}

.bh-opening__copy .kicker {
  color: rgb(236 232 226 / 62%);
}

.bh-title {
  position: relative;
  z-index: 2;
  max-width: 6ch;
  margin: 0;
  color: #eeeae4;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 13vw, 12.5rem);
  font-weight: 400;
  line-height: 0.68;
  letter-spacing: -0.085em;
}

.bh-title span {
  margin-left: 0.27em;
  color: rgb(238 234 228 / 67%);
  font-size: 0.74em;
  letter-spacing: -0.06em;
}

.bh-opening__deck {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  color: rgb(235 231 225 / 58%);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.bh-enter {
  width: fit-content;
  margin-top: 2rem;
  color: rgb(235 231 225 / 72%);
  border-color: rgb(235 231 225 / 22%);
}

.bh-scroll-cue {
  position: absolute;
  right: var(--page-gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: rgb(236 232 226 / 62%);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bh-scroll-cue i {
  width: 4rem;
  height: 1px;
  background: currentColor;
}

.bh-opening__credit {
  position: absolute;
  right: var(--page-gutter);
  bottom: 4.6rem;
  margin: 0;
  color: rgb(236 232 226 / 48%);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bh-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.bh-status div {
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid var(--hairline);
}

.bh-status div:first-child {
  padding-left: 0;
  border-left: 0;
}

.bh-status dt {
  margin: 0 0 0.85rem;
  color: var(--world-faint);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bh-status dd {
  margin: 0;
  color: var(--world-muted);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  line-height: 1.65;
}

.bh-current {
  min-height: 88svh;
}


.bh-parameters {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 9rem);
  min-height: 100svh;
  align-items: start;
}

.bh-parameter-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.bh-parameter-list li {
  display: grid;
  grid-template-columns: minmax(6rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.7rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--hairline);
}

.bh-parameter-list li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.bh-parameter-list span {
  color: var(--world-ink);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.bh-parameter-list p {
  margin: 0;
  color: var(--world-muted);
  font-family: var(--font-serif);
  font-size: 0.93rem;
  line-height: 1.8;
}

.bh-failures {
  min-height: 90svh;
}

.bh-failures .section-heading {
  max-width: 14ch;
}

.bh-honesty {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 58rem;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

.bh-honesty p {
  margin: 0;
  color: var(--world-muted);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.9;
}

.bh-honesty a {
  text-decoration-color: rgb(210 177 132 / 55%);
  text-underline-offset: 0.25em;
}

.bh-meaning {
  min-height: 100svh;
}

.bh-meaning blockquote {
  max-width: 28ch;
}

.bh-meaning blockquote span {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--world-faint);
  font-size: 0.52em;
}

@media (max-width: 48rem) {
  .bh-opening {
    align-content: end;
  }

  .bh-opening__copy {
    padding-top: 46svh;
    padding-bottom: 5rem;
    align-content: end;
  }

  .bh-title {
    font-size: clamp(5rem, 25vw, 8rem);
  }

  .bh-opening__deck {
    font-size: 1.25rem;
  }

  .bh-scroll-cue {
    display: none;
  }

  .bh-opening__image {
    object-position: 66% center;
  }

  .bh-opening__veil {
    background:
      linear-gradient(180deg, rgb(1 1 2 / 28%) 0 24%, rgb(1 1 2 / 52%) 58%, #010102 100%),
      linear-gradient(90deg, rgb(1 1 2 / 58%), transparent 76%);
  }

  .bh-opening__credit {
    right: 1.25rem;
    bottom: 1.35rem;
  }

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

  .bh-status div,
  .bh-status div:first-child {
    padding: 1.5rem 0;
    border-top: 1px solid var(--hairline);
    border-left: 0;
  }

  .bh-status div:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .bh-status div:last-child {
    padding-bottom: 0;
  }

  .bh-parameters {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bh-parameter-list li {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

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

  .bh-meaning blockquote {
    font-size: clamp(1.65rem, 7.5vw, 2.5rem);
  }
}
