@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #090b0d;
    --paper: #f0efe9;
    --blue: #168cff;
    --muted: #858b91;
    --line: #ffffff22
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: 'DM Sans', sans-serif
}

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

button {
    font: inherit;
    color: inherit;
    cursor: pointer
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 6px
}

header {
    height: 98px;
    position: absolute;
    top: 0;
    z-index: 20;
    width: 100%;
    padding: 25px 4.5%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font-size: 25px;
    letter-spacing: .23em;
    font-weight: 700
}

.logo span {
    display: block;
    font-size: 8px;
    letter-spacing: .5em;
    margin-top: 5px
}

nav {
    display: flex;
    gap: 40px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .2em
}

nav a:hover {
    color: var(--blue)
}

.pill {
    border: 1px solid #dededb88;
    border-radius: 40px;
    padding: 13px 22px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    display: flex;
    gap: 25px
}

.pill:hover {
    background: var(--paper);
    color: var(--ink)
}

.index {
    position: fixed;
    right: 3.7%;
    top: 37%;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 23px;
    padding-left: 20px
}

.index:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line)
}

.index i {
    width: 3px;
    height: 21px;
    background: var(--blue);
    position: absolute;
    left: -1px;
    top: 0;
    transition: transform .5s
}

.index a {
    font-family: monospace;
    text-transform: uppercase;
    font-size: 10px;
    display: flex;
    gap: 13px;
    color: #777d82
}

.index small {
    font-size: 9px
}

.index a.active {
    color: var(--paper)
}

.index a.active span {
    font-weight: 700
}

.hero {
    position: relative;
    min-height: 1100px;
    padding: 155px 4.5% 50px;
    overflow: hidden
}

#flow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .6;
    pointer-events: none
}

.ghost {
    font-family: 'Manrope', sans-serif;
    position: absolute;
    top: 360px;
    left: 11%;
    font-size: 22vw;
    font-weight: 800;
    letter-spacing: -.08em;
    color: transparent;
    -webkit-text-stroke: 1px #168cff17;
    pointer-events: none
}

.hero-copy {
    position: relative;
    z-index: 2
}

.eyebrow {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .3em;
    margin: 0 0 24px;
    font-family: monospace
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(75px, 9vw, 140px);
    font-weight: 800;
    letter-spacing: -.07em;
    line-height: .99;
    margin-bottom: 25px
}

em {
    font-style: normal;
    color: var(--blue)
}

.lede {
    font-size: 19px;
    line-height: 1.5;
    color: #d0d0cb
}

.explore {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    margin-top: 10px
}

.explore>span {
    border: 1px solid var(--paper);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px
}

.showcase {
    width: min(750px, 66vw);
    margin: -20px auto 0;
    position: relative;
    z-index: 3
}

.window {
    border: 1px solid #7b84836b;
    background: #14181b;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 40px 100px #000a, 0 0 65px #168cff12
}

.browserbar {
    height: 32px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 13px;
    background: #1a2023
}

.browserbar b {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fa6b63
}

.browserbar b:nth-child(2) {
    background: #e3bf48
}

.browserbar b:nth-child(3) {
    background: #74b875
}

.browserbar>span {
    margin: auto;
    font-family: monospace;
    font-size: 8px;
    letter-spacing: .12em;
    color: #a7adb1
}

.browserbar button {
    background: none;
    border: 0;
    font-size: 14px;
    width: 26px
}

.stage {
    position: relative;
    aspect-ratio: 1.54;
    overflow: hidden
}

.slide {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat
}

.slide:not(:first-child) {
    transform: translateY(-105%)
}

.showcase-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-family: monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .15em
}

.dots {
    display: flex;
    gap: 9px
}

.dots button {
    border: 0;
    padding: 0;
    width: 18px;
    height: 3px;
    background: #46505a
}

.dots button.selected {
    background: var(--blue)
}

.scroll-note {
    display: flex;
    justify-content: center;
    gap: 20px;
    text-transform: uppercase;
    font-family: monospace;
    font-size: 9px;
    letter-spacing: .2em;
    margin-top: 45px;
    color: var(--muted)
}

.section {
    padding: 105px 11% 110px 4.5%;
    border-top: 1px solid var(--line);
    overflow: hidden
}

.section-top {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    margin-bottom: 42px
}

.section-top>span {
    font-size: 10px
}

.section-top .eyebrow {
    margin: 0
}

h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(55px, 7vw, 106px);
    line-height: 1.05;
    letter-spacing: -.065em;
    font-weight: 700;
    margin-bottom: 40px
}

.work-intro {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 65px
}

.work-intro p {
    max-width: 450px;
    color: #afb4b7;
    font-size: 17px;
    line-height: 1.65
}

.work-intro>span {
    align-self: flex-end;
    color: var(--muted);
    font-size: 10px;
    font-family: monospace
}

.project-list {
    display: grid;
    gap: 65px
}

.project {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 5%
}

.project-image {
    aspect-ratio: 1.5;
    border-radius: 3px;
    background-repeat: no-repeat;
    overflow: hidden
}

.project:nth-child(2) {
    grid-template-columns: 1fr 1.4fr
}

.project:nth-child(2) .project-image {
    order: 2
}

.project-info>span:first-child {
    font-family: monospace;
    text-transform: uppercase;
    font-size: 10px;
    color: var(--muted)
}

h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 35px;
    letter-spacing: -.05em;
    font-weight: 600;
    margin: 20px 0
}

.project-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #aeb4b8;
    max-width: 300px
}

.project-arrow {
    font-size: 35px;
    color: var(--blue)
}

.services {
    background: #101316
}

.service-list {
    margin-top: 65px
}

details {
    border-top: 1px solid var(--line);
    padding: 25px 0
}

details:last-child {
    border-bottom: 1px solid var(--line)
}

summary {
    display: flex;
    align-items: center;
    gap: 35px;
    cursor: pointer;
    list-style: none
}

summary::-webkit-details-marker {
    display: none
}

summary small {
    font-family: monospace;
    color: var(--muted);
    font-size: 11px
}

summary h3 {
    font-size: 32px;
    margin: 0
}

summary>span {
    margin-left: auto;
    font-size: 26px;
    color: var(--blue);
    transition: transform .3s
}

details[open] summary>span {
    transform: rotate(90deg)
}

details p {
    margin: 25px 0 5px 50px;
    max-width: 570px;
    color: #aeb4b8;
    line-height: 1.7
}

.studio-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12%;
    margin-top: 65px
}

.studio-bottom>p {
    font-size: 23px;
    line-height: 1.6;
    color: #b1b6ba
}

.studio ol {
    list-style: none;
    padding: 0;
    margin: 0
}

.studio li {
    border-bottom: 1px solid var(--line);
    padding: 0 0 25px;
    margin-bottom: 25px;
    font-size: 20px
}

.studio li>.process-step {
    display: block;
    font-size: 10px;
    font-family: monospace;
    text-transform: uppercase;
    color: var(--blue);
    letter-spacing: .12em;
    margin-bottom: 12px
}

.word-marquee {
    width: 130%;
    margin: 100px -5% -40px;
    font-size: 90px;
    font-family: 'Manrope';
    font-weight: 800;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px #ffffff30;
    letter-spacing: -.05em
}

.word-marquee span {
    display: block;
    animation: marquee 35s linear infinite
}

@keyframes marquee {
    to {
        transform: translateX(-40%)
    }
}

.contact {
    padding-top: 120px;
    padding-bottom: 150px;
    background: radial-gradient(ellipse at 20% 120%, #06315b 0, transparent 60%)
}

.contact>p:not(.eyebrow) {
    color: #aeb4b8;
    font-size: 18px
}

.contact-button {
    background: var(--paper);
    color: var(--ink);
    border: 0;
    border-radius: 40px;
    padding: 20px 28px;
    margin-top: 22px;
    display: flex;
    gap: 50px;
    align-items: center
}

.contact-button:hover {
    background: var(--blue);
    color: white
}

.contact-button span {
    font-size: 24px
}

#contact-note {
    margin-top: 25px;
    max-width: 470px;
    padding: 20px;
    border: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.6
}

#contact-note button {
    border: 0;
    background: none;
    color: var(--blue);
    padding: 0
}

footer {
    border-top: 1px solid var(--line);
    padding: 35px 4.5%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

footer>span,
footer>a:last-child {
    font-family: monospace;
    font-size: 10px;
    color: var(--muted)
}

@media(min-width:1500px) {
    .hero {
        min-height: 1200px
    }

    .showcase {
        margin-top: -55px;
        width: 850px
    }
}

@media(max-width:900px) {
    .index {
        display: none
    }

    .hero {
        min-height: 0;
        padding-top: 140px
    }

    .showcase {
        margin: 45px auto 0;
        width: 90%
    }

    .section {
        padding: 75px 6%
    }

    .hero {
        padding-left: 6%;
        padding-right: 6%
    }

    .ghost {
        top: 420px;
        font-size: 26vw
    }

    .project-info h3 {
        font-size: 28px
    }

    .section-top>span {
        display: none
    }

    .word-marquee {
        font-size: 70px
    }

    .studio-bottom {
        gap: 7%
    }
}

@media(max-width:600px) {
    header {
        height: 85px;
        padding: 20px 6%
    }

    .logo {
        font-size: 20px
    }

    .logo span {
        font-size: 6px
    }

    nav {
        display: none
    }

    .pill {
        padding: 11px 16px;
        font-size: 9px;
        gap: 15px
    }

    .hero {
        padding-top: 135px
    }

    h1 {
        font-size: 19vw
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: .2em
    }

    .lede {
        font-size: 16px
    }

    .showcase {
        width: 100%;
        margin-top: 45px
    }

    .browserbar>span {
        font-size: 6px
    }

    .showcase-meta {
        font-size: 8px
    }

    .scroll-note {
        margin-top: 25px;
        margin-bottom: 15px
    }

    .work-intro {
        display: block
    }

    .work-intro>span {
        display: block
    }

    .project,
    .project:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 0
    }

    .project:nth-child(2) .project-image {
        order: 0
    }

    .project-info {
        padding-top: 20px
    }

    .project-info h3 {
        margin: 12px 0
    }

    .project-arrow {
        display: none
    }

    .project-info p {
        max-width: none
    }

    .project-list {
        gap: 40px
    }

    h2 {
        font-size: 14vw
    }

    .section-top {
        margin-bottom: 30px
    }

    summary {
        gap: 20px
    }

    summary h3 {
        font-size: 23px
    }

    details p {
        margin-left: 33px;
        font-size: 14px
    }

    .studio-bottom {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .studio-bottom>p {
        font-size: 20px
    }

    .word-marquee {
        font-size: 60px;
        margin-top: 60px
    }

    .contact {
        padding-bottom: 90px
    }

    footer {
        flex-wrap: wrap;
        gap: 30px
    }

    footer .logo {
        width: 100%
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .word-marquee span {
        animation: none
    }

    #flow {
        display: none
    }

    .index i {
        transition: none
    }
}
