#dh-about-3d {
  --dh-ink: #f2f0e8;
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: stretch;
  background: #07090d;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 0s linear 320ms;
}

#dh-about-3d.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.dh-about-3d-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #07090d;
}

.dh-about-3d-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #07090d;
}

.dh-about-3d-close {
  position: absolute;
  top: clamp(16px, 2.4vw, 32px);
  right: clamp(16px, 2.4vw, 32px);
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: none;
  color: #ffd400;
  background: transparent;
  backdrop-filter: none;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.dh-about-3d-close:hover {
  background: transparent;
  border-color: transparent;
  transform: rotate(90deg);
}

#dh-about-3d.has-detail .dh-about-3d-close {
  opacity: 0;
  pointer-events: none;
}

.dh-about-3d-close:focus-visible {
  outline: 1px solid var(--dh-ink);
  outline-offset: 4px;
}

.dh-about-3d-close svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
}

.dh-about-3d-close path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.dh-about-3d-label {
  position: absolute;
  top: clamp(28px, 3.2vw, 48px);
  left: clamp(28px, 3.2vw, 48px);
  z-index: 2;
  color: rgba(242, 240, 232, .78);
  font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .22em;
  text-transform: uppercase;
  pointer-events: none;
}

html.dh-about-open,
html.dh-about-open body {
  overflow: hidden !important;
}

/* The landing has its own custom cursor. Hide that parent cursor while the
   About iframe is open so only the iframe cursor remains visible. */
html.dh-about-open .fixed:has(.dh-pointer-label) {
  visibility: hidden !important;
}

@media (max-width: 640px) {
  .dh-about-3d-label { top: 18px; left: 18px; font-size: 9px; }
  .dh-about-3d-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  #dh-about-3d { transition: none; }
  .dh-about-3d-close { transition: none; }
}
