/* The existing ARUNE world, composed for a hand-held first viewport. */
@media (max-width: 900px) {
  #home-view .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "wordmark" "caption" "copy" "bottom";
    align-content: start;
    min-height: min(760px, calc(100svh - 88px));
    padding-block: 30px 38px;
  }
  #home-view .hero-intro { display: contents; }
  #home-view .hero h1 {
    grid-area: title;
    max-width: 100%;
    font-size: clamp(54px, 8.6vw, 76px);
    line-height: 1.04;
    letter-spacing: -.04em;
  }
  #home-view .wordmark-stage {
    grid-area: wordmark;
    width: calc(100% + 32px);
    height: clamp(156px, 34vw, 270px);
    margin: 23px -16px 0;
    perspective: none;
    touch-action: pan-y pinch-zoom;
  }
  #home-view #rune-canvas {
    pointer-events: none;
    transform: none !important;
    filter: brightness(1.4);
    transition: filter 180ms ease-out;
  }
  #home-view .wordmark-stage[data-mobile-interactive] { cursor: pointer; }
  #home-view .wordmark-stage[data-mobile-interactive]:focus-visible {
    outline: 2px solid var(--yellow, #f0b90b);
    outline-offset: 3px;
  }
  #home-view .wordmark-stage.is-mobile-reassembling #rune-canvas { filter: brightness(1.65); }
  #home-view .mobile-rune-hint {
    position: absolute;
    inset-inline: 16px;
    bottom: 0;
    z-index: 2;
    color: var(--muted, #a3a89c);
    font-size: 11px;
    line-height: 1.6;
    pointer-events: none;
    user-select: none;
  }
  #home-view .hero-caption { grid-area: caption; margin-top: 5px; }
  #home-view .hero[data-mobile-experience] .hero-caption { display: none; }
  #home-view .hero-copy {
    grid-area: copy;
    width: 100%;
    max-width: 48ch;
    margin-top: 26px;
  }
  #home-view .hero-copy p {
    max-width: 38ch;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
  }
  #home-view .hero-copy > .text-link {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    width: 100%;
    min-height: 54px;
    padding: 13px 18px;
    border-radius: 5px;
    background: var(--yellow, #f0b90b);
    color: var(--ink, #0a0c0b);
    font-size: 14px;
    font-weight: 700;
  }
  #home-view .hero-copy > .text-link:active { background: #ffd34b; }
  #home-view .hero-copy > .text-link svg { width: 19px; height: 19px; }
  #home-view .hero-bottom {
    grid-area: bottom;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    padding-top: 0;
  }
  #home-view .hero-bottom > span { font-size: 11px; line-height: 1.8; }
  #home-view .hero-bottom .scroll-hint { min-height: 44px; }
  #home-view .genesis-copy .lead { font-size: 19px; line-height: 1.65; }
  #home-view .genesis-copy > p:not(.lead),
  #home-view .ecosystem-intro > div > p:not(.lead) { line-height: 1.95; }
  body.motion-off #home-view #rune-canvas { transition: none; }
}

@media (max-width: 620px) {
  #home-view .hero { padding-top: 24px; }
  #home-view .hero h1 { font-size: clamp(48px, 13.5vw, 62px); }
  #home-view .hero-bottom { flex-direction: column; align-items: flex-start; }
  #home-view .hero-bottom > span { max-width: 34ch; text-align: left; }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  #home-view #rune-canvas { transition: none; }
}
