/*
 * Hana Coming Soon — public presentation only.
 * One direct stylesheet is intentional for this small temporary theme.
 * Styles are scoped to the theme-specific body class.
 */

.hana-coming-soon {
    margin: 0;
    min-width: 280px;
    background: #fff;
}

.hana-coming-soon *,
.hana-coming-soon *::before,
.hana-coming-soon *::after {
    box-sizing: border-box;
}

.hana-coming-soon__main {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(20px, 3vh, 48px) 16px;
    place-items: center;
}

.hana-coming-soon__composition {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2vh, 20px);
    width: 100%;
    max-width: 960px;
}

.hana-coming-soon__artwork {
    display: block;
    width: min(72vw, 350px);
    height: auto;
}

.hana-coming-soon__heading {
    width: min(88vw, 640px);
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 1;
    font-size: inherit;
    line-height: 1;
}

.hana-coming-soon__lettering {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* The supplied GIF has a slightly off-white paper background. */
    filter: brightness(1.04);
}

/* Keep the same composition, with natural scrolling on short viewports. */
@media (max-width: 600px) {
    .hana-coming-soon__artwork {
        width: min(74vw, 285px);
    }

    .hana-coming-soon__heading {
        width: min(94vw, 450px);
    }
}

@media (max-height: 650px) and (min-width: 601px) {
    .hana-coming-soon__artwork {
        width: min(33vh, 245px);
    }

    .hana-coming-soon__heading {
        width: min(56vw, 450px);
    }
}

/* Animated GIFs cannot be paused with CSS. Show static text instead. */
.hana-coming-soon__reduced-label {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hana-coming-soon__artwork,
    .hana-coming-soon__lettering {
        display: none;
    }

    .hana-coming-soon__heading {
        display: flex;
        width: auto;
        min-height: 1em;
        align-items: center;
        justify-content: center;
        overflow: visible;
        aspect-ratio: auto;
        font: 400 clamp(1.5rem, 6vw, 2.5rem)/1.2 sans-serif;
        letter-spacing: 0.05em;
    }

    .hana-coming-soon__reduced-label {
        display: block;
    }
}
