/* Mission, Vision and Values are supplied only by the homepage. */
.fac-home-sky {
    --mission-content-width: min(calc(100% - clamp(2rem, 10vw, 10rem)), 100rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(clamp(208px, 29vw, 336px), 1fr);
    min-height: min(74vw, 670px);
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: #fff;
    color: #2e1a47;
    text-align: left;
}
.fac-home-sky .mission-inner { display: contents; }
.fac-home-sky .mission-copy {
    grid-area: 1 / 1;
    width: var(--mission-content-width);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3.4vw, 4.5rem);
    padding: clamp(24px, 2.5vw, 46px) 0 1.125rem;
    overflow-wrap: anywhere;
}
.fac-home-sky .mission-item h2 {
    margin: 0 0 .35em;
    padding: 0;
    color: #2e1a47;
    font: 600 clamp(1.8125rem, 2.52vw, 2.8125rem)/1.12 var(--font-serif, Georgia, serif);
    text-transform: none;
}
.fac-home-sky .mission-item .missionText {
    margin: 0;
    padding: 0;
    max-width: 40ch;
    color: #32283a;
    font: 400 clamp(1.25rem, 1.55vw, 1.55rem)/1.42 var(--font-sans, sans-serif);
    text-align: left;
    text-wrap: pretty;
}
.fac-home-sky .missionText strong { color: #522d80; }
.fac-home-sky .mission-art {
    grid-area: 2 / 1;
    align-self: start;
    justify-self: start;
    position: relative;
    width: clamp(115px, 15vw, 225px);
    margin-inline-start: calc((100% - var(--mission-content-width)) / 2);
    margin-top: 4px;
    aspect-ratio: 1;
    overflow: hidden;
    pointer-events: none;
    opacity: .92;
    mask-image: linear-gradient(#000 62%, transparent 100%);
}
.fac-home-sky .mission-art img {
    position: absolute;
    left: 0;
    width: auto;
    max-width: none;
    height: 100%;
    transform: scaleX(-1);
}
.fac-home-sky > .fac-footer__scene {
    grid-area: 2 / 1;
    align-self: stretch;
    margin-block-start: clamp(.75rem, 1.25vw, 1.5rem);
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    z-index: 1;
    background: transparent;
}
.fac-home-sky .fac-footer__layer { background-size: cover; }
.fac-home-sky .fac-footer__layer--2 {
    /* Its two halves are painted below, on the same moving layer. */
    background-size: 0 0;
}
.fac-home-sky .fac-footer__layer--2::before,
.fac-home-sky .fac-footer__layer--2::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}
.fac-home-sky .fac-footer__layer--2::before {
    /* The upper 265px of the 1920 × 530 artwork contain only clouds.
       Match the cover scale, with the entire crown inside the scene. */
    bottom: auto;
    width: 100%;
    aspect-ratio: 1920 / 265;
    min-height: 50%;
    background-position: right top;
    background-size: auto 200%;
}
.fac-home-sky .fac-footer__layer--2::after {
    /* The hills sit below the midpoint of the center-aligned artwork. */
    clip-path: inset(50% 0 0);
}
.fac-home-sky .fac-footer__layer--5 { background-position: right top; }
.fac-home-sky .fac-footer__layer--1 { background-position: right bottom; }
@media screen and (min-width: 1280px) {
    /* Leave space for the sticky navigation and the three-column contact footer. */
    .fac-home-sky {
        --mission-content-width: min(94%, 100rem);
        min-height: clamp(0px, calc(100svh - 17.375rem), 670px);
        grid-template-rows: auto minmax(clamp(180px, 34svh, 336px), 1fr);
    }
    .fac-home-sky .mission-copy { column-gap: clamp(1.375rem, 1.8vw, 2rem); }
    .fac-home-sky > .fac-footer__scene { margin-block-start: clamp(1.5rem, 2.3vw, 2.75rem); }
    .fac-home-sky .mission-art { width: min(15vw, 24svh, 225px); }
}
@media screen and (min-width: 1280px) and (max-height: 64rem) {
    .fac-home-sky .mission-copy { padding-block-start: clamp(52px, calc(2.25vw + 24px), 66px); }
    .fac-home-sky + .fac-footer__content {
        /* Keep the outer links clear of the fixed back-to-top button. */
        max-width: min(1600px, calc(100% - 6rem));
        padding-block: 20px 14px;
    }
}
@media (max-width: 47rem) {
    .fac-home-sky .mission-copy {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.125rem;
        padding: 1.375rem 0 .875rem;
    }
    .fac-home-sky .mission-item {
        display: grid;
        grid-template-columns: minmax(0, min(42%, 9.25rem)) minmax(0, 1fr);
        gap: .7rem;
        align-items: baseline;
    }
    .fac-home-sky .mission-item h2 { font-size: 1.4rem; }
    .fac-home-sky .mission-item .missionText { font-size: 1.15rem; line-height: 1.4; }
    .fac-home-sky .mission-art { width: clamp(92px, 24vw, 144px); margin-block-start: 1.375rem; }
}
@media (max-width: 24rem) {
    .fac-home-sky .mission-item { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
    .fac-home-sky .mission-item h2 { margin: 0; }
}
@media print {
    footer.fac-footer:has(.fac-home-sky) { display: block !important; background: white !important; }
    .fac-home-sky, .fac-home-sky .mission-copy { display: block; min-height: 0; }
    .fac-home-sky .mission-item { break-inside: avoid; margin-block: .75rem; }
    .fac-home-sky .mission-art, .fac-home-sky .fac-footer__scene,
    .fac-home-sky + .fac-footer__content { display: none; }
}

