body.nav-page {
    --nav-bg: #fbfcf8;
    --nav-ink: #19161c;
    --nav-muted: #64616a;
    --nav-line: #dedbdc;
    --nav-panel: #f3f1f1;
    --nav-purple: #8d2dfb;
    --nav-callout: #f4f0f7;
    --nav-evidence-bg: #fff;
    --nav-cloud: url("/images/journey-cloud.png") center / cover no-repeat;
    --nav-caption-bg: rgba(255, 255, 255, 0.72);
    --nav-caption-border: rgba(255, 255, 255, 0.82);
    --nav-caption-ink: #211a28;
    background: var(--nav-bg);
    color: var(--nav-ink);
    color-scheme: light;
}

.nav-page main {
    overflow: clip;
}

.nav-page .nav-shell {
    width: min(100% - 3.5rem, 1120px);
    margin-inline: auto;
}

.nav-page .nav-hero {
    padding-top: 8rem;
}

.nav-hero-art {
    aspect-ratio: 2.7;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-radius: 30px;
    overflow: hidden;
}

.nav-stage--cloud {
    background: var(--nav-cloud);
}

.nav-hero-foreground {
    display: block;
    width: 52%;
    max-width: none;
    height: auto;
    align-self: flex-end;
    position: relative;
    z-index: 1;
}

.nav-hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    padding-block: 1.8rem 2.5rem;
}

.nav-hero h1 {
    font-size: clamp(1.25rem, 1.65vw, 1.55rem);
    font-weight: 700;
    line-height: 1.24;
    margin: 0.4rem 0;
}

.nav-hero-bottom p {
    font-family: var(--font-heading, "Space Mono", monospace);
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    margin: 0.35rem 0 0;
}

.nav-meta {
    color: var(--nav-muted);
    font-size: 0.82rem;
    margin: 0;
}

.nav-live {
    position: relative;
    isolation: isolate;
    flex: none;
    color: var(--nav-ink);
    text-decoration: none;
    padding: 1px;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 0 22px rgba(150, 62, 255, 0.18);
}

.nav-live::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -150%;
    background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 80deg,
    var(--nav-purple) 135deg,
    transparent 200deg,
    transparent 290deg,
    #c794ff 335deg,
    transparent 360deg
  );
    animation: nav-glow 4s linear infinite;
}

.nav-live span {
    display: block;
    padding: 0.75rem 1.4rem;
    border-radius: inherit;
    background: var(--nav-bg);
    font-size: 0.76rem;
    font-weight: 700;
}

.nav-live:hover {
    color: var(--nav-purple);
    box-shadow: 0 0 28px rgba(150, 62, 255, 0.42);
}

.nav-live:focus-visible,
.nav-page :focus-visible {
    outline: 3px solid var(--nav-purple);
    outline-offset: 3px;
}

@keyframes nav-glow {
  to {
    transform: rotate(360deg);
  }
}

.nav-intro {
    border-block: 1px solid var(--nav-line);
    padding-block: clamp(2rem, 5vw, 4rem);
    display: block;
}

.nav-intro p {
    max-width: 960px;
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.035em;
    margin: 0;
}

.nav-section {
    padding: clamp(3.4rem, 6vw, 6.5rem) clamp(0.1rem, 6vw, 6.25rem);
}

.nav-section + .nav-section {
    border-top: 1px solid var(--nav-line);
}

.nav-section-head {
    margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.nav-section-head h2 {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
    font-weight: 800;
    font-size: clamp(1.35rem, 2.45vw, 2.15rem);
    letter-spacing: -0.04em;
    line-height: 1.25;
    margin: 0;
}

.nav-section-head p {
    margin: 0.65rem 0 0;
    color: var(--nav-ink);
    font-size: 0.93rem;
}

.nav-orb {
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 50%;
    background: var(--nav-purple);
    box-shadow:
    0 0 8px 2px rgba(150, 62, 255, 0.37),
    0 0 22px rgba(150, 62, 255, 0.18);
    flex: none;
    position: relative;
    top: -0.12rem;
}

.nav-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 7vw, 7rem);
    margin: clamp(2.5rem, 5vw, 4rem) 0 1.7rem;
    align-items: start;
}

.nav-split h3 {
    font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
    font-size: clamp(1.08rem, 1.5vw, 1.4rem);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0;
}

.nav-split p,
.nav-lead {
    font-size: clamp(0.94rem, 1.15vw, 1.05rem);
    line-height: 1.65;
    color: var(--nav-ink);
    margin: 0 0 1rem;
}

.nav-stage {
    position: relative;
    display: grid;
    place-items: end center;
    min-height: 0;
    aspect-ratio: 1460/760;
    overflow: hidden;
    border-radius: 36px;
    padding: 0;
    background: linear-gradient(
    180deg,
    #fff 0%,
    #fff 16%,
    #f9f3ff 30%,
    #d9b5ff 65%,
    #983dff 100%
  );
    box-shadow: 0 8px 18px rgba(55, 25, 85, 0.09);
}

.nav-stage-caption {
    position: absolute;
    z-index: 2;
    top: clamp(0.75rem, 1.5vw, 1.15rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(64%, 42rem);
    max-width: calc(100% - 2rem);
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.65rem 1.1rem;
    border: 1px solid var(--nav-caption-border);
    border-radius: 14px;
    background: var(--nav-caption-bg);
    color: var(--nav-caption-ink);
    box-shadow: 0 7px 22px rgba(35, 19, 50, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    font-size: clamp(0.78rem, 1vw, 0.9rem);
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    pointer-events: none;
}

.nav-stage > img,
.nav-stage > .nav-motion {
    width: 85%;
    height: 85%;
    min-height: 0;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}

.nav-motion {
    position: relative;
    display: block;
}

.nav-motion img,
.nav-motion video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.nav-motion video {
    position: absolute;
    inset: 0;
    -webkit-mask-image: var(--media-mask);
    mask-image: var(--media-mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.nav-media-toggle {
    position: absolute;
    z-index: 3;
    right: 0.85rem;
    bottom: 0.85rem;
    min-width: 2rem;
    height: 2rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(30, 18, 38, 0.76);
    color: white;
    font-size: 0.8rem;
    line-height: 1;
}

.nav-media-toggle:hover {
    background: #592293;
}

.nav-stage:has(img[src$="nav-2.png"]) {
    aspect-ratio: 1460/650;
}

.nav-stage.nav-stage--cloud {
    background: var(--nav-cloud);
    place-items: center;
    padding: 1.3rem;
}

.nav-callout {
    background: var(--nav-callout);
    border-radius: 16px;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-block: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.nav-callout p {
    margin: 0;
}

.nav-evidence,
.nav-pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.nav-evidence .nav-stage {
    aspect-ratio: 1.25/1;
    place-items: center;
    background: var(--nav-evidence-bg);
    border: 0;
    box-shadow: none;
}

.nav-evidence .nav-stage > img,
.nav-evidence .nav-stage > .nav-motion {
    width: 100%;
    height: 100%;
}

.nav-evidence .nav-stage:nth-child(2) {
    background: var(--nav-evidence-bg);
    border: 0;
}

.nav-evidence .nav-stage img {
    object-fit: contain;
}

.nav-pair {
    grid-template-columns: repeat(2, 1fr);
}

.nav-pair .nav-stage {
    aspect-ratio: 1.25/1;
}

.nav-pair .nav-stage:first-child {
    place-items: center;
}

.nav-lead {
    margin: 3.5rem 0 1.8rem;
}

.nav-question-list {
    list-style: none;
    width: calc((100% - clamp(1.5rem, 7vw, 7rem)) / 2);
    margin: -1rem 0 2.5rem auto;
    padding: 0;
    display: grid;
    gap: 0.3rem;
}

.nav-question-list li {
    background: var(--nav-panel);
    border-radius: 8px;
    padding: 1.2rem 1.45rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.nav-question-list li:first-child {
    border-radius: 24px 24px 8px 8px;
}

.nav-question-list li:last-child {
    border-radius: 8px 8px 24px 24px;
}

.nav-page .back-to-top {
    background: var(--nav-ink);
}

@media (max-width: 700px) {
.nav-page .nav-shell {
    width: min(100% - 2rem, 1120px);
}

.nav-hero-art {
    height: 300px;
}

.nav-hero-foreground {
    width: min(90%, 500px);
}

.nav-hero-bottom {
    align-items: flex-start;
    padding-bottom: 2rem;
}

.nav-hero h1 {
    max-width: 20ch;
}

.nav-intro {
    display: block;
}

.nav-section {
    padding-inline: 0;
}

.nav-section-head p {
    margin-left: 0;
}

.nav-split {
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.nav-stage,
.nav-stage:has(img[src$="nav-2.png"]) {
    aspect-ratio: 1.12/1;
    border-radius: 16px;
}

.nav-stage-caption {
    top: 0.75rem;
    width: calc(100% - 1.5rem);
    max-width: none;
    min-height: 2.4rem;
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.nav-question-list {
    width: 100%;
    margin-top: 1rem;
}

.nav-evidence {
    grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 480px) {
.nav-hero-art {
    height: 245px;
}

.nav-hero-bottom {
    gap: 0.7rem;
}

.nav-live span {
    padding: 0.65rem 0.85rem;
    font-size: 0.7rem;
}

.nav-meta {
    font-size: 0.69rem;
}

.nav-section {
    padding-block: 4rem;
}

.nav-evidence,
.nav-pair {
    grid-template-columns: 1fr;
}

.nav-callout {
    padding: 1.2rem;
}
}

body.nav-page.home-dark {
    --nav-bg: #151319;
    --nav-ink: #f5f0f8;
    --nav-muted: #bbb4c0;
    --nav-line: #39333d;
    --nav-panel: #28232d;
    --nav-callout: #292331;
    --nav-evidence-bg: #28232d;
    --nav-caption-bg: rgba(30, 24, 39, 0.78);
    --nav-caption-border: rgba(255, 255, 255, 0.28);
    --nav-caption-ink: #fbf8fd;
    background: var(--nav-bg);
    color: var(--nav-ink);
    color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
.nav-live::before {
    animation: none;
}

.nav-page .reveal-on-scroll {
    opacity: 1;
    transform: none;
}

.nav-motion video {
    display: none;
}

.nav-media-toggle {
    display: none;
}
}

body.nav-page {
    font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
}

.nav-intro > p:first-child {
    font-size: .95rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: normal;
    margin-bottom: 1.8rem;
}

.nav-intro > p:nth-child(2) {
    max-width: 970px;
}

.nav-intro .nav-meta {
    margin-top: 1.5rem;
    font-size: .82rem;
    font-weight: 400;
    letter-spacing: normal;
}

.nav-stage.nav-stage--cloud {
    padding: 0;
    place-items: end center;
}

.nav-stage--cloud > img {
    width: 85%;
    height: 85%;
    object-position: center bottom;
}

.nav-stage > .nav-video-card {
    width: 85%;
    height: auto;
    aspect-ratio: 1460/760;
    overflow: hidden;
    border-radius: 3% / 5.8%;
}

.nav-stage--postits > .nav-video-card {
    aspect-ratio: 1440/740;
    border-radius: 0;
}

.nav-motion video {
    mask: none;
    -webkit-mask: none;
}

.nav-evidence .nav-stage {
    aspect-ratio: 910/728;
    background: white;
    border: 0;
}

.nav-evidence .nav-stage > .nav-video-card {
    width: 100%;
    height: 100%;
    aspect-ratio: 910/728;
    border-radius: 7% / 8.75%;
}

.nav-evidence .nav-stage > img {
    object-fit: contain;
    object-position: center;
}

.nav-evidence .nav-motion img,
.nav-evidence .nav-motion video {
    object-fit: fill;
}

.nav-mobile-callout {
    display: block;
    text-align: center;
    border: 1px solid var(--nav-line);
    background: var(--nav-bg);
    border-radius: 28px;
    padding: 2rem;
    font-size: .95rem;
    font-weight: 500;
}

.nav-mobile-callout svg {
    display: block;
    margin: 0 auto 1rem;
    color: var(--nav-purple);
}

.nav-opportunities .nav-question-list {
    width: 100%;
    margin: 0;
}

.nav-question-list li {
    padding: 1.5rem;
    border-radius: 6px;
}

.nav-question-list li:first-child {
    border-radius: 32px 32px 6px 6px;
}

.nav-question-list li:last-child {
    border-radius: 6px 6px 32px 32px;
}

.nav-pair .nav-stage:first-child {
    place-items: end center;
}

.nav-pair .nav-stage > img {
    width: 85%;
    height: 85%;
    object-position: center bottom;
}

.nav-page .reveal-on-scroll {
    opacity: 1;
    transform: none;
}

.nav-page.nav-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.nav-page.nav-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 700px) {
.nav-hero-bottom {
    flex-wrap: wrap;
}

.nav-hero-bottom > div {
    flex: 1 1 240px;
}

.nav-hero-foreground {
    width: 90%;
}

.nav-evidence,
.nav-pair {
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.nav-evidence .nav-stage {
    aspect-ratio: 910/728;
}

.nav-stage--postits,
.nav-stage--exploration {
    aspect-ratio: 1.3;
}

.nav-stage > .nav-video-card {
    width: 90%;
}

.nav-stage.nav-stage--cloud {
    aspect-ratio: 1.3;
}

.nav-opportunities .nav-question-list {
    margin-top: .8rem;
}

.nav-mobile-callout {
    padding: 1.5rem;
}
}

@media (prefers-reduced-motion: reduce) {
.nav-page.nav-ready .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
}
}

.nav-audit-note {
    margin-top: 0;
    font-size: .93rem;
}

body.nav-page .nav-hero-art > .nav-hero-foreground {
    width: 70%;
    height: auto !important;
    max-height: none;
    max-width: none;
    aspect-ratio: 1460 / 760;
    object-fit: contain;
    object-position: center bottom;
    flex: 0 0 auto;
}

.nav-stage--exploration > .nav-video-card {
    border-radius: 4% 4% 0 0 / 7.684% 7.684% 0 0;
    clip-path: inset(0 round 4% 4% 0 0 / 7.684% 7.684% 0 0);
}

@media (max-width: 700px) {
body.nav-page .nav-hero-art > .nav-hero-foreground {
    width: 90%;
}
}

@media (max-width:700px) {
    body.nav-page .nav-hero-art {
        width:100%;
        height:auto;
        min-height:0;
        aspect-ratio:auto;
        display:block;
    }

    body.nav-page .nav-hero-art > .nav-hero-foreground {
        display:block;
        width:100%;
        min-width:0;
        max-width:100%;
        height:auto !important;
        max-height:none;
        aspect-ratio:auto;
        object-fit:contain;
    }

    .nav-stage:has(> .nav-stage-caption) {
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:1rem;
        aspect-ratio:auto;
        padding:.75rem .75rem 0;
    }

    .nav-stage > .nav-stage-caption {
        position:static;
        transform:none;
        width:100%;
        max-width:none;
        flex:none;
    }

    .nav-stage:has(> .nav-stage-caption) > img {
        width:100%;
        height:auto;
        flex:none;
    }

    .nav-page .nav-stage:has(> img[src$="nav-2.png"]) {
        display:grid;
        grid-template-columns:minmax(0,1fr);
        grid-template-rows:auto auto;
        align-content:end;
        align-items:end;
        justify-items:center;
        height:max-content;
        min-height:0;
        aspect-ratio:auto;
        gap:1rem;
        padding:.75rem .75rem 0;
    }

    .nav-page .nav-stage:has(> img[src$="nav-2.png"]) > img {
        align-self:end;
        display:block;
        object-position:center bottom;
    }

    /* Keep this menu animation flush with the stage, without rounded bottom corners. */
    .nav-page .nav-stage.nav-stage--exploration {
        height:auto;
        min-height:0;
        aspect-ratio:1.6;
        place-items:end center;
        padding:0;
    }

    .nav-page .nav-stage.nav-stage--exploration > .nav-video-card {
        width:92%;
        height:auto;
        aspect-ratio:1460/760;
        align-self:end;
        justify-self:center;
        border-radius:4% 4% 0 0 / 7.684% 7.684% 0 0;
        clip-path:inset(0 round 4% 4% 0 0 / 7.684% 7.684% 0 0);
    }

    .nav-page .nav-stage:has(> img[src$="nav-6.png"]) {
        height:auto;
        min-height:0;
        aspect-ratio:1.6;
        place-items:end center;
    }

    .nav-page .nav-stage:has(> img[src$="nav-6.png"]) > img {
        width:92%;
        height:auto;
        align-self:end;
        object-position:center bottom;
    }
}
