/* The film reveal and the lasting home composition share the same type and anchor. */
body:has(.genesis-home) .site-head {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
}
body:has(.genesis-home) .site-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0 0 -2.6rem;
  background: linear-gradient(to bottom, rgba(7,9,15,.86), rgba(7,9,15,.6) 40%, transparent);
}
.genesis-home { position: relative; min-height: 100vh; min-height: 100dvh; }
.genesis-home .entry-inner {
  position: absolute;
  inset: auto var(--gutter) 25%;
  text-align: left;
  padding: 0;
}
:is(.entry.reveal,.genesis-home) .entry-inner { isolation: isolate; }
:is(.entry.reveal,.genesis-home) .entry-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18% auto -20% max(-7vw,-100px);
  width: min(91vw, clamp(420px,55vw,900px));
  background: radial-gradient(ellipse at 40% 50%, rgba(7,9,15,.47), rgba(7,9,15,.24) 40%, transparent 73%);
  pointer-events: none;
}
.genesis-home h1.entry-line::before { content: none; }
.genesis-home .entry-line { color: inherit; }
.entry .entry-sound, .entry .entry-skip {
  background: transparent;
  padding: 12px 4px;
  min-height: 44px;
}
.entry .entry-sound { right: auto; left: var(--gutter); }
.genesis-home .local-settings { position: absolute; bottom: 1.1rem; left: var(--gutter); }
.local-settings summary { cursor: pointer; font-size: .75rem; color: var(--text-2); }
.local-settings .hero-controls { margin: .4rem 0 0; gap: .6rem 1.5rem; }
.local-settings .hero-controls a { font-size: .875rem; border-bottom: 1px solid var(--line); }
@media (max-height: 560px) {
  .genesis-home .local-settings { bottom: .4rem; }
}

/* Feather the navigation into the scene as exhibits scroll underneath. */
body:has(.genesis-home) .site-head::before {
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, black 46%, transparent);
  mask-image: linear-gradient(to bottom, black 46%, transparent);
}
@media (orientation: landscape) and (max-height: 480px) {
  body:has(.genesis-home) .head-row {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-block: 4px;
  }
  body:has(.genesis-home) .nav { flex-wrap: wrap; gap: 0 12px; }
  body:has(.genesis-home) .nav a { font-size: 12px; letter-spacing: .012em; }
}
