html:root {
    scroll-behavior: auto;
    scroll-padding-top: 0;
}

.hero-star-map :is(a, button):focus-visible,
.choose-star-map :is(a, button):focus-visible,
#main-content :is(a, button, summary):focus-visible {
    outline: 3px solid #9a6f25;
    outline-offset: 3px;
}

.hero-star-map,
.choose-star-map,
.occasions-star-map,
.what-star-map,
.accuracy-star-map,
.skyprint-advantages,
.live-customer-media,
.skyprint-reviews,
.faq-star-map,
.final-order-cta,
.other-personal-gifts {
    overflow: hidden;
    overflow: clip;
}

.hero-star-map,
.choose-star-map,
section[id] {
    scroll-margin-top: 24px;
}

/* Small uppercase section labels need AA contrast on the warm white canvas. */
.csm-kicker,
.csm-block-label,
.osm-kicker,
.wsm-kicker,
.asm-kicker,
.spa-kicker,
.lcm-kicker,
.spr-kicker,
.faq-kicker,
.opg-kicker {
    color: #8a6827;
}

/*
 * The homepage is intentionally rich and long. The browser can defer layout
 * and paint work for sections far below the fold while keeping their content
 * searchable, accessible and available to anchor navigation.
 */
@supports (content-visibility: auto) {
    .occasions-star-map,
    .what-star-map,
    .accuracy-star-map,
    .skyprint-advantages,
    .live-customer-media,
    .skyprint-reviews,
    .faq-star-map,
    .final-order-cta,
    .other-personal-gifts {
        content-visibility: auto;
        contain-intrinsic-size: auto 760px;
    }

    body.site-hash-navigation-active .occasions-star-map,
    body.site-hash-navigation-active .what-star-map,
    body.site-hash-navigation-active .accuracy-star-map,
    body.site-hash-navigation-active .skyprint-advantages,
    body.site-hash-navigation-active .live-customer-media,
    body.site-hash-navigation-active .skyprint-reviews,
    body.site-hash-navigation-active .faq-star-map,
    body.site-hash-navigation-active .final-order-cta,
    body.site-hash-navigation-active .other-personal-gifts,
    .occasions-star-map:target,
    .what-star-map:target,
    .accuracy-star-map:target,
    .skyprint-advantages:target,
    .live-customer-media:target,
    .skyprint-reviews:target,
    .faq-star-map:target,
    .final-order-cta:target,
    .other-personal-gifts:target {
        content-visibility: visible;
        contain-intrinsic-size: none;
    }
}

.hero-purchase-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: -10px 0 20px;
    color: #5d6674;
    font-size: 12px;
    line-height: 1.25;
}

.hero-purchase-fact {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 5px 10px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(32, 40, 56, .1);
    border-radius: 999px;
    white-space: nowrap;
}

.hero-purchase-fact-price {
    background: #e8dcc0;
    color: #5f4617;
    border-color: rgba(155, 122, 53, .22);
    font-weight: 850;
}

.csm-early-proof {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 24px;
    margin: 24px 0 18px;
    padding: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(197, 154, 66, .17), transparent 38%),
        linear-gradient(135deg, #fffdf8 0%, #f2ebdd 100%);
    border: 1px solid rgba(155, 122, 53, .2);
    border-radius: 17px;
    box-shadow: 0 13px 32px rgba(32, 40, 56, .08);
}

.csm-early-proof::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #d4b066, #8d6b2b);
}

.csm-early-proof-media {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.csm-early-proof-media a,
.csm-early-proof-video {
    position: relative;
    display: block;
    min-width: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e7e0d4;
    border: 2px solid #fff;
    border-radius: 11px;
    box-shadow: 0 7px 18px rgba(32, 40, 56, .12);
    transition: transform .18s ease, box-shadow .18s ease;
}

.csm-early-proof-media a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(32, 40, 56, .16);
}

.csm-early-proof-media img,
.csm-early-proof-video video {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.csm-early-proof-video .lcm-video-play {
    width: 48px;
    height: 48px;
    font-size: 17px;
}

.csm-early-proof-video > span {
    position: absolute;
    z-index: 4;
    right: 6px;
    bottom: 6px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(25, 31, 43, .82);
    color: #fff;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    pointer-events: none;
}

.csm-early-proof-copy {
    min-width: 0;
}

.csm-early-proof-kicker {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    color: #805f20;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.csm-early-proof-copy h3 {
    margin: 0 0 8px;
    color: #202838;
    font-size: 22px;
    line-height: 1.22;
    font-weight: 850;
}

.csm-early-proof-copy blockquote {
    margin: 0 0 11px;
    color: #596271;
    font-size: 13px;
    line-height: 1.45;
    font-style: italic;
}

.csm-early-proof-points {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 10px;
    color: #4e5867;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 750;
}

.csm-early-proof-points span {
    white-space: nowrap;
}

.csm-early-proof-points i {
    margin-right: 4px;
    color: #8a6827;
}

.csm-early-proof-link,
.csm-early-proof-link:hover,
.csm-early-proof-link:visited,
.csm-early-proof-link:active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #202838;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 850;
    text-decoration: none;
}

.csm-early-proof-link:hover {
    color: #805f20;
}

.csm-mobile-proof,
.asm-mobile-compact,
.spa-mobile-compact {
    display: none;
}

@media (max-width: 767.98px) {
    html:root {
        scroll-padding-top: 0;
    }

    .hero-star-map,
    .choose-star-map,
    section[id] {
        scroll-margin-top: 16px;
    }

    .hero-purchase-facts {
        justify-content: center;
        gap: 6px;
        margin: -8px 0 17px;
        font-size: 10.5px;
    }

    .hero-purchase-fact {
        min-height: 25px;
        padding: 4px 8px;
    }

    .csm-early-proof {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
        margin: 18px 0 16px;
        padding: 13px;
        border-radius: 15px;
    }

    .csm-early-proof-media {
        gap: 6px;
    }

    .csm-early-proof-media a,
    .csm-early-proof-video {
        border-width: 1px;
        border-radius: 9px;
    }

    .csm-early-proof-video .lcm-video-play {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .csm-early-proof-copy h3 {
        margin-bottom: 6px;
        font-size: 18px;
    }

    .csm-early-proof-copy blockquote {
        margin-bottom: 9px;
        font-size: 12px;
    }

    .csm-early-proof-points {
        gap: 5px 10px;
        margin-bottom: 9px;
        font-size: 10px;
    }

    .csm-early-proof-link,
    .csm-early-proof-link:hover,
    .csm-early-proof-link:visited,
    .csm-early-proof-link:active {
        font-size: 11px;
    }

    .csm-photo-note-gallery--desktop {
        display: none !important;
    }

    .csm-mobile-proof {
        display: block;
        margin: 4px 0 30px;
        padding: 15px;
        background:
            radial-gradient(circle at 100% 0, rgba(208, 169, 85, .2), transparent 40%),
            linear-gradient(145deg, #202838, #151c29);
        color: #ffffff;
        border: 1px solid rgba(214, 181, 109, .34);
        border-radius: 16px;
        box-shadow: 0 13px 30px rgba(32, 40, 56, .16);
    }

    .csm-mobile-proof--photo {
        margin-top: 18px;
        margin-bottom: 0;
        background:
            radial-gradient(circle at 0 100%, rgba(208, 169, 85, .17), transparent 43%),
            linear-gradient(145deg, #29344a, #202838);
    }

    .csm-mobile-proof-head {
        margin-bottom: 12px;
    }

    .csm-mobile-proof-head > span {
        display: block;
        margin-bottom: 4px;
        color: #e4c67f;
        font-size: 10px;
        line-height: 1.2;
        font-weight: 850;
        letter-spacing: .9px;
        text-transform: uppercase;
    }

    .csm-mobile-proof-head h3 {
        margin: 0 0 5px;
        color: #ffffff;
        font-size: 18px;
        line-height: 1.25;
        font-weight: 850;
    }

    .csm-mobile-proof-head p {
        margin: 0;
        color: rgba(255, 255, 255, .72);
        font-size: 12px;
        line-height: 1.4;
    }

    .csm-mobile-proof-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .csm-mobile-proof-grid a,
    .csm-mobile-proof-grid a:hover,
    .csm-mobile-proof-grid a:visited,
    .csm-mobile-proof-grid a:active {
        display: block;
        min-width: 0;
        overflow: hidden;
        background: #ffffff;
        color: #202838;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 11px;
        text-decoration: none;
    }

    .csm-mobile-proof-grid img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 5 / 6;
        object-fit: cover;
        background: #eeeae2;
    }

    .csm-mobile-proof--photo .csm-mobile-proof-grid img {
        object-fit: cover;
    }

    .csm-mobile-proof-grid a > span {
        display: block;
        min-height: 39px;
        padding: 7px 8px;
        color: #303a4d;
        font-size: 10px;
        line-height: 1.25;
        font-weight: 800;
    }

    .asm-mobile-compact {
        display: block;
        padding: 20px 17px;
        background:
            radial-gradient(circle at 100% 0, rgba(155, 122, 53, .3), transparent 42%),
            #202838;
        color: #ffffff;
        border-radius: 16px;
        box-shadow: 0 14px 32px rgba(32, 40, 56, .17);
    }

    .asm-mobile-kicker,
    .spa-mobile-kicker {
        margin-bottom: 6px;
        color: #e4c67f;
        font-size: 10px;
        line-height: 1.2;
        font-weight: 850;
        letter-spacing: .9px;
        text-transform: uppercase;
    }

    .asm-mobile-compact h2,
    .spa-mobile-compact h2 {
        margin: 0 0 9px;
        color: #ffffff;
        font-size: 21px;
        line-height: 1.22;
        font-weight: 850;
    }

    .asm-mobile-compact > p {
        margin: 0;
        color: rgba(255, 255, 255, .76);
        font-size: 13px;
        line-height: 1.48;
    }

    .asm-mobile-data {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 14px;
    }

    .asm-mobile-data span {
        min-width: 0;
        padding: 9px 6px;
        background: rgba(255, 255, 255, .08);
        color: rgba(255, 255, 255, .66);
        border: 1px solid rgba(255, 255, 255, .11);
        border-radius: 10px;
        font-size: 9px;
        line-height: 1.3;
        text-align: center;
    }

    .asm-mobile-data strong {
        display: block;
        margin-bottom: 2px;
        color: #ffffff;
        font-size: 11px;
    }

    .asm-mobile-note {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        margin-top: 10px;
        padding: 10px;
        background: rgba(228, 198, 127, .12);
        border: 1px solid rgba(228, 198, 127, .22);
        border-radius: 10px;
    }

    .asm-mobile-note i {
        display: inline-flex;
        width: 28px;
        height: 28px;
        align-items: center;
        justify-content: center;
        background: #e4c67f;
        color: #202838;
        border-radius: 50%;
        font-size: 11px;
    }

    .asm-mobile-note span {
        color: rgba(255, 255, 255, .78);
        font-size: 11px;
        line-height: 1.4;
    }

    .asm-mobile-note strong {
        color: #ffffff;
    }

    .spa-mobile-compact {
        display: block;
    }

    .spa-mobile-kicker {
        color: #8a6827;
    }

    .spa-mobile-compact h2 {
        color: #202838;
    }

    .spa-mobile-theses {
        display: grid;
        gap: 8px;
    }

    .spa-mobile-theses > div {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        gap: 11px;
        padding: 11px;
        background: #ffffff;
        border: 1px solid rgba(32, 40, 56, .08);
        border-radius: 12px;
        box-shadow: 0 7px 20px rgba(32, 40, 56, .05);
    }

    .spa-mobile-theses i {
        display: inline-flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        background: #f0ece3;
        color: #8a6827;
        border-radius: 10px;
        font-size: 15px;
    }

    .spa-mobile-theses span {
        color: #626b79;
        font-size: 11px;
        line-height: 1.38;
    }

    .spa-mobile-theses strong {
        display: block;
        margin-bottom: 2px;
        color: #202838;
        font-size: 13px;
        line-height: 1.3;
    }

    .spa-mobile-btn,
    .spa-mobile-btn:hover,
    .spa-mobile-btn:visited,
    .spa-mobile-btn:active {
        display: inline-flex;
        width: 100%;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        margin-top: 11px;
        background: #202838;
        color: #ffffff;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 850;
        text-decoration: none;
    }
}
