/* Story scenes. These static compositions are also the reduced-motion and
 * no-JavaScript experience; the 3D stage and scroll timelines layer on top
 * in later phases. */

/* Opening scene ------------------------------------------------------------ */

.lp-hero {
    align-items: flex-end;
    padding-bottom: clamp(4.5rem, 3rem + 7vh, 8rem);
}

.lp-hero .lp-display {
    max-width: 11.5em;
}

.lp-hero .lp-lead {
    max-width: 30rem;
    margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}

.lp-scroll-cue {
    position: absolute;
    right: var(--lp-gutter);
    bottom: clamp(2rem, 1.5rem + 2vh, 3rem);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--lp-fg-3);
    font-family: var(--lp-mono);
    font-size: var(--lp-size-label);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-scroll-cue::after {
    width: 1px;
    height: 2.5rem;
    background: linear-gradient(var(--lp-line-strong), transparent);
    content: "";
}

/* Shared story-scene composition ------------------------------------------- */

.lp-story {
    display: flex;
    min-height: 100svh;
    align-items: center;
    padding-block: calc(var(--lp-nav-h) + var(--lp-space-6)) var(--lp-space-7);
}

.lp-story .lp-h2 + .lp-h2 {
    margin-top: 0.22em;
}

/* Problem: the second line is the grind itself, quieter. */
.lp-problem .lp-echo {
    color: var(--lp-fg-3);
}

/* Human advantage: the hand-over, then the promise. */
.lp-human-handover {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--lp-space-6);
    margin-top: var(--lp-space-7);
    padding-top: var(--lp-space-5);
    border-top: 1px solid var(--lp-line);
}

.lp-human-handover .lp-h3 {
    max-width: 14em;
}

.lp-human-handover .lp-lead {
    margin-top: 0;
}

.lp-promise {
    margin-top: var(--lp-space-7);
}

.lp-promise .lp-h2 + .lp-h2 {
    margin-top: 0.06em;
}

.lp-timeline {
    position: relative;
    display: flex;
    max-width: 42rem;
    justify-content: space-between;
    margin-top: var(--lp-space-5);
    padding-top: 1.25rem;
    color: var(--lp-fg-3);
    font-family: var(--lp-mono);
    font-size: var(--lp-size-label);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-timeline::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--lp-line-strong);
    content: "";
}

.lp-timeline span {
    position: relative;
}

.lp-timeline span::before {
    position: absolute;
    top: calc(-1.25rem - 3.5px);
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-fg);
    content: "";
}

.lp-timeline span:last-child {
    text-align: right;
}

.lp-timeline span:last-child::before {
    right: 0;
    left: auto;
}

.lp-timeline strong {
    display: block;
    color: var(--lp-fg);
    font-weight: 500;
}

/* More opportunities: three lines that brighten. */
.lp-opportunities .lp-h2 .lp-line:nth-child(1) {
    color: var(--lp-fg-3);
}

.lp-opportunities .lp-h2 .lp-line:nth-child(2) {
    color: var(--lp-fg-2);
}

/* Final invitation --------------------------------------------------------- */

.lp-final {
    padding-block: clamp(8rem, 6rem + 12vh, 14rem);
}

.lp-final .lp-display {
    max-width: 11.5em;
}

@media (max-width: 760px) {
    .lp-hero {
        align-items: flex-end;
    }

    .lp-scroll-cue {
        display: none;
    }

    .lp-story {
        min-height: auto;
        padding-block: var(--lp-section-y);
    }

    .lp-human-handover {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--lp-space-3);
        margin-top: var(--lp-space-6);
    }

    .lp-promise {
        margin-top: var(--lp-space-6);
    }
}
