/* Portfolio redesign. CV styles intentionally remain in styles.css. */
@media screen {
    :root {
        --portfolio-bg: #000;
        --portfolio-ink: #e5e5e2;
        --portfolio-muted: #92928c;
        --portfolio-line: #20201f;
        --portfolio-panel: #0d0d0d;
        --portfolio-panel-raised: #121212;
        --portfolio-paper: #ecece6;
        --portfolio-paper-line: rgba(8, 8, 8, .28);
        --portfolio-radius: clamp(12px, 1.15vw, 18px);
        --portfolio-display: "Onest", sans-serif;
        --portfolio-mono: "IBM Plex Mono", monospace;
        --portfolio-gutter: 32px;
        --motion-ease: cubic-bezier(.16, 1, .3, 1);
        --motion-fast: 260ms;
        --motion-space: 420ms;
        --motion-slow: 720ms;
    }

    html,
    body {
        background: var(--portfolio-bg);
    }

    html {
        scroll-behavior: smooth;
    }

    body::before {
        display: none;
    }

    ::selection {
        background: var(--portfolio-ink);
        color: var(--portfolio-bg);
    }

    :focus-visible {
        outline-color: var(--portfolio-ink);
    }

    .skip-link {
        background: var(--portfolio-ink);
        color: var(--portfolio-bg);
        font-family: var(--portfolio-display);
    }

    #work,
    #profile,
    #cv,
    #contact {
        scroll-margin-top: 80px;
    }

    .site-header,
    .hero,
    .work-section,
    .editorial-section,
    .site-footer {
        color: var(--portfolio-ink);
        font-family: var(--portfolio-display);
    }

    .site-header {
        position: fixed;
        inset: 0 0 auto;
        z-index: 50;
        height: 80px;
        border: 0;
        background: var(--portfolio-bg);
        backdrop-filter: none;
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition: transform var(--motion-space) var(--motion-ease);
    }

    .site-header.is-hidden {
        opacity: 1;
        pointer-events: none;
        transform: translate3d(0, calc(-100% - 2px), 0);
    }

    .header-inner {
        position: relative;
        width: 100%;
        max-width: none;
        min-height: 80px;
        margin: 0;
        padding: 0 var(--portfolio-gutter);
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 16px;
    }

    .brand {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center start;
        color: var(--portfolio-ink);
        line-height: 0;
    }

    .brand svg {
        width: 36px;
        height: 36px;
        display: block;
        overflow: visible;
        fill: currentColor;
    }

    .brand-output {
        transform-box: fill-box;
        transform-origin: left center;
        transition: transform 360ms var(--motion-ease);
    }

    .brand:hover .brand-output,
    .brand:focus-visible .brand-output {
        transform: translateX(1.5px);
    }

    .header-name {
        position: absolute;
        left: 50%;
        color: #777773;
        font-size: 16px;
        line-height: 20px;
        transform: translateX(16px);
    }

    .main-nav {
        grid-column: 2;
        grid-row: auto;
        justify-self: end;
        justify-content: flex-start;
        display: flex;
        align-items: center;
        gap: 32px;
        color: var(--portfolio-ink);
        font-size: 16px;
        font-weight: 400;
        letter-spacing: -.02em;
        text-transform: none;
        border-top: 0;
        padding-top: 0;
    }

    .nav-links,
    .language-switch {
        display: flex;
        align-items: center;
    }

    .nav-links {
        gap: 24px;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible,
    .language-switch button:hover,
    .language-switch button:focus-visible {
        color: #8a8a86;
    }

    .main-nav a,
    .language-switch button,
    .hero-availability,
    .hero-feed {
        transition: color var(--motion-fast) ease;
    }

    .language-switch {
        gap: 4px;
        font-family: var(--portfolio-mono);
        font-size: 10px;
        font-weight: 400;
        letter-spacing: .08em;
    }

    .language-switch span {
        color: #3b3b39;
    }

    .language-switch button {
        padding: 4px 2px;
        border: 0;
        background: transparent;
        color: var(--portfolio-muted);
        font: inherit;
        cursor: pointer;
    }

    .language-switch button[aria-pressed="true"] {
        color: var(--portfolio-ink);
    }

    .menu-toggle {
        display: none;
    }

    .hero {
        position: relative;
        width: 100%;
        max-width: none;
        height: 100svh;
        min-height: 720px;
        display: block;
        margin: 0;
        padding: 80px 6px 6px;
        border: 0;
        gap: 0;
        overflow: hidden;
    }

    .hero-stage {
        position: relative;
        isolation: isolate;
        width: 100%;
        height: 100%;
        min-height: 634px;
        padding: clamp(22px, 2.2vw, 32px);
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
        overflow: hidden;
        border-radius: clamp(10px, 1.1vw, 16px);
        background: #080808;
        color: #f4f4ef;
    }

    .hero-stage::before,
    .hero-stage::after {
        position: absolute;
        inset: 0;
        content: "";
        pointer-events: none;
    }

    .hero-stage::before {
        z-index: 1;
        background: rgba(0, 0, 0, .22);
    }

    .hero-stage::after {
        z-index: 2;
        opacity: .08;
        mix-blend-mode: soft-light;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        background-size: 180px 180px;
    }

    .hero-media {
        position: absolute;
        inset: 0;
        z-index: 0;
        overflow: hidden;
        background: #080808;
    }

    .hero-media-shift {
        position: absolute;
        inset: -12% 0;
        transform:
            translate3d(0, var(--hero-scroll-y, 0px), 0)
            scale(var(--hero-scroll-scale, 1.065));
    }

    .hero-stage.is-motion-active .hero-media-shift {
        will-change: transform;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: 50% 50%;
        opacity: .8;
        filter: grayscale(1) contrast(1.14) brightness(.64);
    }

    .hero-overline,
    .hero-main,
    .hero-footer {
        position: relative;
        z-index: 3;
        min-width: 0;
    }

    .hero-overline {
        display: grid;
        grid-template-columns: 1fr .5fr .5fr;
        gap: 16px;
        color: rgba(255, 255, 255, .68);
        font-family: var(--portfolio-mono);
        font-size: 9px;
        letter-spacing: .08em;
        line-height: 18px;
        text-transform: uppercase;
    }

    .hero-overline span:nth-child(2) {
        grid-column: 2;
    }

    .hero-overline span:last-child {
        grid-column: 3;
        justify-self: end;
    }

    .hero-main {
        min-height: 0;
    }

    .hero .hero-title {
        min-width: 0;
        margin: clamp(46px, 6.5vh, 76px) 0 0;
        padding: 0;
        color: #f7f7f2;
        font-family: var(--portfolio-display);
        font-size: clamp(104px, 12.7vw, 204px);
        font-weight: 500;
        letter-spacing: -.08em;
        line-height: .76;
        text-wrap: nowrap;
    }

    .hero .hero-title > span {
        display: block;
    }

    .hero .hero-title > span:last-child {
        text-align: right;
    }

    .hero-direction {
        display: inline-block;
        font-style: normal;
        transform-origin: left center;
    }

    .hero-capabilities {
        position: absolute;
        top: clamp(48px, 6.5vh, 74px);
        right: 0;
        margin: 0;
        padding: 0;
        color: #fff;
        font-size: clamp(14px, 1.1vw, 17px);
        font-weight: 500;
        letter-spacing: -.035em;
        line-height: 1.55;
        list-style: none;
        text-align: right;
    }

    .micro-label,
    .project-number {
        font-family: var(--portfolio-mono);
        font-size: 10px;
        font-weight: 500;
        letter-spacing: .1em;
        line-height: 20px;
        text-transform: uppercase;
    }

    .hero-footer {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        align-items: end;
        gap: 16px;
    }

    .hero-copy {
        grid-column: 1 / 5;
        max-width: 490px;
    }

    .hero-description {
        max-width: 470px;
        margin: 0;
        color: #f6f6f1;
        font-size: clamp(16px, 1.3vw, 20px);
        font-weight: 500;
        letter-spacing: -.025em;
        line-height: 1.25;
    }

    .hero-feed {
        width: max-content;
        display: inline-block;
        margin-top: 18px;
        color: #fff;
        font-family: var(--portfolio-mono);
        font-size: 9px;
        letter-spacing: .08em;
        line-height: 18px;
        text-transform: uppercase;
    }

    .hero-selected {
        grid-column: 7 / 9;
        justify-self: start;
        color: rgba(255, 255, 255, .64);
        font-family: var(--portfolio-mono);
        font-size: 9px;
        letter-spacing: .08em;
        line-height: 18px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .hero-availability {
        grid-column: 10 / 13;
        width: max-content;
        justify-self: end;
        color: #fff;
        font-family: var(--portfolio-mono);
        font-size: 9px;
        letter-spacing: .08em;
        line-height: 18px;
        text-transform: uppercase;
    }

    .hero-availability:hover,
    .hero-availability:focus-visible {
        color: rgba(255, 255, 255, .62);
    }

    .work-section,
    .editorial-section {
        position: relative;
        isolation: isolate;
        width: calc(100% - 12px);
        max-width: none;
        margin: 6px;
        padding: 112px var(--portfolio-gutter) clamp(96px, 9vw, 148px);
        overflow: hidden;
        border: 0;
        border-radius: var(--portfolio-radius);
        background: #090909;
    }

    .work-section::after,
    .featured-section::after,
    .facts-section::after,
    .site-footer::after {
        position: absolute;
        inset: 0;
        z-index: 0;
        content: "";
        opacity: .055;
        pointer-events: none;
        mix-blend-mode: soft-light;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        background-size: 180px 180px;
    }

    .work-section > *,
    .editorial-section > *,
    .site-footer > * {
        position: relative;
        z-index: 1;
    }

    .focus-section {
        background: #e8e6dc;
        color: #0b0b0a;
    }

    .featured-section {
        background: #11110f;
    }

    .facts-section {
        background: #090909;
    }

    .portfolio-label-row {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 16px;
        align-items: start;
        margin-bottom: 48px;
        padding-top: 16px;
        border-top: 1px solid var(--portfolio-line);
        font-size: 16px;
        line-height: 22px;
    }

    .portfolio-label-row > a {
        grid-column: 11 / 13;
        justify-self: end;
        color: var(--portfolio-muted);
        transition: color var(--motion-fast) ease;
    }

    .portfolio-label-row > .section-label {
        grid-column: 1 / 4;
    }

    .portfolio-label-row > p {
        grid-column: 5 / 11;
        max-width: 720px;
        color: var(--portfolio-ink);
        font-size: clamp(32px, 3.65vw, 56px);
        font-weight: 500;
        letter-spacing: -.05em;
        line-height: 1;
    }

    .portfolio-label-row > a:hover,
    .portfolio-label-row > a:focus-visible {
        color: var(--portfolio-ink);
    }

    .section-label {
        color: var(--portfolio-ink);
        font-family: var(--portfolio-mono);
        font-size: 10px;
        font-weight: 400;
        letter-spacing: .08em;
        line-height: 20px;
        text-transform: uppercase;
    }

    .project-grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: 16px;
        row-gap: 96px;
        border: 0;
    }

    .project-card {
        min-width: 0;
        grid-column: auto;
        border: 0;
        background: transparent;
    }

    .project-card:nth-child(4n + 1),
    .project-card:nth-child(4n + 4) {
        grid-column: span 7;
    }

    .project-card:nth-child(4n + 2),
    .project-card:nth-child(4n + 3) {
        grid-column: span 5;
    }

    .project-card > a {
        display: flex;
        flex-direction: column;
    }

    .project-info {
        position: relative;
        min-height: 86px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        order: 2;
        gap: 0 16px;
        padding: 14px 38px 0 0;
        border-top: 1px solid transparent;
    }

    .project-number {
        grid-column: 1;
        grid-row: 1;
        display: block;
        margin: 0;
        color: var(--portfolio-muted);
        line-height: 20px;
    }

    .project-info h3,
    .project-info p {
        font-family: var(--portfolio-display);
        font-size: clamp(20px, 1.8vw, 28px);
        font-weight: 500;
        letter-spacing: -.04em;
        line-height: 1.05;
    }

    .project-info h3 {
        grid-column: 1;
        grid-row: 2;
    }

    .project-info p {
        grid-column: 2;
        grid-row: 2;
        color: var(--portfolio-muted);
        font-size: 14px;
        letter-spacing: -.01em;
        line-height: 20px;
        text-align: right;
    }

    .project-arrow {
        position: absolute;
        right: 0;
        top: 14px;
        bottom: auto;
        color: var(--portfolio-muted);
        font-size: 20px;
        line-height: 26px;
    }

    .project-card figure {
        position: relative;
        order: 1;
        aspect-ratio: 808 / 632;
        overflow: hidden;
        border-radius: var(--portfolio-radius);
        background: #101010;
    }

    .project-card figure::after {
        position: absolute;
        inset: 0;
        content: "";
        border: 1px solid transparent;
        border-radius: inherit;
        pointer-events: none;
        transition: border-color var(--motion-fast) ease;
    }

    .project-card a:hover figure::after,
    .project-card a:focus-visible figure::after {
        border-color: rgba(255, 255, 255, .24);
    }

    .project-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: 50% 50%;
        filter: none;
    }

    .project-info h3 {
        transition: color var(--motion-fast) ease;
    }

    .project-arrow {
        transition:
            color var(--motion-fast) ease,
            transform var(--motion-space) var(--motion-ease);
    }

    .project-card a:hover .project-info h3,
    .project-card a:focus-visible .project-info h3,
    .project-card a:hover .project-arrow,
    .project-card a:focus-visible .project-arrow {
        color: #8a8a86;
    }

    .project-card a:hover .project-arrow,
    .project-card a:focus-visible .project-arrow {
        transform: translate(3px, -3px);
    }

    .project-card a:hover img,
    .project-card a:focus-visible img {
        filter: none;
    }

    .section-split {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--portfolio-line);
    }

    .section-split > .section-label {
        grid-column: 1 / 4;
    }

    .section-split > :last-child {
        grid-column: 5 / 13;
    }

    .focus-list {
        display: flex;
        flex-direction: column;
        color: var(--portfolio-ink);
        font-size: clamp(48px, 5.1vw, 78px);
        font-weight: 500;
        letter-spacing: -.065em;
        line-height: .98;
    }

    .focus-line {
        display: block;
        height: .98em;
        white-space: nowrap;
    }

    .focus-char {
        position: relative;
        display: inline-block;
        box-sizing: content-box;
        height: .98em;
        padding: .12em .08em;
        margin: -.12em -.08em;
        overflow: hidden;
        vertical-align: top;
    }

    .focus-char::after {
        display: block;
        visibility: hidden;
        content: attr(data-final);
    }

    .focus-char-track {
        position: absolute;
        inset: .12em .08em auto;
        height: .98em;
        transform: translate3d(0, -140%, 0);
    }

    .focus-char-glyph {
        display: block;
        height: 100%;
        line-height: .98;
    }

    .focus-list.is-revealed .focus-char-track {
        animation: focus-counter-in 680ms var(--motion-ease) both;
        animation-delay: var(--focus-char-delay, 0ms);
    }

    @keyframes focus-counter-in {
        0% {
            opacity: 0;
            transform: translate3d(0, -140%, 0);
        }

        62% {
            opacity: 1;
            transform: translate3d(0, 7%, 0);
        }

        100% {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }

    .focus-sr-only {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .focus-list > span:nth-child(even) {
        color: #74736c;
    }

    .focus-section .section-split {
        border-top-color: rgba(11, 11, 10, .22);
    }

    .focus-section .section-label,
    .focus-section .focus-list,
    .focus-section .skill-levels p {
        color: #0b0b0a;
    }

    .focus-section .skill-levels h3 {
        color: #5d5c55;
    }

    .skill-levels {
        position: relative;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 96px;
        border: 0;
    }

    .skill-levels::before,
    .skill-levels::after {
        position: absolute;
        right: 0;
        left: 0;
        z-index: 1;
        height: 1px;
        background: rgba(11, 11, 10, .22);
        content: "";
        transform-origin: left center;
    }

    .skill-levels::before {
        top: 0;
    }

    .skill-levels::after {
        bottom: 0;
    }

    .skill-levels article {
        --skill-delay: 160ms;
        position: relative;
        display: block;
        padding: 20px 20px 24px;
        border-top: 0;
        border-left: 0;
    }

    .skill-levels article:nth-child(2) {
        --skill-delay: 300ms;
    }

    .skill-levels article:nth-child(3) {
        --skill-delay: 440ms;
    }

    .skill-levels article::before {
        position: absolute;
        inset: 0 auto 0 0;
        width: 1px;
        background: rgba(11, 11, 10, .22);
        content: "";
        transform-origin: center top;
    }

    .skill-levels article:first-child {
        padding-left: 0;
    }

    .skill-levels article:first-child::before {
        display: none;
    }

    .skill-levels h3 {
        display: flex;
        gap: 14px;
        color: var(--portfolio-muted);
        font-family: var(--portfolio-mono);
        font-size: 10px;
        font-weight: 400;
        letter-spacing: .08em;
        line-height: 20px;
        text-transform: uppercase;
    }

    .skill-levels p {
        color: var(--portfolio-ink);
        margin-top: 28px;
        font-size: 16px;
        line-height: 22px;
    }

    .motion-ready .skill-levels[data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .motion-ready .skill-levels[data-reveal]::before,
    .motion-ready .skill-levels[data-reveal]::after {
        transform: scaleX(0);
    }

    .motion-ready .skill-levels[data-reveal] article::before {
        transform: scaleY(0);
    }

    .motion-ready .skill-levels[data-reveal] h3 > span,
    .motion-ready .skill-levels[data-reveal] p {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
    }

    .motion-ready .skill-levels[data-reveal] h3 > span,
    .motion-ready .skill-levels[data-reveal] p,
    .motion-ready .skill-levels[data-reveal] article::before {
        transition:
            opacity 440ms var(--motion-ease),
            transform 640ms var(--motion-ease);
    }

    .motion-ready .skill-levels[data-reveal].is-revealed::before,
    .motion-ready .skill-levels[data-reveal].is-revealed::after {
        animation: skill-rule-draw 780ms var(--motion-ease) forwards;
    }

    .motion-ready .skill-levels[data-reveal].is-revealed::after {
        animation-delay: 90ms;
    }

    .motion-ready .skill-levels[data-reveal].is-revealed article::before {
        transform: scaleY(1);
        transition-delay: var(--skill-delay);
    }

    .motion-ready .skill-levels[data-reveal].is-revealed h3 > span {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition-delay: calc(var(--skill-delay) + 80ms);
    }

    .motion-ready .skill-levels[data-reveal].is-revealed h3 > span:last-child {
        transition-delay: calc(var(--skill-delay) + 150ms);
    }

    .motion-ready .skill-levels[data-reveal].is-revealed p {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition-delay: calc(var(--skill-delay) + 220ms);
    }

    @keyframes skill-rule-draw {
        from {
            transform: scaleX(0);
        }

        to {
            transform: scaleX(1);
        }
    }

    .featured-grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 16px;
    }

    .featured-card {
        min-width: 0;
        display: flex;
        flex-direction: column;
        grid-column: span 4;
        overflow: hidden;
        padding-bottom: 18px;
        border-radius: var(--portfolio-radius);
        background: var(--portfolio-panel);
        font-size: 16px;
        line-height: 22px;
        transition:
            background-color var(--motion-fast) ease,
            color var(--motion-fast) ease;
    }

    .featured-card figure {
        aspect-ratio: 808 / 632;
        margin-bottom: 0;
        overflow: hidden;
        background: #101010;
    }

    .featured-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: 50% 50%;
    }

    .featured-card .micro-label {
        margin: 16px 18px 2px;
        color: var(--portfolio-ink);
    }

    .featured-card h3 {
        margin-inline: 18px;
        font-family: var(--portfolio-display);
        font-size: 20px;
        font-weight: 400;
        letter-spacing: -.02em;
        line-height: 26px;
    }

    .featured-card p {
        min-height: 72px;
        margin-inline: 18px;
        color: var(--portfolio-muted);
    }

    .featured-link {
        margin-top: 12px;
        margin-inline: 18px;
        font-size: 14px;
    }

    .featured-meta {
        margin-top: 12px;
        margin-inline: 18px;
        color: var(--portfolio-muted);
        font-size: 14px;
    }

    a.featured-card:hover,
    a.featured-card:focus-visible {
        background: var(--portfolio-panel-raised);
        color: #8a8a86;
    }

    .featured-card-static {
        min-height: clamp(320px, 31vw, 460px);
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
        grid-template-rows: auto auto 1fr auto;
        padding-bottom: 0;
    }

    .featured-card-static > figure {
        grid-column: 1;
        grid-row: 1 / 5;
        height: 100%;
        aspect-ratio: auto;
        border-right: 0;
    }

    .featured-card-static > .micro-label,
    .featured-card-static > h3,
    .featured-card-static > p,
    .featured-card-static > .featured-meta {
        grid-column: 2;
    }

    .featured-card-static > .micro-label {
        grid-row: 1;
        margin-top: 24px;
    }

    .featured-card-static > h3 {
        grid-row: 2;
        font-size: clamp(28px, 3vw, 48px);
        letter-spacing: -.05em;
        line-height: 1;
    }

    .featured-card-static > p {
        grid-row: 3;
        max-width: 480px;
        min-height: 0;
        margin-top: 20px;
        font-size: 17px;
        line-height: 1.4;
    }

    .featured-card-static > .featured-meta {
        grid-row: 4;
        margin-bottom: 24px;
    }

    .featured-type-tile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 7%;
        color: var(--portfolio-ink);
        font-size: clamp(72px, 10vw, 172px);
        font-weight: 500;
        letter-spacing: -.07em;
        line-height: .88;
    }

    .featured-type-tile span:last-child {
        color: #3b3b39;
        text-align: right;
    }

    .facts-content h3,
    .footer-intro h3 {
        max-width: 900px;
        font-family: var(--portfolio-display);
        font-size: clamp(40px, 5.1vw, 78px);
        font-weight: 500;
        letter-spacing: -.055em;
        line-height: 1;
    }

    .facts-content .profile-copy {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
        margin-top: 64px;
    }

    .facts-content .profile-copy p {
        color: var(--portfolio-ink);
        font-size: 20px;
        line-height: 28px;
    }

    .facts-content .profile-copy p + p {
        margin-top: 0;
    }

    .fact-list {
        margin-top: 64px;
        border-bottom: 1px solid var(--portfolio-line);
    }

    .fact-list article {
        display: grid;
        grid-template-columns: .45fr 1fr .75fr;
        gap: 16px;
        padding: 14px 0;
        border-top: 1px solid var(--portfolio-line);
        align-items: baseline;
    }

    .fact-list span {
        color: var(--portfolio-muted);
        font-family: var(--portfolio-mono);
        font-size: 10px;
        letter-spacing: .08em;
        line-height: 20px;
        text-transform: uppercase;
    }

    .fact-list strong,
    .fact-list small {
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
    }

    .fact-list small {
        color: var(--portfolio-muted);
    }

    .cv-section {
        width: calc(100% - 12px);
        max-width: none;
        margin: 6px;
        padding: clamp(24px, 3vw, 48px);
        overflow: hidden;
        border-radius: var(--portfolio-radius);
        background: var(--portfolio-paper);
        color: #0b0b0a;
        font-family: var(--portfolio-display);
    }

    .cv-header {
        padding-bottom: clamp(56px, 7vw, 112px);
    }

    .section-kicker-dark,
    .cv-label {
        color: #62615b;
        font-family: var(--portfolio-mono);
        font-weight: 500;
        letter-spacing: .08em;
    }

    .section-kicker-dark > span:first-child {
        color: #0b0b0a;
    }

    .cv-header h2 {
        margin-top: clamp(40px, 5vw, 76px);
        font-family: var(--portfolio-display);
        font-size: clamp(56px, 8vw, 132px);
        font-weight: 500;
        letter-spacing: -.075em;
        line-height: .86;
    }

    .cv-header p {
        color: #62615b;
        font-size: clamp(14px, 1.2vw, 18px);
    }

    .print-button {
        border-color: #0b0b0a;
        border-radius: 8px;
        color: #0b0b0a;
        font-family: var(--portfolio-mono);
        font-size: 9px;
        font-weight: 500;
        letter-spacing: .06em;
        transition:
            background-color var(--motion-fast) ease,
            color var(--motion-fast) ease;
    }

    .print-button span:last-child {
        display: inline-block;
        transition: transform var(--motion-space) var(--motion-ease);
    }

    .print-button:hover,
    .print-button:focus-visible {
        background: #0b0b0a;
        color: var(--portfolio-paper);
    }

    .print-button:hover span:last-child,
    .print-button:focus-visible span:last-child {
        transform: translateY(2px);
    }

    .cv-grid {
        border-color: var(--portfolio-paper-line);
    }

    .cv-block {
        border-color: var(--portfolio-paper-line);
    }

    .cv-label {
        font-size: 9px;
    }

    .cv-summary {
        font-family: var(--portfolio-display);
        font-weight: 500;
        letter-spacing: -.045em;
    }

    .cv-entry h3,
    .cv-tools {
        font-family: var(--portfolio-display);
    }

    .cv-entry + .cv-entry,
    .cv-subgrid {
        border-color: rgba(11, 11, 10, .18);
    }

    .cv-entry-head span,
    .cv-entry > p {
        color: #62615b;
    }

    .cv-tags li {
        border-color: rgba(11, 11, 10, .28);
        border-radius: 4px;
    }

    .site-footer {
        position: relative;
        isolation: isolate;
        width: calc(100% - 12px);
        max-width: none;
        margin: 6px;
        padding: 120px var(--portfolio-gutter) 24px;
        display: block;
        overflow: hidden;
        border-radius: var(--portfolio-radius);
        background: #090909;
        color: var(--portfolio-ink);
        font-size: 16px;
        letter-spacing: normal;
        text-transform: none;
    }

    .footer-intro > div:last-child > p {
        max-width: 560px;
        margin-top: 24px;
        color: var(--portfolio-muted);
        font-size: 20px;
        line-height: 28px;
    }

    .footer-directory {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-top: 96px;
    }

    .site-footer .footer-intro,
    .site-footer .footer-directory {
        display: grid;
        flex-wrap: initial;
    }

    .site-footer .footer-intro {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 16px;
    }

    .site-footer .footer-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .footer-primary,
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        font-size: clamp(28px, 2.78vw, 40px);
        letter-spacing: -.03em;
        line-height: 1.1;
    }

    .footer-primary > a {
        overflow-wrap: anywhere;
    }

    .footer-primary > span {
        color: var(--portfolio-muted);
    }

    .footer-links a:hover,
    .footer-links a:focus-visible,
    .footer-primary a:hover,
    .footer-primary a:focus-visible {
        color: #8a8a86;
    }

    .footer-links a,
    .footer-primary a,
    .footer-wordmark {
        transition: color var(--motion-fast) ease;
    }

    .footer-wordmark {
        display: block;
        margin-top: 170px;
        color: var(--portfolio-ink);
        font-family: var(--portfolio-display);
        font-size: clamp(72px, 9.2vw, 168px);
        font-weight: 500;
        letter-spacing: -.075em;
        line-height: .8;
        white-space: nowrap;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        gap: 24px;
        margin-top: 56px;
        padding-top: 16px;
        border-top: 1px solid var(--portfolio-line);
        color: var(--portfolio-muted);
        font-family: var(--portfolio-mono);
        font-size: 10px;
        letter-spacing: .08em;
        line-height: 20px;
        text-transform: uppercase;
    }

    /* Motion grammar: frame first, content second, always in reading order. */
    .motion-ready .site-header .brand,
    .motion-ready .site-header .header-name,
    .motion-ready .site-header .nav-links > a,
    .motion-ready .site-header .language-switch,
    .motion-ready .site-header .menu-toggle {
        opacity: 0;
    }

    .motion-ready.motion-started .site-header .brand,
    .motion-ready.motion-started .site-header .header-name,
    .motion-ready.motion-started .site-header .nav-links > a,
    .motion-ready.motion-started .site-header .language-switch,
    .motion-ready.motion-started .site-header .menu-toggle {
        opacity: 1;
        transition: opacity 480ms ease;
    }

    .motion-ready.motion-started .site-header .brand {
        transition-delay: 40ms;
    }

    .motion-ready.motion-started .site-header .header-name,
    .motion-ready.motion-started .site-header .nav-links > a,
    .motion-ready.motion-started .site-header .language-switch,
    .motion-ready.motion-started .site-header .menu-toggle {
        transition-delay: 90ms;
    }

    .motion-ready .hero-stage {
        opacity: 0;
        transform: scale(.995);
    }

    .motion-ready.motion-started .hero-stage {
        opacity: 1;
        transform: scale(1);
        transition:
            opacity 420ms ease 60ms,
            transform 720ms var(--motion-ease) 60ms;
    }

    .motion-ready .hero-overline {
        clip-path: inset(0 100% 0 0);
    }

    .motion-ready.motion-started .hero-overline {
        clip-path: inset(0 0 0 0);
        transition: clip-path 620ms var(--motion-ease) 180ms;
    }

    .motion-ready .hero .hero-title > span:first-child {
        opacity: 0;
        transform: translate3d(0, 22%, 0);
    }

    .motion-ready .hero .hero-title > span:last-child {
        clip-path: inset(0 100% 0 0);
    }

    .motion-ready .hero .hero-title .hero-direction {
        opacity: 0;
        transform: scaleX(0);
    }

    .motion-ready.motion-started .hero .hero-title > span:first-child {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition:
            opacity 300ms ease,
            transform 760ms var(--motion-ease);
        transition-delay: 220ms;
    }

    .motion-ready.motion-started .hero .hero-title .hero-direction {
        opacity: 1;
        transform: scaleX(1);
        transition:
            opacity 180ms ease 340ms,
            transform 420ms var(--motion-ease) 340ms;
    }

    .motion-ready.motion-started .hero .hero-title > span:last-child {
        clip-path: inset(0 0 0 0);
        transition: clip-path 720ms var(--motion-ease) 400ms;
    }

    .motion-ready .hero-capabilities li {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
        transform: translate3d(10px, 0, 0);
    }

    .motion-ready.motion-started .hero-capabilities li {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translate3d(0, 0, 0);
        transition:
            clip-path 520ms var(--motion-ease),
            opacity 240ms ease,
            transform 520ms var(--motion-ease);
    }

    .motion-ready.motion-started .hero-capabilities li:nth-child(1) {
        transition-delay: 460ms;
    }

    .motion-ready.motion-started .hero-capabilities li:nth-child(2) {
        transition-delay: 510ms;
    }

    .motion-ready.motion-started .hero-capabilities li:nth-child(3) {
        transition-delay: 560ms;
    }

    .motion-ready.motion-started .hero-capabilities li:nth-child(4) {
        transition-delay: 610ms;
    }

    .motion-ready .hero-description {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translate3d(0, 10px, 0);
    }

    .motion-ready.motion-started .hero-description {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translate3d(0, 0, 0);
        transition:
            clip-path 720ms var(--motion-ease) 560ms,
            opacity 260ms ease 560ms,
            transform 720ms var(--motion-ease) 560ms;
    }

    .motion-ready .hero-feed,
    .motion-ready .hero-selected,
    .motion-ready .hero-availability {
        opacity: 0;
        transform: translate3d(0, 8px, 0);
    }

    .motion-ready.motion-started .hero-feed,
    .motion-ready.motion-started .hero-selected,
    .motion-ready.motion-started .hero-availability {
        animation: editorial-copy-in 520ms var(--motion-ease) both;
    }

    .motion-ready.motion-started .hero-feed {
        animation-delay: 680ms;
    }

    .motion-ready.motion-started .hero-selected {
        animation-delay: 740ms;
    }

    .motion-ready.motion-started .hero-availability {
        animation-delay: 800ms;
    }

    /* Focus retains the original counter + grid construction. */
    .motion-ready [data-reveal]:not([data-motion]) {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
        transition:
            opacity 560ms var(--motion-ease),
            transform var(--motion-slow) var(--motion-ease);
        transition-delay: var(--reveal-delay, 0ms);
    }

    .motion-ready [data-reveal]:not([data-motion]).is-revealed {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    @keyframes editorial-copy-in {
        from {
            opacity: 0;
            transform: translate3d(0, 10px, 0);
        }

        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }

    @keyframes editorial-title-in {
        from {
            opacity: 0;
            clip-path: inset(0 0 100% 0);
            transform: translate3d(0, 18%, 0);
        }

        to {
            opacity: 1;
            clip-path: inset(0 0 0 0);
            transform: translate3d(0, 0, 0);
        }
    }

    .motion-ready [data-motion="section-head"],
    .motion-ready [data-motion="section-label"] {
        opacity: 0;
        transform: translate3d(-12px, 0, 0);
    }

    .motion-ready [data-motion="section-head"].is-revealed,
    .motion-ready [data-motion="section-label"].is-revealed {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition:
            opacity 360ms ease var(--reveal-delay, 0ms),
            transform 620ms var(--motion-ease) var(--reveal-delay, 0ms);
    }

    .motion-ready .project-card[data-motion="project"],
    .motion-ready .featured-card[data-motion],
    .motion-ready .facts-content[data-motion="profile"],
    .motion-ready .cv-header[data-motion="document-head"],
    .motion-ready .footer-intro[data-motion],
    .motion-ready .footer-directory[data-motion],
    .motion-ready .footer-wordmark[data-motion],
    .motion-ready .footer-bottom[data-motion] {
        opacity: 1;
        transform: none;
    }

    .motion-ready .project-card[data-motion="project"] figure {
        clip-path: inset(0 0 100% 0 round var(--portfolio-radius));
        transition: clip-path 760ms var(--motion-ease) var(--reveal-delay, 0ms);
    }

    .motion-ready .project-card[data-motion="project"] img {
        transform: scale(1.025);
        transition: transform 960ms var(--motion-ease) var(--reveal-delay, 0ms);
    }

    .motion-ready .project-card[data-motion="project"] .project-info > * {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }

    .motion-ready .project-card[data-motion="project"].is-revealed figure {
        clip-path: inset(0 0 0 0 round var(--portfolio-radius));
    }

    .motion-ready .project-card[data-motion="project"].is-revealed img {
        transform: scale(1);
    }

    .motion-ready .project-card[data-motion="project"].is-revealed .project-number,
    .motion-ready .project-card[data-motion="project"].is-revealed .project-info h3,
    .motion-ready .project-card[data-motion="project"].is-revealed .project-info p,
    .motion-ready .project-card[data-motion="project"].is-revealed .project-arrow {
        animation: editorial-copy-in 520ms var(--motion-ease) both;
    }

    .motion-ready .project-card[data-motion="project"].is-revealed .project-number {
        animation-delay: calc(var(--reveal-delay, 0ms) + 150ms);
    }

    .motion-ready .project-card[data-motion="project"].is-revealed .project-info h3 {
        animation-delay: calc(var(--reveal-delay, 0ms) + 210ms);
    }

    .motion-ready .project-card[data-motion="project"].is-revealed .project-info p,
    .motion-ready .project-card[data-motion="project"].is-revealed .project-arrow {
        animation-delay: calc(var(--reveal-delay, 0ms) + 260ms);
    }

    .motion-ready .featured-card[data-motion="case"] figure,
    .motion-ready .featured-card[data-motion="workflow"] > figure {
        clip-path: inset(0 100% 0 0);
        transition: clip-path 760ms var(--motion-ease) var(--reveal-delay, 0ms);
    }

    .motion-ready .featured-card[data-motion="case"] img {
        transform: scale(1.025);
        transition: transform 960ms var(--motion-ease) var(--reveal-delay, 0ms);
    }

    .motion-ready .featured-card[data-motion] > .micro-label,
    .motion-ready .featured-card[data-motion] > h3,
    .motion-ready .featured-card[data-motion] > p,
    .motion-ready .featured-card[data-motion] > .featured-link,
    .motion-ready .featured-card[data-motion] > .featured-meta {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }

    .motion-ready .featured-card[data-motion].is-revealed figure {
        clip-path: inset(0 0 0 0);
    }

    .motion-ready .featured-card[data-motion="case"].is-revealed img {
        transform: scale(1);
    }

    .motion-ready .featured-card[data-motion].is-revealed > .micro-label,
    .motion-ready .featured-card[data-motion].is-revealed > h3,
    .motion-ready .featured-card[data-motion].is-revealed > p,
    .motion-ready .featured-card[data-motion].is-revealed > .featured-link,
    .motion-ready .featured-card[data-motion].is-revealed > .featured-meta {
        animation: editorial-copy-in 520ms var(--motion-ease) both;
    }

    .motion-ready .featured-card[data-motion].is-revealed > .micro-label {
        animation-delay: calc(var(--reveal-delay, 0ms) + 150ms);
    }

    .motion-ready .featured-card[data-motion].is-revealed > h3 {
        animation-delay: calc(var(--reveal-delay, 0ms) + 210ms);
    }

    .motion-ready .featured-card[data-motion].is-revealed > p {
        animation-delay: calc(var(--reveal-delay, 0ms) + 270ms);
    }

    .motion-ready .featured-card[data-motion].is-revealed > .featured-link,
    .motion-ready .featured-card[data-motion].is-revealed > .featured-meta {
        animation-delay: calc(var(--reveal-delay, 0ms) + 330ms);
    }

    .motion-ready .facts-content[data-motion="profile"] > h3,
    .motion-ready .cv-header[data-motion="document-head"] h2,
    .motion-ready .footer-intro[data-motion="footer-intro"] h3 {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translate3d(0, 18%, 0);
    }

    .motion-ready .facts-content[data-motion="profile"].is-revealed > h3,
    .motion-ready .cv-header[data-motion="document-head"].is-revealed h2,
    .motion-ready .footer-intro[data-motion="footer-intro"].is-revealed h3 {
        animation: editorial-title-in 760ms var(--motion-ease) both;
        animation-delay: var(--reveal-delay, 0ms);
    }

    .motion-ready .facts-content[data-motion="profile"] .profile-copy p,
    .motion-ready .cv-header[data-motion="document-head"] .section-kicker,
    .motion-ready .cv-header[data-motion="document-head"] > div > p,
    .motion-ready .cv-header[data-motion="document-head"] .print-button,
    .motion-ready .footer-intro[data-motion="footer-intro"] .section-label,
    .motion-ready .footer-intro[data-motion="footer-intro"] p {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }

    .motion-ready .facts-content[data-motion="profile"].is-revealed .profile-copy p,
    .motion-ready .cv-header[data-motion="document-head"].is-revealed .section-kicker,
    .motion-ready .cv-header[data-motion="document-head"].is-revealed > div > p,
    .motion-ready .cv-header[data-motion="document-head"].is-revealed .print-button,
    .motion-ready .footer-intro[data-motion="footer-intro"].is-revealed .section-label,
    .motion-ready .footer-intro[data-motion="footer-intro"].is-revealed p {
        animation: editorial-copy-in 560ms var(--motion-ease) both;
    }

    .motion-ready .facts-content[data-motion="profile"].is-revealed .profile-copy p:first-child {
        animation-delay: 180ms;
    }

    .motion-ready .facts-content[data-motion="profile"].is-revealed .profile-copy p:last-child {
        animation-delay: 260ms;
    }

    .motion-ready .facts-content[data-motion="profile"] .fact-list article {
        clip-path: inset(0 100% 0 0);
        transition: clip-path 680ms var(--motion-ease);
    }

    .motion-ready .facts-content[data-motion="profile"].is-revealed .fact-list article {
        clip-path: inset(0 0 0 0);
    }

    .motion-ready .facts-content[data-motion="profile"].is-revealed .fact-list article:nth-child(1) {
        transition-delay: 360ms;
    }

    .motion-ready .facts-content[data-motion="profile"].is-revealed .fact-list article:nth-child(2) {
        transition-delay: 440ms;
    }

    .motion-ready .facts-content[data-motion="profile"].is-revealed .fact-list article:nth-child(3) {
        transition-delay: 520ms;
    }

    .motion-ready .cv-header[data-motion="document-head"].is-revealed .section-kicker {
        animation-delay: 0ms;
    }

    .motion-ready .cv-header[data-motion="document-head"].is-revealed h2 {
        animation-delay: 90ms;
    }

    .motion-ready .cv-header[data-motion="document-head"].is-revealed > div > p {
        animation-delay: 210ms;
    }

    .motion-ready .cv-header[data-motion="document-head"].is-revealed .print-button {
        animation-delay: 260ms;
    }

    .motion-ready .footer-intro[data-motion="footer-intro"].is-revealed .section-label {
        animation-delay: 0ms;
    }

    .motion-ready .footer-intro[data-motion="footer-intro"].is-revealed h3 {
        animation-delay: 80ms;
    }

    .motion-ready .footer-intro[data-motion="footer-intro"].is-revealed p {
        animation-delay: 220ms;
    }

    .motion-ready .footer-directory[data-motion="footer-directory"] > * {
        clip-path: inset(0 100% 0 0);
        transition: clip-path 700ms var(--motion-ease);
    }

    .motion-ready .footer-directory[data-motion="footer-directory"].is-revealed > * {
        clip-path: inset(0 0 0 0);
    }

    .motion-ready .footer-directory[data-motion="footer-directory"].is-revealed > :first-child {
        transition-delay: 0ms;
    }

    .motion-ready .footer-directory[data-motion="footer-directory"].is-revealed > :last-child {
        transition-delay: 90ms;
    }

    .motion-ready .footer-wordmark[data-motion="wordmark"] {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }

    .motion-ready .footer-wordmark[data-motion="wordmark"].is-revealed {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition:
            opacity 420ms ease,
            transform 760ms var(--motion-ease);
    }

    .motion-ready .footer-bottom[data-motion="footer-bottom"] {
        opacity: 0;
        transform: translate3d(0, 8px, 0);
    }

    .motion-ready .footer-bottom[data-motion="footer-bottom"].is-revealed {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition:
            opacity 360ms ease,
            transform 620ms var(--motion-ease);
    }
}

@media screen and (max-width: 1180px) {
    .header-name {
        display: none;
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-card:nth-child(4n + 1),
    .project-card:nth-child(4n + 2),
    .project-card:nth-child(4n + 3),
    .project-card:nth-child(4n + 4) {
        grid-column: auto;
    }

    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 64px;
    }

    .featured-card {
        grid-column: auto;
    }

    .featured-card-static {
        grid-column: 1 / -1;
    }

    .featured-card p {
        min-height: 44px;
    }

    .featured-card[data-reveal] {
        --reveal-delay: 0ms !important;
    }

    .featured-card[data-reveal]:nth-child(even) {
        --reveal-delay: 70ms !important;
    }

    .featured-card-static[data-reveal] {
        --reveal-delay: 0ms !important;
    }
}

@media screen and (max-width: 960px) and (min-width: 810px) {
    .section-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-split > .section-label,
    .section-split > :last-child {
        grid-column: 1;
    }
}

@media screen and (max-width: 960px) {
    .site-footer .footer-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .site-footer .footer-intro > .section-label,
    .site-footer .footer-intro > :last-child {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 809px) {
    :root {
        --portfolio-gutter: 16px;
    }

    [data-reveal] {
        --reveal-delay: 0ms !important;
    }

    body.menu-open {
        overflow: hidden;
    }

    #work,
    #profile,
    #cv,
    #contact {
        scroll-margin-top: 64px;
    }

    .site-header {
        height: 64px;
    }

    .header-inner {
        min-height: 64px;
        display: flex;
        justify-content: space-between;
        gap: 16px;
    }

    .main-nav {
        position: fixed;
        top: 64px;
        right: 0;
        left: 0;
        width: 100%;
        justify-self: stretch;
        display: block;
        padding: 16px 16px 28px;
        border-top: 1px solid var(--portfolio-line);
        background: var(--portfolio-bg);
        font-size: 32px;
        line-height: 1.1;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(0, -10px, 0);
        transition:
            opacity var(--motion-fast) ease,
            transform 480ms var(--motion-ease),
            visibility 0s linear 480ms;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
        transition-delay: 0s;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .main-nav .language-switch {
        margin-top: 28px;
        font-size: 12px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 22px;
        height: 1px;
        display: block;
        background: var(--portfolio-ink);
        transform-origin: center;
        transition: transform 420ms var(--motion-ease);
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .hero {
        height: 100svh;
        min-height: 640px;
        padding: 64px 4px 4px;
    }

    .hero-stage {
        min-height: 572px;
        padding: 18px 14px 16px;
        border-radius: 14px;
    }

    .hero-media-shift {
        inset: -3% -10%;
    }

    .hero-video {
        object-position: 50% 50%;
        opacity: .78;
        filter: grayscale(1) contrast(1.14) brightness(.6);
    }

    .hero-overline {
        grid-template-columns: 1fr auto;
        row-gap: 0;
        padding-top: 0;
        font-size: 8px;
        letter-spacing: .06em;
        line-height: 16px;
    }

    .hero-overline span:nth-child(2) {
        display: none;
    }

    .hero-overline span:last-child {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .hero .hero-title {
        margin-top: clamp(30px, 5.5vh, 46px);
        font-size: clamp(38px, 12.7vw, 52px);
        line-height: .78;
    }

    .hero-capabilities {
        top: auto;
        right: 0;
        bottom: clamp(26px, 5vh, 42px);
        max-width: 220px;
        font-size: 11px;
        line-height: 1.5;
    }

    .hero-description {
        max-width: 310px;
        font-size: 14px;
        line-height: 1.35;
    }

    .hero-footer {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 14px 10px;
        align-items: end;
    }

    .hero-copy {
        grid-column: 1 / -1;
        max-width: 320px;
    }

    .hero-feed {
        margin-top: 12px;
        font-size: 8px;
        line-height: 16px;
    }

    .hero-selected {
        grid-column: 1;
        font-size: 8px;
        line-height: 16px;
    }

    .hero-availability {
        grid-column: 2;
        width: max-content;
        justify-self: end;
        font-size: 8px;
        line-height: 16px;
    }

    .work-section,
    .editorial-section {
        width: calc(100% - 8px);
        margin: 4px;
        padding: 68px var(--portfolio-gutter) 80px;
        border-radius: 12px;
    }

    .portfolio-label-row {
        grid-template-columns: 1fr auto;
        margin-bottom: 32px;
        font-size: 14px;
        line-height: 20px;
    }

    .portfolio-label-row > p {
        display: none;
    }

    .portfolio-label-row > .section-label {
        grid-column: 1;
    }

    .portfolio-label-row > a {
        grid-column: 2;
    }

    .section-label {
        font-size: 9px;
        line-height: 18px;
    }

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

    .project-card:nth-child(4n + 1),
    .project-card:nth-child(4n + 2),
    .project-card:nth-child(4n + 3),
    .project-card:nth-child(4n + 4) {
        grid-column: auto;
    }

    .project-info {
        min-height: 84px;
        grid-template-columns: 1fr;
        padding: 14px 30px 0 0;
    }

    .project-number {
        line-height: 16px;
    }

    .project-info h3 {
        font-size: 28px;
        line-height: 1;
    }

    .project-info p {
        grid-column: 1;
        grid-row: 3;
        font-size: 13px;
        line-height: 18px;
        text-align: left;
    }

    .project-arrow {
        top: 14px;
        bottom: auto;
        font-size: 16px;
        line-height: 20px;
    }

    .section-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-split > .section-label,
    .section-split > :last-child {
        grid-column: 1;
    }

    .focus-list {
        font-size: clamp(40px, 12vw, 54px);
        line-height: .94;
    }

    .skill-levels {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }

    .skill-levels article {
        padding: 18px 0 22px;
        border-left: 0;
    }

    .skill-levels article::before {
        inset: 0 0 auto;
        width: auto;
        height: 1px;
        transform-origin: left center;
    }

    .motion-ready .skill-levels[data-reveal] article::before {
        transform: scaleX(0);
    }

    .motion-ready .skill-levels[data-reveal].is-revealed article::before {
        transform: scaleX(1);
    }

    .featured-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .featured-card,
    .featured-card-static {
        grid-column: auto;
    }

    .featured-card-static {
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .featured-card-static > figure,
    .featured-card-static > .micro-label,
    .featured-card-static > h3,
    .featured-card-static > p,
    .featured-card-static > .featured-meta {
        grid-column: 1;
        grid-row: auto;
    }

    .featured-card-static > figure {
        height: auto;
        aspect-ratio: 1;
        border-right: 0;
    }

    .featured-card p {
        min-height: 0;
    }

    .featured-type-tile {
        font-size: clamp(52px, 17vw, 72px);
    }

    .facts-content h3,
    .footer-intro h3 {
        font-size: clamp(38px, 10.6vw, 52px);
        line-height: 1;
    }

    .facts-content .profile-copy {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 40px;
    }

    .facts-content .profile-copy p,
    .footer-intro > div:last-child > p {
        font-size: 16px;
        line-height: 22px;
    }

    .facts-content .profile-copy p + p {
        margin-top: 0;
    }

    .fact-list {
        margin-top: 48px;
    }

    .fact-list article {
        grid-template-columns: .6fr 1.4fr;
        row-gap: 2px;
    }

    .fact-list small {
        grid-column: 2;
    }

    .site-footer {
        width: calc(100% - 8px);
        margin: 4px;
        padding: 68px var(--portfolio-gutter) 20px;
        border-radius: 12px;
    }

    .site-footer .footer-intro {
        gap: 32px;
    }

    .site-footer .footer-directory {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-top: 64px;
    }

    .cv-section {
        width: calc(100% - 8px);
        margin: 4px;
        padding: 18px;
        border-radius: 12px;
    }

    .cv-header h2 {
        font-size: clamp(44px, 14vw, 58px);
    }

    .footer-primary,
    .footer-links {
        font-size: 28px;
        line-height: 1.18;
    }

    .footer-primary {
        font-size: clamp(21px, 6vw, 24px);
    }

    .footer-primary a {
        overflow-wrap: anywhere;
    }

    .footer-wordmark {
        margin-top: 112px;
        font-size: 9.3vw;
        letter-spacing: -.075em;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
        margin-top: 40px;
    }
}

@media screen and (max-width: 360px) {
    .portfolio-label-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .portfolio-label-row > .section-label,
    .portfolio-label-row > a {
        grid-column: 1;
    }

    .portfolio-label-row > a {
        justify-self: end;
    }
}

@media (hover: none) {
    .brand:hover .brand-output,
    .project-card a:hover .project-arrow,
    .print-button:hover span:last-child {
        transform: none;
    }

    .project-card a:hover figure::after {
        border-color: transparent;
    }

    .project-card a:hover .project-info h3 {
        color: var(--portfolio-ink);
    }

    .project-card a:hover .project-arrow,
    .portfolio-label-row > a:hover {
        color: var(--portfolio-muted);
    }

    a.featured-card:hover {
        background: var(--portfolio-panel);
        color: var(--portfolio-ink);
    }

    .print-button:hover {
        background: transparent;
        color: #0b0b0a;
    }

    .footer-links a:hover,
    .footer-primary a:hover {
        color: var(--portfolio-ink);
    }
}

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

    .site-header {
        transition: none !important;
    }

    .site-header.is-hidden {
        pointer-events: auto;
        transform: none !important;
    }

    .motion-ready .site-header .brand,
    .motion-ready .site-header .nav-links > a,
    .motion-ready .site-header .language-switch,
    .motion-ready .site-header .menu-toggle,
    .motion-ready .hero-stage,
    .motion-ready .hero-overline,
    .motion-ready .hero-capabilities li,
    .motion-ready .hero-description,
    .motion-ready .hero-feed,
    .motion-ready .hero-selected,
    .motion-ready .hero-availability,
    .motion-ready .hero .hero-title > span,
    .motion-ready .hero .hero-title .hero-direction,
    .motion-ready [data-reveal],
    .motion-ready [data-motion],
    .motion-ready [data-motion] * {
        opacity: 1 !important;
        clip-path: none !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    .hero-media-shift {
        inset: 0 !important;
        transform: none !important;
        will-change: auto;
    }

    .focus-char-track {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .motion-ready .skill-levels[data-reveal]::before,
    .motion-ready .skill-levels[data-reveal]::after,
    .motion-ready .skill-levels[data-reveal] article::before,
    .motion-ready .skill-levels[data-reveal] h3 > span,
    .motion-ready .skill-levels[data-reveal] p {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }

    .motion-ready .site-header .header-name {
        opacity: 1 !important;
        transform: translateX(16px) !important;
        transition: none !important;
    }

    .project-card img,
    .project-info h3,
    .project-arrow,
    .featured-card figure,
    .brand-output,
    .main-nav,
    .menu-toggle span {
        transition: none !important;
    }

    .brand:hover .brand-output,
    .brand:focus-visible .brand-output {
        transform: none !important;
    }
}
