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

@font-face {
    font-family: 'Medula One';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('/fonts/medula-one-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
        U+2215, U+FEFF, U+FFFD;
}

:root {
    --art-purple: #7147ff;
    --art-coral: #ff6438;
    --art-sage: #39e875;
    --art-pink: #ff3f9f;
    --art-blue: #19b5ff;
    --art-acid: #c7f36b;
    --art-paper: #f8f5ee;
    --art-ink: #090909;
    --art-ease: cubic-bezier(.16, 1, .3, 1);
}

html.art-motion-pending {
    background: #0f0b14;
}

html.art-motion-pending body {
    visibility: hidden;
}

html.art-motion-pending .art-page-transition {
    visibility: visible;
}

html {
    max-width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
    background-color: var(--art-ink);
}

html:has(body.motion-art) {
    scroll-behavior: auto;
}

body.motion-art {
    max-width: 100%;
    overflow-x: clip;
}

.art-page-transition {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    background: var(--art-transition-bg, var(--art-ink));
    clip-path: circle(0 at 50% 50%);
    transition: clip-path .78s var(--art-ease);
    will-change: clip-path;
}

/* Safari 26 extends the colour of viewport-fixed elements into its browser UI,
   even when clip-path has reduced the element to a zero-sized circle. */
.art-page-transition[hidden] {
    display: none;
}

html.art-transition-pending::before,
html.art-transition-pending::after {
    position: fixed;
    pointer-events: none;
}

html.art-transition-pending::before {
    content: '';
    z-index: 100001;
    inset: 0;
    background: var(--art-transition-bootstrap-bg, #7147ff);
}

html.art-transition-pending::after {
    content: 'SM';
    z-index: 100002;
    top: 50%;
    left: 50%;
    color: color-mix(in srgb, var(--art-transition-bootstrap-bg, #7147ff) 18%, white);
    font: 400 clamp(7rem, 28vw, 30rem)/.7 'Medula One', cursive;
    text-shadow: 2px 2px 0 color-mix(in srgb, var(--art-transition-bootstrap-bg, #7147ff) 72%, black);
    transform: translate(-50%, -50%);
}

.art-page-transition span {
    font: 400 clamp(7rem, 28vw, 30rem)/.7 'Medula One', cursive;
    letter-spacing: 0;
    color: color-mix(in srgb, var(--art-transition-bg, var(--art-ink)) 18%, white);
    text-shadow: 2px 2px 0 color-mix(in srgb, var(--art-transition-bg, var(--art-ink)) 72%, black);
    transform: translateY(32vh) rotate(-7deg) scale(.72);
    transition: transform .78s var(--art-ease);
}

body.art-leaving .art-page-transition,
body.art-entering .art-page-transition {
    clip-path: circle(150vmax at 50% 50%);
}

body.art-leaving .art-page-transition span,
body.art-entering .art-page-transition span {
    transform: translateY(0) rotate(0) scale(1);
}

body.art-entering .art-page-transition,
body.art-entering .art-page-transition span {
    transition: none;
}

body.art-entering-armed .art-page-transition {
    transition: clip-path .78s var(--art-ease);
}

body.art-entering-armed .art-page-transition span {
    transition: transform .78s var(--art-ease);
}

/* Portfolio shell */

.motion-portfolio {
    --signal-gap: clamp(8px, 1.1vw, 18px);
    background: var(--art-ink) !important;
    background-image: none !important;
    color: var(--art-ink);
    overscroll-behavior-y: none;
}

.motion-portfolio .background,
.motion-portfolio .scrollShadow {
    display: none !important;
}

.motion-portfolio > header {
    --art-header-bg: var(--art-purple);
    --art-header-ink: var(--art-paper);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 76px;
    padding: 11px clamp(20px, 2.4vw, 42px);
    transform: translateZ(0);
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--art-header-ink) 36%, transparent);
    border-radius: 0;
    background: color-mix(in srgb, var(--art-header-bg) 70%, transparent);
    color: var(--art-header-ink);
    transition: background-color .45s ease, color .45s ease, border-color .45s ease;
    z-index: 999;
    isolation: isolate;
    -webkit-backdrop-filter: blur(22px) saturate(1.16);
    backdrop-filter: blur(22px) saturate(1.16);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: none;
}

.motion-portfolio > header.has-scroll-backdrop {
    background: color-mix(in srgb, var(--art-header-bg) 62%, transparent);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    backdrop-filter: blur(24px) saturate(1.2);
}

.motion-portfolio > header .logo,
.motion-portfolio > header nav a {
    color: var(--art-header-ink);
    transition:
        color .32s ease,
        background-color .32s ease,
        transform .42s var(--art-ease);
}

.motion-portfolio > header .logo {
    --art-logo-cut: 10px;
    position: relative;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    isolation: isolate;
    font-family: 'Medula One', cursive;
    font-size: 2.65rem;
    font-weight: 400;
    letter-spacing: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    margin-left: -6px;
}

.motion-portfolio > header .logo::before,
.motion-portfolio > header .logo::after {
    content: '';
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.motion-portfolio > header .logo::before {
    z-index: -2;
    inset: 0;
    background: var(--art-paper);
    clip-path: polygon(
        0 0,
        calc(100% - var(--art-logo-cut)) 0,
        100% var(--art-logo-cut),
        100% 100%,
        var(--art-logo-cut) 100%,
        0 calc(100% - var(--art-logo-cut))
    );
    transform: rotate(-3deg) scale(.82);
    transform-origin: center;
    transition: opacity .2s ease, transform .4s var(--art-ease);
}

.motion-portfolio > header .logo::after {
    z-index: -1;
    top: 4px;
    right: -1px;
    width: 15px;
    height: 2px;
    background: var(--art-ink);
    transform: rotate(45deg) scaleX(0);
    transform-origin: center;
    transition: opacity .18s ease .08s, transform .35s var(--art-ease) .04s;
}

.motion-portfolio > header .logo:hover,
.motion-portfolio > header .logo:focus-visible {
    background: transparent;
    color: var(--art-ink);
    transform: translateY(-1px) rotate(-1deg);
}

.motion-portfolio > header .logo:hover::before,
.motion-portfolio > header .logo:hover::after,
.motion-portfolio > header .logo:focus-visible::before,
.motion-portfolio > header .logo:focus-visible::after {
    opacity: 1;
}

.motion-portfolio > header .logo:hover::before,
.motion-portfolio > header .logo:focus-visible::before {
    transform: rotate(0) scale(1);
}

.motion-portfolio > header .logo:hover::after,
.motion-portfolio > header .logo:focus-visible::after {
    transform: rotate(45deg) scaleX(1);
}

.motion-portfolio > header nav a {
    border-radius: 999px;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.motion-portfolio > header nav a:hover {
    background: var(--art-header-ink);
    color: var(--art-header-bg);
}

.motion-portfolio > header nav a.button,
.motion-portfolio .button {
    border: 1px solid currentColor;
    border-radius: 999px;
    background: var(--art-ink);
    background-image: none;
    color: var(--art-paper);
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: color .25s ease, background-color .25s ease, transform .45s var(--art-ease);
    box-shadow: 0 4px 0 color-mix(in srgb, currentColor 28%, transparent);
}

.motion-portfolio > header nav a.button:hover,
.motion-portfolio .button:hover {
    background: var(--art-paper);
    color: var(--art-ink);
    transform: translateY(-2px) rotate(-1deg) scale(1.02);
}

.motion-portfolio > header nav a.active::before {
    height: 2px;
    bottom: -15px;
    border-radius: 0;
    background: var(--art-header-ink);
}

.motion-portfolio > header nav a.active:hover::before {
    background: var(--art-header-ink);
}

.art-nav-letter {
    display: inline-block;
    min-width: .01em;
    transform: translateZ(0);
    transform-origin: 50% 72%;
    backface-visibility: hidden;
    transition: transform .24s cubic-bezier(.16, 1, .3, 1);
}

.art-nav-letter.is-space {
    width: .32em;
}

.art-nav-letter.is-letter-hovered {
    transform: translate3d(0, 1px, 0) scaleX(.76) scaleY(1.18) skewX(-4deg);
}

.art-nav-letter.is-deforming {
    animation: artNavLetterDeform .68s cubic-bezier(.16, 1, .3, 1) both;
}

.art-nav-letter.is-deforming-near {
    animation: artNavLetterDeformNear .68s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes artNavLetterDeform {
    0%, 100% { transform: translateZ(0) scale(1) skewX(0); }
    28% { transform: translate3d(0, 2px, 0) scaleX(.58) scaleY(1.32) skewX(-9deg); }
    58% { transform: translate3d(0, -1px, 0) scaleX(1.13) scaleY(.88) skewX(4deg); }
}

@keyframes artNavLetterDeformNear {
    0%, 100% { transform: translateZ(0) scale(1); }
    32% { transform: translate3d(0, 1px, 0) scaleX(.84) scaleY(1.12); }
    62% { transform: translate3d(0, -1px, 0) scaleX(1.04) scaleY(.96); }
}

.motion-portfolio > header button span {
    background: var(--art-header-ink);
}

.motion-portfolio main {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    overflow: visible;
}

.motion-portfolio main .content {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 0;
    align-items: stretch;
}

.motion-portfolio .projects,
.motion-portfolio .screenshotsSection,
.motion-portfolio .currentProject,
.motion-portfolio .metaCard,
.motion-portfolio .caseBlock,
.motion-portfolio .extensionDetails,
.motion-portfolio .skillCard {
    display: flex;
    flex-direction: column;
}

.motion-portfolio .projectCard .info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.motion-portfolio .projectCard .actions,
.motion-portfolio .currentProject .actions,
.motion-portfolio .caseBlock .actions,
.motion-portfolio .extensionDetails .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.motion-portfolio .projectStatus {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 5px 10px;
    font-size: .9rem;
    line-height: normal;
}

.motion-portfolio .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.motion-portfolio .tags p {
    padding: 5px 10px;
    font-size: .9rem;
}

.art-hero-scene {
    --art-panel-y: 0px;
    position: relative;
    z-index: 1;
    width: calc(100vw - var(--signal-gap) * 2);
    min-height: calc(100svh - var(--signal-gap) * 2);
    margin: var(--signal-gap);
    padding: 118px clamp(24px, 4.5vw, 76px) clamp(34px, 5vw, 76px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--art-panel-bg, var(--art-purple));
    color: var(--art-panel-ink, var(--art-paper));
    clip-path: polygon(0 0, calc(100% - 54px) 0, 100% 54px, 100% 100%, 54px 100%, 0 calc(100% - 54px));
    transform: translate3d(0, var(--art-panel-y), 0);
    transform-origin: 50% 0;
    will-change: auto;
}

.art-hero-scene[data-art-bg="#ff6438"],
.art-hero-scene[data-art-bg="#c7f36b"],
.art-hero-scene[data-art-bg="#39e875"],
.art-hero-scene[data-art-bg="#ff3f9f"],
.art-hero-scene[data-art-bg="#3d95ff"],
.art-hero-scene[data-art-bg="#19b5ff"] {
    color: var(--art-ink);
}

.art-hero-title {
    position: absolute;
    z-index: 1;
    inset: clamp(126px, 16vh, 180px) 5vw auto;
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-weight: 900;
    line-height: .69;
    letter-spacing: -.045em;
    text-transform: uppercase;
    pointer-events: none;
}

.art-hero-title > span {
    display: block;
    width: max-content;
    max-width: none;
    font-size: clamp(7rem, var(--art-hero-size, 18vw), 22rem);
    font-family: inherit;
    font-weight: inherit;
    line-height: .76;
    transform: translate3d(7vw, 115%, 0) rotate(3deg);
    opacity: 0;
    transition: transform 1.05s var(--art-ease), opacity .45s ease;
    transition-delay: calc(var(--art-line) * 90ms);
}

.art-ready .art-hero-scene .art-hero-title > span {
    transform: translate3d(0, 0, 0) rotate(0);
    opacity: 1;
}

.art-hero-scene > .hero,
.art-hero-scene > .megaHero {
    position: relative;
    z-index: 3;
    width: min(680px, 62vw);
    max-width: none;
    margin: 0;
    text-align: left;
    color: currentColor;
}

.art-hero-scene .hero {
    max-width: none;
    margin: 0;
    font: 500 clamp(1.45rem, 2.45vw, 2.8rem)/1.02 'Lexend', sans-serif;
    text-align: left;
}

.art-hero-scene .hero .accentText,
.motion-portfolio .accentText {
    font: inherit;
    letter-spacing: inherit;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: inherit;
}

.art-hero-scene .hero .accentText {
    font-weight: 650;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: clamp(1px, .055em, 2px) currentColor;
    paint-order: stroke fill;
}

.art-hero-scene .megaHero p {
    max-width: 640px;
    margin: 18px 0 0;
    color: currentColor;
    font-size: clamp(.95rem, 1.25vw, 1.3rem);
    text-align: left;
}

/* Wide 16:9 displays have much more horizontal than vertical room. */
@media (min-width: 901px) and (min-aspect-ratio: 16 / 9) {
    .art-hero-title > span {
        font-size: clamp(7rem, min(var(--art-hero-size, 18vw), 29vh), 22rem);
    }
}

/* Stacked editorial scenes */

.motion-portfolio .projects {
    width: 100%;
    margin: 0;
    gap: 0;
    align-items: stretch;
}

.motion-portfolio .projects > h2 {
    display: none;
}

.motion-portfolio .art-panel {
    --art-panel-y: 0px;
    --signal-cut: clamp(26px, 3.2vw, 48px);
    position: relative;
    z-index: calc(2 + var(--art-index));
    width: calc(100vw - var(--signal-gap) * 2) !important;
    min-height: 88svh;
    margin: var(--signal-gap) auto 0 !important;
    padding: clamp(136px, 12vw, 176px) clamp(24px, 4.5vw, 76px) clamp(48px, 6vw, 90px) !important;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, currentColor 58%, transparent) !important;
    border-radius: 0 !important;
    background-color: var(--art-panel-bg) !important;
    background-image:
        linear-gradient(color-mix(in srgb, currentColor 8%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, currentColor 8%, transparent) 1px, transparent 1px) !important;
    background-size: 42px 42px !important;
    color: var(--art-panel-ink) !important;
    clip-path: polygon(0 0, calc(100% - var(--signal-cut)) 0, 100% var(--signal-cut), 100% 100%, var(--signal-cut) 100%, 0 calc(100% - var(--signal-cut)));
    transform: translate3d(0, var(--art-panel-y), 0);
    transform-origin: 50% 0;
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
    will-change: auto;
}

.motion-portfolio .art-panel:nth-of-type(even) {
    clip-path: polygon(var(--signal-cut) 0, 100% 0, 100% calc(100% - var(--signal-cut)), calc(100% - var(--signal-cut)) 100%, 0 100%, 0 var(--signal-cut));
}

.motion-portfolio .art-panel::before {
    content: attr(data-art-title);
    position: absolute;
    z-index: 0;
    top: clamp(78px, 7vw, 104px);
    left: clamp(24px, 4.5vw, 76px);
    width: min(82%, 1120px);
    overflow: visible;
    color: color-mix(in srgb, currentColor 14%, transparent);
    font: 900 clamp(3.8rem, calc(var(--art-title-size, 10vw) * .55), 8rem)/.8 'Barlow Condensed', 'Arial Narrow', sans-serif;
    letter-spacing: -.035em;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    text-wrap: balance;
    -webkit-text-stroke: 1px color-mix(in srgb, currentColor 64%, transparent);
    opacity: .8;
    transform: translate3d(calc(var(--art-scene-progress, 0) * -1.2vw), 0, 0);
    pointer-events: none;
}

.motion-portfolio .art-panel::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 42%;
    right: auto;
    left: 75%;
    width: clamp(150px, 20vw, 330px);
    aspect-ratio: 1;
    border: 1px solid currentColor;
    border-radius: 48% 52% 39% 61% / 58% 42% 58% 42%;
    background: radial-gradient(circle, currentColor 0 2px, transparent 3px 100%);
    background-size: 18px 18px;
    opacity: .13;
    transform: translate(-50%, -50%) rotate(calc(var(--art-scene-progress, 0) * 24deg));
    transition: border-radius .8s var(--art-ease);
}

.motion-portfolio .art-panel:nth-of-type(3n)::after {
    right: auto;
    left: 7%;
    transform: rotate(10deg) scaleX(1.35);
}

.motion-portfolio .art-panel > * {
    position: relative;
    z-index: 2;
}

.art-float-media {
    --art-media-y: 0px;
    --art-media-rotate: -2deg;
    transform: perspective(1250px)
        translate3d(0, var(--art-media-y), 70px)
        rotateZ(var(--art-media-rotate)) !important;
    transform-style: preserve-3d;
    transform-origin: center;
    transition: transform .12s cubic-bezier(.22, .8, .3, 1);
    will-change: auto;
}

/* Home + projects */

.motion-portfolio .projectCard.art-panel,
.motion-portfolio[data-art-page="projects"] .currentProject.art-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    align-items: end;
    gap: clamp(24px, 5vw, 90px);
}

.motion-portfolio .projectCard.art-panel > img,
.motion-portfolio[data-art-page="projects"] .currentProject.art-panel > div:not(.art-panel-chrome) {
    grid-column: 1;
    width: min(100%, 980px);
    align-self: center;
}

.motion-portfolio .projectCard.art-panel:nth-of-type(even) > img,
.motion-portfolio[data-art-page="projects"] .currentProject.art-panel:nth-of-type(even) > div:not(.art-panel-chrome) {
    grid-column: 2;
}

.motion-portfolio .projectCard.art-panel > img,
.motion-portfolio .currentProject.art-panel img {
    display: block;
    width: 100%;
    margin: 0;
    border: clamp(7px, 1vw, 14px) solid var(--art-ink);
    border-radius: 0;
    box-shadow: clamp(12px, 2vw, 30px) clamp(12px, 2vw, 30px) 0 color-mix(in srgb, currentColor 28%, transparent);
    object-fit: cover;
}

.motion-portfolio .currentProject.art-panel > div:not(.art-panel-chrome) {
    position: relative;
}

.motion-portfolio[data-art-page="projects"] .currentProject.art-panel img {
    aspect-ratio: 16 / 9;
}

.motion-portfolio .projectCard.art-panel > .aboutProject,
.motion-portfolio[data-art-page="projects"] .currentProject.art-panel > span {
    grid-column: 2;
    align-self: end;
    display: block;
    width: 100%;
    padding: clamp(22px, 2.4vw, 40px);
    border: 0;
    border-radius: 0;
    background: var(--art-ink);
    background-image: none;
    color: var(--art-paper);
    box-shadow: 10px 10px 0 color-mix(in srgb, currentColor 18%, transparent);
}

.motion-portfolio .projectCard.art-panel:nth-of-type(even) > .aboutProject,
.motion-portfolio[data-art-page="projects"] .currentProject.art-panel:nth-of-type(even) > span {
    grid-column: 1;
    grid-row: 1;
}

.motion-portfolio .projectCard .info h3,
.motion-portfolio[data-art-page="projects"] .currentProject > span h2 {
    width: auto;
    margin: 0 0 16px;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: inherit;
    font: 700 clamp(2.4rem, 4.2vw, 5.2rem)/.82 'Barlow Condensed', sans-serif;
    letter-spacing: -.04em;
    text-transform: uppercase;
}

.motion-portfolio .projectCard .info p,
.motion-portfolio[data-art-page="projects"] .currentProject > span,
.motion-portfolio[data-art-page="projects"] .currentProject > span > p {
    color: inherit;
    font-size: clamp(.92rem, 1.2vw, 1.15rem);
    font-weight: 300;
    line-height: 1.5;
}

.motion-portfolio .projectStatus,
.motion-portfolio .tags p {
    border: 1px solid currentColor !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: inherit !important;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* About */

.motion-portfolio[data-art-page="about"] .shortBio.art-panel {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(340px, 1.15fr) minmax(0, .72fr);
    align-items: end;
    justify-items: center;
    gap: clamp(16px, 2.4vw, 38px);
}

.motion-portfolio[data-art-page="about"] .portraitShot {
    position: relative;
    margin: 0;
    border: 8px solid var(--art-ink);
    background: var(--art-ink);
    box-shadow: 18px 18px 0 color-mix(in srgb, currentColor 28%, transparent);
}

.motion-portfolio[data-art-page="about"] .portraitShot img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.motion-portfolio[data-art-page="about"] .portraitShot--sleep {
    grid-column: 1;
    grid-row: 1;
    width: min(260px, 21vw);
    justify-self: end;
    transform: translate(26px, 20px) rotate(-6deg);
}

.motion-portfolio[data-art-page="about"] .portraitShot--main {
    grid-column: 2;
    grid-row: 1;
    width: min(440px, 52vw);
    max-width: none;
    border: 12px solid var(--art-ink);
    animation: none;
    box-shadow: 28px 28px 0 color-mix(in srgb, currentColor 30%, transparent);
}

.motion-portfolio[data-art-page="about"] .portraitShot--cat {
    grid-column: 3;
    grid-row: 1;
    width: min(260px, 21vw);
    justify-self: start;
    transform: translate(-26px, -22px) rotate(6deg);
}

.motion-portfolio[data-art-page="about"] .portraitShot figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    border: 1px solid var(--art-paper);
    background: var(--art-ink);
    color: var(--art-paper);
    font: 650 clamp(.68rem, .85vw, .82rem)/1 'Barlow Condensed', sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.motion-portfolio[data-art-page="about"] .detailedBio.art-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-content: end;
}

.art-paper-card {
    margin: 0 !important;
    padding: clamp(20px, 2.2vw, 34px) !important;
    border: 1px solid currentColor !important;
    border-radius: 0 !important;
    background: var(--art-paper) !important;
    background-image: none !important;
    color: var(--art-ink) !important;
    font-size: clamp(.95rem, 1.2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.6;
    box-shadow: 10px 10px 0 var(--art-ink);
    transform: none;
    transition: transform .55s var(--art-ease), box-shadow .55s var(--art-ease);
}

.art-paper-card:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: 14px 14px 0 var(--art-ink);
}

.motion-portfolio[data-art-page="about"] .journey.art-panel {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    gap: 24px 6vw;
    align-content: end;
}

.motion-portfolio[data-art-page="about"] .journey.art-panel > h2 {
    grid-column: 1;
    margin: 0;
    font: 700 clamp(3rem, 6vw, 7rem)/.82 'Barlow Condensed', sans-serif;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.motion-portfolio[data-art-page="about"] .journeyIntro {
    grid-column: 1;
    margin: 0;
    padding: clamp(20px, 2.2vw, 30px);
    background: var(--art-ink);
    color: var(--art-paper);
    font-size: clamp(.95rem, 1.15vw, 1.15rem);
    font-weight: 300;
    line-height: 1.55;
}

.motion-portfolio[data-art-page="about"] .journeySteps {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.motion-portfolio[data-art-page="about"] .journeySteps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(16px, 2vw, 28px);
    margin: 0;
    padding: clamp(18px, 2vw, 28px);
    border: 1px solid currentColor;
    background: var(--art-paper);
    color: var(--art-ink);
    box-shadow: 9px 9px 0 var(--art-ink);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.motion-portfolio[data-art-page="about"] .journeySteps li > span {
    font: 700 clamp(1.5rem, 2.2vw, 2.4rem)/1 'Barlow Condensed', sans-serif;
}

.motion-portfolio[data-art-page="about"] .journeySteps h3 {
    margin: 0 0 7px;
    font: 650 clamp(1.25rem, 1.8vw, 1.8rem)/1 'Barlow Condensed', sans-serif;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.motion-portfolio[data-art-page="about"] .journeySteps p {
    margin: 0;
    font-size: clamp(.9rem, 1.05vw, 1.05rem);
    font-weight: 300;
    line-height: 1.5;
}

.motion-portfolio[data-art-page="about"] .journey.art-panel > .actions {
    grid-column: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.motion-portfolio[data-art-page="about"] .currentProject.art-panel {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px 6vw;
    align-content: end;
}

.motion-portfolio[data-art-page="about"] .currentProject.art-panel > h2 {
    grid-column: 1 / -1;
    font: 700 clamp(2.8rem, 6vw, 7rem)/.82 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
}

.motion-portfolio[data-art-page="about"] .currentProject.art-panel > div:not(.art-panel-chrome) { grid-column: 1; grid-row: 2 / span 2; }
.motion-portfolio[data-art-page="about"] .currentProject.art-panel > p {
    grid-column: 2;
    margin: 0;
    padding: 25px;
    border-radius: 0;
    background: var(--art-ink);
    color: var(--art-paper);
    font-size: clamp(.95rem, 1.2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.6;
}

.motion-portfolio[data-art-page="about"] .currentProject.art-panel > .actions {
    grid-column: 2;
    align-self: start;
}

/* Skills */

.motion-portfolio .skillCard.art-panel {
    display: flex;
    min-height: clamp(590px, 60svh, 660px);
    justify-content: center;
    gap: 12px;
}

.motion-portfolio .skillCard.art-panel > h2 {
    width: auto;
    color: inherit;
    font: 600 clamp(1.4rem, 2vw, 2.1rem)/1 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.motion-portfolio .skillCard.art-panel > div:not(.art-panel-chrome) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.motion-portfolio .skillCard.art-panel > div:not(.art-panel-chrome) > p {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 230px;
    width: 100%;
    flex-direction: column-reverse;
    justify-content: space-between;
    gap: 40px;
    padding: 30px;
    border: 0 !important;
    background: var(--art-ink) !important;
    color: var(--art-paper) !important;
    box-shadow: none;
    overflow: hidden;
    transition: transform .45s var(--art-ease), box-shadow .45s var(--art-ease);
}

.motion-portfolio .skillCard [data-skill="figma"] { --skill-color: #a259ff; }
.motion-portfolio .skillCard [data-skill="affinity"] { --skill-color: #7c5cff; }
.motion-portfolio .skillCard [data-skill="responsive"] { --skill-color: #5dd6c0; }
.motion-portfolio .skillCard [data-skill="uiux"] { --skill-color: #ff5fa2; }
.motion-portfolio .skillCard [data-skill="react"] { --skill-color: #61dafb; }
.motion-portfolio .skillCard [data-skill="tailwind"] { --skill-color: #38bdf8; }
.motion-portfolio .skillCard [data-skill="javascript"] { --skill-color: #f7df1e; }
.motion-portfolio .skillCard [data-skill="capacitor"] { --skill-color: #119eff; }
.motion-portfolio .skillCard [data-skill="node"] { --skill-color: #5fa04e; }
.motion-portfolio .skillCard [data-skill="postgresql"] { --skill-color: #4169e1; }
.motion-portfolio .skillCard [data-skill="csharp"] { --skill-color: #9b4f96; }
.motion-portfolio .skillCard [data-skill="wordpress"] { --skill-color: #21759b; }

.motion-portfolio .skillCard .skill-icon {
    position: relative;
    z-index: 1;
    display: block;
    width: clamp(46px, 4vw, 64px);
    height: clamp(46px, 4vw, 64px);
    flex: 0 0 auto;
    filter: drop-shadow(5px 5px 0 color-mix(in srgb, currentColor 28%, transparent));
}

.motion-portfolio .skillCard .skill-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) saturate(0) brightness(1.85);
    transition: filter .45s ease;
}

.motion-portfolio .skillCard p:hover .skill-icon img {
    filter: grayscale(0) saturate(1.15) brightness(1);
}

.motion-portfolio .skillCard .skill-label {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: right;
}

/* Contact + case studies */

.motion-portfolio form.art-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    gap: 16px 22px;
}

.motion-portfolio form.art-panel input,
.motion-portfolio form.art-panel textarea {
    width: 100%;
    padding: 15px 20px;
    outline: 2px solid transparent;
    font-size: 1rem;
}

.motion-portfolio form.art-panel textarea {
    min-height: 200px;
    max-height: 360px;
    resize: vertical;
}

.motion-portfolio form.art-panel input:focus,
.motion-portfolio form.art-panel textarea:focus {
    outline-color: color-mix(in srgb, var(--art-panel-ink) 68%, transparent);
}

.motion-portfolio form.art-panel button {
    min-height: 58px;
    font-size: 1.05rem;
}

.motion-portfolio form.art-panel label {
    margin: 0 0 -8px;
    color: inherit;
    font: 600 1rem/1 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.motion-portfolio form.art-panel input,
.motion-portfolio form.art-panel textarea {
    border: 1px solid var(--art-ink);
    border-radius: 0;
    background: var(--art-paper);
    background-image: none;
    color: var(--art-ink);
}

.motion-portfolio form.art-panel label[for="message"],
.motion-portfolio form.art-panel textarea,
.motion-portfolio form.art-panel button {
    grid-column: 1 / -1;
}

.motion-portfolio .metaCard.art-panel,
.motion-portfolio .caseBlock.art-panel,
.motion-portfolio .extensionDetails.art-panel,
.motion-portfolio .caseStudyTitle.art-panel,
.motion-portfolio .currentProject.art-panel:not([data-art-page="projects"]) {
    justify-content: flex-end;
}

.motion-portfolio .screenshotsSection.art-panel {
    justify-content: flex-start;
    min-height: 0;
    padding-top: clamp(154px, 12vw, 190px) !important;
}

.motion-portfolio .screenshotsSlider {
    display: grid;
    grid-auto-flow: column;
    width: 100%;
    gap: 24px;
    overflow-x: auto;
    margin: 0;
    padding: 0 0 26px;
    grid-auto-columns: minmax(360px, min(68vw, calc(100% - 130px)));
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.motion-portfolio .screenshotsSlider::-webkit-scrollbar {
    display: none;
}

.motion-portfolio .screenshotCard {
    overflow: hidden;
    border: 10px solid var(--art-ink);
    border-radius: 0;
    background: var(--art-ink);
    scroll-snap-align: center;
}

.motion-portfolio .screenshotCard img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    cursor: pointer;
}

.motion-portfolio .sectionHeading.galleryMeta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid currentColor;
    font: 700 .75rem/1 'Barlow Condensed', sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.motion-portfolio .caseStudyTitle.art-panel {
    min-height: 70svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    align-items: end;
    gap: clamp(24px, 5vw, 80px);
}

.motion-portfolio .caseStudyTitle.art-panel > h2 {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    text-align: right;
}

.motion-portfolio .caseStudyTitle.art-panel > p {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    margin: 0;
}

.motion-portfolio .caseStudyTitle h2,
.motion-portfolio .caseBlock h2,
.motion-portfolio .metaCard > h2 {
    width: auto;
    color: inherit;
    font: 700 clamp(3.5rem, 8vw, 9rem)/.78 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: -.04em;
}

.motion-portfolio .caseBlock.art-panel {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    align-content: end;
    gap: 24px 6vw;
}

.motion-portfolio .caseBlock.art-panel h2 { grid-column: 1; }
.motion-portfolio .caseBlock.art-panel p,
.motion-portfolio .caseBlock.art-panel .actions { grid-column: 2; }

.motion-portfolio .caseBlock p,
.motion-portfolio .caseStudyTitle > p,
.motion-portfolio .currentProject > p {
    padding: 20px 25px;
    background: var(--art-ink);
    color: var(--art-paper);
    font-size: clamp(.95rem, 1.2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.6;
}

.motion-portfolio .metaCard.art-panel > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.motion-portfolio .metaCard.art-panel > div > p {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.motion-portfolio .metaCard.art-panel > div > p span {
    font: 700 1.35rem/1 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
}

.motion-portfolio .metaCard.art-panel > div > p strong {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.motion-portfolio .extensionDetails.art-panel {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(320px, 1.3fr);
    align-content: end;
    gap: 0 6vw;
    font-size: clamp(1.05rem, 1.7vw, 1.6rem);
}

.motion-portfolio .extensionDetails.art-panel > p {
    grid-column: 2;
    width: 100%;
    margin: 0;
    padding: 12px 24px;
    background: var(--art-ink);
    color: var(--art-paper);
}

.motion-portfolio .extensionDetails.art-panel > p:first-of-type {
    padding-top: 24px;
}

.motion-portfolio .extensionDetails.art-panel > p:last-of-type {
    padding-bottom: 24px;
}

.motion-portfolio .extensionDetails .actions {
    grid-column: 2;
    margin-top: 20px;
}

/* CTA + footer */

.motion-portfolio .moreProjects.art-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 7vw, 120px);
    min-height: 58svh;
    padding-top: 118px !important;
    border-radius: 0;
    font: 700 clamp(3.5rem, 8vw, 9rem)/.82 'Barlow Condensed', sans-serif;
    font-size: clamp(2.8rem, 6vw, 7rem);
    text-transform: uppercase;
    text-wrap: balance;
}

.motion-portfolio .moreProjects.art-panel .button {
    position: relative;
    display: inline-grid;
    flex: 0 0 clamp(184px, 15vw, 230px);
    width: clamp(184px, 15vw, 230px);
    min-width: 0;
    aspect-ratio: 1;
    place-items: center;
    padding: 34px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font: 700 clamp(1.05rem, 1.5vw, 1.35rem)/1 'Lexend', sans-serif;
    text-align: center;
    box-shadow:
        0 0 0 7px color-mix(in srgb, currentColor 17%, transparent),
        0 12px 0 color-mix(in srgb, currentColor 25%, transparent);
    overflow: visible;
}

.motion-portfolio footer {
    position: relative;
    z-index: 50;
    width: calc(100% - var(--signal-gap) * 2);
    max-width: none;
    margin: var(--signal-gap) auto !important;
    padding: 44px clamp(20px, 4vw, 72px);
    border: 0;
    border-radius: 0;
    background: var(--art-ink);
    color: var(--art-paper);
    clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.motion-portfolio footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: clamp(24px, 4vw, 72px);
    width: clamp(72px, 6vw, 96px);
    aspect-ratio: 1;
    background: url('/images/favicon.png?v=3') center / contain no-repeat;
    transform: translateY(-50%);
}

.motion-portfolio footer div,
.motion-portfolio footer p {
    width: 100%;
    padding: 10px 0;
    border-radius: 0;
    background: none;
    background-image: none;
}

.motion-portfolio footer .socials a {
    border: 1px solid var(--art-paper);
    border-radius: 0;
}

.motion-portfolio footer .accentText { color: var(--art-paper); }

.motion-portfolio .scrollToTop {
    right: 30px;
    bottom: 24px;
    border: 1px solid var(--art-paper);
    border-radius: 0;
    background: var(--art-ink);
    background-image: none;
    box-shadow: none;
    transition: transform .5s ease, opacity .5s ease, background-color .3s ease,
        border-color .3s ease, border-radius .4s var(--art-ease);
}

.motion-portfolio .scrollToTop:hover,
.motion-portfolio .scrollToTop:focus-visible {
    border-color: var(--art-ink);
    border-radius: 50%;
    background: var(--art-paper);
}

/* Keep this control above scenes, but below the mobile navigation layer. */
.motion-art .scrollToTop {
    z-index: 950 !important;
    isolation: isolate;
}

.motion-portfolio.mobile-menu-open .scrollToTop {
    opacity: 0 !important;
    pointer-events: none;
}

.motion-portfolio .scrollToTop svg path { stroke: var(--art-paper); }

/* Legal pages */

.motion-portfolio .art-legal-panel.art-panel {
    display: block;
    min-height: 100vh;
    padding-top: 12vw !important;
}

.motion-portfolio .policyContent .art-hero-title {
    display: block;
    width: auto;
    padding: 0;
    border-radius: 0;
    background: none;
    gap: 0;
}

.motion-portfolio .art-legal-panel > div {
    display: flex;
    width: min(900px, 100%);
    margin: 24px 0;
    padding: clamp(22px, 3vw, 42px);
    gap: 14px;
    border: 1px solid var(--art-ink);
    border-radius: 0;
    background: var(--art-paper);
    background-image: none;
    color: var(--art-ink);
    box-shadow: 12px 12px 0 var(--art-ink);
}

.motion-portfolio .art-legal-panel > div:nth-of-type(even) {
    margin-left: auto;
}

.motion-portfolio .art-legal-panel h2,
.motion-portfolio .art-legal-panel h3 {
    margin: 3rem 0 1rem;
    color: inherit;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
}

.motion-portfolio .art-legal-panel p,
.motion-portfolio .art-legal-panel li {
    max-width: 850px;
    color: inherit;
    line-height: 1.65;
}

.motion-product .art-product-panel {
    --art-panel-y: 0px;
    position: relative;
    z-index: calc(1 + var(--art-index));
    transform: translate3d(0, var(--art-panel-y), 0);
    transform-origin: 50% 0;
    will-change: auto;
}

.art-hero-scene.art-motion-active,
.motion-portfolio .art-panel.art-motion-active,
.motion-product .art-product-panel.art-motion-active,
.art-float-media.art-motion-active {
    will-change: transform;
}

.motion-product .heroCopy h1 {
    opacity: 0;
    transform: translateY(70px) rotate(2deg);
    filter: blur(8px);
    transition: opacity .8s ease, transform 1.1s var(--art-ease), filter .8s ease;
}

.motion-product.art-ready .heroCopy h1 {
    opacity: 1;
    transform: none;
    filter: none;
}

.motion-product .featureCard,
.motion-product .priceCard,
.motion-product .galleryGrid figure,
.motion-product .workflowSteps article,
.motion-product .experienceSteps li {
    transition: transform .6s var(--art-ease), box-shadow .6s var(--art-ease) !important;
}

.motion-product .featureCard:hover,
.motion-product .priceCard:hover,
.motion-product .galleryGrid figure:hover,
.motion-product .workflowSteps article:hover,
.motion-product .experienceSteps li:hover {
    transform: translateY(-9px) rotate(-.5deg);
}

/* Responsive */

@media (max-width: 900px) {
    .motion-portfolio .projectCard.art-panel,
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel,
    .motion-portfolio[data-art-page="about"] .currentProject.art-panel,
    .motion-portfolio .caseBlock.art-panel {
        grid-template-columns: 1fr;
        align-content: end;
    }

    .motion-portfolio .projectCard.art-panel > img,
    .motion-portfolio .projectCard.art-panel:nth-of-type(even) > img,
    .motion-portfolio .projectCard.art-panel > .aboutProject,
    .motion-portfolio .projectCard.art-panel:nth-of-type(even) > .aboutProject,
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel > div:not(.art-panel-chrome),
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel:nth-of-type(even) > div:not(.art-panel-chrome),
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel > span,
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel:nth-of-type(even) > span,
    .motion-portfolio[data-art-page="about"] .currentProject.art-panel > div:not(.art-panel-chrome),
    .motion-portfolio[data-art-page="about"] .currentProject.art-panel > p,
    .motion-portfolio[data-art-page="about"] .currentProject.art-panel > .actions,
    .motion-portfolio .caseBlock.art-panel h2,
    .motion-portfolio .caseBlock.art-panel p,
    .motion-portfolio .caseBlock.art-panel .actions {
        grid-column: 1;
        grid-row: auto;
    }

    .motion-portfolio .projectCard.art-panel > img,
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel > div:not(.art-panel-chrome) {
        width: min(760px, 88vw);
    }

    .motion-portfolio .projectCard.art-panel > .aboutProject,
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel > span {
        width: min(580px, 86vw);
        margin-left: auto;
    }

    .motion-portfolio .skillCard.art-panel > div:not(.art-panel-chrome) {
        grid-template-columns: repeat(3, 1fr);
    }

    .motion-portfolio[data-art-page="about"] .detailedBio.art-panel,
    .motion-portfolio[data-art-page="about"] .journey.art-panel,
    .motion-portfolio .metaCard.art-panel > div {
        grid-template-columns: 1fr;
    }

    .motion-portfolio[data-art-page="about"] .shortBio.art-panel {
        grid-template-columns: 1fr 1fr;
        align-content: end;
        gap: 18px;
    }

    .motion-portfolio[data-art-page="about"] .portraitShot--main {
        grid-column: 1 / -1;
        grid-row: 1;
        width: min(390px, 68vw);
    }

    .motion-portfolio[data-art-page="about"] .portraitShot--sleep {
        grid-column: 1;
        grid-row: 2;
        width: min(220px, 38vw);
        transform: translate(10px, 4px) rotate(-5deg);
    }

    .motion-portfolio[data-art-page="about"] .portraitShot--cat {
        grid-column: 2;
        grid-row: 2;
        width: min(220px, 38vw);
        transform: translate(-10px, -8px) rotate(5deg);
    }

    .motion-portfolio[data-art-page="about"] .journey.art-panel > h2,
    .motion-portfolio[data-art-page="about"] .journeyIntro,
    .motion-portfolio[data-art-page="about"] .journeySteps,
    .motion-portfolio[data-art-page="about"] .journey.art-panel > .actions {
        grid-column: 1;
        grid-row: auto;
    }

    .motion-portfolio .caseStudyTitle.art-panel {
        grid-template-columns: 1fr;
        align-content: end;
    }

    .motion-portfolio .caseStudyTitle.art-panel > h2,
    .motion-portfolio .caseStudyTitle.art-panel > p {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        text-align: left;
    }

    .motion-portfolio .screenshotsSection.art-panel {
        padding-top: 140px !important;
    }

    .motion-portfolio .screenshotsSlider {
        gap: 18px;
        grid-auto-columns: calc(100% - 100px);
    }
}

@media (max-width: 650px) {
    .motion-portfolio > header .logo {
        font-family: 'Medula One', cursive;
        font-size: 2.35rem;
        font-weight: 400;
        padding: 0 12px 3px;
        margin-left: -12px;
    }

    .motion-portfolio .mobileMenuWrapper {
        top: 0;
        left: 0;
        right: 0;
        height: 100svh;
        background: var(--art-ink);
    }

    .motion-portfolio .mobileMenu {
        top: 84px;
    }

    .motion-portfolio .mobileMenu a {
        border: 1px solid var(--art-paper);
        border-radius: 0;
        background: transparent;
        background-image: none;
        color: var(--art-paper);
        font: 600 1.5rem/1 'Barlow Condensed', sans-serif;
        text-transform: uppercase;
    }

    .art-hero-title > span {
        max-width: none;
        font-size: clamp(3.25rem, var(--art-hero-size-mobile, 25vw), 9.5rem);
    }

    .art-hero-scene > .hero,
    .art-hero-scene > .megaHero {
        width: 100%;
    }

    .art-hero-scene .hero {
        font-size: clamp(1.35rem, 6.2vw, 2rem) !important;
        line-height: 1.05 !important;
    }

    .art-hero-scene .megaHero p {
        margin-top: 12px;
        font-size: .92rem;
    }

    .motion-portfolio .art-panel::after {
        display: none;
    }

    .art-float-media {
        transform: translate3d(0, calc(var(--art-media-y) * .32), 0) !important;
    }

    .motion-portfolio .projectCard.art-panel,
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel {
        align-content: start;
        gap: 20px;
    }

    .motion-portfolio .projectCard.art-panel > img,
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel > div:not(.art-panel-chrome) {
        width: 100%;
    }

    .motion-portfolio .projectCard.art-panel > .aboutProject,
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel > span {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        padding: 20px;
    }

    .motion-portfolio .projectCard .info h3,
    .motion-portfolio[data-art-page="projects"] .currentProject > span h2 {
        font-size: clamp(2.2rem, 12vw, 4rem);
    }

    .motion-portfolio[data-art-page="about"] .portraitShot--main {
        width: min(72vw, 340px);
    }

    .motion-portfolio[data-art-page="about"] .portraitShot--sleep,
    .motion-portfolio[data-art-page="about"] .portraitShot--cat {
        width: min(40vw, 175px);
    }

    .motion-portfolio[data-art-page="about"] .portraitShot figcaption {
        right: 7px;
        bottom: 7px;
        padding: 6px 8px;
        font-size: .6rem;
    }

    .motion-portfolio[data-art-page="about"] .detailedBio.art-panel {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .motion-portfolio .skillCard.art-panel > div:not(.art-panel-chrome) {
        grid-template-columns: 1fr 1fr;
    }

    .motion-portfolio .skillCard.art-panel > div:not(.art-panel-chrome) > p {
        min-height: 160px;
        padding: 18px !important;
    }

    .motion-portfolio form.art-panel {
        display: flex;
        min-height: 100svh;
        justify-content: flex-end;
    }

    .motion-portfolio .screenshotsSlider {
        grid-auto-columns: 82vw;
    }

    .motion-portfolio .caseStudyTitle.art-panel { min-height: 58svh; }

    .motion-portfolio .caseBlock.art-panel h2,
    .motion-portfolio .metaCard > h2 {
        font-size: clamp(3.2rem, 17vw, 6rem);
    }

}

/* Signal-studio details */

html:has(body.motion-portfolio) {
    overscroll-behavior-y: none;
}

.motion-portfolio::before {
    content: '';
    position: fixed;
    z-index: 900;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.045) 50%, transparent 50.1%),
        linear-gradient(transparent 49.9%, rgba(255,255,255,.045) 50%, transparent 50.1%);
    background-size: 72px 72px;
    mix-blend-mode: soft-light;
}

.motion-portfolio > header::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    display: block !important;
    pointer-events: none;
    background: transparent;
    -webkit-backdrop-filter: blur(26px) saturate(1.22);
    backdrop-filter: blur(26px) saturate(1.22);
}

.art-hero-scene::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image:
        linear-gradient(color-mix(in srgb, currentColor 22%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, currentColor 22%, transparent) 1px, transparent 1px);
    background-size: clamp(34px, 4vw, 62px) clamp(34px, 4vw, 62px);
    opacity: .68;
}

.art-hero-title > span:nth-child(even) {
    color: transparent;
    padding-left: 2vw;
}

.art-outline-line {
    font-family: 'Lexend', sans-serif;
    letter-spacing: -.055em;
    pointer-events: auto;
}

.art-outline-letter {
    display: inline-block;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: clamp(1px, .12vw, 2px) var(--art-panel-ink, currentColor);
    transition:
        color .52s cubic-bezier(.16, 1, .3, 1),
        -webkit-text-stroke-color .52s cubic-bezier(.16, 1, .3, 1),
        transform .4s cubic-bezier(.16, 1, .3, 1);
    cursor: pointer;
    pointer-events: auto;
}

.art-outline-letter.is-deforming {
    animation: artOutlineLetterDeform .82s cubic-bezier(.16, 1, .3, 1) both;
}

.art-outline-letter.is-deforming-near {
    animation: artOutlineLetterDeformNear .82s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes artOutlineLetterDeform {
    0%, 100% { transform: translateZ(0) scale(1) skewX(0); }
    27% { transform: translate3d(0, 4px, 0) scaleX(.57) scaleY(1.28) skewX(-8deg); }
    58% { transform: translate3d(0, -2px, 0) scaleX(1.12) scaleY(.9) skewX(3deg); }
}

@keyframes artOutlineLetterDeformNear {
    0%, 100% { transform: translateZ(0) scale(1); }
    32% { transform: translate3d(0, 2px, 0) scaleX(.82) scaleY(1.12); }
    62% { transform: translate3d(0, -1px, 0) scaleX(1.04) scaleY(.97); }
}

.art-outline-letter:hover,
.art-outline-letter.is-filled,
.art-outline-letter.is-auto-filled {
    color: var(--art-panel-ink, currentColor);
    -webkit-text-stroke-color: var(--art-panel-ink, currentColor);
    transform: none;
}

.art-hero-cta {
    position: absolute;
    z-index: 3;
    right: clamp(24px, 4.5vw, 76px);
    bottom: clamp(42px, 5vw, 76px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(32vw, 440px);
    min-height: clamp(96px, 9vw, 122px);
    padding: 20px clamp(24px, 2.5vw, 38px);
    border: 2px solid var(--art-panel-ink, currentColor);
    border-radius: 999px;
    background: var(--art-panel-ink, currentColor);
    color: var(--art-panel-bg, var(--art-paper));
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .3s ease, color .3s ease;
}

.art-hero-cta:hover,
.art-hero-cta:focus-visible {
    background: transparent;
    color: var(--art-panel-ink, currentColor);
}

.art-hero-cta__label {
    font: 700 clamp(1.5rem, 2.3vw, 2.4rem)/.9 'Barlow Condensed', sans-serif;
    letter-spacing: .03em;
}

.art-hero-cta__arrow {
    --art-arrow-shaft-angle: -45deg;
    --art-arrow-shaft-right: 36.875%;
    --art-arrow-shaft-top: 34.7%;
    position: relative;
    display: grid;
    width: clamp(44px, 4vw, 58px);
    aspect-ratio: 1;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--art-panel-bg, var(--art-paper));
    color: var(--art-panel-ink, currentColor);
    transition: transform .35s var(--art-ease), background-color .3s ease, color .3s ease;
}

.art-hero-cta__arrow::before,
.motion-portfolio .moreProjects.art-panel .button::before,
.motion-portfolio .scrollToTop::before {
    content: '';
    display: block;
    width: 70%;
    height: 70%;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M18 44 L44 18 M31 18 H44 V31' fill='none' stroke='black' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M18 44 L44 18 M31 18 H44 V31' fill='none' stroke='black' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.art-hero-cta__arrow::before,
.art-hero-cta__arrow::after {
    position: absolute;
    background: currentColor;
}

.art-hero-cta__arrow::before {
    inset: auto var(--art-arrow-shaft-right) auto auto;
    top: var(--art-arrow-shaft-top);
    width: 40.2%;
    height: 3px;
    border-radius: 999px;
    -webkit-mask: none;
    mask: none;
    transform: translateY(-50%) rotate(var(--art-arrow-shaft-angle)) scaleX(1);
    transform-origin: right center;
}

.art-hero-cta__arrow::after {
    content: '';
    inset: 15%;
    width: auto;
    height: auto;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M31 18 H44 V31' fill='none' stroke='black' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M31 18 H44 V31' fill='none' stroke='black' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.art-hero-cta--contact .art-hero-cta__arrow {
    --art-arrow-shaft-angle: 90deg;
    --art-arrow-shaft-right: 48.45%;
    --art-arrow-shaft-top: 70.1%;
}

.art-hero-cta--contact .art-hero-cta__arrow::after {
    transform: rotate(135deg);
}

.art-hero-cta:hover .art-hero-cta__arrow::before,
.art-hero-cta:focus-visible .art-hero-cta__arrow::before {
    animation: art-arrow-shaft-draw .72s cubic-bezier(.45, 0, .2, 1);
}

@keyframes art-arrow-shaft-draw {
    0%, 100% {
        transform: translateY(-50%) rotate(var(--art-arrow-shaft-angle)) scaleX(1);
    }
    46% {
        transform: translateY(-50%) rotate(var(--art-arrow-shaft-angle)) scaleX(.66);
    }
}

.art-hero-cta:hover .art-hero-cta__arrow,
.art-hero-cta:focus-visible .art-hero-cta__arrow {
    background: var(--art-panel-ink, var(--art-paper));
    color: var(--art-panel-bg, currentColor);
    transform: none;
}

.motion-portfolio[data-art-page="contact"] form.art-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 22px;
}

.motion-portfolio[data-art-page="contact"] form.art-panel label,
.motion-portfolio[data-art-page="contact"] form.art-panel input,
.motion-portfolio[data-art-page="contact"] form.art-panel textarea,
.motion-portfolio[data-art-page="contact"] form.art-panel button {
    grid-column: 2;
}

.motion-portfolio[data-art-page="contact"] form.art-panel label[for="message"],
.motion-portfolio[data-art-page="contact"] form.art-panel textarea,
.motion-portfolio[data-art-page="contact"] form.art-panel button {
    grid-column: 1 / -1;
}

.motion-portfolio[data-art-page="contact"] form.art-panel label {
    margin: 18px 0 10px;
}

.motion-portfolio[data-art-page="contact"] form.art-panel label:first-of-type {
    margin-top: 0;
}

.motion-portfolio[data-art-page="contact"] form.art-panel input {
    min-height: 66px;
}

.motion-portfolio[data-art-page="contact"] form.art-panel button {
    margin-top: 28px;
}

.motion-portfolio #alertMessage {
    position: fixed;
    z-index: 10000;
    top: 50%;
    left: 50%;
    width: min(400px, calc(100% - 40px));
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    background: rgba(9, 9, 9, .72);
    color: var(--art-paper);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -45%);
    backdrop-filter: blur(12px);
    transition: opacity .3s ease, transform .3s var(--art-ease);
}

.motion-portfolio #alertMessage.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.motion-portfolio #alertMessage .red {
    color: #ff6f91;
}

.motion-portfolio #alertMessage .fallbackEmail {
    color: var(--art-accent);
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (min-width: 901px) {
    .motion-portfolio[data-art-page="about"] .detailedBio.art-panel {
        min-height: 84svh;
    }

    .motion-portfolio .projectCard.art-panel:nth-of-type(even),
    .motion-portfolio[data-art-page="projects"] .currentProject.art-panel:nth-of-type(even) {
        grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    }
}

.art-panel-chrome {
    position: absolute !important;
    z-index: 4 !important;
    top: clamp(30px, 3.2vw, 48px);
    left: clamp(24px, 4.5vw, 76px);
    right: clamp(24px, 4.5vw, 76px);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 9px;
    border-top: 1px solid currentColor;
    font: 600 .7rem/1 'Barlow Condensed', sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.art-panel-chrome span:last-child {
    max-width: 54%;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.motion-portfolio .projectCard.art-panel > img,
.motion-portfolio .currentProject.art-panel img,
.motion-portfolio .projectCard.art-panel > .aboutProject,
.motion-portfolio[data-art-page="projects"] .currentProject.art-panel > span,
.art-paper-card {
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.motion-portfolio .projectCard .actions,
.motion-portfolio[data-art-page="projects"] .currentProject > span .actions {
    margin-top: clamp(24px, 2.4vw, 38px);
}

.motion-portfolio .moreProjects.art-panel .button::before {
    position: absolute;
    top: 16%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 30px;
    height: 30px;
    transform: translateX(-50%);
    transition: transform .45s var(--art-ease);
}

.motion-portfolio .moreProjects.art-panel > .arrow-doodle {
    display: none !important;
}

.motion-portfolio .scrollToTop svg {
    display: none;
}

.motion-portfolio .scrollToTop::before {
    width: 28px;
    height: 28px;
    color: var(--art-paper);
    transform: rotate(-45deg);
    transition: color .3s ease;
}

.motion-portfolio .scrollToTop:hover::before,
.motion-portfolio .scrollToTop:focus-visible::before {
    color: var(--art-ink);
}

.motion-portfolio .moreProjects.art-panel .button:hover {
    transform: translateY(-7px) rotate(-5deg) scale(1.04);
}

.motion-portfolio .moreProjects.art-panel .button:hover::before {
    transform: translate(-50%, -5px) rotate(4deg);
}

/* Tablet and narrow desktop heroes use the clearer stacked mobile composition. */
@media (min-width: 651px) and (max-width: 1100px) {
    .art-hero-scene {
        min-height: 0;
        padding: 112px clamp(28px, 4.5vw, 52px) clamp(38px, 5vw, 56px);
        flex-direction: column;
        align-items: stretch;
        gap: clamp(26px, 3.5vw, 38px);
        clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
        transform: none;
    }

    .art-hero-title {
        position: relative;
        inset: auto;
        order: 1;
    }

    .art-hero-title > span {
        font-size: clamp(5.75rem, min(var(--art-hero-size-mobile, 22.5vw), 17vw), 11.7rem);
    }

    .art-hero-title > span:nth-child(even) {
        padding-left: 0;
    }

    .art-hero-scene > .hero,
    .art-hero-scene > .megaHero {
        order: 2;
        width: 100%;
    }

    .art-hero-cta {
        position: relative;
        inset: auto;
        order: 3;
        width: 100%;
        min-height: clamp(88px, 10vw, 110px);
        margin-top: 0;
        padding: 16px clamp(24px, 3.5vw, 38px);
    }

    .motion-portfolio[data-art-page="contact"] form.art-panel {
        align-content: start;
        min-height: 0;
        padding-top: clamp(205px, 22vw, 238px) !important;
    }

    .motion-portfolio .extensionDetails.art-panel {
        grid-template-columns: 1fr;
    }

    .motion-portfolio .extensionDetails.art-panel > p,
    .motion-portfolio .extensionDetails.art-panel > .actions {
        grid-column: 1;
    }
}

@media (max-width: 800px) {
    .motion-portfolio > header,
    .motion-portfolio > header.has-scroll-backdrop,
    .motion-portfolio.mobile-menu-open > header {
        inset: 0 0 auto;
        width: auto;
        max-width: none;
        height: 70px;
        padding: 0;
        transform: none;
        border: 0;
        border-bottom: 1px solid color-mix(in srgb, var(--art-header-ink) 34%, transparent);
        border-radius: 0;
        background: color-mix(in srgb, var(--art-header-bg) 66%, transparent);
        -webkit-backdrop-filter: blur(24px) saturate(1.2);
        backdrop-filter: blur(24px) saturate(1.2);
        box-shadow: none;
        z-index: 1100;
    }

    .motion-portfolio > header .logo,
    .motion-portfolio.mobile-menu-open > header .logo {
        position: absolute;
        top: 50%;
        left: max(16px, env(safe-area-inset-left));
        flex: none;
        padding: 0;
        margin-left: 0;
        transform: translateY(-50%) !important;
        color: var(--art-header-ink);
        transition: color .32s ease, background-color .32s ease;
    }

    .motion-portfolio > header button,
    .motion-portfolio.mobile-menu-open > header button {
        position: absolute;
        top: 50%;
        right: max(12px, env(safe-area-inset-right));
        flex: none;
        transform: translateY(-50%) !important;
        width: 52px;
        height: 50px;
        padding: 9px 10px;
        border-radius: 0;
        background: transparent !important;
        outline: 0 !important;
        box-shadow: none !important;
        -webkit-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
    }

    body.motion-art.motion-portfolio > header {
        z-index: 1100;
    }

    .motion-portfolio.mobile-menu-open > header #mobileMenuButton {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        z-index: 1;
    }

    .motion-portfolio.mobile-menu-open > header #mobileMenuButton span {
        width: 30px;
        background: var(--art-active-ink, var(--art-header-ink));
    }

    .art-hero-scene,
    .motion-portfolio .art-panel,
    .motion-product .art-product-panel {
        --art-panel-y: 0px !important;
        --art-scene-progress: 0 !important;
        transform: none !important;
    }

    .art-float-media {
        --art-media-y: 0px !important;
        transform: perspective(1250px) translate3d(0, 0, 70px) rotateZ(var(--art-media-rotate)) !important;
        transition: none !important;
    }

    .motion-portfolio .art-panel::before {
        transform: none !important;
    }

    .motion-portfolio .art-panel::after {
        transform: translate(-50%, -50%) !important;
    }

    .motion-portfolio .mobileMenuWrapper {
        display: block;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100svh;
        background: color-mix(in srgb, var(--art-active-bg, #7147ff) 72%, transparent);
        -webkit-backdrop-filter: blur(28px) saturate(1.2);
        backdrop-filter: blur(28px) saturate(1.2);
        opacity: 1;
        visibility: visible;
        transition: opacity .35s ease, visibility 0s;
        z-index: 998;
    }

    .motion-portfolio .mobileMenuWrapper.closed {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, visibility 0s .28s;
    }

    .motion-portfolio .mobileMenu {
        display: flex;
        position: fixed;
        z-index: 1;
        inset: 70px 0 0;
        width: 100%;
        height: calc(100svh - 70px);
        flex-direction: column;
        padding: clamp(34px, 7vh, 70px) clamp(22px, 6vw, 52px) 30px;
        align-items: flex-start;
        justify-content: center;
        gap: clamp(6px, 1.4vh, 16px);
        overflow: hidden;
        background: transparent;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-24px);
        transition: opacity .28s ease, transform .45s var(--art-ease), visibility 0s .45s;
    }

    .motion-portfolio.mobile-menu-open .mobileMenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity .3s ease, transform .55s var(--art-ease), visibility 0s;
    }

    .motion-portfolio .mobileMenu a {
        position: relative;
        width: fit-content;
        padding: .04em 0;
        border: 0;
        border-radius: 0;
        background: transparent !important;
        background-image: none !important;
        color: var(--art-active-ink, var(--art-paper));
        box-shadow: none;
        font: 800 clamp(3.35rem, 13.5vw, 4.75rem)/.9 'Barlow Condensed', sans-serif;
        letter-spacing: 0;
        text-align: left;
        text-transform: uppercase;
        opacity: 0;
        transform: translateY(34px) rotate(1.5deg);
        transition: opacity .34s ease, transform .56s var(--art-ease);
        transition-delay: 0s;
    }

    .motion-portfolio.mobile-menu-open .mobileMenu a {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }

    .motion-portfolio.mobile-menu-open .mobileMenu a:nth-of-type(1) { transition-delay: .08s; }
    .motion-portfolio.mobile-menu-open .mobileMenu a:nth-of-type(2) { transition-delay: .13s; }
    .motion-portfolio.mobile-menu-open .mobileMenu a:nth-of-type(3) { transition-delay: .18s; }
    .motion-portfolio.mobile-menu-open .mobileMenu a:nth-of-type(4) { transition-delay: .23s; }
    .motion-portfolio.mobile-menu-open .mobileMenu a:nth-of-type(5) { transition-delay: .28s; }

    .motion-portfolio .mobileMenu a:hover,
    .motion-portfolio .mobileMenu a:focus-visible {
        color: var(--art-active-ink, var(--art-paper));
        transform: none;
    }

    .motion-portfolio .mobileMenuLabel {
        position: relative;
        display: inline-grid;
        align-items: center;
        color: inherit;
        background: none;
        -webkit-background-clip: initial;
        background-clip: initial;
        -webkit-text-fill-color: currentColor;
        animation: none !important;
    }

    .motion-portfolio .mobileMenuOriginal,
    .motion-portfolio .mobileMenuFeedback {
        grid-area: 1 / 1;
        display: inline-flex;
        align-items: baseline;
        white-space: nowrap;
    }

    .motion-portfolio .mobileMenuFeedback {
        font-size: clamp(2rem, 9.5vw, 3.2rem);
        letter-spacing: .015em;
        pointer-events: none;
    }

    .motion-portfolio .mobileMenuMorphLetter {
        display: inline-block;
        min-width: .01em;
        transform-origin: 50% 70%;
        will-change: transform, opacity, filter;
    }

    .motion-portfolio .mobileMenuFeedback .mobileMenuMorphLetter {
        opacity: 0;
        transform: translateY(.6em) rotate(7deg) scale(.72);
        filter: blur(6px);
    }

    .motion-portfolio .mobileMenu a.is-already-here .mobileMenuOriginal .mobileMenuMorphLetter {
        animation: mobileMenuOriginalOut .42s var(--art-ease) both;
        animation-delay: calc(var(--letter-index) * 22ms);
    }

    .motion-portfolio .mobileMenu a.is-already-here .mobileMenuFeedback .mobileMenuMorphLetter {
        animation: mobileMenuFeedbackIn .58s var(--art-ease) both;
        animation-delay: calc(150ms + var(--letter-index) * 24ms);
    }

    .motion-portfolio .mobileMenu a.is-already-here.is-returning .mobileMenuOriginal .mobileMenuMorphLetter {
        animation: mobileMenuOriginalIn .52s var(--art-ease) both;
        animation-delay: calc(130ms + var(--letter-index) * 22ms);
    }

    .motion-portfolio .mobileMenu a.is-already-here.is-returning .mobileMenuFeedback .mobileMenuMorphLetter {
        animation: mobileMenuFeedbackOut .34s ease both;
        animation-delay: calc(var(--letter-index) * 12ms);
    }
}

@keyframes mobileMenuOriginalOut {
    from { opacity: 1; transform: translateY(0) rotate(0) scale(1); filter: blur(0); }
    to { opacity: 0; transform: translateY(-.55em) rotate(-7deg) scale(.72); filter: blur(6px); }
}

@keyframes mobileMenuFeedbackIn {
    from { opacity: 0; transform: translateY(.6em) rotate(7deg) scale(.72); filter: blur(6px); }
    to { opacity: 1; transform: translateY(0) rotate(0) scale(1); filter: blur(0); }
}

@keyframes mobileMenuOriginalIn {
    from { opacity: 0; transform: translateY(-.45em) rotate(-6deg) scale(.78); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0) rotate(0) scale(1); filter: blur(0); }
}

@keyframes mobileMenuFeedbackOut {
    from { opacity: 1; transform: translateY(0) rotate(0) scale(1); filter: blur(0); }
    to { opacity: 0; transform: translateY(.5em) rotate(5deg) scale(.78); filter: blur(5px); }
}

@media (max-width: 650px) {
    .motion-portfolio { --signal-gap: 6px; }

    .motion-portfolio > header {
        inset: 0 0 auto;
        width: auto;
        height: 70px;
        padding: 0;
        border-radius: 0;
    }

    .art-hero-scene {
        min-height: 0;
        padding: 102px 18px 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
        transform: none;
    }

    .art-hero-title {
        position: relative;
        inset: auto;
        order: 1;
    }

    .art-hero-title > span {
        font-size: clamp(3.25rem, min(var(--art-hero-size-mobile, 22.5vw), 19vw), 8.5rem);
    }

    .art-hero-title > span:nth-child(even) {
        padding-left: 0;
    }

    .art-hero-cta {
        position: relative;
        inset: auto;
        order: 3;
        width: 100%;
        min-height: 76px;
        margin-top: 4px;
        padding: 13px 18px 13px 24px;
    }

    .art-hero-scene > .hero,
    .art-hero-scene > .megaHero {
        order: 2;
    }

    .art-hero-cta__label {
        font-size: clamp(1.35rem, 7vw, 1.85rem);
    }

    .art-hero-cta__arrow {
        width: 46px;
    }

    .motion-portfolio[data-art-page="contact"] form.art-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        min-height: 0;
        padding-top: 172px !important;
        gap: 0;
    }

    .motion-portfolio[data-art-page="contact"] form.art-panel label,
    .motion-portfolio[data-art-page="contact"] form.art-panel input,
    .motion-portfolio[data-art-page="contact"] form.art-panel textarea,
    .motion-portfolio[data-art-page="contact"] form.art-panel button {
        grid-column: 1;
    }

    .motion-portfolio .art-panel {
        --signal-cut: 26px;
        width: calc(100vw - 12px) !important;
        min-height: 86svh;
        margin-top: 6px !important;
        padding: 116px 18px 42px !important;
        clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
        transform: translate3d(0, var(--art-panel-y), 0);
    }

    .motion-portfolio .art-panel:nth-of-type(even) {
        clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    }

    .motion-portfolio .screenshotsSection.art-panel {
        min-height: 0;
        padding-top: 108px !important;
        padding-bottom: 34px !important;
    }

    .motion-portfolio .sectionHeading.galleryMeta {
        margin-bottom: 12px;
        padding-bottom: 8px;
        font-size: .68rem;
    }

    .motion-portfolio .screenshotsSlider {
        gap: 14px;
        grid-auto-columns: calc(100% - 68px);
        padding-bottom: 18px;
        scroll-padding-inline: 0;
    }

    .motion-portfolio .caseStudyTitle.art-panel {
        min-height: 58svh;
        grid-template-columns: 1fr;
        align-content: end;
    }

    .motion-portfolio .caseStudyTitle.art-panel > h2,
    .motion-portfolio .caseStudyTitle.art-panel > p {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        text-align: left;
    }

    .motion-portfolio .art-panel::before {
        top: 72px;
        left: 18px;
        width: calc(100% - 36px);
        font-size: clamp(2.7rem, calc(var(--art-title-size-mobile, 18vw) * .7), 5.5rem);
        line-height: .72;
    }

    .art-panel-chrome {
        top: 26px;
        left: 18px;
        right: 18px;
        font-size: .62rem;
    }

    .motion-portfolio .moreProjects.art-panel {
        min-height: 52svh;
        padding-top: 96px !important;
        font-size: clamp(2.65rem, 12vw, 4.8rem);
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }

    .motion-portfolio .moreProjects.art-panel::before {
        display: none;
    }

    .motion-portfolio .moreProjects.art-panel .button {
        flex-basis: 154px;
        width: 154px;
        align-self: flex-end;
        padding: 28px;
    }

    .motion-portfolio footer {
        width: calc(100% - 12px);
        margin: 6px auto !important;
    }

    .motion-portfolio footer::before {
        position: static;
        width: 64px;
        margin-bottom: 6px;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .art-page-transition { display: none !important; }
    .art-hero-title > span,
    .art-outline-letter,
    .art-panel,
    .art-product-panel,
    .art-float-media,
    .art-paper-card,
    .motion-product .heroCopy h1 {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        animation: none !important;
    }

    .motion-portfolio .mobileMenu a {
        transition: none !important;
    }

    .motion-portfolio .mobileMenu a.is-already-here .mobileMenuOriginal .mobileMenuMorphLetter,
    .motion-portfolio .mobileMenu a.is-already-here .mobileMenuFeedback .mobileMenuMorphLetter,
    .motion-portfolio .mobileMenu a.is-already-here.is-returning .mobileMenuOriginal .mobileMenuMorphLetter,
    .motion-portfolio .mobileMenu a.is-already-here.is-returning .mobileMenuFeedback .mobileMenuMorphLetter {
        animation-duration: 1ms !important;
        animation-delay: 0ms !important;
    }

    .art-hero-cta__arrow::before {
        animation: none !important;
    }
}
