/* Atmospheric hero wash — keyboard shortcuts page only */

.doc-hero {
  position: relative;
  overflow: hidden;
}

.doc-hero-inner {
  position: relative;
  z-index: 2;
}

.doc-art {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  line-height: 0;
}

.doc-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 32%;
}

.doc-hero--wash::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--scrim-soft) 0%,
    color-mix(in srgb, var(--scrim) 78%, transparent) 38%,
    color-mix(in srgb, var(--scrim) 35%, transparent) 62%,
    transparent 88%
  );
}

.doc-hero--wash {
  margin: 8px 0 4px;
  padding: 4px 0 24px;
}

.doc-art--wash {
  left: 20%;
  right: -10%;
  top: -24px;
  bottom: -16px;
  opacity: 0.25;
  -webkit-mask-image: radial-gradient(
    ellipse 100% 90% at 62% 42%,
    #000 8%,
    rgba(0, 0, 0, 0.55) 45%,
    transparent 76%
  );
  mask-image: radial-gradient(
    ellipse 100% 90% at 62% 42%,
    #000 8%,
    rgba(0, 0, 0, 0.55) 45%,
    transparent 76%
  );
}

.doc-hero--wash::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

@media (max-width: 640px) {
  .doc-art--wash {
    left: 10%;
    right: -20%;
    opacity: 0.25;
  }
}
