/* Only the maintenance notice needs to fill the space between the shared header and footer. */
body:has(#main > .support-maintenance) {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
#main:has(> .support-maintenance) {
    flex: 1 0 auto;
    display: grid;
}
.support-maintenance {
    --scene: url("/assets/training-field.webp");
    --horizon: #fbf3f7;
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    overflow: clip;
    background: var(--horizon);
    color: var(--ink);
}
[data-winter] .support-maintenance {
    --scene: url("/assets/winter-training-field.webp");
    --horizon: #fff6f4;
}
[data-theme=dark] .support-maintenance { --horizon: #251d30 }
[data-theme=dark][data-winter] .support-maintenance { --horizon: #202b29 }
.support-scenery {
    position: absolute;
    inset: 0 0 0 30%;
    z-index: -1;
    background: var(--scene) center / cover;
}
.support-scenery::before, .support-scenery::after {
    content: "";
    position: absolute;
    inset: 0;
}
.support-scenery::before {
    background: linear-gradient(to right, var(--horizon), color-mix(in srgb, var(--horizon) 94%, transparent) 17%, transparent 49%);
}
.support-scenery::after {
    inset: auto 17% 12%;
    height: 5%;
    border-radius: 50%;
    background: radial-gradient(ellipse, #37203e77, transparent 65%);
}
.support-scenery img {
    position: absolute;
    z-index: 1;
    width: clamp(10rem, 19vw, 19rem);
    height: auto;
    left: 50%;
    bottom: 14%;
    transform: translateX(-50%) rotate(4deg);
    filter: drop-shadow(0 .45rem .3rem #321a3338);
}
.support-message {
    box-sizing: content-box;
    width: min(40%, 32rem);
    padding: clamp(4rem, 8vh, 8rem) 0;
    margin-inline-start: max(6vw, calc((100vw - 72rem) / 2));
}
.support-message h1 {
    font-size: clamp(3.1rem, 5.4vw, 5.25rem);
    letter-spacing: -.05em;
    line-height: 1.08;
}
.support-message h1 em {
    display: block;
    color: var(--accent);
    letter-spacing: -.055em;
}
.support-message p {
    margin-block: 1.5rem 1.9rem;
    font-size: clamp(1.25rem, 1.75vw, 1.5rem);
    line-height: 1.65;
    text-wrap: pretty;
    overflow-wrap: break-word;
}
.support-message .btn {
    min-height: 3.15rem;
    padding: .7rem 1.45rem;
    gap: .75rem;
    font-size: 1.0625rem;
}
.support-message .btn span { font-size: 1.3em; line-height: 1 }
@media (max-width: 48rem) {
    .support-maintenance { grid-template-rows: minmax(12rem, 1fr) auto }
    .support-scenery {
        position: relative;
        inset: auto;
        align-self: stretch;
        background-position: center 48%;
    }
    .support-scenery::before {
        background: linear-gradient(to top, var(--horizon), transparent 25%);
    }
    .support-scenery img {
        width: clamp(6.75rem, 28vw, 10rem);
        bottom: 8%;
    }
    .support-scenery::after { inset: auto 24% 6%; height: 6% }
    .support-message {
        box-sizing: border-box;
        width: min(100%, 34rem);
        margin-inline: auto;
        padding: .65rem 1.5rem clamp(3.1rem, 6vh, 5rem);
    }
    .support-message h1 {
        font-size: clamp(2rem, 8.8vw, 3.2rem);
        line-height: 1.27;
    }
    .support-message h1 em { display: inline }
    .support-message p { margin-block: .75rem 1.2rem; font-size: 1.1875rem; line-height: 1.6 }
}
