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

:root {
    color-scheme: dark;
    --charcoal: #20211f;
    --panel: #282a27;
    --panel-light: #30322f;
    --cream: #f3f0e7;
    --muted: #a8aaa1;
    --ricktoons-red: #E96073;
    --ricktoons-red-hover: #e5a9b1;
    --line: rgba(243, 240, 231, .16);
    --mono: 'DM Mono', monospace;
    --sans: 'Space Grotesk', sans-serif
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: var(--charcoal);
    color: var(--cream);
    font-family: var(--sans);
    font-size: 16px;
    -webkit-font-smoothing: antialiased
}

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

button {
    font: inherit;
    color: inherit
}

.wrap {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto
}

.site-header {
    height: 84px;
    width: min(1320px, calc(100% - 64px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 5
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -1.2px
}

.brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: var(--ricktoons-red);
    color: var(--charcoal);
    display: grid;
    place-items: center;
    font-size: 18px;
    transform: rotate(-7deg)
}

.brand-dot,
.type-accent {
    color: var(--ricktoons-red)
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
    font-size: 13px;
    color: #d6d6ce
}

.main-nav a:hover,
.text-link:hover,
.site-footer a:hover {
    color: var(--ricktoons-red)
}

.nav-contact {
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 5px
}

.nav-contact span {
    color: var(--ricktoons-red);
    margin-left: 8px
}

.menu-toggle {
    display: none
}

.hero {
    min-height: 620px;
    padding-top: 100px;
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    column-gap: 28px
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding-bottom: 68px
}

.eyebrow,
.project-type,
.visual-label,
.hero-bottom,
.section-count,
.sample-note,
.art-index,
.art-note,
.filter-button,
.site-footer {
    font: 11px var(--mono);
    letter-spacing: .06em
}

.eyebrow {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 9px
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--ricktoons-red);
    border-radius: 50%;
    box-shadow: 0 0 14px #d3ff5b80
}

.hero h1 {
    font-size: clamp(60px, 8.6vw, 112px);
    line-height: .91;
    letter-spacing: -.09em;
    margin: 32px 0 28px;
    font-weight: 600
}

.hero-intro {
    color: #c6c7bf;
    max-width: 370px;
    line-height: 1.7;
    font-size: 16px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-top: 31px
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 19px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s, background .2s
}

.button:hover {
    transform: translateY(-2px)
}

.button-lime {
    background: var(--ricktoons-red);
    color: var(--charcoal)
}

.button-lime:hover {
    background: var(--ricktoons-red-hover);
}

.text-link {
    font-size: 12px;
    color: #d1d1ca
}

.text-link span {
    color: var(--ricktoons-red)
}

.hero-art {
    height: 425px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #383b32;
    background-image: radial-gradient(ellipse at 50% 100%, #505541 0%, #383b32 55%, #32352e 100%)
}

.hero-art-logo {
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at center, #3b3d37 0%, #292a27 72%);
}

.hero-art-logo img {
    display: block;
    width: min(68%, 300px);
    aspect-ratio: 1;
    object-fit: cover;
    border: 6px solid var(--ricktoons-red);
    border-radius: 50%;
    box-shadow: 0 20px 70px #0007;
}

.hero-sun {
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: #f8b15d;
    top: 57px;
    right: 68px;
    box-shadow: 0 0 80px #f8b15d35
}

.hero-creature {
    position: absolute;
    width: 190px;
    height: 196px;
    background: #d3ff5b;
    border-radius: 48% 52% 37% 40%;
    left: calc(50% - 96px);
    top: 126px;
    transform: rotate(-9deg);
    box-shadow: inset -18px -16px 0 #b1de4a
}

.creature-eye {
    position: absolute;
    width: 18px;
    height: 24px;
    background: #20211f;
    border-radius: 50%;
    top: 73px
}

.eye-left {
    left: 56px
}

.eye-right {
    right: 49px
}

.creature-mouth {
    position: absolute;
    width: 30px;
    height: 13px;
    border-bottom: 3px solid #20211f;
    border-radius: 50%;
    left: 77px;
    top: 109px
}

.hero-platform {
    position: absolute;
    width: 300px;
    height: 70px;
    border-radius: 50%;
    background: #292b27;
    left: calc(50% - 150px);
    bottom: 45px;
    box-shadow: 0 -5px 0 #4d5144
}

.art-spark {
    position: absolute;
    color: var(--cream);
    font-size: 28px
}

.spark-one {
    left: 54px;
    top: 75px;
    color: var(--ricktoons-red)
}

.spark-two {
    right: 49px;
    bottom: 109px;
    color: #f8b15d
}

.art-note {
    position: absolute;
    left: 24px;
    bottom: 24px;
    line-height: 1.7;
    color: #d9dbd1
}

.art-note b {
    color: var(--ricktoons-red);
    font-size: 16px;
    margin-left: 5px
}

.art-index {
    position: absolute;
    right: 20px;
    top: 18px;
    color: #c1c5b6
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--line);
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8f9289;
    font-size: 9px
}

.little-star {
    color: var(--ricktoons-red);
    font-size: 14px;
    margin-left: 7px
}

.section-pad {
    padding: 116px 0
}

.work-section {
    background: #252724;
    margin-top: 26px
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between
}

.section-heading .eyebrow {
    margin: 0 0 15px
}

.section-heading h2,
.about-section h2,
.contact-panel h2 {
    font-size: clamp(48px, 6vw, 72px);
    line-height: .95;
    letter-spacing: -.075em;
    margin: 0;
    font-weight: 600
}

.section-count {
    color: #8b8d86;
    padding-bottom: 8px
}

.filters {
    display: flex;
    gap: 7px;
    margin: 44px 0 24px
}

.filter-button {
    font-size: 10px;
    color: #b7b9b0;
    background: transparent;
    border: 1px solid var(--line);
    padding: 10px 13px;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s
}

.filter-button:hover,
.filter-button.is-active {
    color: var(--charcoal);
    background: var(--ricktoons-red);
    border-color: var(--ricktoons-red)
}

.filter-button span {
    font-size: 9px;
    opacity: .7;
    margin-left: 5px
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px
}

.project-card {
    min-width: 0;
    transition: opacity .2s, transform .2s
}

.project-card.is-hidden {
    display: none
}

.project-visual {
    height: 285px;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 3px
}

.visual-label {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 2;
    color: #fff9;
    font-size: 9px
}

.visual-arrow {
    position: absolute;
    right: 15px;
    top: 14px;
    z-index: 2;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff70;
    border-radius: 50%;
    font-size: 15px
}

.visual-orbit {
    background: linear-gradient(140deg, #e29e6c, #d57758 55%, #874e55)
}

.orbit-planet {
    position: absolute;
    border-radius: 50%;
    box-shadow: inset -12px -13px 0 #151b2080
}

.planet-one {
    height: 116px;
    width: 116px;
    background: #a6db83;
    left: 22%;
    top: 67px
}

.planet-two {
    height: 53px;
    width: 53px;
    background: #ffe07a;
    left: 60%;
    top: 70px
}

.planet-three {
    height: 37px;
    width: 37px;
    background: #bc8fd5;
    left: 71%;
    top: 166px
}

.orbit-path {
    position: absolute;
    width: 250px;
    height: 115px;
    border: 1px solid #fff9;
    border-radius: 50%;
    left: 16%;
    top: 80px;
    transform: rotate(-22deg)
}

.visual-caption {
    position: absolute;
    left: 18px;
    bottom: 17px;
    font-weight: 700;
    font-size: 23px;
    line-height: .9;
    letter-spacing: -1.3px;
    color: white;
    text-shadow: 0 2px 13px #0007
}

.visual-creatures {
    background: #b9ccad
}

.visual-creatures:before,
.visual-creatures:after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid #fff8;
    border-radius: 50%;
    left: calc(50% - 110px);
    top: 31px
}

.visual-creatures:after {
    width: 270px;
    height: 270px;
    left: calc(50% - 135px);
    top: 6px
}

.creature {
    position: absolute;
    bottom: 64px;
    width: 76px;
    height: 92px;
    border-radius: 43% 45% 37% 40%;
    z-index: 1;
    box-shadow: inset -9px -8px #0002
}

.creature-a {
    left: 18%;
    background: #f5aa6f;
    transform: rotate(-10deg)
}

.creature-b {
    left: 43%;
    bottom: 70px;
    width: 90px;
    height: 106px;
    background: #8785ba
}

.creature-c {
    right: 15%;
    background: #eddf78;
    transform: rotate(8deg)
}

.creature i {
    position: absolute;
    top: 36px;
    left: 22px;
    width: 6px;
    height: 8px;
    border-radius: 50%;
    background: #222
}

.creature i:nth-child(2) {
    left: auto;
    right: 20px
}

.creature b {
    position: absolute;
    top: 53px;
    left: 34px;
    width: 10px;
    height: 6px;
    border-bottom: 2px solid #222;
    border-radius: 50%
}

.visual-nightshift {
    background: linear-gradient(135deg, #293f5e, #263550 60%, #202b44)
}

.night-moon {
    position: absolute;
    right: 52px;
    top: 55px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f2d788;
    box-shadow: 0 0 60px #f2d78850
}

.night-window {
    position: absolute;
    left: 25%;
    top: 43px;
    width: 145px;
    height: 158px;
    border: 7px solid #ac785a;
    background: linear-gradient(90deg, transparent 48%, #ac785a 48%, #ac785a 52%, transparent 52%), linear-gradient(0deg, transparent 48%, #ac785a 48%, #ac785a 52%, transparent 52%), #546e8d
}

.night-cat {
    position: absolute;
    left: 43%;
    bottom: 45px;
    width: 75px;
    height: 75px;
    background: #23252b;
    border-radius: 42% 42% 20% 20%;
    z-index: 1
}

.night-cat:before,
.night-cat:after {
    content: '';
    position: absolute;
    top: -22px;
    border-style: solid;
    border-width: 0 12px 27px;
    border-color: transparent transparent #23252b
}

.night-cat:before {
    left: 4px;
    transform: rotate(-14deg)
}

.night-cat:after {
    right: 4px;
    transform: rotate(14deg)
}

.night-cat i,
.night-cat b {
    position: absolute;
    left: 22px;
    top: 27px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ricktoons-red);
    box-shadow: 26px 0 var(--ricktoons-red)
}

.night-cat b {
    left: 34px;
    top: 47px;
    width: 8px;
    height: 5px;
    background: transparent;
    border-bottom: 2px solid #888;
    box-shadow: none
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 8px
}

.project-type {
    font-size: 9px;
    color: #9b9e95;
    margin: 0 0 7px
}

.project-meta h3 {
    margin: 0;
    font-size: 21px;
    letter-spacing: -.04em
}

.round-link {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ricktoons-red);
    transition: background .2s, color .2s
}

.round-link:hover {
    background: var(--ricktoons-red);
    color: var(--charcoal)
}

.project-summary {
    font-size: 13px;
    line-height: 1.55;
    color: #aeb0a7;
    margin: 0;
    max-width: 330px
}

.sample-note {
    margin: 36px 0 0;
    color: #92948b;
    font-size: 10px
}

.sample-note span {
    color: var(--ricktoons-red);
    font-size: 15px;
    vertical-align: -2px;
    margin-right: 6px
}

.about-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px
}

.about-section .eyebrow {
    margin: 0 0 24px
}

.about-copy {
    max-width: 540px
}

.about-lead {
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -.04em;
    margin: 5px 0 14px
}

.about-copy>p:not(.about-lead) {
    font-size: 14px;
    color: #aeb0a7;
    line-height: 1.8;
    margin: 0
}

.process-list {
    margin-top: 32px;
    border-top: 1px solid var(--line)
}

.process-list>div {
    display: grid;
    grid-template-columns: 40px 130px 1fr;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    gap: 10px
}

.process-list span {
    font: 10px var(--mono);
    color: var(--ricktoons-red)
}

.process-list b {
    font-size: 12px
}

.process-list small {
    font-size: 11px;
    color: #a6a89f;
    line-height: 1.5
}

.contact-section {
    padding-top: 35px;
    padding-bottom: 100px
}

.contact-panel {
    position: relative;
    background: var(--panel);
    padding: 68px 8%;
    overflow: hidden
}

.contact-panel .eyebrow {
    margin: 0 0 23px
}

.contact-panel h2 {
    font-size: clamp(52px, 7vw, 82px)
}

.contact-panel>p:not(.eyebrow) {
    font-size: 13px;
    color: #afb1a9;
    margin: 22px 0
}

.contact-panel .button {
    margin-top: 7px
}

.contact-doodle {
    position: absolute;
    right: 12%;
    top: 50px;
    color: var(--ricktoons-red);
    font-size: 130px;
    opacity: .9;
    transform: rotate(-12deg)
}

.site-footer {
    min-height: 84px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9b9e95;
    font-size: 9px
}

.site-footer .brand {
    color: var(--cream);
    font: 700 17px var(--sans);
    letter-spacing: -1px
}

.site-footer .brand-mark {
    width: 24px;
    height: 24px;
    font-size: 14px
}

.project-page {
    min-height: 100vh
}

.project-hero {
    padding: 76px 0 54px
}

.back-link {
    display: inline-block;
    color: #aeb0a7;
    font: 11px var(--mono);
    margin-bottom: 42px
}

.back-link:hover {
    color: var(--ricktoons-red)
}

.project-hero h1 {
    font-size: clamp(54px, 9vw, 100px);
    letter-spacing: -.085em;
    line-height: .9;
    margin: 0 0 20px
}

.project-hero>p {
    max-width: 570px;
    color: #b9bbb2;
    line-height: 1.7
}

.project-cover {
    height: min(55vw, 500px);
    min-height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-top: 35px
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 75px;
    padding: 74px 0;
    border-bottom: 1px solid var(--line)
}

.detail-meta {
    display: grid;
    gap: 20px;
    align-content: start
}

.detail-meta span {
    font: 10px var(--mono);
    color: #a4a69e
}

.detail-meta b {
    display: block;
    font: 12px var(--sans);
    color: var(--cream);
    margin-top: 6px
}

.detail-copy h2 {
    font-size: 32px;
    letter-spacing: -.05em;
    margin: 0 0 15px
}

.detail-copy p {
    color: #afb1a9;
    line-height: 1.8;
    font-size: 14px
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 38px auto 74px
}

.gallery-tile {
    height: 260px;
    border-radius: 3px;
    position: relative;
    overflow: hidden
}

.gallery-tile:nth-child(3) {
    grid-column: span 2;
    height: 320px
}

.gallery-label {
    position: absolute;
    left: 17px;
    bottom: 15px;
    font: 10px var(--mono);
    color: #fff;
    z-index: 2
}

.video-frame {
    aspect-ratio: 16/9;
    background: #111;
    display: grid;
    place-items: center;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    margin: 36px auto
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.video-placeholder {
    display: grid;
    place-items: center;
    gap: 12px;
    text-align: center;
    color: #b6b8b0;
    font-size: 12px
}

.play-button {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--ricktoons-red);
    color: var(--charcoal);
    display: grid;
    place-items: center;
    font-size: 22px;
    border: 0;
    cursor: pointer
}

.project-nav {
    border-top: 1px solid var(--line);
    padding: 28px 0 42px;
    display: flex;
    justify-content: space-between;
    color: #b1b3aa;
    font: 11px var(--mono)
}

.project-nav a:hover {
    color: var(--ricktoons-red)
}

@media(max-width:760px) {

    .wrap,
    .site-header {
        width: min(100% - 40px, 560px)
    }

    .site-header {
        height: 70px
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        border: 0;
        background: none;
        font-size: 12px
    }

    .menu-toggle span {
        font-size: 18px;
        color: var(--ricktoons-red)
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 69px;
        left: -20px;
        right: -20px;
        background: #252724;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        border-bottom: 1px solid var(--line)
    }

    .main-nav.is-open {
        display: flex
    }

    .nav-contact {
        width: max-content
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding-top: 66px;
        min-height: 0;
        gap: 30px
    }

    .hero-copy {
        padding: 0
    }

    .hero h1 {
        font-size: clamp(62px, 16vw, 92px);
        margin-top: 28px
    }

    .hero-intro {
        font-size: 14px;
        max-width: 360px
    }

    .hero-actions {
        gap: 15px;
        flex-wrap: wrap
    }

    .hero-art {
        height: 330px
    }

    .hero-sun {
        width: 150px;
        height: 150px;
        right: 40px;
        top: 35px
    }

    .hero-creature {
        transform: scale(.85) rotate(-9deg);
        transform-origin: top left;
        left: calc(50% - 80px);
        top: 95px
    }

    .hero-platform {
        bottom: 29px
    }

    .hero-bottom {
        position: relative;
        margin-top: 8px;
        height: 45px;
        font-size: 8px
    }

    .work-section {
        margin-top: 22px
    }

    .section-pad {
        padding: 78px 0
    }

    .section-heading h2,
    .about-section h2 {
        font-size: 58px
    }

    .filters {
        overflow: auto;
        margin-top: 31px;
        padding-bottom: 5px
    }

    .filter-button {
        white-space: nowrap
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .project-visual {
        height: 300px
    }

    .project-summary {
        max-width: 100%
    }

    .sample-note {
        line-height: 1.7
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .about-lead {
        font-size: 21px
    }

    .process-list>div {
        grid-template-columns: 30px 110px 1fr
    }

    .contact-section {
        padding-top: 0;
        padding-bottom: 70px
    }

    .contact-panel {
        padding: 46px 28px
    }

    .contact-panel h2 {
        font-size: 62px
    }

    .contact-doodle {
        font-size: 84px;
        right: 7%;
        top: 32px;
        opacity: .5
    }

    .site-footer {
        padding: 18px 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 17px
    }

    .site-footer>*:nth-child(even) {
        text-align: right
    }

    .project-hero {
        padding-top: 54px
    }

    .project-hero h1 {
        font-size: 60px
    }

    .project-cover {
        height: 360px;
        min-height: 0
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 48px 0
    }

    .gallery-grid {
        grid-template-columns: 1fr
    }

    .gallery-tile,
    .gallery-tile:nth-child(3) {
        grid-column: auto;
        height: 250px
    }

    .project-nav {
        font-size: 9px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important
    }
}

/* Use the RickToons channel avatar as the shared header/footer brand mark. */
.brand-mark {
    background: url("https://yt3.googleusercontent.com/k82TnkNeKwWPIDEoZ8leYl_1sbSAfm5f9OKznDnnKiltb-EDTYxRDZKODl7PeyI9pns7n-Tm=s160-c-k-c0x00ffffff-no-rj") center/cover no-repeat;
    color: transparent;
    font-size: 0;
    transform: none;
    border-radius: 50%
}