/* September launch pass: existing grid and modal language, edited content. */
@media (max-width: 809.98px) {
    .l8-project-modal {
        padding: 0;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) {
        width: 100vw;
        height: 100dvh;
        max-width: none;
        max-height: none;
        border: 0;
        border-radius: 0;
        background: #fff;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) .l8-case-modal {
        height: 100%;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) > .l8-project-modal__close {
        top: max(16px, env(safe-area-inset-top, 0px));
        right: max(34px, calc(env(safe-area-inset-right, 0px) + 10px));
        width: 26px;
        height: 26px;
        font-size: 14px;
        color: #fff;
        background: var(--l8-overlay-control);
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) > .l8-project-modal__close::before {
        inset: 0;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) .l8-case-modal__left {
        gap: 96px;
        padding: max(64px, calc(env(safe-area-inset-top, 0px) + 48px)) 24px 0;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) .l8-case-modal__left-content {
        gap: 48px;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) .l8-case-modal__copy p {
        font-size: 11.5px;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) .l8-case-modal__title {
        font-size: 14px;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) .l8-case-modal__right {
        display: block;
        padding: 36px 24px max(48px, calc(env(safe-area-inset-bottom, 0px) + 24px));
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) .l8-case-modal__right > .l8-case-sizzle {
        display: block;
        margin: 0 0 40px;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) .l8-case-modal__right > .l8-case-opportunity {
        margin-top: 60px;
    }
}
body [data-framer-name="Work Grids"] .l8-home-withheld {
    display: none !important;
}
/* Held for the two-group review. Keep the client ticker available for restoration. */
[data-l8-home-impact] {
    display: none !important;
}
.l8-additional-cases {
    margin: 0;
    width: 100%;
    padding: clamp(48px, 7.5vw, 96px) 24px 0;
    box-sizing: border-box;
    color: #858585;
    font-family: var(--l8-body-font, "NC Inter", Inter, sans-serif);
    font-size: 11px;
    font-weight: 300;
    line-height: 1.65;
    text-align: center;
}
[data-l8-project-reel] > [hidden] { display: none !important; }
[data-l8-project-reel] > * { transition: none; }
.l8-case-expanded__stage, .l8-case-expanded__stage > * {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.l8-case-expanded__stage { pointer-events: none; }
/* Shared detailed template: both reel stages fill the same modal area. */
.l8-project-modal__panel.is-detail-case:not(.is-video-only) .l8-case-sizzle {
    aspect-ratio: 4 / 3;
}
.l8-project-modal__panel.is-detail-case:not(.is-video-only) .l8-case-sizzle__stage > video {
    object-fit: cover;
    object-position: center;
    transform: none;
}
.l8-project-modal__panel.is-detail-case:not(.is-video-only) .l8-case-expanded__stage > video {
    object-fit: cover;
    object-position: center;
    transform: none;
}
/* Preserve the delivered Dream Beauty film's complete 16:9 composition. */
.l8-project-modal__panel.is-dream-beauty.is-detail-case:not(.is-video-only) .l8-case-sizzle {
    aspect-ratio: 16 / 9;
}
.l8-project-modal__panel.is-dream-beauty.is-detail-case:not(.is-video-only) :is(.l8-case-sizzle__stage, .l8-case-expanded__stage) > video {
    object-fit: contain;
    object-position: center;
    transform: none;
}
.l8-project-modal__panel.is-dream-beauty:not(.has-opportunity):not(.has-outcomes) .l8-case-opportunity {
    display: none;
}
.l8-project-modal__panel.is-detail-case:not(.is-video-only) :is([data-l8-case-field-note], [data-l8-case-valuation], [data-l8-case-revenue]) {
    align-items: center;
}
.l8-project-modal__panel.is-detail-case:not(.is-video-only) :is([data-l8-case-field-note-link], [data-l8-case-valuation-link], [data-l8-case-revenue-link]) {
    justify-self: start;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 94.3px;
    min-height: 26px;
    font-size: 10px;
    text-align: left;
    margin-left: -10px;
    gap: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ededed;
    color: #303030;
    transition: background-color 240ms ease, color 240ms ease;
}
.l8-project-modal__panel.is-detail-case:not(.is-video-only) [data-l8-case-valuation-link] {
    width: max-content;
    min-width: 94.3px;
}
.l8-project-modal__panel.is-aereo.is-detail-case:not(.is-video-only) [data-l8-case-valuation-link],
.l8-project-modal__panel.is-simple-energy.is-detail-case:not(.is-video-only) [data-l8-case-valuation-link],
.l8-project-modal__panel.is-dream-beauty.is-detail-case:not(.is-video-only) [data-l8-case-valuation-link],
.l8-project-modal__panel.is-little-joys.is-detail-case:not(.is-video-only) [data-l8-case-valuation-link],
.l8-project-modal__panel.is-blue-tokai.is-detail-case:not(.is-video-only) [data-l8-case-valuation-link],
.l8-project-modal__panel.is-sabyasachi.is-detail-case:not(.is-video-only) [data-l8-case-revenue-link] {
    width: max-content;
    min-width: 0;
    padding-inline: 11.5px;
    margin-left: -11.5px;
}
.l8-project-modal__panel.is-monvue.is-detail-case:not(.is-video-only) [data-l8-case-field-note-link] {
    width: max-content;
    padding-inline: 11.5px;
    margin-left: -11.5px;
}
.l8-project-modal__panel.is-blue-tokai.is-detail-case:not(.is-video-only) [data-l8-case-copy] p,
.l8-project-modal__panel.is-sabyasachi.is-detail-case:not(.is-video-only) [data-l8-case-copy] p {
    text-wrap: pretty;
}
.l8-project-modal__panel.is-detail-case:not(.is-video-only) :is([data-l8-case-field-note-link], [data-l8-case-valuation-link], [data-l8-case-revenue-link]) .l8-case-field-note__dot,
.l8-project-modal__panel.is-detail-case:not(.is-video-only) :is([data-l8-case-field-note-label], [data-l8-case-valuation-label], [data-l8-case-revenue-label])::after {
    display: none;
}
.l8-project-modal__panel.is-detail-case:not(.is-video-only) :is([data-l8-case-field-note-link], [data-l8-case-valuation-link], [data-l8-case-revenue-link]):is(:hover, :focus-visible) {
    background: #303030;
    color: #fff;
}
.l8-project-modal__panel.is-detail-case:not(.is-video-only) :is([data-l8-case-field-note-link], [data-l8-case-valuation-link], [data-l8-case-revenue-link]):focus-visible {
    outline: 1px solid #303030;
    outline-offset: 3px;
}
.l8-project-modal__panel.is-detail-case:not(.is-video-only).is-sizzle-expanded .l8-case-modal {
    position: absolute;
    inset: 0;
    visibility: hidden;
}
@media (min-width: 810px) {
    .l8-project-modal__panel.is-home-case.is-detail-case .l8-case-modal__right {
        row-gap: var(--l8-detail-section-gap, 60px);
    }
    .l8-project-modal__panel.is-detail-case:not(.is-video-only) .l8-case-modal__left {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .l8-project-modal__panel.is-detail-case:not(.is-video-only) .l8-case-modal__right {
        padding-top: 50px;
    }
    .l8-project-modal__panel.is-monvue.is-detail-case:not(.is-video-only) .l8-case-modal__left {
        padding: 55px 40px 40px;
    }
}
@media (max-width: 809.98px) {
    .l8-project-modal__panel.is-detail-case:not(.is-video-only) .l8-case-expanded__close {
        width: 44px;
        height: 44px;
        top: 8px;
        right: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .l8-project-modal__panel.is-detail-case:not(.is-video-only) :is([data-l8-case-field-note-link], [data-l8-case-valuation-link], [data-l8-case-revenue-link]) {
        transition: none;
    }
}
.l8-project-modal__panel.is-detail-case .l8-case-chart__line {
    stroke: var(--l8-modal-grey);
    stroke-width: 0.85;
}
.l8-project-modal__panel.is-detail-case .l8-case-chart__point > circle {
    r: 2.1px;
}
@media (max-width: 809.98px) {
    .l8-project-modal__panel.is-home-case.is-detail-case .l8-case-sizzle {
        margin-top: 0;
    }
    .l8-project-modal__panel.is-home-case.is-detail-case .l8-case-modal__right {
        display: block;
    }
    .l8-project-modal__panel.is-home-case.is-detail-case .l8-case-opportunity {
        margin-top: 73px;
    }
}
/* Keep finished landscape reels complete instead of cropping to the case-study pane. */
.l8-project-modal__panel.is-video-only .l8-case-expanded__stage { overflow: hidden; }
.l8-project-modal__panel.is-case.is-video-only:is(.is-monvue, .is-blue-tokai, .is-little-joys, .is-aereo, .is-sabyasachi, .is-varalife, .is-simple-energy) {
    width: min(1200px, calc(100vw - 96px), calc((100dvh - 96px) * 16 / 9));
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    background: transparent;
}
.l8-project-modal__panel.is-video-only:is(.is-monvue, .is-blue-tokai, .is-little-joys, .is-aereo, .is-sabyasachi, .is-varalife, .is-simple-energy) .l8-case-expanded {
    background: transparent;
}
.l8-project-modal__panel.is-video-only:is(.is-monvue, .is-blue-tokai, .is-little-joys, .is-aereo, .is-sabyasachi, .is-varalife, .is-simple-energy) .l8-case-expanded__stage > video {
    object-fit: contain;
    object-position: center;
    transform: none;
}
@media (max-width: 809.98px) {
    .l8-project-modal__panel.is-case.is-video-only:is(.is-monvue, .is-blue-tokai, .is-little-joys, .is-aereo, .is-sabyasachi, .is-varalife, .is-simple-energy) {
        width: min(calc(100vw - 32px), calc((100dvh - 96px) * 16 / 9));
    }
}
.l8-agent-overlay__panel {
    width: min(760px, calc(100vw - 64px));
    min-height: min(580px, calc(100dvh - 64px));
    box-sizing: border-box;
    padding: 48px 40px 32px;
}
.l8-agent-overlay__header h2 { font-size: 12px; }
.l8-agent-overlay__intro {
    max-width: 560px;
    margin: 40px 0 40px;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0;
}
.l8-agent-overlay__intro p + p { margin-top: 20px; }
.l8-agent-overlay__intro .l8-agent-overlay__lead {
    color: var(--l8-text-primary);
    font-size: 11px;
    line-height: 1.4;
}
.l8-agent-overlay__links a {
    padding: 10px 0;
    font-size: 10px;
    min-height: 44px;
    grid-template-columns: auto 16px;
    gap: 8px;
}
.l8-agent-overlay__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--l8-divider); }
.l8-agent-overlay__links a { border-bottom: 0; }
.l8-agent-overlay__index, .l8-agent-overlay__note { display: none; }
.l8-agent-overlay__launch { width: 16px; height: 16px; }
.l8-agent-overlay__updated { padding-top: 24px; font-size: 8px; margin-top: auto; }
.l8-agent-overlay__close { width: 24px; height: 24px; color: #858585; }
.l8-agent-overlay__close:hover,
.l8-agent-overlay__close:focus-visible { outline: 1px solid rgba(48, 48, 48, .12); outline-offset: 2px; }
/* All case studies inherit the approved first-three modal typography and geometry. */
.l8-project-modal__panel.is-home-case .l8-case-opportunity__stat { grid-template-columns: minmax(0, max-content) max-content; justify-content: start; }
.l8-skin-spectrum-card__label-line { color: #fff; }
.l8-report-index { opacity: .5; }
:is([data-l8-skin-spectrum-card], [data-l8-time-space-card]) .l8-report-index { opacity: 1; color: #fff; }
:is([data-l8-skin-spectrum-card], [data-l8-time-space-card]) .l8-skin-spectrum-card__cta {
    height: 44px;
    box-sizing: border-box;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    min-width: 0;
    gap: 0;
    padding-inline: 18px;
}
.l8-project-modal__panel.is-launch-case .l8-case-opportunity__label { white-space: normal; }
.l8-project-modal__panel.is-home-case.is-431-88 .l8-case-chart,
.l8-project-modal__panel.is-home-case.is-launch-case:not(.is-detail-case) .l8-case-chart {
    margin-top: 24px;
    margin-bottom: 0;
    translate: 0 0;
    flex-shrink: 0;
}
.l8-project-modal__panel.is-launch-case .l8-case-opportunity [hidden] { display: none !important; }
.l8-project-modal__panel.is-launch-case:not(.has-opportunity):not(.has-outcomes) .l8-case-opportunity { display: none; }

@media (min-width: 810px) {
    .l8-project-modal__panel.is-case.is-launch-case:not(.is-detail-case) { height: min(800px, calc(100dvh - 48px)); }
    .l8-project-modal__panel.is-home-case.is-launch-case:not(.is-detail-case) .l8-case-modal__right { row-gap: 40px; }
}

@media (max-width: 809.98px) {
    .l8-agent-overlay__panel { width: calc(100vw - 28px); min-height: 0; padding: 40px 24px 24px; }
    .l8-agent-overlay__intro { margin: 32px 0; font-size: 11px; }
    .l8-agent-overlay__intro .l8-agent-overlay__lead { font-size: 11px; }
    .l8-agent-overlay__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
    .l8-agent-overlay__links a { grid-template-columns: 1fr 16px; font-size: 10px; }
}


@media (max-width: 809.98px) {
    .l8-project-modal__panel.is-case:not(.is-video-only) .l8-case-modal__left-content {
        gap: 48px;
    }

    .l8-project-modal.is-open .l8-case-opportunity:not(.is-mobile-opportunity-visible),
    .l8-project-modal.is-open .l8-case-chart:not(.is-mobile-chart-visible) {
        opacity: 0 !important;
        animation: none !important;
    }

    .l8-project-modal.is-open .l8-case-opportunity.is-mobile-opportunity-visible,
    .l8-project-modal.is-open .l8-case-chart.is-mobile-chart-visible {
        animation: l8-modal-enter-rise 400ms ease both !important;
    }

    .l8-project-modal.is-open .l8-case-chart:not(.is-mobile-chart-visible) :is(.l8-case-chart__line, .l8-case-chart__bar-reveal, .l8-case-chart__point) {
        animation-play-state: paused !important;
    }

    .l8-project-modal.is-open .l8-case-chart.is-mobile-chart-visible :is(.l8-case-chart__line, .l8-case-chart__bar-reveal, .l8-case-chart__point) {
        animation-play-state: running !important;
        animation-delay: 0ms !important;
    }
}

@media (max-width: 809.98px) and (prefers-reduced-motion: reduce) {
    .l8-project-modal.is-open .l8-case-opportunity.is-mobile-opportunity-visible,
    .l8-project-modal.is-open .l8-case-chart.is-mobile-chart-visible {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* V1.0.2.4 local: fill the expanded Dream Beauty player on desktop without letterboxing. */
@media (min-width: 810px) {
    .l8-project-modal__panel.is-dream-beauty.is-detail-case.is-sizzle-expanded .l8-case-expanded__stage > video {
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 809.98px) {
    .l8-project-modal__panel.is-case:not(.is-video-only) > .l8-project-modal__close::before {
        inset: -9px;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) > .l8-project-modal__close:is(:hover, :focus-visible) {
        color: #fff;
        outline-color: rgba(48, 48, 48, .4);
    }
}

/* Local V1.0.5.10: desktop reels expand to their native film proportions. */
@media (min-width: 810px) {
    .l8-project-modal__panel.is-case.is-sizzle-expanded:not(.is-video-only) {
        width: min(1200px, calc(100vw - 96px), calc((100dvh - 96px) * var(--l8-expanded-video-ratio, 1.7777778)));
        height: auto;
        min-height: 0;
        aspect-ratio: var(--l8-expanded-video-ratio, 1.7777778);
    }
    .l8-project-modal__panel.is-case.is-detail-case.is-sizzle-expanded:not(.is-video-only) .l8-case-expanded__stage > video,
    .l8-project-modal__panel.is-case.is-sizzle-expanded:not(.is-video-only) .l8-case-expanded__stage > img {
        object-fit: contain;
        object-position: center;
        transform: none;
    }
}

/* Mobile project controls and slower opportunity reveal, V1.0.5.18. */
@media (max-width: 809.98px) {
    .l8-project-modal__panel.is-case:not(.is-video-only) > .l8-project-modal__close {
        right: max(20px, calc(env(safe-area-inset-right, 0px) + 10px));
        font-size: 0;
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) > .l8-project-modal__close::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 7px;
        height: 7px;
        background: linear-gradient(45deg, transparent 44%, currentColor 45% 55%, transparent 56%),
                    linear-gradient(-45deg, transparent 44%, currentColor 45% 55%, transparent 56%);
    }
    .l8-case-sizzle__open { left: 10px; right: auto; }
}
@media (max-width: 809.98px) and (prefers-reduced-motion: no-preference) {
    .l8-project-modal.is-open .l8-case-chart.is-mobile-chart-visible {
        animation: l8-modal-enter-rise 900ms ease both !important;
    }
    .l8-project-modal.is-open .l8-case-chart.is-mobile-chart-visible .l8-case-chart__line {
        animation-duration: 1400ms !important;
        animation-timing-function: cubic-bezier(.25, .1, .25, 1) !important;
    }
    .l8-project-modal.is-open .l8-case-chart.is-mobile-chart-visible .l8-case-chart__bar-reveal {
        animation: l8-mobile-chart-bars 1800ms cubic-bezier(.25, .1, .25, 1) both !important;
    }
    .l8-project-modal.is-open .l8-case-chart.is-mobile-chart-visible .l8-case-chart__point {
        animation-duration: 600ms !important;
        animation-delay: calc(var(--l8-point-index) * 200ms) !important;
    }
}
@keyframes l8-mobile-chart-bars {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

/* Phone landscape playback fills the viewport, including wide phone screens. */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 1100px) {
    .l8-project-modal:has(.is-sizzle-expanded) { padding: 0 !important; }
    .l8-project-modal .l8-project-modal__panel.is-case.is-sizzle-expanded {
        width: 100vw !important;
        height: 100dvh !important;
        max-width: none !important;
        max-height: none !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        border: 0 !important;
        border-radius: 0 !important;
    }
    .l8-project-modal .l8-project-modal__panel.is-case.is-sizzle-expanded .l8-case-expanded__stage > :is(video, img) {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: none !important;
    }
}
@media (max-width: 809.98px), (orientation: landscape) and (max-height: 600px) and (max-width: 1100px) {
    .l8-project-modal .l8-project-modal__panel.is-case .l8-case-expanded__close {
        top: max(12px, env(safe-area-inset-top, 0px));
        right: max(16px, calc(env(safe-area-inset-right, 0px) + 8px));
        left: auto;
        width: 26px;
        height: 26px;
        font-size: 0;
    }
    .l8-project-modal .l8-project-modal__panel.is-case .l8-case-expanded__close::after {
        content: "";
        position: absolute;
        left: 50%; top: 50%;
        transform: translate(-50%, -50%);
        width: 7px; height: 7px;
        background: linear-gradient(45deg, transparent 44%, currentColor 45% 55%, transparent 56%),
                    linear-gradient(-45deg, transparent 44%, currentColor 45% 55%, transparent 56%);
    }
}

/* One light-grey page canvas, from the hero through the portfolio and footer. */
:root { --l8-bg: #f7f7f7; }
html,
body,
#main > .framer-zmygc,
.framer-NfGLp.framer-1ajvnva,
[data-framer-name="Hero "],
[data-framer-name="Mobile Vid"],
[data-framer-name="About Section"],
[data-framer-name="Form"],
[data-framer-name="Koi"] {
    background-color: var(--l8-bg) !important;
}
[data-framer-name="Hero "] {
    isolation: isolate;
}
[data-framer-name="Hero "] [data-framer-name="Sm Screen Vid"],
[data-framer-name="Hero "] [data-framer-name="LG Screen Vid"] {
    mix-blend-mode: darken;
}
[data-framer-name="Form"] > [data-framer-name="Form Cta trigger"] {
    background: transparent !important;
}
/* Keep the butterfly's offset video edge inside the grey form surface at every size. */
[data-framer-name="Form"].l8-contact-section {
    isolation: isolate;
    overflow: clip !important;
}
@media (max-width: 809.98px) {
    [data-framer-name="Form"] > [data-framer-name="Desk Butterfly"] {
        filter: none !important;
    }
}

/* Three restored review cases use centered sidebar pills. */
.l8-project-modal__panel.is-new-three [data-l8-case-valuation-link] { justify-content:center; text-align:center; }

/* Center the AFS raise amount in its existing pill. */
.l8-project-modal__panel.is-afs.is-detail-case:not(.is-video-only) [data-l8-case-valuation-link] {
    justify-content: center;
    text-align: center;
}

/* Keep Hyperloop's longer growth label inside the sidebar divider. */
.l8-project-modal__panel.is-hyperloop.is-detail-case:not(.is-video-only) [data-l8-case-valuation-link] {
    margin-left: -20px;
}

/* Shared project links keep the name and grid clear of the viewport edge. */
[data-l8-share-hash] {
    scroll-margin-top: 76px;
}
@media (max-width: 809.98px) {
    [data-l8-share-hash] { scroll-margin-top: 64px; }
}

/* Match the shared 4:3 sidebar card; preserve the full film when expanded. */
.l8-project-modal__panel.is-3one4.is-detail-case .l8-case-sizzle { aspect-ratio: 4 / 3; }
.l8-project-modal__panel.is-3one4.is-detail-case .l8-case-expanded__stage > video {
    object-fit: contain !important;
    object-position: center;
    transform: none;
}

.l8-project-modal__panel.is-3one4.is-detail-case .l8-case-sizzle__stage > video { object-fit: cover; object-position: center; transform: none; }

/* Keep the AUM pill centred and comfortably inside the sidebar. */
.is-detail-case.is-3one4:not(.is-video-only) [data-l8-case-valuation-link] { margin-left: -20px; justify-content: center; text-align: center; }

/* Match the 3one4 Capital sidebar pill width and centered value. */
.l8-project-modal__panel.is-detail-case:not(.is-video-only):is(.is-little-joys, .is-blue-tokai, .is-aereo, .is-nomnom, .is-dream-beauty, .is-simple-energy) [data-l8-case-valuation-link] {
    display: flex;
    width: 94.3px;
    min-width: 94.3px;
    max-width: calc(100% + 20px);
    margin-left: -20px;
    padding-inline: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.l8-project-modal__panel.is-detail-case:not(.is-video-only):is(.is-little-joys, .is-blue-tokai, .is-aereo, .is-nomnom, .is-dream-beauty, .is-simple-energy) [data-l8-case-valuation-label] {
    text-align: center;
}

/* Visible first-frame image survives mobile video startup and source recycling. */
.l8-grid-video-still {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
}
.l8-grid-video-still[hidden] { display: none !important; }
.l8-project-modal__panel.is-monvue [data-l8-case-field-note-link] {
    width: max-content !important;
    max-width: 100%;
    justify-content: center !important;
    text-align: center !important;
}
@media (max-width: 809.98px) {
    .l8-additional-cases { padding-top: 96px; font-size: 13px; }
}

/* A single half-pixel mobile divider, at 25% of its former opacity. */
@media (max-width: 809.98px) {
    body [data-framer-name="Hero "] { border-bottom: 0 !important; }
    body [data-framer-name="Hero "] [data-framer-name="TopBorder"] { display: none !important; }
    body [data-framer-name="Hero "]::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        transform: scaleY(.5);
        transform-origin: bottom;
        background: rgba(227, 227, 227, .125);
        pointer-events: none;
    }
}

/* September 29 refinements. */
.l8-program-menu { display: none; }
@media (max-width: 809.98px) {
    body [data-framer-name="Hero "]::after {
        height: 1px;
        transform: none;
        background: rgb(227, 227, 227);
    }
    .l8-project-modal__panel.is-case:not(.is-video-only) .l8-case-modal__title { font-size: 12px; }
    .l8-additional-cases { padding-top: 112px; }
    .l8-shared-footer, .l8-shared-footer-fallback__nav { row-gap: 36.4px; }
    .l8-lead-form__select-field { display: none !important; }
    .l8-program-menu { display: block; position: relative; width: 100%; }
    .l8-program-menu summary {
        list-style: none; cursor: pointer; border: 1px solid #e3e3e3;
        border-radius: 8px; padding: 20px; color: #858585;
        font: inherit; font-size: 12px; min-height: 54px; box-sizing: border-box;
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
    }
    .l8-program-menu summary::-webkit-details-marker { display: none; }
    .l8-program-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 1px solid #858585; border-bottom: 1px solid #858585; transform: rotate(45deg); flex-shrink: 0; }
    .l8-program-menu__options {
        position: absolute; z-index: 20; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
        width: 80%; min-width: 280px; max-width: 100%; box-sizing: border-box;
        padding: 8px; border: 1px solid #dedede; border-radius: 12px;
        background: #f7f7f7; box-shadow: 0 8px 24px #00000018;
    }
    .l8-program-menu__options button { display: block; width: 100%; text-align: left; padding: 14px 12px; border: 0; border-radius: 7px; background: transparent; color: #303030; font: inherit; font-size: 13px; line-height: 1.5; cursor: pointer; }
    .l8-program-menu__options button[aria-pressed="true"], .l8-program-menu__options button:hover { background: #e8e8e8; }
    .l8-program-menu summary:focus-visible, .l8-program-menu__options button:focus-visible { outline: 2px solid #858585; outline-offset: 2px; }
}

/* Final portfolio polish, 29 September 2026. */
[data-l8-skin-spectrum-card] {
    background: #f7f7f7 !important;
}
.l8-project-modal__panel.is-monvue [data-l8-case-field-note-link] {
    white-space: nowrap;
}
@media (min-width: 810px) {
    .l8-additional-cases {
        padding-top: clamp(96px, 15vw, 192px);
        font-size: 14px;
    }
}

/* Homepage city characters follow the headline reveal. */
.l8-about-locations {
    margin: 18px 0 0;
    font-size: 10px;
    color: var(--l8-text-about);
    opacity: 0.5;
}
.l8-city-character { display: inline-block; white-space: pre; opacity: 0; }
.l8-about-copy.is-visible ~ .l8-about-locations .l8-city-character {
    animation: l8-about-character-reveal 1600ms linear both;
    animation-delay: calc(var(--l8-cities-delay, 1000ms) + var(--l8-city-index) * 70ms);
}
@keyframes l8-cities-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .l8-city-character { opacity: 1; animation: none !important; }
}

/* Local alternative: city line shares the Explore row. */
.l8-hero-cities {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    margin: 0;
    color: var(--l8-text-about);
    font-size: 11px;
    line-height: 20px;
    font-weight: var(--l8-weight-ui);
    opacity: 0.5;
    white-space: nowrap;
    pointer-events: none;
}
.l8-hero-cities.is-visible .l8-city-character {
    animation: l8-about-character-reveal 1600ms linear both;
    animation-delay: calc(var(--l8-city-index) * 70ms);
}
@media (prefers-reduced-motion: reduce) {
    .l8-hero-cities .l8-city-character { opacity: 1; animation: none !important; }
}

/* Mobile cities follow the about headline; desktop keeps the hero row. */
.l8-mobile-cities { display: none; }
@media (max-width: 809.98px) {
    .l8-hero-cities { display: none; }
    .l8-mobile-cities { display: block; font-size: 11px; }
}

/* Local Monvue review: four homepage assets, square preview and filled viewer. */
.l8-project-modal__panel:is(.is-monvue, .is-little-joys, .is-blue-tokai, .is-sabyasachi, .is-gameskraft, .is-aereo, .is-diageo, .is-3one4).is-detail-case:not(.is-video-only) .l8-case-sizzle {
    aspect-ratio: 1 / 1;
}
.l8-project-modal__panel:is(.is-monvue, .is-little-joys, .is-blue-tokai, .is-sabyasachi, .is-gameskraft, .is-aereo, .is-diageo, .is-3one4).is-case.is-sizzle-expanded .l8-case-expanded__stage > :is(img, video) {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center;
    transform: none;
}

/* Keep Monvue's expanded reel inside the exact existing modal frame. */
.l8-project-modal .l8-project-modal__panel:is(.is-monvue, .is-little-joys, .is-blue-tokai, .is-sabyasachi, .is-gameskraft, .is-aereo, .is-diageo, .is-3one4).is-case.is-sizzle-expanded:not(.is-video-only) {
    width: var(--l8-monvue-frame-width) !important;
    height: var(--l8-monvue-frame-height) !important;
    aspect-ratio: auto !important;
}

.l8-skin-spectrum-card.l8-opening-field-card { height: clamp(440px, 44vw, 680px) !important; }
@media (max-width: 809.98px) { .l8-skin-spectrum-card.l8-opening-field-card { height: clamp(300px, 78vw, 430px) !important; } }

/* Compact integrated-team introduction beneath the homepage headline. */
body .l8-about-section > .l8-about-method.l8-reveal-copy {
    display: block !important;
    width: 350px;
    max-width: calc(100vw - 56px);
    margin: 35px 0 0;
    position: relative;
    left: 8px;
    color: #858585;
    font-family: var(--l8-font);
    font-size: 13px;
    font-weight: var(--l8-weight-ui);
    line-height: 1.75;
    letter-spacing: 0;
    text-align: left;
    text-wrap: balance;
}
.l8-about-method.is-visible .l8-reveal-character {
    animation-delay: calc(1000ms + var(--l8-character-index) * 5ms);
}
@media (prefers-reduced-motion: reduce) {
    .l8-about-method .l8-reveal-character {
        opacity: 1; filter: none; transform: none; animation: none !important;
    }
}

/* Local thesis sectional, aligned with the research cards. */
.l8-skin-spectrum-card.l8-thesis-card {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #303030 !important;
}
.l8-thesis-card__video {
    mix-blend-mode: screen;
    display: block;
    width: min(60vw, 560px);
    height: 80%;
    object-fit: contain;
}
.l8-thesis-card__button {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 22px;
    border: 1px solid #ffffff38;
    border-radius: 7px;
    background: #303030;
    color: #fff;
    font-family: var(--l8-font);
    font-size: 13px;
    font-weight: var(--l8-weight-ui);
    cursor: pointer;
}
@media (max-width: 809.98px) {
    .l8-thesis-card__video { width: 85vw; }
    .l8-thesis-card__button { bottom: 20px; }
}

/* Local intro rhythm: more air above, cities below, longer pause before work. */
body .l8-about-section{
 height:auto!important;min-height:0!important;box-sizing:border-box!important;
 padding:260.47px 0 319.025px!important;margin-bottom:27.3px!important;justify-content:flex-start!important;
}
.l8-hero-cities{display:none!important}
body .l8-about-section > .l8-about-locations.l8-mobile-cities{
 display:block!important;margin:35px 0 0;font-size:11px;
}
.l8-about-copy.is-visible ~ .l8-about-locations .l8-city-character{animation:none}
.l8-about-method.is-visible ~ .l8-about-locations .l8-city-character{
 animation:l8-about-character-reveal 1600ms linear both;
 animation-delay:calc(4500ms + var(--l8-city-index)*70ms);
}
@media(max-width:809.98px){
 body .l8-about-section{padding:225.47px 0 167.125px!important;margin-bottom:54.6px!important}
}
@media(prefers-reduced-motion:reduce){
 .l8-about-method.is-visible ~ .l8-about-locations .l8-city-character{opacity:1;animation:none!important}
}

/* Local founder section replaces the infinity video. */
.l8-skin-spectrum-card.l8-thesis-card{background:#d4d3d1!important}
.l8-founder-card__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.l8-thesis-card .l8-founder-card__button{position:absolute;top:50%;left:50%;bottom:auto;transform:translate(-50%,-50%);z-index:2;background:#303030;color:#fff;border:0;border-radius:5px;padding:10px 18px;font-size:12px;line-height:24px;white-space:nowrap}
.l8-founder-card__button:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(max-width:809.98px){.l8-founder-card__image{object-position:24% 50%}}

/* Let the founder image establish the complete section height. */
.l8-skin-spectrum-card.l8-thesis-card{height:auto!important;min-height:0!important;aspect-ratio:auto!important}
.l8-thesis-card .l8-founder-card__image{position:relative;inset:auto;display:block;width:100%;height:auto;object-fit:contain;object-position:center}

/* Story CTA borrows the research label slide, with an outlined treatment. */
.l8-thesis-card .l8-founder-card__button{width:236px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #303030;background:transparent;color:#303030;padding:10px 18px}
.l8-founder-card__button .l8-skin-spectrum-card__label-wrap{flex-shrink:0}
.l8-founder-card__button .l8-skin-spectrum-card__label-line{color:#303030;line-height:15px}
.l8-founder-card__button:hover .l8-skin-spectrum-card__label-track,.l8-founder-card__button:focus-visible .l8-skin-spectrum-card__label-track{transform:translate3d(0,-15px,0)}
.l8-founder-card__button:focus-visible{outline:1px solid #303030;outline-offset:4px}
/* Quiet, continuous strip of selected past client marks. */
.l8-client-logos{width:100%;max-width:100%;overflow:hidden;background:#ededed;margin-top:79.2px;padding:142.35px 0;color:#303030}
.l8-client-logos__track{display:flex;width:max-content;animation:l8-client-logo-scroll 42s linear infinite}
.l8-client-logos__set{display:flex;align-items:center;list-style:none;gap:80px;margin:0;padding:0 40px;flex-shrink:0}
.l8-client-logos__item{width:180px;height:48px;display:flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0}
.l8-client-logos__item img{display:block;width:140px;height:40px;object-fit:contain;filter:brightness(0);opacity:.81}
.l8-client-logos__item--solana img,.l8-client-logos__item--airtel img{width:30px;height:30px}
.l8-client-logos__item span{font-family:Arial,sans-serif;font-size:27px;letter-spacing:-1px}
.l8-client-logos__item--solana span{font-weight:600}
.l8-client-logos__item--hyperloop-one img{width:174px}
@keyframes l8-client-logo-scroll{to{transform:translateX(-50%)}}
@media(max-width:809.98px){.l8-client-logos{margin-top:51.2px;padding:106.86px 0}.l8-client-logos__set{gap:40px;padding:0 20px}.l8-client-logos__item{width:150px}}
@media(prefers-reduced-motion:reduce){.l8-client-logos__track{animation:none;width:100%}.l8-client-logos__set{flex-wrap:wrap;justify-content:center;gap:32px;width:100%;box-sizing:border-box}.l8-client-logos__set[aria-hidden="true"]{display:none}.l8-founder-card__button .l8-skin-spectrum-card__label-track{transition:none}}

.l8-client-logos__item--uber img{width:77px;height:77px}
.l8-client-logos__item--adidas img{width:64.6px;height:64.6px}
.l8-client-logos__item--solana{transform:scale(.9)}

/* Local October 5: explicit offers between groups of four projects. */
.l8-offer-section{width:100%;box-sizing:border-box;display:flex!important;flex-direction:column;align-items:center;justify-content:center;padding:110px 28px;min-height:440px;background:#f7f7f7;gap:42px}
.l8-offer-section h2{margin:0;color:#303030;font-family:var(--l8-font);font-size:18px;font-weight:400;line-height:1.5;text-align:center}
.l8-offer-section p{margin:0;max-width:560px;color:#858585;font-family:var(--l8-font);font-size:15px;font-weight:400;line-height:1.8;text-align:left;text-wrap:pretty}
.l8-about-section .l8-about-locations.is-visible .l8-city-character{animation:l8-about-character-reveal 1600ms linear both;animation-delay:calc(var(--l8-city-index)*70ms)}
@media(max-width:809.98px){.l8-offer-section{min-height:360px;padding:76px 28px;gap:32px}.l8-offer-section p{font-size:13px;max-width:350px}.l8-offer-section h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){.l8-about-copy.is-visible ~ .l8-about-locations .l8-city-character{opacity:1;animation:none!important}}

/* Local offer typography and relocated butterfly, October 5. */
.l8-offer-section{position:relative;isolation:isolate;overflow:clip}
.l8-offer-section h2{font-size:14px}
.l8-offer-section p{font-size:12px;max-width:380px;line-height:1.8}
.l8-offer-butterfly{position:absolute!important;width:260px!important;height:280px!important;left:calc(50% - 470px)!important;top:50%!important;transform:translateY(-35%)!important;pointer-events:none;mix-blend-mode:darken;filter:none!important;z-index:-1}
.l8-offer-butterfly video{width:100%!important;height:100%!important;object-fit:contain!important}
@media(max-width:809.98px){
 .l8-offer-section h2{font-size:14px}
 .l8-offer-section p{font-size:12px;max-width:290px}
 .l8-offer-section[data-l8-offer="new"] p{max-width:250px;margin-left:48px}
 .l8-offer-butterfly{width:100px!important;height:180px!important;left:-12px!important;top:48%!important}
}

/* October 5 Figma 45:3 and 45:4: exact optical rag over full-width film. */
.l8-offer-section[data-l8-offer="new"]{aspect-ratio:16/9;min-height:440px;gap:60px;background:transparent}
.l8-offer-section[data-l8-offer="new"] h2{font-weight:300;line-height:17px;color:#000;position:relative;z-index:1}
.l8-offer-section[data-l8-offer="new"] p{width:301.05px;max-width:calc(100vw - 64px);margin:0;transform:translateX(10px);font-weight:300;font-size:12.5px;line-height:20.8333px;letter-spacing:0;color:rgba(0,0,0,.5);text-wrap:wrap;position:relative;z-index:1}
.l8-offer-line{display:block;white-space:nowrap}
.l8-offer-line--first{letter-spacing:.16667px}
.l8-offer-line--fourth{letter-spacing:-.33333px}
.l8-offer-section .l8-offer-butterfly{inset:0!important;width:100%!important;height:100%!important;transform:none!important;z-index:0}
.l8-offer-butterfly video{object-fit:cover!important}
@media(max-width:365px){.l8-offer-line{white-space:normal}}

/* October 5 Figma 45:5 and 45:6: existing-brands optical rag. */
.l8-offer-section[data-l8-offer="existing"]{gap:60px}
.l8-offer-section[data-l8-offer="existing"] h2{font-weight:300;line-height:17px;color:#000}
.l8-offer-section[data-l8-offer="existing"] p{width:331.25px;max-width:calc(100vw - 48px);margin:0;transform:translateX(13px);font-weight:300;font-size:12.5px;line-height:20.8333px;letter-spacing:0;color:rgba(0,0,0,.5);text-wrap:wrap}
.l8-existing-line--wide{letter-spacing:.16667px}
.l8-existing-line--tight{letter-spacing:-.33333px}
.l8-existing-line--end{letter-spacing:-.16667px}
@media(max-width:379px){.l8-offer-section[data-l8-offer="existing"] .l8-offer-line{white-space:normal}}

/* Offer copy follows the intro's soft character reveal, heading before body. */
.l8-offer-accessible-copy{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.l8-offer-character{opacity:0;filter:blur(2px)}
.l8-offer-section.is-copy-visible .l8-offer-character{animation:l8-about-character-reveal 1600ms linear both}
.l8-offer-section.is-copy-visible h2 .l8-offer-character{animation-delay:calc(var(--l8-character-index)*30ms)}
.l8-offer-section.is-copy-visible p .l8-offer-character{animation-delay:calc(var(--l8-offer-body-delay) + var(--l8-character-index)*8ms)}
@media(prefers-reduced-motion:reduce){.l8-offer-character{opacity:1;filter:none;animation:none!important}}

/* Desktop butterfly: another 15 percent smaller, aligned to the left edge. */
@media(min-width:810px){
 .l8-offer-section .l8-offer-butterfly{transform:scale(.6375)!important;transform-origin:left center}
}

/* Local overhead animal studies, using the same canvas and text layer. */
.l8-offer-section--animal{aspect-ratio:16/9;min-height:440px}
.l8-offer-animal{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;mix-blend-mode:darken;filter:grayscale(1);z-index:0;transform:translateY(10%) scale(1.2);transform-origin:83% 56%}
.l8-offer-section--animal h2,.l8-offer-section--animal p{position:relative;z-index:1}
.l8-offer-section[data-l8-animal="ants"] .l8-offer-animal{transform:none}
.l8-offer-section[data-l8-animal="ants-eight"] .l8-offer-animal{transform:translateY(10%) scale(.65);transform-origin:50% 78%}
/* The stock film spans the viewport and shares its top edge with the heading. */
.l8-offer-section:is([data-l8-animal="ants-stock"],[data-l8-animal="lizard"]){display:grid!important;grid-template-columns:minmax(0,1fr);align-items:start;gap:0;width:100vw;margin-inline:calc((100% - 100vw)/2);padding:110px 0;aspect-ratio:auto;min-height:440px}
.l8-offer-section:is([data-l8-animal="ants-stock"],[data-l8-animal="lizard"]) h2{grid-area:1/1;justify-self:center;align-self:start}
.l8-offer-section:is([data-l8-animal="ants-stock"],[data-l8-animal="lizard"]) p{grid-area:1/1;justify-self:center;align-self:start;margin:77px 0 0}
.l8-offer-section:is([data-l8-animal="ants-stock"],[data-l8-animal="lizard"]) .l8-offer-animal{grid-area:1/1;position:relative;inset:auto;justify-self:stretch;align-self:start;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;transform:none}
@media(max-width:809.98px){
 .l8-offer-section--animal{min-height:440px}
 .l8-offer-animal{top:auto;bottom:0;width:100%;height:auto;object-fit:contain}
 /* Crop the wide ant trail on phones so each ant retains its desktop scale. */
 .l8-offer-section[data-l8-animal="ants"] .l8-offer-animal{inset:auto;right:0;top:calc(100% - 64px);width:max(100%,1280px);max-width:none;height:auto;aspect-ratio:16/9;object-fit:cover;transform:translateY(-73%)}
 /* Keep both loops visible beneath the paragraph on smaller screens. */
 .l8-offer-section[data-l8-animal="ants-eight"]{min-height:480px}
 .l8-offer-section[data-l8-animal="ants-eight"] .l8-offer-animal{inset:auto;left:50%;top:calc(100% - 70px);width:min(640px,180vw);max-width:none;height:auto;aspect-ratio:16/9;object-fit:cover;transform:translate(-50%,-70%);transform-origin:center}
 .l8-offer-section:is([data-l8-animal="ants-stock"],[data-l8-animal="lizard"]){padding:76px 0}
}
@media(max-width:381px){.l8-offer-section[data-l8-animal="ants-eight"]{min-height:600px}}

/* Blend the butterfly against an explicit page-gray backing inside its scaled frame. */
.l8-offer-section .l8-offer-butterfly{background:#f7f7f7;isolation:isolate;mix-blend-mode:normal}
.l8-offer-section .l8-offer-butterfly video{mix-blend-mode:darken}

/* Monvue launch pill: 25% more space on each side. */
.l8-project-modal__panel.is-monvue.is-detail-case:not(.is-video-only) [data-l8-case-field-note-link]{padding-inline:14.375px;margin-left:-14.375px}

/* Keep EVOO's compact award pill close to its label. */
.l8-project-modal__panel.is-evoo.is-detail-case:not(.is-video-only) [data-l8-case-valuation] {
    grid-template-columns: max-content max-content;
    gap: 14px;
}
.l8-project-modal__panel.is-evoo.is-detail-case:not(.is-video-only) [data-l8-case-valuation-link] {
    margin-left: 0;
    min-width: 0;
    max-width: 100%;
    justify-self: start;
    justify-content: center;
    text-align: center;
}
.l8-case-modal__meta-row[hidden] { display: none; }

/* Local lizard trial: same full canvas, isolated animal placed beside copy. */
@media(max-width:809.98px){
 .l8-offer-section[data-l8-animal="lizard"] .l8-offer-animal{transform:translateY(var(--l8-lizard-mobile-shift,150px))}
}

/* Desktop onset: shorter headline fade, cities immediately after its final character. */
@media (min-width:810px) {
 .l8-about-section .l8-about-copy.is-visible .l8-reveal-character {
  animation-duration:1600ms;
  animation-delay:calc(40ms + var(--l8-character-index)*5ms);
 }
 .l8-offer-section.is-copy-visible p .l8-offer-character {
  animation-delay:calc(1100ms + var(--l8-character-index)*8ms);
 }
}

/* Mobile refresh: measured breathing room and separate animal placement. */
.l8-founder-card__picture { display:block; width:100%; }
@media(max-width:809.98px) {
 .l8-about-section .l8-about-copy.is-visible .l8-reveal-character {
  animation-duration:1600ms;
  animation-delay:calc(40ms + var(--l8-character-index)*5ms);
 }
 .l8-offer-section[data-l8-offer="new"] {
  aspect-ratio:auto; min-height:0; padding:194.25px 28px;
 }
 .l8-offer-section[data-l8-offer="new"] .l8-offer-butterfly {
  inset:auto!important; left:0!important; top:-40px!important;
  width:100%!important; height:440px!important; transform:none!important;
 }
 .l8-offer-section[data-l8-animal="ants-stock"] {
  min-height:0; padding:114px 0 217.5px;
  grid-template-rows:auto auto auto;
 }
 .l8-offer-section[data-l8-animal="ants-stock"] h2 { grid-area:auto; }
 .l8-offer-section[data-l8-animal="ants-stock"] p {
  grid-area:auto; margin:60px 0 0;
 }
 .l8-offer-section[data-l8-animal="ants-stock"] .l8-offer-animal {
  grid-area:auto; margin-top:0;
 }
 .l8-thesis-card .l8-founder-card__button { top:30%; }
 .l8-client-logos__item { transform:scale(.75); }
 .l8-client-logos__item--solana { transform:scale(.675); }
}

@media(max-width:809.98px){.l8-thesis-card .l8-founder-card__image{aspect-ratio:1122/1402;object-fit:contain}}

/* One intro reveal timeline: full stop and first city start together. */
body .l8-about-section > .l8-about-locations.l8-mobile-cities { margin-top:24.5px; }
.l8-about-section .l8-about-copy.is-visible ~ .l8-about-locations .l8-city-character {
 animation:l8-about-character-reveal 1600ms linear both;
 animation-delay:calc(var(--l8-city-start-delay,140ms) + var(--l8-city-index)*70ms);
}
@media(prefers-reduced-motion:reduce) {
 .l8-about-section .l8-about-copy.is-visible ~ .l8-about-locations .l8-city-character {
  opacity:1; filter:none; animation:none!important;
 }
}

/* Mobile offer bodies reveal complete lines without letter-level blur. */
@media(max-width:809.98px) {
 .l8-offer-section p .l8-offer-character {
  opacity:1!important; filter:none!important; animation:none!important;
 }
 .l8-offer-section p .l8-offer-line { opacity:0; }
 .l8-offer-section.is-copy-visible p .l8-offer-line {
  animation:l8-offer-line-reveal 900ms ease-out both;
  animation-delay:calc(900ms + var(--l8-offer-line-index)*260ms);
 }
 /* Crop the original desktop photograph, preserving Nav's face exactly. */
 .l8-thesis-card .l8-founder-card__image {
  aspect-ratio:941/1672; object-fit:cover; object-position:12% 50%;
 }
}
@keyframes l8-offer-line-reveal { from { opacity:0; } to { opacity:1; } }
@media(max-width:809.98px) and (prefers-reduced-motion:reduce) {
 .l8-offer-section p .l8-offer-line { opacity:1; animation:none!important; }
}

/* Add 2% tracking only to the opening phrase on the fourth offer line. */
.l8-offer-phrase--together{letter-spacing:calc(-.33333px + .02em)}

/* Continue the photograph's floor and place the mobile Story entry below it. */
@media(max-width:809.98px) {
 .l8-skin-spectrum-card.l8-thesis-card {
  padding-bottom:75px;
  background:linear-gradient(90deg,#dcdad9 0%,#e1dedd 17%,#e1e0de 34%,#e1dfdf 50%,#e0dfde 67%,#e3e2e1 84%,#e3e1e0 100%)!important;
 }
 .l8-thesis-card .l8-founder-card__button {
  top:auto; bottom:41.9px; transform:translateX(-50%);
 }
}

/* Center the contact card across the koi scene and its pale lower extension. */
[data-framer-name="Form"].l8-koi-form-section {
 --l8-koi-scene-height:max(100svh,700px);
 --l8-contact-scene-inset:32px;
 --l8-contact-card-shift:0px;
 --l8-contact-lower-band:166.35px;
 position:relative; display:flex!important; flex-direction:column; align-items:center;
 justify-content:center; width:100%; min-height:0;
 height:calc(var(--l8-koi-scene-height) + var(--l8-contact-card-shift) + var(--l8-contact-lower-band))!important;
 padding:0!important; margin-top:0!important; gap:24px!important;
 isolation:isolate; overflow:hidden!important; box-sizing:border-box;
}
.l8-koi-form-section::after {
 content:""; position:absolute; inset:auto 0 0; height:var(--l8-contact-lower-band);
 background:inherit; pointer-events:none; z-index:0;
}
.l8-koi-form-film {
 position:absolute; inset:auto; top:calc((var(--l8-koi-scene-height) - 1px)/2); left:50%; width:100.7%; max-width:none; height:auto;
 object-fit:contain; object-position:center; transform:translate(-50%,-50%);
 /* Crop the encoded outer-edge seams while keeping the full-width native proportions. */
 clip-path:inset(.3%); pointer-events:none; z-index:0; mix-blend-mode:darken; filter:grayscale(1);
}
.l8-koi-form-pane {
 position:relative; z-index:1; display:flex; flex-direction:column; align-items:center;
 flex:none; gap:43.2px; width:546px; max-width:calc(100% - 32px); margin:auto 0;
 padding:67.2px; box-sizing:border-box;
 border:1px solid rgba(255,255,255,.85); border-radius:26px;
 background:rgba(247,247,247,.66); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
 box-shadow:0 16px 52px rgba(0,0,0,.07);
}
.l8-koi-form-pane > * { width:100%!important; max-width:100%!important; }
.l8-koi-form-pane > .l8-form-heading-wrap { width:min(var(--l8-contact-form-width),100%)!important; }
.l8-koi-form-pane .l8-form-heading { width:100%!important; text-align:left!important; }
.l8-koi-form-pane .l8-lead-form__field input:not([type="file"]),
.l8-koi-form-pane .l8-lead-form__field select { min-height:44px!important; }
.l8-koi-form-pane .l8-lead-form__field textarea { min-height:80px!important; }
.l8-koi-form-pane .l8-file-field { min-height:44px!important; margin-top:8px; }
.l8-file-field__hint-compact { display:none; }
.l8-koi-form-pane .l8-lead-form__footer { margin-top:36px; }
@media(min-width:810px) {
 .l8-koi-form-pane .l8-lead-form__field input:not([type="file"]),
 .l8-koi-form-pane .l8-lead-form__field textarea,
 .l8-koi-form-pane .l8-lead-form__field select,
 .l8-koi-form-pane .l8-file-field__label,
 .l8-koi-form-pane .l8-file-field__name,
 .l8-koi-form-pane .l8-lead-form button.l8-lead-form__send {
  font-size:12.5px!important;
 }
}
.l8-koi-form-section > .framer-1qv3swx-container {
 position:relative!important; z-index:1; width:100%; height:auto!important; flex:none!important;
}
.l8-koi-footer-shell { height:auto!important; min-height:0!important; flex:none!important; }
.l8-koi-footer-compact { height:auto!important; min-height:0!important; gap:0!important; padding:0!important; }
.l8-koi-footer-compact > [data-framer-name="Koi"],
.l8-koi-footer-compact > [data-framer-name="TopBorder"] { display:none!important; }
.l8-koi-footer-compact > [data-framer-name="Footer Navigation Bar"] {
 position:relative!important; inset:auto!important; width:100%!important; box-sizing:border-box;
}
@media(max-width:809.98px) {
 /* Keep the mobile video at its existing size as the surrounding space grows. */
 [data-framer-name="Form"].l8-koi-form-section {
  --l8-koi-scene-height:max(calc(100svh + 160px),940px);
  --l8-contact-scene-inset:0px;
  --l8-contact-lower-band:130.86px;
  gap:16px!important;
 }
 .l8-koi-form-pane { padding:57.6px 28.8px; border-radius:22px; }
 .l8-koi-form-pane .l8-file-field { grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:0 20px; }
 .l8-koi-form-pane .l8-file-field__name { grid-column:2; justify-self:end; text-align:right; }
 .l8-koi-form-pane .l8-file-field__hint-full { display:none; }
 .l8-koi-form-pane .l8-file-field__hint-compact { display:inline; }
}

/* Local positioning trial: smaller ants travel upward beside the existing-brand copy. */
.l8-offer-section[data-l8-animal="ants-stock"] {
 --l8-ant-scene-height:clamp(600px,55vw,900px);
 height:var(--l8-ant-scene-height); min-height:0; padding:110px 0;
 grid-template-rows:1fr; overflow:hidden;
}
.l8-offer-section[data-l8-animal="ants-stock"] .l8-offer-animal {
 position:absolute; inset:auto; left:calc(75% + 8px); top:50%;
 width:calc(var(--l8-ant-scene-height) + 120px); max-width:none;
 height:auto; aspect-ratio:16/9; margin:0;
 transform:translate(-50%,-50%) rotate(90deg); transform-origin:center;
}
@media(max-width:809.98px) {
 .l8-offer-section[data-l8-animal="ants-stock"] {
  --l8-ant-scene-height:650px; padding:100px 0;
 }
 .l8-offer-section[data-l8-animal="ants-stock"] h2 { grid-area:1/1; }
 .l8-offer-section[data-l8-animal="ants-stock"] p { grid-area:1/1; margin-top:77px; }
 .l8-offer-section[data-l8-animal="ants-stock"] .l8-offer-animal {
  left:calc(100% + 49px); width:770px;
 }
}

/* Join the logo band to the koi scene and end the page at its footer. */
body:has(.l8-koi-form-section) [data-framer-name="Work Grids"] { padding-bottom:0!important; }
body:has(.l8-koi-form-section) #footer-top {
 top:auto!important; bottom:0!important; height:0!important;
}

/* Center the existing-brand heading and paragraph together beside the ant trail. */
.l8-offer-section[data-l8-animal="ants-stock"] > h2,
.l8-offer-section[data-l8-animal="ants-stock"] > p {
 translate:0 var(--l8-existing-copy-shift,0px);
}

/* Roomier full-width logo band with another 15 percent reduction in each mark. */
.l8-client-logos { width:100vw; max-width:none; margin-inline:calc((100% - 100vw)/2); }
.l8-client-logos__item { scale:.85; }

/* Local ending trial: client logos follow the shared koi/contact scene. */
.l8-koi-form-section + .l8-client-logos { margin-top:0; }

/* Give the koi scene project spacing and carry the footer into the gray logo area. */
[data-framer-name="Form"].l8-koi-form-section {
 margin-top:calc(var(--l8-contact-project-gap,325px) * 1.5)!important;
 border-top:1px solid #d6d6d6;
}
.l8-home-bottom-footer {
 position:relative!important; width:100%!important; height:auto!important;
 flex:none!important; background:#ededed!important;
}
.l8-home-bottom-footer .l8-koi-footer-compact,
.l8-home-bottom-footer [data-framer-name="Footer Navigation Bar"] { background:#ededed!important; }
.l8-home-bottom-footer [data-framer-name="Footer Navigation Bar"] {
 padding:54px 24px 64px!important;
}
.l8-home-bottom-footer .l8-shared-footer {
 display:flex!important; flex-wrap:nowrap!important; justify-content:center!important; align-items:center!important; align-content:center!important;
 padding:0!important; margin:0 auto!important; width:100%!important;
}
@media(max-width:809.98px) {
 [data-framer-name="Form"].l8-koi-form-section { border-top-color:#d6d6d6; }
 .l8-home-bottom-footer [data-framer-name="Footer Navigation Bar"] { padding:42px 16px 48px!important; }
 .l8-home-bottom-footer .l8-shared-footer { flex-direction:row; gap:0!important; }
 .l8-home-bottom-footer .l8-shared-footer__group { margin:0!important; align-self:center!important; }
 .l8-home-bottom-footer .l8-shared-footer__group--navigation {
  display:flex; flex-wrap:nowrap; justify-content:center; gap:0;
  font-size:clamp(10px,3.077vw,12px);
 }
 .l8-home-bottom-footer .l8-shared-footer__group--navigation .l8-shared-footer__link { font-size:inherit; }
 .l8-home-bottom-footer .l8-shared-footer__group--navigation .l8-shared-footer__separator {
  display:inline!important; font-size:inherit; margin-inline:clamp(3px,1.026vw,4px);
 }
 .l8-home-bottom-footer .l8-shared-footer__group--navigation .l8-shared-footer__separator--pipe {
  margin-inline:clamp(6px,1.8vw,7px);
 }
}

/* Slightly stronger form prompts within the koi contact card. */
.l8-koi-form-pane .l8-lead-form input::placeholder,
.l8-koi-form-pane .l8-lead-form textarea::placeholder,
.l8-koi-form-pane .l8-lead-form select:required:invalid,
.l8-koi-form-pane .l8-lead-form select option[value=""],
.l8-koi-form-pane .l8-program-menu summary {
 color:#585858!important; -webkit-text-fill-color:#585858!important; opacity:1!important;
}

/* Bring the footer line 25 percent closer to the client logos. */
.l8-koi-form-section + .l8-client-logos { padding-bottom:106.7625px; }
.l8-home-bottom-footer .l8-shared-footer__separator--pipe { margin-inline:16px; color:#858585; opacity:.7; }
@media(max-width:809.98px) {
 .l8-koi-form-section + .l8-client-logos { padding-bottom:80.145px; }
}

/* Keep the attachment row intact on the narrowest phone screens. */
@media(max-width:374.98px) {
 .l8-koi-form-pane .l8-file-field { padding-inline:12px; }
}
@media(max-width:359.98px) {
 .l8-koi-form-pane .l8-file-field { gap:6px; padding-inline:6px; }
 .l8-koi-form-pane .l8-file-field__label { font-size:11px; }
 .l8-koi-form-pane .l8-file-field__name { font-size:10px; }
}

/* Mobile case-study metrics use the same inset as the Diageo reference. */
@media (max-width: 809.98px) {
    .l8-project-modal__panel.is-detail-case:not(.is-video-only):is(.is-little-joys, .is-blue-tokai, .is-gameskraft, .is-3one4, .is-nomnom, .is-aereo, .is-simple-energy, .is-afs, .is-dream-beauty, .is-evoo, .is-hyperloop) [data-l8-case-valuation-link] {
        width: max-content;
        min-width: 0;
        max-width: calc(100% + 10px);
        padding: 5px 10px;
        margin-left: -10px;
        justify-self: start;
        justify-content: center;
        text-align: center;
    }
    .l8-project-modal__panel.is-evoo.is-detail-case:not(.is-video-only) [data-l8-case-valuation] {
        grid-template-columns: 96px minmax(0, 1fr);
    }
    .l8-client-logos__item { scale: .9775; }
}

/* Preview-only media swap. Section geometry and all copy stay unchanged. */
.l8-offer-section .l8-offer-butterfly[data-l8-offer-film="ants"] {
 inset:0!important; width:100%!important; height:100%!important;
 transform:none!important; overflow:hidden;
}
.l8-offer-section .l8-offer-butterfly[data-l8-offer-film="ants"] video {
 position:absolute; left:calc(75% + 8px); top:50%;
 width:calc(clamp(600px,55vw,900px) + 120px)!important; height:auto!important;
 aspect-ratio:16/9; object-fit:contain!important;
 transform:translate(-50%,-50%) rotate(90deg); transform-origin:center;
 filter:grayscale(1); opacity:.8;
}
.l8-offer-section[data-l8-animal="ants-stock"] .l8-offer-animal[data-l8-offer-film="butterfly"] {
 inset:0; width:100%; height:100%; max-width:100%; aspect-ratio:auto;
 object-fit:contain; transform:scale(.6375); transform-origin:left center;
 filter:none; opacity:1!important;
}
@media(max-width:809.98px) {
 .l8-offer-section .l8-offer-butterfly[data-l8-offer-film="ants"] video {
  left:55%; top:-80px; width:440px!important;
 }
 .l8-offer-section[data-l8-animal="ants-stock"] .l8-offer-animal[data-l8-offer-film="butterfly"] {
  left:0; top:-40px; right:auto; bottom:auto; width:100%; height:440px;
  transform:none;
 }
}
