:root {
    --blue: #065af7;
    --dm: "DM Sans", "Segoe UI", sans-serif;
    --rail: min(1320px, calc(100% - 80px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body.study-5 {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: var(--dm);
    overflow-x: clip;
}

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

a {
    color: inherit;
}

.eyebrow {
    margin: 0;
    font-family: var(--dm);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 769px;
    padding: 30px 40px 40px;
    overflow: hidden;
    background: #355aa5;
}

.hero__portrait {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.hero__photo--tablet,
.hero__photo--mobile {
    display: none;
}

@media (max-width: 1365px) {
    .hero__glow {
        display: none;
    }

    .hero__photo--desktop {
        display: none;
    }

    .hero__photo--tablet {
        display: block;
    }
}

@media (min-width: 1366px) {
    .hero__portrait {
        container-type: size;
    }

    .hero__photo--desktop {
        inset: auto;
        width: auto;
        height: 106.85%;
        aspect-ratio: 2278 / 1154;
        top: -3.7%;
        left: calc(40px + min(680px, 48% - 38.4px) + 32px - 116.3cqh);
        object-fit: fill;
        object-position: left top;
    }
}

.hero__glow {
    position: absolute;
    left: -674px;
    top: -86px;
    width: 1628px;
    height: 1057px;
    max-width: none;
    pointer-events: none;
}

.hero__copy {
    position: relative;
    z-index: 1;
    width: min(680px, 48%);
    padding: 50px 24px 50px 30px;
}

.hero h1 {
    margin: 10px 0 0;
    font-family: var(--dm);
    font-size: 96px;
    font-weight: 400;
    line-height: 96px;
    letter-spacing: -1.92px;
}

.hero__bio p {
    margin: 20px 0 0;
    max-width: 663px;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 55px;
    margin-top: 20px;
    padding: 10px 24px;
    border-radius: 100px;
    background: var(--blue);
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.36px;
    text-decoration: none;
}

.btn img {
    width: 24px;
    height: 24px;
}

.btn:hover {
    background: #1a6dff;
}

.autonomous {
    padding: 20px 0;
    background:
        radial-gradient(120% 80% at 88% 36%, rgba(22, 69, 174, 0.6), rgba(0, 0, 0, 0.05) 70%),
        #000;
}

.autonomous__panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: var(--rail);
    margin: 0 auto;
    padding: 30px 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    overflow: hidden;
}

.autonomous__copy {
    display: flex;
    align-items: center;
    gap: 150px;
    padding: 15px 20px;
}

.autonomous h2,
.about h2 {
    margin: 0;
    font-family: var(--dm);
    font-size: 48px;
    font-weight: 400;
    line-height: 54px;
    letter-spacing: -1.44px;
}

.autonomous h2 {
    flex: 1 1 715px;
    max-width: 715px;
}

.autonomous__copy p {
    margin: 0;
    max-width: 407px;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.36px;
}

.autonomous__link {
    margin-top: 24px !important;
    font-size: 16px !important;
    font-weight: 600;
    letter-spacing: 2px !important;
    text-transform: uppercase;
}

.autonomous__link a {
    text-decoration: underline;
}

@media (min-width: 1367px) {
    .autonomous__copy {
        justify-content: space-between;
        align-items: flex-start;
    }

    .autonomous h2 {
        flex: 0 1 640px;
    }

    .autonomous__copy > div {
        width: 407px;
        margin-left: auto;
        text-align: left;
    }
}

.autonomous__media,
.autonomous .media-player {
    width: 100%;
    height: auto;
    aspect-ratio: 1312 / 483;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
}

@media (min-width: 1367px) {
    .autonomous .media-player {
        width: auto;
        margin-left: 20px;
        margin-right: 39px;
    }
}

.about {
    position: relative;
    padding: 40px 0 56px;
    overflow: hidden;
    background: #000;
}

.about::before,
.about::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.about::before {
    z-index: 0;
    background: var(--about-bg, url("../images/work-bg.png")) center bottom / 100% 100% no-repeat;
    opacity: 0.5;
}

.about::after {
    z-index: 1;
    background: radial-gradient(120% 80% at 100% 38%, rgba(0, 251, 255, 0.55) 0%, rgba(1, 135, 153, 0.28) 18%, rgba(1, 18, 51, 0.12) 36%, rgba(0, 0, 0, 0) 70%);
    opacity: 0.2;
    mix-blend-mode: lighten;
}

.about > * {
    position: relative;
    z-index: 2;
    width: var(--rail);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.about__intro {
    padding-top: 15px;
    padding-bottom: 0;
}

.about__intro p {
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.36px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 15px;
    margin: 16px auto 0;
    padding: 0;
    list-style: none;
}

.stats li {
    min-height: 188px;
    padding: 40px 30px;
    border-radius: 15px;
    background: rgba(217, 217, 217, 0.1);
}

.stats__value,
.milestone h3 {
    margin: 0;
    font-family: var(--dm);
    font-size: 48px;
    font-weight: 400;
    line-height: 54px;
    letter-spacing: -1.44px;
}

.stats__label {
    margin: 10px 0 0;
    font-family: var(--dm);
    font-size: 24px;
    line-height: 30px;
}

.story {
    display: grid;
    grid-template-columns: minmax(0, 1.39fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    margin-top: 0;
    padding: 60px 0;
}

.story > * {
    min-width: 0;
}

.story .media-player,
.story__still {
    width: 100%;
    height: auto;
    aspect-ratio: 764 / 489;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
}

.story__milestones {
    display: grid;
    grid-template-rows: auto auto;
    gap: 20px;
    height: auto;
    align-self: center;
    min-height: 0;
}

.milestone {
    position: relative;
    width: 100%;
    aspect-ratio: 550 / 238;
    overflow: hidden;
    border-radius: 4px;
}

.milestone img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 60%;
}

.milestone:nth-child(2) img {
    object-position: center center;
}

.milestone::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 98%);
}

.milestone__text {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px 12px 18px;
}

.milestone__eyebrow {
    margin: 0;
    font-family: var(--dm);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.milestone h3 {
    margin: 6px 0 8px;
    font-size: 28px;
    font-weight: 500;
    line-height: 33px;
    letter-spacing: 0;
}

.milestone__text a {
    font-size: 20px;
    line-height: 1;
    text-decoration: underline;
}

.promo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.promo-card {
    min-height: 165px;
    padding: 30px;
    border-radius: 15px;
}

.promo-card--glass {
    background: rgba(217, 217, 217, 0.1);
}

.promo-card--gradient {
    background: linear-gradient(90deg, rgba(51, 166, 227, 0.45) 0%, rgba(26, 178, 255, 0.12) 75%, rgba(26, 178, 255, 0) 100%);
}

.promo-card h3 {
    margin: 15px 0;
    font-family: var(--dm);
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
}

.promo-card a {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.36px;
    text-decoration: underline;
}

.promo-card--gradient a {
    text-decoration: underline;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.media-player {
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
}

.media-player__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
}

.autonomous .media-player__video {
    object-fit: cover;
}

.media-player__bar {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
}

@media (hover: hover) {
    .story .media-player__bar {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .story .media-player:hover .media-player__bar,
    .story .media-player:focus-within .media-player__bar {
        opacity: 1;
        pointer-events: auto;
    }
}

.media-player__play {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
}

.media-player__play:disabled {
    cursor: default;
    opacity: 0.7;
}

.media-player.is-paused [data-play-icon] {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}

.media-player:not(.is-paused) [data-play-icon] {
    width: 12px;
    height: 14px;
    border-left: 3px solid #fff;
    border-right: 3px solid #fff;
    box-sizing: border-box;
}

.media-player__seek {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    min-height: 44px;
}

.media-player__volume {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
}

.media-player__volume-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
}

.media-player__volume-btn:disabled {
    cursor: default;
    opacity: 0.7;
}

.media-player__volume-pop {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    z-index: 4;
    width: 36px;
    height: 112px;
    margin: 0;
    padding: 12px 0;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.78);
    transform: translateX(-50%);
}

.media-player__volume.is-open .media-player__volume-pop {
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-player__time {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.media-player__speaker {
    display: block;
    width: 22px;
    height: 22px;
    overflow: visible;
}

.media-player__speaker path:first-child {
    fill: currentColor;
}

.media-player__waves,
.media-player__mute {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.media-player__mute {
    display: none;
}

.media-player.is-muted .media-player__waves {
    display: none;
}

.media-player.is-muted .media-player__mute {
    display: inline;
}

.media-player__seek input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 44px;
    margin: 0;
    background: transparent;
    cursor: pointer;
}

.media-player__volume-pop input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 88px;
    margin: 0;
    background: transparent;
    cursor: pointer;
    writing-mode: vertical-lr;
    direction: rtl;
}

.media-player__seek input[type="range"]::-webkit-slider-runnable-track,
.media-player__volume-pop input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.media-player__volume-pop input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    margin-top: -5px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

.media-player__seek input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

.media-player__seek input[type="range"]::-moz-range-track,
.media-player__volume-pop input[type="range"]::-moz-range-track {
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.media-player__volume-pop input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

.media-player__seek input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

@media (max-width: 1180px) {
    .hero {
        min-height: 640px;
        padding: 28px 28px 36px;
    }

    .hero__copy {
        width: min(460px, 42%);
        padding: 24px 8px 24px 12px;
    }

    .hero h1 {
        font-size: 64px;
        line-height: 68px;
        letter-spacing: -1.2px;
    }

    .hero__bio p {
        font-size: 16px;
        line-height: 22px;
    }

    .autonomous__copy {
        align-items: flex-start;
        gap: 20px;
    }

    .stats__value {
        font-size: 36px;
        line-height: 40px;
    }

    .stats__label {
        font-size: 18px;
        line-height: 24px;
    }

    .stats li {
        min-height: 0;
        padding: 24px 18px;
    }
}

@media (max-width: 1024px) {
    .autonomous__copy {
        flex-direction: column;
        gap: 12px;
    }

    .autonomous h2 {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .autonomous__copy p {
        max-width: none;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .autonomous__media,
    .autonomous .media-player {
        aspect-ratio: 16 / 10;
        min-height: 280px;
    }

    .story {
        grid-template-columns: 1fr;
    }

    .story .media-player,
    .story__still {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .story__milestones {
        height: auto;
        grid-template-rows: auto auto;
    }

    .milestone {
        aspect-ratio: 550 / 238;
    }

    .promo-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 0;
    }

    .hero__portrait {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        min-height: 0;
        max-height: none;
        overflow: hidden;
    }

    .hero__photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center center;
        transform: none;
    }

    .hero__glow {
        display: none;
    }

    .hero__copy {
        width: 100%;
        padding: 28px 28px 36px;
    }

    .hero h1 {
        font-size: 56px;
        line-height: 60px;
    }
}

@media (max-width: 767px) {
    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 0;
    }

    .hero__portrait {
        aspect-ratio: 1 / 1;
    }

    .hero__photo--tablet {
        display: none;
    }

    .hero__photo--mobile {
        display: block;
    }

    .autonomous__media,
    .autonomous .media-player {
        aspect-ratio: 4 / 3;
        min-height: 300px;
    }

    .hero__glow {
        display: none;
    }

    .hero__copy {
        width: 100%;
        padding: 24px 20px calc(28px + env(safe-area-inset-bottom));
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .hero h1 {
        font-size: 40px;
        line-height: 44px;
        letter-spacing: -0.8px;
    }

    .eyebrow {
        font-size: 13px;
        letter-spacing: 1.4px;
    }

    .hero__bio p,
    .about__intro p,
    .autonomous__copy p {
        font-size: 16px;
        line-height: 22px;
    }

    .btn {
        min-height: 48px;
        height: auto;
        padding: 12px 20px;
    }

    :root {
        --rail: min(1320px, calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    }

    .about {
        padding-left: 0;
        padding-right: 0;
    }

    .about {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }

    .autonomous h2,
    .about h2,
    .stats__value {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: -0.6px;
    }

    .stats,
    .promo-cards {
        grid-template-columns: 1fr;
    }

    .stats li,
    .promo-card {
        min-height: 0;
    }

    .milestone h3 {
        font-size: 28px;
        line-height: 32px;
    }

    .media-player__bar {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }
}

.stats__value {
    font-variant-numeric: tabular-nums;
}

.autonomous h2 {
    position: relative;
}

.typewriter__ghost {
    visibility: hidden;
}

.typewriter__live {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.typewriter__caret {
    display: inline-block;
    width: 2px;
    height: 0.82em;
    margin-left: 3px;
    background: currentColor;
    vertical-align: -0.06em;
    animation: vs-caret 0.9s steps(1) infinite;
}

@keyframes vs-rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes vs-photo {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes vs-caret {
    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .rise {
        opacity: 0;
        animation: vs-rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
        animation-play-state: paused;
    }

    .rise--photo {
        animation-name: vs-photo;
    }

    .rise.is-in {
        animation-play-state: running;
    }
}

@media (prefers-reduced-motion: reduce) {
    .typewriter__caret {
        display: none;
    }
}
