@font-face { font-family: Athletics; src: url("../../fonts/Athletics-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Athletics; src: url("../../fonts/Athletics-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Athletics; src: url("../../fonts/Athletics-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Athletics; src: url("../../fonts/Athletics-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: Athletics; src: url("../../fonts/Athletics-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
    --bg: #ffffff;
    --ink: #111111;
    --surface: #f5f5f5;
    --hairline: #cacacb;
    --hairline-soft: #e5e5e5;
    --muted: #707072;
    --stone: #9e9ea0;
    --accent-red: #ff432c;
    --header-x: clamp(1.35rem, 2.8vw, 2.7777777778rem);
    --page-pad: var(--header-x);
    --tile-gap: clamp(6px, 0.55vw, 10px);
    --button-size: clamp(18px, 1.9vw, 27px);
    --button-weight: 900;
    --card-radius: 8px;
    --footer-size: 12px;
    --footer-weight: 800;
    --hero-size: clamp(42px, 6.8vw, 104px);
    --hero-weight: 400;
    --logo-size: 5.4166666667rem;
    --nav-size: 0.8888888889rem;
    --nav-weight: 700;
    --page-copy-size: clamp(22px, 3vw, 44px);
    --page-copy-weight: 500;
    --page-title-size: clamp(58px, 11vw, 170px);
    --page-title-weight: 700;
    --project-hover-image-filter: none;
    --project-hover-image-transform: none;
    --project-hover-overlay-opacity: 0.08;
    --project-hover-text-color: #ffffff;
    --project-hover-text-opacity: 1;
    --project-title-size: clamp(20px, 2vw, 36px);
    --project-title-weight: 400;
}

* { box-sizing: border-box; }

html {
    background: var(--bg);
    color: var(--ink);
    overflow-anchor: none;
    scroll-behavior: smooth;
}

html.cp-initializing {
    scroll-behavior: auto;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Athletics, Arial, sans-serif;
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

::selection {
    background: var(--accent-red);
    color: var(--ink);
}

.page {
    min-height: 100vh;
    overflow: hidden;
}

.shell {
    animation: route-in 360ms cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 5rem);
    transition: opacity 180ms ease, transform 180ms ease;
}

body.is-leaving .shell {
    opacity: 0;
    transform: translateY(16px);
}

@keyframes route-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: auto 1fr;
    height: 5rem;
    padding: 0 var(--header-x);
    position: relative;
    top: 0;
    z-index: 20;
}

.header::before {
    background: transparent;
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}

.brand {
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    touch-action: manipulation;
}

.brand-static-logo,
.brand-lottie svg {
    transition: filter 180ms ease;
}

.brand:hover .brand-static-logo,
.brand:focus-visible .brand-static-logo {
    filter: url(#logo-static-swap);
}

.brand.is-logo-hovering .brand-lottie svg [fill="#000"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [fill="#000000"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [fill="black"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [fill="#060809"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [fill="#070809"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [style*="fill: rgb(0, 0, 0)"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [style*="fill:rgb(0,0,0)"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [style*="fill: rgb(7, 8, 9)"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [style*="fill:rgb(7,8,9)"]:not([data-logo-fill-kind]) {
    fill: #ff432c !important;
}

.brand.is-logo-hovering .brand-lottie svg [fill="#ff432c"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [fill="#ff432d"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [style*="fill: rgb(255, 67, 44)"]:not([data-logo-fill-kind]),
.brand.is-logo-hovering .brand-lottie svg [style*="fill:rgb(255,67,44)"]:not([data-logo-fill-kind]) {
    fill: #000000 !important;
}

.brand-mark {
    aspect-ratio: 1;
    display: block;
    position: relative;
    width: var(--logo-size);
}

.brand-static-logo,
.brand-lottie {
    aspect-ratio: 1;
    display: block;
    height: 100%;
    width: 100%;
}

.brand-static-logo {
    object-fit: contain;
    opacity: 1;
    transition: opacity 180ms ease;
}

.brand-lottie {
    background: transparent;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 180ms ease;
}

.brand.is-lottie-failed .brand-static-logo {
    opacity: 1;
}

.brand.is-lottie-ready .brand-static-logo {
    opacity: 0;
}

.brand.is-lottie-ready .brand-lottie {
    opacity: 1;
}

.nav,
.filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: flex-end;
}

.nav a {
    color: var(--stone);
    display: inline-flex;
    font-size: var(--nav-size);
    font-weight: var(--nav-weight);
    letter-spacing: 0.0277777778rem;
    line-height: 1;
    padding: 0 1.2222222222rem;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.nav a.is-active,
.nav a:hover,
.nav a:focus-visible {
    color: var(--ink);
}

.nav-mobile {
    display: none;
}

.filters button,
.scroll-cue {
    align-items: center;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    gap: 7px;
    letter-spacing: 0;
    min-height: 40px;
    padding: 0 15px;
    text-transform: lowercase;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filters button:hover,
.filters button[aria-pressed="true"],
.scroll-cue:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
    transform: translateY(-1px);
}

.hero {
    align-items: center;
    display: grid;
    min-height: 0;
    padding: clamp(42px, 6vw, 86px) var(--header-x) clamp(30px, 4.8vw, 68px);
}

.intro-stack {
    display: block;
    font-size: var(--hero-size);
    font-weight: var(--hero-weight);
    letter-spacing: 0;
    line-height: 1.16;
    margin: 0;
    max-width: 58ch;
    text-transform: none;
    white-space: normal;
}

.intro-stack span {
    display: block;
}

.hero-copy {
    display: grid;
    gap: clamp(13px, 1.75vw, 24px);
    justify-items: start;
    max-width: none;
    width: 100%;
}

.rotating-greeting {
    color: var(--accent-red);
    display: block;
    height: 1.05em;
    overflow: hidden;
    position: relative;
}

.rotating-greeting-word {
    display: block;
    line-height: 1.05;
    will-change: opacity, transform;
}

.rotating-greeting-word.is-entering,
.rotating-greeting-word.is-leaving {
    left: 0;
    position: absolute;
    top: 0;
}

.rotating-greeting-word.is-entering {
    animation: greeting-enter-down 1200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.rotating-greeting-word.is-leaving {
    animation: greeting-leave-down 1200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes greeting-enter-down {
    from {
        opacity: 0;
        transform: translateY(-110%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes greeting-leave-down {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(110%);
    }
}

.intro-rest {
    white-space: normal;
}

.intro-rest-desktop {
    display: block;
}

.intro-rest-mobile {
    display: none;
}

.scroll-cue {
    background: transparent;
    border-color: var(--hairline);
    color: var(--ink);
    font-size: var(--button-size);
    font-weight: var(--button-weight);
    min-height: 42px;
    padding: 0 17px;
}

.work {
    padding: 0 var(--header-x) clamp(36px, 6vw, 92px);
}

.page-hero {
    display: grid;
    gap: clamp(18px, 2.6vw, 34px);
    padding: clamp(78px, 12vw, 170px) var(--page-pad) clamp(54px, 8vw, 110px);
}

.page-kicker {
    color: var(--accent-red);
    font-size: 0.8888888889rem;
    font-weight: 700;
    letter-spacing: 0.0277777778rem;
    margin: 0;
    text-transform: uppercase;
}

.page-title {
    font-size: var(--page-title-size);
    font-weight: var(--page-title-weight);
    letter-spacing: 0;
    line-height: 0.86;
    margin: 0;
    text-transform: uppercase;
}

.page-copy {
    color: var(--ink);
    font-size: var(--page-copy-size);
    font-weight: var(--page-copy-weight);
    line-height: 1.05;
    margin: 0;
    max-width: 760px;
}

.work-head,
.filters {
    display: none;
}

h2 {
    font-size: clamp(31px, 5.5vw, 84px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.88;
    margin: 0;
    text-transform: uppercase;
}

.count {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-align: right;
    text-transform: uppercase;
}

.masonry {
    display: grid;
    gap: var(--tile-gap);
    grid-auto-flow: dense;
    grid-auto-rows: var(--tile-base-size, clamp(96px, 15.6vw, 286px));
    grid-template-columns: repeat(var(--grid-columns, 6), minmax(0, 1fr));
    margin-top: 0 !important;
    width: 100%;
}

.card {
    grid-column: span var(--tile-w, 1);
    grid-row: span var(--tile-h, 1);
    min-height: 0;
    position: relative;
    width: auto;
}

@media (min-width: 761px) {
    .card.is-desktop-hidden {
        display: none;
    }
}

.tile {
    background: var(--surface);
    border: 0;
    border-radius: var(--card-radius);
    color: inherit;
    display: block;
    font: inherit;
    height: 100%;
    isolation: isolate;
    min-height: 100%;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: inherit;
    width: 100%;
}


.masonry.masonry-height-free {
    align-items: start;
    grid-auto-flow: row dense;
    grid-auto-rows: 1px;
}

.masonry.masonry-height-free:not(.is-masonry-laid-out) {
    visibility: hidden;
}

.masonry.masonry-height-free.is-masonry-laid-out {
    display: block;
    min-height: 0;
    position: relative;
}

.masonry.masonry-height-free .card {
    align-self: start;
    grid-row: span var(--masonry-span, 1);
    min-height: 0;
}

.masonry.masonry-height-free.is-masonry-laid-out .card {
    box-sizing: border-box;
    left: 0;
    position: absolute;
    top: 0;
    transform: translate3d(var(--masonry-left, 0px), var(--masonry-top, 0px), 0);
    width: var(--masonry-card-width, auto);
}

.masonry.masonry-height-free .tile {
    height: auto;
    min-height: 0;
    width: 100%;
}

.masonry.masonry-height-free .image-wrap {
    aspect-ratio: var(--media-aspect, 1 / 1);
    height: auto;
    inset: auto;
    position: relative;
    width: 100%;
}

.masonry.masonry-height-free .card img,
.masonry.masonry-height-free .card video {
    display: block;
    height: auto;
    inset: 0 auto auto 0;
    max-width: none;
    object-fit: fill;
    position: absolute;
    width: 100%;
}

.masonry.masonry-height-free .image-wrap .cycle-image {
    height: auto;
    inset: 0 auto auto 0;
    max-width: none;
    object-fit: fill;
    position: absolute;
    width: 100%;
}

.card.is-clickable .tile::after {
    background: rgba(17, 17, 17, 0.34);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 220ms ease;
    z-index: 4;
}

.image-wrap {
    background: var(--surface);
    height: 100%;
    inset: 0;
    overflow-anchor: none;
    overflow: hidden;
    position: absolute;
}

.image-wrap::before {
    background: var(--surface);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.image-wrap::after {
    display: none;
}

.image-loader {
    display: block;
    inset: 50% auto auto 50%;
    opacity: 0.95;
    pointer-events: none;
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 6;
}

.loader-track {
    opacity: 0.22;
}

.loader-arc {
    animation: loader-spin 900ms linear infinite;
    stroke-dasharray: 74 190;
    transform-origin: 22px 22px;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.card img,
.card video {
    height: 100%;
    object-fit: cover;
    opacity: 0;
    position: relative;
    transform: scale(1);
    transition: filter 220ms ease, opacity 520ms ease, transform 520ms ease;
    width: 100%;
    z-index: 1;
}

.image-wrap.is-loaded .image-loader {
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.image-wrap .cycle-image {
    inset: 0;
    position: absolute;
    z-index: 0;
}

.card img.is-active,
.card video.is-active {
    z-index: 1;
}

.image-wrap.is-loaded img.is-active,
.image-wrap.is-loaded video.is-active,
.image-wrap.is-loaded .cycle-image.is-transitioning-in {
    opacity: 1;
}

.image-wrap .cycle-image.is-transitioning-in {
    z-index: 3;
}

.card[data-cycle-transition="slide-left"] .cycle-image:not(.is-active):not(.is-transitioning-in) {
    transform: translateX(18px);
}

.card[data-cycle-transition="slide-up"] .cycle-image:not(.is-active):not(.is-transitioning-in) {
    transform: translateY(18px);
}

.card[data-cycle-transition="zoom-fade"] .cycle-image:not(.is-active):not(.is-transitioning-in) {
    transform: scale(1.035);
}

.card[data-cycle-transition="cut"] .cycle-image {
    transition-duration: 0ms;
}

.card.is-clickable .tile {
    cursor: pointer;
}

.card.is-clickable:hover img,
.card.is-clickable:hover video,
.card.is-clickable:focus-within img,
.card.is-clickable:focus-within video {
    filter: var(--project-hover-image-filter);
    transform: var(--project-hover-image-transform);
}

.meta {
    align-items: center;
    background: none;
    color: var(--project-hover-text-color);
    display: flex;
    gap: 10px;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: clamp(14px, 1.6vw, 22px);
    pointer-events: none;
    position: absolute;
    text-align: center;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 5;
}

.card.is-clickable:hover .tile::after,
.card.is-clickable:focus-within .tile::after {
    opacity: var(--project-hover-overlay-opacity);
}

.card.is-clickable:hover .meta,
.card.is-clickable:focus-within .meta {
    opacity: var(--project-hover-text-opacity);
    transform: translateY(0);
}

body.suppress-card-hover .card.is-clickable:hover img,
body.suppress-card-hover .card.is-clickable:hover video,
body.suppress-card-hover .card.is-clickable:focus-within img,
body.suppress-card-hover .card.is-clickable:focus-within video {
    filter: none;
    transform: none;
}

body.suppress-card-hover .card.is-clickable:hover .tile::after,
body.suppress-card-hover .card.is-clickable:focus-within .tile::after {
    opacity: 0;
}

body.suppress-card-hover .card.is-clickable:hover .meta,
body.suppress-card-hover .card.is-clickable:focus-within .meta {
    opacity: 1;
    transform: translateY(0);
}

.title {
    font-size: var(--project-title-size);
    font-weight: var(--project-title-weight);
    line-height: 1;
    margin: 0;
    max-width: 16ch;
    text-shadow: 0 0 20px black;
    text-transform: none;
}

.category {
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    padding: 7px 9px 6px;
    text-transform: uppercase;
    white-space: nowrap;
    display: none;
}

.card[hidden] {
    display: none;
}

.about {
    border-top: 1px solid var(--hairline);
    display: grid;
    gap: clamp(24px, 4vw, 60px);
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
    margin: 0 var(--page-pad);
    padding: clamp(42px, 6vw, 82px) 0;
}

.about h2 {
    font-size: clamp(34px, 6vw, 88px);
    max-width: 11ch;
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-list a,
.contact-list span {
    border-bottom: 1px solid var(--hairline);
    font-size: clamp(18px, 2vw, 27px);
    font-weight: 800;
    line-height: 1;
    padding-bottom: 12px;
}

.content-page {
    border-top: 1px solid var(--hairline);
    margin: 0 var(--page-pad);
    padding: clamp(42px, 6vw, 82px) 0;
}

.content-body {
    display: grid;
    font-size: clamp(18px, 2vw, 28px);
    gap: 1.05em;
    line-height: 1.34;
    max-width: 860px;
}

.content-body :where(h2, h3, h4, p, ul, ol, blockquote, pre) {
    margin: 0;
}

.content-body :where(h2, h3, h4) {
    font-weight: 800;
    line-height: 1.04;
    margin-top: 0.35em;
}

.content-body h2 {
    font-size: clamp(34px, 5vw, 78px);
}

.content-body a {
    color: var(--accent-red);
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
}

.content-body ul,
.content-body ol {
    padding-left: 1.2em;
}

.footer {
    align-items: center;
    border-top: 1px solid var(--hairline-soft);
    color: var(--muted);
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    font-size: var(--footer-size);
    font-weight: var(--footer-weight);
    gap: 12px;
    justify-content: space-between;
    margin: 0 var(--page-pad);
    margin-top: auto;
    padding: 24px 0 36px;
    text-transform: uppercase;
}

.social-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.social-link {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    height: 34px;
    justify-content: center;
    transition: color 160ms ease;
    width: 34px;
}

.social-link::before {
    background: currentColor;
    content: "";
    display: block;
    height: 18px;
    mask: var(--social-icon) center / contain no-repeat;
    width: 18px;
    -webkit-mask: var(--social-icon) center / contain no-repeat;
}

.social-link-instagram { --social-icon: url("../../links/assets/img/social/instagram.svg"); }
.social-link-youtube { --social-icon: url("../../links/assets/img/social/youtube.svg"); }
.social-link-bluesky { --social-icon: url("../../links/assets/img/social/bluesky.svg"); }
.social-link-behance { --social-icon: url("../../links/assets/img/social/behance.svg"); }
.social-link-email { --social-icon: url("../../links/assets/img/social/email.svg"); }

.social-link:hover,
.social-link:focus-visible {
    color: var(--accent-red);
}

.has-lightbox {
    overflow: hidden;
}

.lightbox {
    align-items: center;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: clamp(24px, 4vw, 84px);
    position: fixed;
    z-index: 100;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-image,
.lightbox-video {
    max-height: min(88vh, 980px);
    max-width: min(88vw, 980px);
    object-fit: contain;
}

.lightbox-image[hidden],
.lightbox-video[hidden] {
    display: none;
}

.lightbox-close,
.lightbox-nav {
    align-items: center;
    background: transparent;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    opacity: 0.5;
    position: fixed;
    transition: opacity 160ms ease, transform 160ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    opacity: 1;
}

.lightbox-close {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1;
    right: clamp(18px, 3vw, 42px);
    top: clamp(14px, 2vw, 32px);
}

.lightbox-nav[hidden] {
    display: none;
}

.lightbox-nav {
    min-height: 96px;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
}

.lightbox-nav svg {
    display: block;
    height: 38px;
    width: 38px;
}

.lightbox-prev {
    left: clamp(12px, 3vw, 58px);
}

.lightbox-next {
    right: clamp(12px, 3vw, 58px);
}

@media (max-width: 760px), (max-device-width: 820px) {
    .lightbox {
        align-items: center;
        padding: 64px 18px 96px;
    }

    .lightbox-image,
    .lightbox-video {
        max-height: calc(100vh - 180px);
        max-width: calc(100vw - 36px);
    }

    .lightbox-nav {
        bottom: 24px;
        min-height: 48px;
        top: auto;
        transform: none;
        width: 64px;
    }

    .lightbox-prev {
        left: calc(50% - 72px);
    }

    .lightbox-next {
        right: calc(50% - 72px);
    }
}

@media (max-width: 1100px) {
    .masonry { grid-auto-rows: var(--tile-base-size, clamp(96px, 15.6vw, 286px)); }
    .masonry.masonry-height-free { grid-auto-rows: 1px; }
    .masonry.masonry-height-free .card { grid-row: span var(--masonry-span, 1); }
}

@media (max-width: 760px) {
    body { background: var(--bg); }
    .header {
        align-items: center;
        box-sizing: border-box;
        display: grid;
        gap: clamp(10px, 3vw, 16px);
        grid-template-columns: auto minmax(0, 1fr);
        height: auto;
        min-height: 5rem;
        padding: 1rem var(--header-x);
        width: 100%;
    }
    .brand { grid-column: 1; justify-self: start; }
    .brand-mark { width: clamp(51px, 13.5vw, 72px); }
    .nav-desktop { display: none; }
    .nav-mobile { display: flex; flex-wrap: nowrap; max-width: 100%; min-width: 0; width: 100%; }
    .nav-mobile-left { display: none; }
    .nav-mobile-right { gap: clamp(8px, 2.8vw, 18px); grid-column: 2; justify-content: flex-end; overflow-x: auto; scrollbar-width: none; }
    .nav-mobile-right::-webkit-scrollbar { display: none; }
    .nav a { font-size: clamp(9px, 2.55vw, 11px); padding: 0 clamp(5px, 1.9vw, 10px); white-space: nowrap; }
    .intro-rest-desktop { display: none; }
    .intro-rest-mobile { display: block; }
    .hero { padding-bottom: 32px; padding-top: 38px; }
    .intro-stack { font-size: var(--hero-size); max-width: 30ch; }
    .hero-copy { max-width: 100%; }
    .about { grid-template-columns: 1fr; }
    .count { text-align: left; }
    .masonry { grid-auto-rows: var(--mobile-tile-base-size, clamp(132px, 48vw, 300px)); grid-template-columns: repeat(var(--mobile-grid-columns, 2), minmax(0, 1fr)); }
    .card {
        order: var(--mobile-order, 0);
    }
    .card.is-mobile-hidden {
        display: none;
    }
    .card,
    .card.size-1x1,
    .card.size-1x2,
    .card.size-1x3,
    .card[data-grid-w='2'],
    .card[data-grid-w='3'],
    .card[data-grid-w='4'] { grid-column: span var(--mobile-tile-w, 1); grid-row: span var(--mobile-tile-h, var(--tile-h, 1)); }
    .masonry.masonry-height-free { grid-auto-rows: 1px; }
    .masonry.masonry-height-free .card,
    .masonry.masonry-height-free .card.size-1x1,
    .masonry.masonry-height-free .card.size-1x2,
    .masonry.masonry-height-free .card.size-1x3,
    .masonry.masonry-height-free .card[data-grid-w='2'],
    .masonry.masonry-height-free .card[data-grid-w='3'],
    .masonry.masonry-height-free .card[data-grid-w='4'] { grid-column: span var(--mobile-tile-w, 1); grid-row: span var(--masonry-span, 1); }
    .footer {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
    }

    .social-list {
        justify-content: center;
    }
}

@media (max-width: 440px) {
    :root { --header-x: 14px; --page-pad: 14px; --tile-gap: 6px; }
    .brand-mark { width: clamp(48px, 14vw, 58px); }
    .nav-mobile-right { gap: 8px; }
    .nav a, .filters button { font-size: 9px; padding: 0 5px; }
    .scroll-cue { min-height: 40px; padding: 0 15px; }
    .meta { grid-template-columns: 1fr; }
}
@media (max-width: 760px), (max-device-width: 820px) {
    .intro-rest-desktop { display: none !important; }
    .intro-rest-mobile { display: block !important; }
}

@media (min-width: 761px) and (min-device-width: 821px) {
    .intro-rest-desktop { display: block !important; }
    .intro-rest-mobile { display: none !important; }
}

.logo-debug-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--ink);
    bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: var(--ink);
    display: grid;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    gap: 0.25rem;
    left: 1rem;
    line-height: 1.25;
    max-width: min(22rem, calc(100vw - 2rem));
    padding: 0.75rem;
    position: fixed;
    text-transform: none;
    z-index: 9999;
}

.logo-debug-panel strong {
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logo-debug-panel span {
    display: block;
    overflow-wrap: anywhere;
}

.logo-debug-panel em {
    font-style: normal;
}

.logo-debug-enabled [data-logo-handdrawn-target="true"] {
    outline: 1px dashed #ff432c;
}

.about-me-page {
    align-items: start;
    display: grid;
    gap: clamp(36px, 5.2vw, 84px);
    grid-template-columns: minmax(280px, 500px) minmax(0, 1fr);
    margin: clamp(30px, 4vw, 64px) auto clamp(64px, 8vw, 112px);
    max-width: 1140px;
    width: calc(100% - (var(--page-pad) * 2));
}

.about-me-portrait {
    margin: 0;
    max-width: 500px;
    width: 100%;
}

.about-me-portrait img {
    border-radius: var(--about-image-radius, 18px);
    height: auto;
    object-fit: cover;
    width: 100%;
}

.about-me-copy {
    max-width: 560px;
    padding-top: 0;
}

.about-me-title {
    font-size: clamp(34px, 3.15vw, 52px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0 0 0.52em;
}

.about-me-lede,
.about-me-body p {
    font-size: clamp(17px, 1.35vw, 21px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.46;
    margin: 0;
}

.about-me-lede {
    max-width: 30ch;
}

.about-me-body {
    display: grid;
    gap: 0.95em;
    margin-top: clamp(20px, 2.4vw, 34px);
}

.about-me-sections {
    display: grid;
    gap: clamp(28px, 4vw, 58px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(38px, 4.8vw, 70px);
}

.about-me-section-title {
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    margin: 0 0 1.1em;
    text-transform: uppercase;
}

.about-me-links {
    display: grid;
    gap: 0.46em;
}

.about-me-links a,
.about-me-links span {
    font-size: clamp(16px, 1.2vw, 19px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.28;
}

.about-me-links a:hover,
.about-me-links a:focus-visible {
    color: var(--accent-red);
}

@media (max-width: 900px) {
    .about-me-page {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .about-me-portrait {
        max-width: none;
    }

    .about-me-copy {
        max-width: none;
        padding-top: 0;
    }
}

@media (max-width: 560px) {
    .about-me-page {
        margin-top: 18px;
        width: calc(100% - 28px);
    }

    .about-me-title {
        font-size: clamp(30px, 9vw, 38px);
    }

    .about-me-sections {
        grid-template-columns: 1fr;
    }
}


.about-me-body :where(p, ul, ol, blockquote) {
    font-size: clamp(17px, 1.35vw, 21px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.46;
    margin: 0;
}

.about-me-body :where(h2, h3, h4) {
    font-size: clamp(20px, 1.7vw, 28px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.16;
    margin: 0;
}

.about-me-body :where(ul, ol) {
    padding-left: 1.25em;
}

.about-me-body li + li {
    margin-top: 0.35em;
}

.about-me-body a {
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.16em;
}

.about-me-body a:hover,
.about-me-body a:focus-visible {
    color: var(--accent-red);
}

.about-me-clients {
    display: grid;
    gap: clamp(18px, 2vw, 28px);
    margin-top: var(--about-clients-spacing-top, clamp(34px, 4.3vw, 62px));
}

.about-me-clients-title {
    color: var(--muted);
    font-size: var(--about-clients-title-size, clamp(17px, 1.35vw, 21px));
    font-weight: var(--about-clients-title-weight, 400);
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0;
}

.about-me-clients-copy {
    color: var(--muted);
    font-size: var(--about-clients-copy-size, 15px);
    font-weight: var(--about-clients-copy-weight, 400);
    letter-spacing: 0;
    line-height: 1.45;
    margin: calc(clamp(18px, 2vw, 28px) * -0.55) 0 0;
    max-width: 52em;
}

.about-me-client-logos {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: var(--about-clients-logo-gap, clamp(14px, 1.9vw, 26px) clamp(20px, 2.8vw, 38px));
}

.about-me-client-logo {
    display: block;
    flex: 0 1 auto;
    height: auto;
    max-width: 100%;
    width: auto;
}

.about-me-client-logo.has-client-logo-height {
    height: calc(var(--client-logo-height) * var(--about-clients-logo-scale, 1));
}

@media (max-width: 560px) {
    .about-me-client-logos {
        justify-content: center;
    }

    .about-me-clients-title,
    .about-me-clients-copy {
        text-align: center;
    }
}

.layout-page {
    background: var(--layout-page-bg, var(--bg));
    color: var(--layout-page-text, var(--ink));
    display: grid;
    gap: var(--layout-page-section-gap, clamp(52px, 5.75vw, 109px));
    margin: 0 auto;
    max-width: var(--layout-page-max-width, 1665px);
    padding: var(--layout-page-padding-top, clamp(56px, 5vw, 80px)) 0 var(--layout-page-padding-bottom, clamp(62px, 5.5vw, 104px));
    width: min(var(--layout-page-max-width, 1665px), calc(100% - (var(--page-pad) * 2)));
}

.layout-page-heading {
    display: grid;
    gap: var(--layout-page-text-gap, 0px);
    justify-items: start;
    max-width: 100%;
}

.layout-page-kicker {
    color: var(--accent-red);
    font-size: var(--layout-page-kicker-size, 12px);
    font-weight: var(--layout-page-kicker-weight, 800);
    letter-spacing: 0.04em;
    line-height: 1;
    margin: 0 0 0.2em;
    text-transform: uppercase;
}

.layout-page-title {
    color: inherit;
    font-size: var(--layout-page-title-size, clamp(54px, 5.05vw, 96px));
    font-weight: var(--layout-page-title-weight, 900);
    letter-spacing: var(--layout-page-title-letter-spacing, 0.021em);
    line-height: var(--layout-page-title-line-height, 0.95);
    margin: 0;
    max-width: none;
    text-transform: none;
}

.layout-page-excerpt {
    color: inherit;
    font-size: var(--layout-page-excerpt-size, 24px);
    font-weight: var(--layout-page-excerpt-weight, 900);
    line-height: var(--layout-page-excerpt-line-height, 1);
    margin: 0;
    max-width: 100%;
}

.layout-page-content-row {
    align-items: start;
    display: grid;
    gap: var(--layout-page-content-column-gap, clamp(48px, 6.3vw, 120px));
    grid-template-columns: minmax(0, 875fr) minmax(0, 670fr);
    width: 100%;
}

.layout-page-content-row.has-no-media {
    grid-template-columns: minmax(0, 875px);
}

.layout-page-body {
    display: grid;
    font-size: var(--layout-page-body-size, 15px);
    font-weight: var(--layout-page-body-weight, 400);
    gap: 1.5em;
    letter-spacing: var(--layout-page-body-letter-spacing, 0.021em);
    line-height: var(--layout-page-body-line-height, 1.5);
    max-width: 875px;
}

.layout-page-body :where(h2, h3, h4, p, ul, ol, blockquote, pre) {
    margin: 0;
}

.layout-page-body :where(h2, h3, h4) {
    font-weight: 800;
    line-height: 0.96;
    margin-top: 0.35em;
}

.layout-page-body h2 {
    font-size: clamp(34px, 5vw, 78px);
}

.layout-page-body a {
    color: var(--accent-red);
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
}

.layout-page-body ul,
.layout-page-body ol {
    padding-left: 1.2em;
}

.layout-page-hero-media {
    align-self: start;
    border-radius: var(--layout-page-image-radius, 0);
    aspect-ratio: 670 / 321;
    height: auto;
    max-height: var(--layout-page-hero-height, clamp(180px, 19.3vw, 321px));
    margin: 0;
    overflow: hidden;
    width: 100%;
}

.layout-page-hero-media img,
.layout-page-hero-media video,
.layout-page-gallery img,
.layout-page-gallery video {
    display: block;
    height: 100%;
    object-fit: var(--layout-page-image-fit, contain);
    object-position: center;
    width: 100%;
}

.layout-page-lightbox-trigger {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: inherit;
    cursor: zoom-in;
    display: block;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.layout-page-lightbox-trigger:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: -2px;
}

.layout-page-image-frame {
    background: var(--surface);
    border-radius: inherit;
    display: block;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.layout-page-image-frame::before {
    background: var(--surface);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.layout-page-image-frame img {
    opacity: 0;
    position: relative;
    transition: opacity 520ms ease;
    z-index: 1;
}

.layout-page-image-frame.is-loaded img {
    opacity: 1;
}

.layout-page-image-frame.is-loaded .image-loader {
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.layout-page-hero-media .plyr,
.layout-page-gallery .plyr {
    --plyr-color-main: var(--accent-red);
    --plyr-control-toggle-checked-background: var(--accent-red);
    --plyr-range-fill-background: var(--accent-red);
    --plyr-video-control-background-hover: var(--accent-red);
    --plyr-video-background: #fff;
    background: #fff;
    height: 100%;
    width: 100%;
}

.layout-page-hero-media .plyr__video-wrapper,
.layout-page-gallery .plyr__video-wrapper {
    background: #fff;
    height: 100%;
    padding-bottom: 0 !important;
}

.layout-page-hero-media .plyr video,
.layout-page-gallery .plyr video {
    background: #fff;
    height: 100%;
    object-fit: var(--layout-page-image-fit, contain);
    object-position: center;
    width: 100%;
}

.layout-page-hero-media .plyr__poster,
.layout-page-gallery .plyr__poster {
    background-color: #fff;
    background-size: var(--layout-page-image-fit, contain);
}

.layout-page-hero-media .plyr--video,
.layout-page-gallery .plyr--video {
    background: #fff;
    border-radius: inherit;
    overflow: hidden;
}

.layout-page-hero-media .plyr--stopped .plyr__controls,
.layout-page-gallery .plyr--stopped .plyr__controls {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

.layout-page-hero-media .plyr__control--overlaid,
.layout-page-gallery .plyr__control--overlaid {
    background: var(--accent-red);
}

.layout-page-hero-media .plyr--video .plyr__control.plyr__tab-focus,
.layout-page-hero-media .plyr--video .plyr__control:hover,
.layout-page-hero-media .plyr--video .plyr__control[aria-expanded="true"],
.layout-page-gallery .plyr--video .plyr__control.plyr__tab-focus,
.layout-page-gallery .plyr--video .plyr__control:hover,
.layout-page-gallery .plyr--video .plyr__control[aria-expanded="true"] {
    background: var(--accent-red);
}

.layout-page-hero-media .plyr--full-ui input[type=range],
.layout-page-gallery .plyr--full-ui input[type=range] {
    color: var(--accent-red);
}


.layout-page-gallery {
    align-items: center;
    column-gap: var(--layout-page-gallery-fluid-gap, var(--layout-page-gallery-gap, 29px));
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    overflow: hidden;
    row-gap: 0;
    width: 100%;
}

.layout-page-gallery figure {
    align-items: center;
    aspect-ratio: var(--layout-page-gallery-ratio, 16 / 9);
    border-radius: var(--layout-page-image-radius, 0);
    display: flex;
    flex: 0 0 var(--layout-page-gallery-item-width, auto);
    height: var(--layout-page-gallery-fluid-height, var(--layout-page-gallery-height, clamp(150px, 12vw, 225px)));
    justify-content: center;
    margin: 0;
    max-height: var(--layout-page-gallery-height, clamp(150px, 12vw, 225px));
    max-width: none;
    min-width: 0;
    overflow: hidden;
    width: var(--layout-page-gallery-item-width, auto);
}

@media (max-width: 1100px) {
    .layout-page-content-row,
    .layout-page-content-row.has-no-media {
        grid-template-columns: 1fr;
    }

    .layout-page-hero-media {
        justify-self: start;
        max-height: min(var(--layout-page-hero-height, clamp(180px, 19.3vw, 321px)), 72vh);
        order: -1;
    }

    .layout-page-hero-media img,
    .layout-page-hero-media video,
    .layout-page-hero-media .plyr video {
        object-position: left center;
    }

    .layout-page-hero-media .plyr__poster {
        background-position: left center;
    }
}

@media (max-width: 760px) {
    .layout-page {
        width: calc(100% - (var(--page-pad) * 2));
    }

    .layout-page-gallery {
        column-gap: var(--layout-page-gallery-fluid-gap, var(--layout-page-gallery-gap, 29px));
        display: flex;
        flex-wrap: nowrap;
    }

    .layout-page-gallery figure {
        height: var(--layout-page-gallery-fluid-height, var(--layout-page-gallery-height, clamp(150px, 12vw, 225px)));
        width: auto;
    }

    .image-loader {
        height: 44px;
        width: 44px;
    }
}
