:root {
    --journey: 0;
    --page-width: min(1180px, calc(100% - 2.5rem));
    --night: #030814;
    --navy: #08182f;
    --ink: #0a1a31;
    --paper: #f7fbff;
    --white: #f8fbff;
    --soft-white: rgba(248, 251, 255, 0.76);
    --line-light: rgba(255, 255, 255, 0.2);
    --line-dark: rgba(8, 24, 47, 0.2);
    --ice: #a9e1ff;
    --sun: #ffd77c;
    --orange: #ff9466;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--white);
    background: var(--night);
    font-family: "Manrope", sans-serif;
    text-rendering: optimizeLegibility;
}

::selection {
    color: var(--ink);
    background: var(--sun);
}

a {
    color: inherit;
    text-decoration: none;
}

summary {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.section-inner {
    position: relative;
    width: var(--page-width);
    margin: 0 auto;
}

/* this keeps every stop on the journey speaking the same visual language */
.journey-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: clamp(7rem, 12vh, 10rem) 0;
}

.journey-section + .journey-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--page-width);
    height: 1px;
    background: var(--line-light);
    transform: translateX(-50%);
}

.light-stage {
    color: var(--ink);
}

.light-stage::before,
.light-stage + .light-stage::before {
    background: var(--line-dark);
}

.section-kicker,
.section-number {
    margin: 0 0 1rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.section-kicker {
    color: var(--ice);
}

.section-number {
    color: rgba(248, 251, 255, 0.66);
}

.light-stage .section-number {
    color: rgba(8, 24, 47, 0.58);
}

.section-heading h2 {
    max-width: 12ch;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.075em;
}

.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.7fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: end;
}

.section-heading--split > p {
    max-width: 35rem;
    margin: 0 0 0.35rem;
    color: var(--soft-white);
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.82;
}

.light-stage .section-heading--split > p {
    color: rgba(8, 24, 47, 0.76);
}

.section-heading--split > p a {
    border-bottom: 1px solid currentColor;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 850ms var(--ease), transform 850ms var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}
