@font-face {
    font-family: "Carousel Diatype";
    src: url("../showcases/storefront-carousel/_nuxt/ABCDiatypePlusVariable.DURmIfav.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
}

.capabilities-path-panel--showcase > .storefront-carousel-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.embedded-works-contour {
    display: block;
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 22px;
    overflow: visible;
    z-index: 10;
    pointer-events: none;
}

.embedded-works-contour-fill { fill: var(--bg-dark); }
.embedded-works-contour-edge {
    fill: none;
    stroke: rgb(0 0 0 / 15%);
    stroke-width: 1px;
}

#embedded-works.storefront-carousel {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    color: #000;
    background: #fff;
    font-family: "Carousel Diatype", sans-serif;
}

.storefront-carousel-frame {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.storefront-carousel.is-project-open .storefront-carousel-frame {
    top: var(--nav-height, 80px);
    height: calc(100% - var(--nav-height, 80px));
}

.storefront-carousel.is-project-open .storefront-carousel-heading,
.storefront-carousel.is-project-open .storefront-carousel-description {
    visibility: hidden;
}

.storefront-carousel-heading,
.storefront-carousel-description {
    position: absolute;
    z-index: 1;
    margin: 0;
    pointer-events: none;
}

.storefront-carousel-heading {
    top: max(calc(var(--nav-height, 80px) + 24px), 12%);
    right: 5.333%;
    width: 89.334%;
    container-type: inline-size;
}

#embedded-works-title {
    margin: 0;
    max-width: none;
    color: inherit;
    font-family: var(--font-heading), sans-serif;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-transform: none;
    white-space: nowrap;
    text-align: right;
}

.storefront-carousel-description {
    left: 5.333%;
    bottom: 4.45%;
    max-width: 40ch;
    font-size: clamp(12px, 0.94cqw, 16px);
    line-height: 1.4;
    text-wrap: pretty;
}



@media (max-width: 649px) {
    .storefront-carousel-heading { top: calc(var(--nav-height, 80px) + 24px); }
    .storefront-carousel-description {
        bottom: max(24px, env(safe-area-inset-bottom));
        right: 5.333%;
        max-width: 32ch;
        padding: 10px 12px;
        margin-left: -12px;
        background: rgb(255 255 255 / 92%);
    }
}
