/* Only the hero at intermediate widths; brand and navigation stay untouched. */
@media (min-width: 761px) and (max-width: 1250px) {
    .hero .hero-content {
        container-type: inline-size;
        min-width: 0;
    }

    .hero .hero-content h1 {
        font-size: clamp(32px, 4.3vw, 64px);
        font-size: clamp(32px, 14.8cqi, 64px);
        line-height: 1.02;
    }
}

/* An ordinary in-page link, not another navigation bar. */
body.project-page #project-detail .analog-jump {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

body.project-page #project-detail .analog-jump a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 4px 0;
    color: inherit;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    text-decoration-color: #8a8d8b;
}

body.project-page #project-detail .analog-jump a:hover {
    text-decoration-color: currentColor;
}

body.project-page #project-detail .analog-jump a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
    border-radius: 2px;
}

#wald-auf-film {
    scroll-margin-top: 140px;
}

#wald-auf-film:focus {
    outline: none;
}

#wald-auf-film:focus-visible #wald-analog-title {
    outline: 2px solid currentColor;
    outline-offset: 6px;
}
