@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap");

:root {
    --bg: #1f2127;
    --fg: #e0e0e0;
    --dark: #202020;
    --line: rgba(224,224,224,.24);
    --pad: 100px;
    --gap: 20px;
    --orbitron: "Orbitron",sans-serif;
    --grotesk: "Neue Haas Grotesk Text Pro","Arial Nova",Arial,sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--grotesk);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    font: 900 40px/1.18 var(--orbitron);
    letter-spacing: -.025em;
}

h2 {
    font: 700 30px/1.22 var(--orbitron);
    letter-spacing: -.02em;
}

h3 {
    font-size: 16px;
    line-height: 1.5;
}

.text-block {
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.page-curtain {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity .45s ease;
}

.page-curtain.in {
    opacity: 1;
}

.topbar {
    height: 60px;
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f2127;
    border-bottom: 1px solid var(--line);
    transition: background .35s,border-color .35s;
    mix-blend-mode: normal;
}

.topbar.scrolled,
.topbar.solid {
    background: #1f2127;
    border-color: var(--line);
}

#top {
    padding-top: 60px;
}

.brand {
    height: 48px;
    width: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand img {
    display: block;
    max-width: 100%;
    max-height: 48px;
}

.socials {
    position: absolute;
    right: 30px;
    display: flex;
    gap: 18px;
    align-items: center;
    font: 700 12px/1 var(--orbitron);
}

.socials a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
}

.socials img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: .5;
    transition: opacity .25s;
}

.socials a:hover img {
    opacity: 1;
}

.back-link {
    position: absolute;
    font: 700 12px/1 var(--orbitron);
    letter-spacing: .1em;
}

.back-link {
    left: 30px;
}

.hero {
    height: 50vh;
    min-height: 360px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0 var(--pad) 70px;
    overflow: hidden;
    background: radial-gradient(circle at 68% 42%,#575d69 0,transparent 15%),linear-gradient(135deg,#121319 0%,#262a33 48%,#121318 100%);
}

.media-placeholder {
    position: relative;
    overflow: hidden;
    background: #17191e;
}

.media-placeholder span,
.replace-note {
    font: 700 11px/1 var(--orbitron);
    letter-spacing: .16em;
    position: absolute;
    left: 20px;
    bottom: 20px;
    opacity: .6;
}

.media-code {
    font: 700 12px/1 var(--orbitron);
    letter-spacing: .16em;
    position: relative;
    z-index: 2;
}

.hero-mark {
    position: absolute;
    right: 7vw;
    bottom: -11vw;
    font: 900 31vw/1 var(--orbitron);
    color: transparent;
    -webkit-text-stroke: 1px rgba(224,224,224,.15);
}

.statement {
    min-height: 280px;
    display: grid;
    place-content: center;
    gap: 20px;
}

.statement h1,
.about-copy h1 {
    white-space: nowrap;
}

.statement p {
    max-width: 760px;
}

.centered {
    text-align: center;
}

.section-heading {
    padding-top: 90px;
    padding-bottom: 40px;
    border-top: 1px solid var(--line);
}

.project-row {
    min-height: 270px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    border-top: 1px solid var(--line);
    transition: background .35s;
}

.project-row:last-child {
    border-bottom: 1px solid var(--line);
}

.project-media {
    min-height: 270px;
    background: linear-gradient(145deg,#292d36,#111318);
}

.project-row:nth-child(even) .project-media {
    background: linear-gradient(35deg,#15171c,#343946);
}

.project-media:after {
    content: attr(data-num);
    position: absolute;
}

.project-copy {
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.project-copy h2 {
    white-space: nowrap;
    font-size: clamp(24px,2.15vw,36px);
}

.eyebrow {
    font: 700 12px/1 var(--orbitron);
    letter-spacing: .18em;
    opacity: .55;
}

.project-copy i {
    font: 700 11px/1 var(--orbitron);
    font-style: normal;
    letter-spacing: .15em;
    opacity: 0;
    transform: translateX(-8px);
    transition: .3s;
}

.project-row:hover {
    background: #282b33;
}

.project-row:hover .project-copy i {
    opacity: 1;
    transform: none;
}

.about {
    display: grid;
    grid-template-columns: 2fr 3fr;
    min-height: 720px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.portrait {
    min-height: 620px;
    background: linear-gradient(160deg,#373b45,#111318);
}

.about-copy {
    padding: 80px var(--pad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.about-copy>p:last-child {
    max-width: 850px;
}

.career {
    padding-bottom: 80px;
}

.career-row {
    display: grid;
    grid-template-columns: 2fr 1fr 5fr;
    align-items: start;
    gap: 20px;
    padding: 36px 0;
    border-top: 1px solid var(--line);
}

.career-row:last-child {
    border-bottom: 1px solid var(--line);
}

.career-row>h2 {
    text-align: right;
}

.career-row h3 {
    font-weight: 600;
}

.org-mark {
    width: 100px;
    height: 64px;
    display: grid;
    justify-items: center;
    align-items: start;
    justify-self: center;
    padding-top: 4px;
}

.org-mark img {
    display: block;
    max-width: 90px;
    max-height: 48px;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: .5;
}

.muted {
    font-style: italic;
    opacity: .7;
}

.skills {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    text-align: center;
    padding-bottom: 100px;
}

.skills article {
    padding: 35px 20px;
    border-left: 1px solid var(--line);
}

.skills article:last-child {
    border-right: 1px solid var(--line);
}

footer {
    border-top: 2px solid var(--fg);
    padding: 45px var(--pad);
    text-align: center;
    font-size: 14px;
}

footer a {
    opacity: .7;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.case-study {
    padding-top: 60px;
}

.case-hero {
    height: calc(100vh - 60px);
    min-height: 650px;
    background: radial-gradient(circle at 50% 55%,#4a505d 0,transparent 18%),linear-gradient(145deg,#111319,#2a2e38);
}

.case-intro {
    padding-top: 70px;
    padding-bottom: 70px;
}

.case-intro h1 {
    font-size: clamp(48px,4.5vw,86px);
    margin: 20px 0 45px;
    white-space: nowrap;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.case-meta p:first-child {
    font-family: var(--orbitron);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: normal;
}

.case-meta p:last-child {
    font-family: var(--orbitron);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}

.case-intro,
.case-intro .eyebrow,
.case-meta {
    text-transform: uppercase;
}

.case-intro .eyebrow {
    font-family: var(--orbitron);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.case-body h2 {
    white-space: nowrap;
}

.case-body {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.case-wide {
    height: 75vw;
    max-height: 1000px;
    background: linear-gradient(125deg,#303540,#121419);
}

.case-media {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: #17191e;
}

.case-hero img {
    opacity: 1 !important;
}

.case-media img {
    display: block;
    width: 100%;
    height: auto;
}

.case-study > .case-media + .case-media {
    margin-top: 20px;
}

.case-video {
    aspect-ratio: 16 / 9;
}

.case-video-cinematic {
    aspect-ratio: 7 / 3;
}

.case-video-standard {
    aspect-ratio: 4 / 3;
}

.case-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.case-credit {
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: right;
    text-transform: uppercase;
}

.case-credit h2 {
    margin-bottom: 20px;
}

.case-section-heading {
    padding-top: 100px;
    padding-bottom: 40px;
    text-transform: uppercase;
}

.case-detail-list {
    display: grid;
    gap: 20px;
    padding-bottom: 100px;
}

.character-row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 20px;
    align-items: center;
}

.character-row h3,
.scenario-row h3 {
    font: 500 24px/1.3 var(--orbitron);
    text-align: right;
    text-transform: uppercase;
}

.character-row img {
    display: block;
    width: 100%;
    height: auto;
}

.scenario-row {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 20px;
    align-items: start;
}

.case-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
}

.case-gallery>div {
    height: 60vw;
    max-height: 860px;
    background: linear-gradient(145deg,#2d323c,#14161b);
}

.next-project {
    min-height: 280px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 5fr auto;
    gap: 40px;
    align-items: center;
}

.next-project span {
    font: 700 12px/1 var(--orbitron);
    letter-spacing: .16em;
}

.next-project strong {
    font: 700 36px/1.25 var(--orbitron);
    white-space: nowrap;
}

.next-project i {
    font-style: normal;
    font-size: 60px;
}

@media (max-width:900px){
    :root {
        --pad: 24px;
    }

    body {
        font-size: 18px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .socials {
        right: 16px;
        gap: 8px;
    }

    .socials a {
        border: 0;
        width: 24px;
        height: 24px;
    }

    .hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 3 / 1;
    }

    .statement {
        min-height: 360px;
    }

    .project-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .project-media {
        min-height: 62vw;
    }

    .project-copy {
        padding: 45px var(--pad);
    }

    .project-copy h2 {
        white-space: normal;
        font-size: 28px;
    }

    .statement h1,
    .about-copy h1,
    .case-intro h1,
    .case-body h2 {
        white-space: normal;
    }

    .case-intro h1 {
        font-size: 36px;
    }

    .project-copy i {
        opacity: 1;
        transform: none;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .portrait {
        min-height: 110vw;
    }

    .about-copy {
        padding: 60px var(--pad);
    }

    .career-row {
        grid-template-columns: 1fr 80px 4fr;
    }

    .career-row>h2 {
        font-size: 16px;
    }

    .org-mark {
        width: 80px;
    }

    .skills {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .skills article {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .skills article:last-child {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    footer {
        font-size: 16px;
    }

    .case-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .character-row,
    .scenario-row {
        grid-template-columns: 1fr;
    }

    .character-row h3,
    .scenario-row h3 {
        text-align: left;
    }

    .case-gallery {
        grid-template-columns: 1fr;
    }

    .case-gallery>div {
        height: 90vw;
    }

    .next-project {
        grid-template-columns: 1fr auto;
    }

    .next-project span {
        grid-column: 1/-1;
    }

    .next-project strong {
        font-size: 26px;
    }

    .back-link {
        left: 16px;
    }
}

@media (prefers-reduced-motion:reduce){
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .page-curtain {
        display: none;
    }
}
