/* Four transparent outline patterns, one for each page type. */
.hero-files {
    /* Extend the decoration up through the hero's breadcrumb/top spacing. */
    inset-block-start: calc(0px - var(--feature-page-top, 80px) - var(--feature-breadcrumb-gap, 24px) - var(--feature-breadcrumb-height, 19.2px));
}

.hero-files--home .hero-file-1 { left: 60%; top: 3%; --file-angle: -10deg; }
.hero-files--home .hero-file-2 { right: 2%; top: 13%; --file-angle: 14deg; }
.hero-files--home .hero-file-3 { left: 72%; top: 24%; --file-angle: 12deg; }
.hero-files--home .hero-file-4 { left: 59%; top: 48%; --file-angle: -12deg; }
.hero-files--home .hero-file-5 { right: 1%; top: 49%; --file-angle: -10deg; }
.hero-files--home .hero-file-6 { left: 74%; top: 73%; --file-angle: 10deg; }
.hero-files--home .hero-file-7 { left: 1%; bottom: 4%; --file-angle: -12deg; }
.hero-files--home .hero-file-8 { right: 4%; bottom: 3%; --file-angle: 14deg; }

/* Overview keeps the approved floating-document arrangement. */
.hero-files--overview .hero-file { stroke: #6394c7; }

.hero-files--groups .hero-file-1 { left: 62%; top: 4%; --file-angle: -8deg; }
.hero-files--groups .hero-file-2 { right: 3%; top: 7%; --file-angle: 8deg; }
.hero-files--groups .hero-file-3 { left: 72%; top: 29%; --file-angle: -8deg; }
.hero-files--groups .hero-file-4 { left: 59%; top: 49%; --file-angle: 8deg; }
.hero-files--groups .hero-file-5 { right: 0; top: 48%; --file-angle: -6deg; }
.hero-files--groups .hero-file-6 { left: 73%; top: 72%; --file-angle: 6deg; }
.hero-files--groups .hero-file-7 { left: 59%; bottom: 4%; width: clamp(56px, 6vw, 80px); --file-angle: -8deg; }
.hero-files--groups .hero-file-8 { right: 2%; bottom: 3%; width: clamp(64px, 7vw, 96px); --file-angle: 8deg; }
.hero-background-links { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #6394c7; stroke-width: 1; stroke-dasharray: 3 8; opacity: 0.16; }

.hero-files--feature .hero-file-1 { left: 60%; top: 8%; --file-angle: -20deg; }
.hero-files--feature .hero-file-2 { right: 3%; top: 4%; --file-angle: 8deg; }
.hero-files--feature .hero-file-3 { left: 72%; top: 30%; --file-angle: -10deg; }
.hero-files--feature .hero-file-4 { left: 61%; top: 51%; --file-angle: -10deg; }
.hero-files--feature .hero-file-5 { right: 0; top: 50%; --file-angle: 12deg; }
.hero-files--feature .hero-file-6 { left: 71%; top: 78%; --file-angle: -8deg; }
.hero-files--feature .hero-file-7 { left: 1%; bottom: 4%; width: clamp(100px, 12vw, 160px); --file-angle: -5deg; }
.hero-files--feature .hero-file-8 { right: 4%; bottom: 3%; width: clamp(100px, 12vw, 160px); --file-angle: 12deg; }

@media (max-height: 800px) {
    .hero-files .hero-file-7, .hero-files .hero-file-8 { display: none; }
    .hero-files .hero-file-6 { top: auto; bottom: 8%; left: 70%; width: 52px; }
}

@media (max-width: 575px) {
    .hero-background-links { display: none; }
    .hero-files .hero-file-3 { left: 6%; right: auto; top: auto; bottom: 25%; width: 48px; opacity: 0.16; }
    .hero-files .hero-file-5 { left: auto; right: 3%; top: auto; bottom: 20%; width: 52px; opacity: 0.16; }
    .hero-files .hero-file-8 { display: block; left: auto; right: 8%; top: auto; bottom: 8%; width: 66px; opacity: 0.12; }
}
