@font-face {
    font-family: "Orbit DM Sans";
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/orbit-dm-sans.woff2") format("woff2");
}

@font-face {
    font-family: "Orbit Libre Caslon";
    font-weight: 400;
    font-display: swap;
    src: url("fonts/orbit-libre-caslon.woff2") format("woff2");
}

.orbit-delivery-wrapper {
    --ink: #f3f6ff;
    --muted: #b0bed9;
    --nav: #becbe6;
    --accent: #8daaff;
    --cloud: 0.14;
    
    margin: 0;
    font-family: "Orbit DM Sans", sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    
    height: 100svh;
    min-height: 760px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.orbit-delivery-wrapper * {
    box-sizing: border-box;
}

.orbit-delivery-wrapper button,
.orbit-delivery-wrapper a.explore-button {
    font: inherit;
    color: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    -webkit-tap-highlight-color: transparent;
}

.orbit-delivery-wrapper button:focus-visible,
.orbit-delivery-wrapper a:focus-visible {
    outline: 2px solid #4776ee;
    outline-offset: 6px;
}

.orbit-delivery-wrapper a {
    color: inherit;
    text-decoration: none;
}

.orbit-delivery-wrapper svg {
    display: block;
}

.orbit-delivery-wrapper button svg,
.orbit-delivery-wrapper a.explore-button svg {
    width: 22px;
    height: 22px;
}

.orbit-delivery-wrapper main {
    flex: 1;
    min-height: 0;
    display: flex;
}

.orbit-delivery-wrapper .hero {
    width: 100%;
    position: relative;
    display: block;
}

.orbit-delivery-wrapper .hero-copy {
    position: relative;
    z-index: 3;
    margin-left: 6.5%;
    padding-top: clamp(76px, 12.2vh, 145px);
    width: 45%;
    pointer-events: none;
}

.orbit-delivery-wrapper .hero-copy button,
.orbit-delivery-wrapper .hero-copy a.explore-button {
    pointer-events: auto;
}

.orbit-delivery-wrapper .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.36em;
    font-size: 12px;
    font-weight: 500;
    color: #7a94df;
    margin: 0 0 21px;
    display: block;
}

.orbit-delivery-wrapper h1 {
    font-size: clamp(66px, 5.55vw, 100px);
    font-weight: 520;
    letter-spacing: -0.064em;
    line-height: 1.03;
    margin: 0 0 26px;
}

.orbit-delivery-wrapper h1 em {
    font-family: "Orbit Libre Caslon", Georgia, serif;
    font-size: 1.12em;
    font-weight: 400;
    letter-spacing: -0.035em;
    color: var(--accent);
    line-height: 0.92;
    font-style: normal;
}

.orbit-delivery-wrapper .hero-description {
    color: var(--muted);
    font-size: clamp(16px, 1.25vw, 21px);
    line-height: 1.45;
    letter-spacing: -0.3px;
    margin: 0 0 30px;
}

.orbit-delivery-wrapper .explore-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 183px;
    padding: 17px 29px;
    border-radius: 32px;
    background: #4773ec;
    color: #fff;
    font-size: 16px;
    min-height: 55px;
    box-shadow: inset 0 1px 0 #ffffff30;
    transition:
        background 0.2s,
        transform 0.2s;
}

.orbit-delivery-wrapper .explore-button:hover {
    background: #345fda;
    transform: translateY(-2px);
}

.orbit-delivery-wrapper .hero-copy .explore-button[disabled] {
    cursor: default;
    background: #4773ec;
    transform: none;
}

.orbit-delivery-wrapper .visual-column {
    position: absolute;
    right: -5%;
    top: 0;
    width: 76%;
    height: calc(100% + 12px);
    z-index: 1;
}

.orbit-delivery-wrapper .planet-stage {
    height: 100%;
    width: 100%;
    position: relative;
    cursor: grab;
    touch-action: none;
    user-select: none;
    outline: none;
}

.orbit-delivery-wrapper .planet-stage:focus-visible {
    outline: 1px dashed #adc1ef;
    outline-offset: -15px;
    border-radius: 36px;
}

.orbit-delivery-wrapper .planet-stage.dragging {
    cursor: grabbing;
}

.orbit-delivery-wrapper .planet-stage canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.orbit-delivery-wrapper .planet-caption {
    position: absolute;
    right: 6.2%;
    top: 17%;
    z-index: 3;
    width: 160px;
    pointer-events: none;
    color: #a4b5d8;
    transition: opacity 0.2s;
}

.orbit-delivery-wrapper .planet-caption p {
    font-size: 15px;
    line-height: 1.35;
    font-style: italic;
    text-align: right;
    margin: 0;
}

.orbit-delivery-wrapper .planet-caption svg {
    width: 160px;
    height: 149px;
    margin-top: -17px;
    margin-left: -32px;
}

.orbit-delivery-wrapper .planet-caption.is-dragging {
    opacity: 0.6;
}

.orbit-delivery-wrapper .cloud-bank {
    position: absolute;
    z-index: 2;
    inset: auto -12% -90px 24%;
    height: 250px;
    pointer-events: none;
    filter: blur(17px);
    opacity: var(--cloud);
}

.orbit-delivery-wrapper .cloud-bank i {
    position: absolute;
    bottom: 0;
    background: radial-gradient(ellipse at 42% 34%,
            #fffdfb 27%,
            #f3f7ff 59%,
            #e5edfc88 75%,
            transparent 80%);
    border-radius: 50%;
}

.orbit-delivery-wrapper .cloud-bank i:nth-child(1) {
    width: 390px;
    height: 200px;
    left: 0;
    bottom: -28px;
    transform: rotate(-25deg);
}

.orbit-delivery-wrapper .cloud-bank i:nth-child(2) {
    width: 265px;
    height: 195px;
    left: 14%;
    bottom: 32px;
}

.orbit-delivery-wrapper .cloud-bank i:nth-child(3) {
    width: 270px;
    height: 170px;
    left: 29%;
    bottom: -2px;
}

.orbit-delivery-wrapper .cloud-bank i:nth-child(4) {
    width: 350px;
    height: 200px;
    right: 7%;
    bottom: -20px;
}

.orbit-delivery-wrapper .cloud-bank i:nth-child(5) {
    width: 280px;
    height: 215px;
    right: -2%;
    bottom: 70px;
}

.orbit-delivery-wrapper .loading {
    position: absolute;
    top: 42%;
    left: 25%;
    right: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #8197c4;
    font-size: 12px;
    pointer-events: none;
}

.orbit-delivery-wrapper .loading>span {
    width: 17px;
    height: 17px;
    border: 1px solid #d8e3ff;
    border-top-color: #648cf0;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.orbit-delivery-wrapper .scene-fallback {
    position: absolute;
    inset: 35% 20%;
    font-size: 15px;
    text-align: center;
    color: #7588b4;
    z-index: 5;
}

.orbit-delivery-wrapper .scene-fallback button {
    background: #4773ec;
    border-radius: 20px;
    color: #fff;
    padding: 10px 20px;
}

.orbit-delivery-wrapper .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 759px) {
    .orbit-delivery-wrapper {
        height: auto;
        min-height: 100svh;
    }

    .orbit-delivery-wrapper main {
        display: block;
    }

    .orbit-delivery-wrapper .hero {
        display: flex;
        flex-direction: column;
    }

    .orbit-delivery-wrapper .hero-copy {
        width: calc(100% - 50px);
        margin: 0 25px;
        padding-top: 32px;
        pointer-events: auto;
        text-align: center;
    }

    .orbit-delivery-wrapper h1 {
        font-size: clamp(54px, 12vw, 80px);
        margin-bottom: 23px;
    }

    .orbit-delivery-wrapper .visual-column {
        position: relative;
        width: 134%;
        right: auto;
        left: -17%;
        height: clamp(445px, 112vw, 670px);
        margin-top: -8px;
    }

    .orbit-delivery-wrapper .planet-caption {
        top: auto;
        bottom: 290px;
        right: 18px;
        width: 96px;
    }
}
