/* ================= Coming Soon page ================= */

.coming-soon {
    position: relative;
    /* fill the first screen below the header; footer follows */
    min-height: calc(100vh - 104px);
    min-height: calc(100svh - 104px);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: clamp(30px, 5vw, 60px) 0;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cs-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/*
 * Wrapper is exactly the size of the artwork, so badge percentages track it.
 * Width is also capped by viewport height (image ratio 1066 / 517 ≈ 2.06)
 * so the hero never pushes the heading off short / landscape screens.
 */
.cs-illustration {
    position: relative;
    width: 100%;
    max-width: min(1066px, 107vh);
    margin: 0 auto;
}

.cs-illustration .center-image {
    display: block;
    width: 100%;
    height: auto;
}

/* floating code badges, sized relative to the 1066px artwork */
.cs-badge {
    position: absolute;
    height: auto;
    animation: csFloat 4s ease-in-out infinite;
}

.cs-badge-left {
    top: 35%;
    left: 11%;
    width: 15%;
}

.cs-badge-right {
    bottom: 18%;
    right: 9%;
    width: 14.8%;
    animation-delay: 1.5s;
}

.cs-title {
    margin: clamp(4px, 1vw, 10px) 0 clamp(26px, 4vw, 44px);
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    color: #3d3d3d;
}

.cs-highlight {
    position: relative;
    display: inline-block;
    color: #ffa800;
}

/* swoosh scales with the word instead of a fixed px offset */
.cs-swoosh {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: auto;
    margin-top: -0.07em;
}

.cs-text {
    max-width: 560px;
    margin: 0 auto;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.6;
    color: #1a1a1a;
}

/* animations */
@keyframes csFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8%); }
}

@media (prefers-reduced-motion: reduce) {
    .cs-badge { animation: none; }
}

/* responsive */
@media (max-width: 767px) {
    .cs-illustration { max-width: none; }

    /* badges slightly larger relative to the art so they stay legible */
    .cs-badge-left { left: 12%; width: 16%; }
    .cs-badge-right { right: 10%; width: 16%; }

    .cs-text br { display: none; }
}

/* short landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .cs-illustration { max-width: min(1066px, 90vh); }
    .cs-title { font-size: 34px; margin-bottom: 22px; }
}
