/* PDF-inspired Portfolio — intentionally isolated from the rest of the theme. */
.is-portfolio-pdf {
    --pdf-black: #050505;
    --pdf-white: #f7f7f4;
    --pdf-red: #ff3b30;
    --pdf-muted-dark: #565656;
    --pdf-muted-light: #b7b7b2;
    overflow-x: clip;
    background: var(--pdf-white);
    background-image: none;
    color: var(--pdf-black);
    transition: background-color 0.45s ease, color 0.45s ease;
}

.is-portfolio-pdf .main-content {
    max-width: none;
    margin: 0;
    padding: 0;
}

.is-portfolio-pdf .sidebar {
    display: none;
}

.is-portfolio-pdf .site-footer {
    position: relative;
    z-index: 5;
    margin: 0;
    padding: 55px 30px;
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--pdf-black);
    color: var(--pdf-muted-light);
}

.is-portfolio-pdf .site-header {
    transition: color 0.4s ease;
}

.is-portfolio-pdf .main-nav {
    border-color: rgba(5, 5, 5, 0.14);
    background: rgba(247, 247, 244, 0.78);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.12);
}

.is-portfolio-pdf .nav-list a,
.is-portfolio-pdf .nav-item-main a {
    color: rgba(5, 5, 5, 0.68) !important;
}

.is-portfolio-pdf .nav-list a:hover,
.is-portfolio-pdf .nav-item-main a:hover {
    color: var(--pdf-black) !important;
    background: rgba(5, 5, 5, 0.08) !important;
}

.is-portfolio-pdf .nav-list a.active {
    border-color: rgba(5, 5, 5, 0.2);
    background: var(--pdf-black) !important;
    color: var(--pdf-white) !important;
    animation: none;
    box-shadow: none;
}

.is-portfolio-pdf[data-portfolio-theme="dark"] .main-nav {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(5, 5, 5, 0.72);
}

.is-portfolio-pdf[data-portfolio-theme="dark"] .nav-list a,
.is-portfolio-pdf[data-portfolio-theme="dark"] .nav-item-main a {
    color: rgba(247, 247, 244, 0.68) !important;
}

.is-portfolio-pdf[data-portfolio-theme="dark"] .nav-list a:hover,
.is-portfolio-pdf[data-portfolio-theme="dark"] .nav-item-main a:hover {
    color: var(--pdf-white) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.is-portfolio-pdf[data-portfolio-theme="dark"] .nav-list a.active {
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--pdf-white) !important;
    color: var(--pdf-black) !important;
}

.pdf-portfolio {
    --pdf-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    width: 100%;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    isolation: isolate;
}

.pdf-portfolio img {
    display: block;
    max-width: 100%;
}

.pdf-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1200;
    height: 3px;
    background: rgba(128, 128, 128, 0.16);
    pointer-events: none;
}

.pdf-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--pdf-red);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.pdf-rail {
    position: fixed;
    top: 50%;
    left: 22px;
    z-index: 850;
    display: flex;
    flex-direction: column;
    width: 125px;
    transform: translateY(-50%);
    mix-blend-mode: difference;
}

.pdf-rail a {
    position: relative;
    display: grid;
    grid-template-columns: 23px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.48);
    font-family: var(--pdf-display);
    font-size: 0.68rem;
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.pdf-rail a span:first-child {
    font-variant-numeric: tabular-nums;
    opacity: 0.62;
}

.pdf-rail a span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-rail a:hover,
.pdf-rail a[aria-current="true"] {
    color: #fff;
}

.pdf-rail a[aria-current="true"]::before {
    content: "";
    position: absolute;
    left: -9px;
    width: 3px;
    height: 18px;
    background: #fff;
}

.pdf-scene,
.pdf-project {
    position: relative;
    width: 100%;
    scroll-margin-top: 84px;
}

.pdf-theme-light {
    --pdf-scene-bg: var(--pdf-white);
    --pdf-scene-fg: var(--pdf-black);
    --pdf-scene-muted: var(--pdf-muted-dark);
    --pdf-accent: #007b83;
    background: var(--pdf-scene-bg);
    color: var(--pdf-scene-fg);
}

.pdf-theme-dark {
    --pdf-scene-bg: var(--pdf-black);
    --pdf-scene-fg: var(--pdf-white);
    --pdf-scene-muted: var(--pdf-muted-light);
    --pdf-accent: var(--holo-cyan);
    background: var(--pdf-scene-bg);
    color: var(--pdf-scene-fg);
}

.pdf-overline {
    margin: 0 0 22px;
    color: var(--pdf-accent);
    font-family: var(--pdf-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.pdf-motion-layer {
    --pdf-depth-y: 0px;
    will-change: transform;
}

/* Cover */
.pdf-cover {
    min-height: 100svh;
    overflow: hidden;
}

.pdf-cover::before,
.pdf-cover::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: clamp(160px, 24vw, 430px);
    height: clamp(22px, 3.2vw, 54px);
    background: var(--pdf-black);
    pointer-events: none;
}

.pdf-cover::before {
    top: 18%;
    left: 28%;
    transform: rotate(4deg);
}

.pdf-cover::after {
    right: 3%;
    bottom: 24%;
    transform: rotate(-5deg);
}

.pdf-cover__art {
    position: absolute;
    inset: 0 0 0 12%;
    transform: translate3d(0, var(--pdf-depth-y), 0) scale(1.02);
}

.pdf-cover__art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.pdf-cover__title {
    --pdf-title-progress: 0;
    position: absolute;
    top: 9%;
    bottom: 10%;
    left: clamp(32px, 6vw, 105px);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    writing-mode: vertical-rl;
    transform: translateY(calc(var(--pdf-title-progress) * 28px)) rotate(180deg);
}

.pdf-cover__title h1,
.pdf-cover__title p {
    margin: 0;
    font-family: var(--pdf-display);
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: -0.055em;
    text-transform: none;
}

.pdf-cover__title h1 {
    font-size: clamp(4rem, 7.8vw, 9rem);
    background: var(--holo-gradient);
    background-size: 200% auto;
    color: var(--holo-cyan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holo-shimmer 7s linear infinite;
}

.pdf-cover__title p {
    margin-left: 10px;
    font-size: clamp(2rem, 4.1vw, 4.7rem);
    font-weight: 800;
}

.pdf-cover__title span {
    margin-top: 20px;
    font-family: var(--pdf-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.pdf-cover__scroll {
    position: absolute;
    right: clamp(28px, 5vw, 88px);
    bottom: clamp(28px, 5vh, 60px);
    z-index: 4;
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 2px solid currentColor;
    color: var(--pdf-black);
    font-family: var(--pdf-display);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Introduction */
.pdf-introduction {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr);
    align-items: center;
    gap: clamp(40px, 8vw, 150px);
    min-height: 100svh;
    padding: clamp(120px, 14vh, 180px) clamp(7vw, 11vw, 190px);
}

.pdf-introduction__portrait {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #e8e3d9;
}

.pdf-introduction__portrait::after {
    content: "";
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(5, 5, 5, 0.35);
    border-radius: 50%;
    transform: translate(8%, -7%);
    pointer-events: none;
}

.pdf-introduction__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 32% center;
    transform: scale(1.25);
}

.pdf-introduction__copy h2 {
    max-width: 800px;
    margin: 0 0 36px;
    font-family: var(--pdf-display);
    font-size: clamp(3rem, 5.8vw, 7.2rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.055em;
    text-wrap: balance;
    background: var(--holo-gradient);
    background-size: 200% auto;
    color: var(--holo-cyan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holo-shimmer 8s linear infinite;
}

.pdf-introduction__copy > p:last-of-type {
    max-width: 720px;
    margin: 0;
    color: var(--pdf-muted-dark);
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    line-height: 1.72;
    column-count: 2;
    column-gap: 38px;
}

.pdf-introduction__actions,
.pdf-project__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-top: 38px;
}

.pdf-introduction__actions a,
.pdf-project__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 11px 0;
    border-bottom: 2px solid currentColor;
    color: inherit;
    font-family: var(--pdf-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Works index */
.pdf-works-index {
    min-height: 108svh;
    overflow: hidden;
}

.pdf-works-index__art {
    position: absolute;
    inset: -6% 0;
    transform: translate3d(0, var(--pdf-depth-y), 0) scale(1.05);
}

.pdf-works-index__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 247, 244, 0.94) 0%, rgba(247, 247, 244, 0.62) 33%, rgba(247, 247, 244, 0.04) 68%);
}

.pdf-works-index__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdf-works-index__title {
    --pdf-title-progress: 0;
    position: absolute;
    top: 15%;
    left: clamp(50px, 9vw, 170px);
    z-index: 2;
    max-width: 580px;
    transform: translateX(calc(var(--pdf-title-progress) * 35px));
}

.pdf-works-index__title p {
    margin: 0 0 12px;
    font-family: var(--pdf-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.pdf-works-index__title h2 {
    margin: 0;
    font-family: var(--pdf-display);
    font-size: clamp(3.8rem, 7.6vw, 8.8rem);
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: -0.06em;
    background: var(--holo-gradient);
    background-size: 200% auto;
    color: var(--holo-cyan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holo-shimmer 8s linear infinite;
}

.pdf-works-index__list {
    position: absolute;
    right: clamp(38px, 7vw, 130px);
    bottom: 10%;
    z-index: 3;
    width: min(560px, 46vw);
    list-style: none;
}

.pdf-works-index__list li {
    border-top: 1px solid rgba(5, 5, 5, 0.35);
}

.pdf-works-index__list li:last-child {
    border-bottom: 1px solid rgba(5, 5, 5, 0.35);
}

.pdf-works-index__list a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 13px 0;
    color: var(--pdf-black);
    font-family: var(--pdf-display);
    line-height: 1.1;
}

.pdf-works-index__list a span:nth-child(2) {
    font-size: clamp(1.05rem, 1.55vw, 1.5rem);
    font-weight: 700;
}

.pdf-works-index__list a span:first-child,
.pdf-works-index__list a span:last-child {
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.pdf-works-index__list a:hover span:nth-child(2) {
    transform: translateX(8px);
}

/* Project spreads */
.pdf-project {
    --pdf-project-progress: 0;
    min-height: 160svh;
}

.pdf-project__stage {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    background: var(--pdf-scene-bg);
}

.pdf-project__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, transparent 42%, color-mix(in srgb, var(--pdf-scene-bg) 88%, transparent) 100%);
    pointer-events: none;
}

.pdf-project:nth-child(even) .pdf-project__stage::after {
    background: linear-gradient(270deg, transparent 42%, color-mix(in srgb, var(--pdf-scene-bg) 88%, transparent) 100%);
}

.pdf-project__primary {
    position: absolute;
    inset: -6%;
    transform: translate3d(calc(var(--pdf-project-progress) * -3vw), var(--pdf-depth-y), 0) scale(1.08) rotate(calc(var(--pdf-project-progress) * -1.2deg));
}

.pdf-project:nth-child(even) .pdf-project__primary {
    transform: translate3d(calc(var(--pdf-project-progress) * 3vw), var(--pdf-depth-y), 0) scale(1.08) rotate(calc(var(--pdf-project-progress) * 1.2deg));
}

.pdf-project__primary img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pdf-project__secondary {
    --pdf-pointer-x: 0px;
    --pdf-pointer-y: 0px;
    --pdf-pointer-rotate: 0deg;
    position: absolute;
    right: 5vw;
    bottom: 7vh;
    z-index: 3;
    overflow: hidden;
    width: min(46vw, 760px);
    aspect-ratio: 1.414 / 1;
    border: 1px solid color-mix(in srgb, var(--pdf-scene-fg) 30%, transparent);
    background: var(--pdf-scene-bg);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
    clip-path: polygon(5% 0, 100% 7%, 94% 100%, 0 90%);
    transform: translate3d(calc(var(--pdf-pointer-x) + (var(--pdf-project-progress) * -5vw)), calc(var(--pdf-depth-y) + var(--pdf-pointer-y)), 0) rotate(calc(var(--pdf-pointer-rotate) - 2.5deg));
    transition: clip-path 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease;
}

.pdf-project:nth-child(even) .pdf-project__secondary {
    right: auto;
    left: 5vw;
    clip-path: polygon(0 7%, 94% 0, 100% 90%, 6% 100%);
    transform: translate3d(calc(var(--pdf-pointer-x) + (var(--pdf-project-progress) * 5vw)), calc(var(--pdf-depth-y) + var(--pdf-pointer-y)), 0) rotate(calc(var(--pdf-pointer-rotate) + 2.5deg));
}

.pdf-project__secondary:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: 0 38px 110px rgba(0, 0, 0, 0.46);
}

.pdf-project__secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdf-project__heading {
    --pdf-title-progress: 0;
    position: absolute;
    top: 10%;
    left: clamp(35px, 8vw, 145px);
    z-index: 4;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-height: 80vh;
    writing-mode: vertical-rl;
    transform: translateY(calc(var(--pdf-title-progress) * 60px)) rotate(180deg);
}

.pdf-project:nth-child(even) .pdf-project__heading {
    right: clamp(35px, 8vw, 145px);
    left: auto;
}

.pdf-project__heading span {
    padding-top: 5px;
    font-family: var(--pdf-display);
    font-size: 0.78rem;
    color: var(--pdf-accent);
    font-weight: 800;
    letter-spacing: 0.18em;
}

.pdf-project__heading h2 {
    max-height: 75vh;
    margin: 0;
    font-family: var(--pdf-display);
    font-size: clamp(3rem, 5.7vw, 6.9rem);
    font-weight: 900;
    line-height: 0.86;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.pdf-project__copy-wrap {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    min-height: 72svh;
    margin-top: -16svh;
    padding: 8vh clamp(7vw, 10vw, 180px) 11vh;
    pointer-events: none;
}

.pdf-project:nth-child(even) .pdf-project__copy-wrap {
    justify-content: flex-start;
}

.pdf-project__copy {
    width: min(660px, 47vw);
    align-self: flex-end;
    padding: clamp(28px, 3.4vw, 52px);
    border: 1px solid color-mix(in srgb, var(--pdf-scene-fg) 18%, transparent);
    background: color-mix(in srgb, var(--pdf-scene-bg) 93%, transparent);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: auto;
}

.pdf-project__copy dl {
    display: grid;
    grid-template-columns: minmax(80px, 0.7fr) minmax(150px, 1.3fr);
    gap: 18px;
    margin: 0 0 24px;
    padding: 17px 0;
    border-top: 1px solid color-mix(in srgb, var(--pdf-scene-fg) 20%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--pdf-scene-fg) 20%, transparent);
}

.pdf-project__copy dl div {
    min-width: 0;
}

.pdf-project__copy dt {
    margin-bottom: 5px;
    color: var(--pdf-accent);
    font-family: var(--pdf-display);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pdf-project__copy dd {
    margin: 0;
    font-family: var(--pdf-display);
    font-size: 0.92rem;
    line-height: 1.35;
}

.pdf-project__description {
    margin: 0;
    color: var(--pdf-scene-muted);
    font-size: clamp(0.96rem, 1.12vw, 1.08rem);
    line-height: 1.72;
}

.pdf-project__actions {
    margin-top: 28px;
}

.pdf-project__actions a span {
    transition: transform 0.25s ease;
}

.pdf-project__actions a:hover span {
    transform: translate(4px, -4px);
}

/* Progressive motion */
.pdf-motion-enabled [data-pdf-reveal] {
    opacity: 0;
    transform: translateY(50px) skewY(1.2deg);
    transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pdf-motion-enabled [data-pdf-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) skewY(0);
}

.pdf-cover__scroll:focus-visible,
.pdf-rail a:focus-visible,
.pdf-introduction__actions a:focus-visible,
.pdf-works-index__list a:focus-visible,
.pdf-project__actions a:focus-visible {
    outline-color: #ff3b30 !important;
    outline-style: solid !important;
    outline-width: 3px !important;
    outline-offset: 5px;
    transition: none;
}

@media (max-width: 1100px) {
    .pdf-rail {
        display: none;
    }

    .pdf-introduction {
        grid-template-columns: minmax(280px, 0.75fr) minmax(380px, 1.25fr);
        padding-right: 6vw;
        padding-left: 6vw;
    }

    .pdf-project__copy {
        width: min(680px, 58vw);
    }

    .pdf-project__heading {
        left: 42px;
    }

    .pdf-project:nth-child(even) .pdf-project__heading {
        right: 42px;
    }
}

@media (max-width: 768px) {
    .is-portfolio-pdf .main-content {
        display: flex !important;
        padding: 5px 0 0;
    }

    .is-portfolio-pdf .site-header {
        padding: 0 20px;
    }

    .is-portfolio-pdf .main-nav,
    .is-portfolio-pdf[data-portfolio-theme="dark"] .main-nav {
        background: rgba(5, 5, 5, 0.94) !important;
    }

    .is-portfolio-pdf .nav-list a,
    .is-portfolio-pdf .nav-item-main a,
    .is-portfolio-pdf[data-portfolio-theme="dark"] .nav-list a,
    .is-portfolio-pdf[data-portfolio-theme="dark"] .nav-item-main a {
        color: var(--pdf-white) !important;
    }

    .is-portfolio-pdf .pdf-portfolio {
        order: 2 !important;
    }

    .pdf-cover {
        min-height: 96svh;
    }

    .pdf-cover__art {
        inset: 8% -28% 5% 11%;
    }

    .pdf-cover__title {
        top: 7%;
        bottom: 8%;
        left: 22px;
    }

    .pdf-cover__title h1 {
        font-size: clamp(3.2rem, 14vw, 5.4rem);
    }

    .pdf-cover__title p {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    .pdf-cover::before {
        top: 24%;
        left: 28%;
    }

    .pdf-cover::after {
        right: -12%;
        bottom: 30%;
    }

    .pdf-cover__scroll {
        right: 22px;
        bottom: 24px;
    }

    .pdf-introduction {
        display: block;
        min-height: 0;
        padding: 100px 22px;
    }

    .pdf-introduction__portrait {
        width: min(82vw, 470px);
        margin: 0 auto 70px;
    }

    .pdf-introduction__copy h2 {
        font-size: clamp(3rem, 13.5vw, 5.3rem);
    }

    .pdf-introduction__copy > p:last-of-type {
        column-count: 1;
    }

    .pdf-works-index {
        min-height: 110svh;
    }

    .pdf-works-index__art {
        inset: 0 -35%;
    }

    .pdf-works-index__title {
        top: 11%;
        left: 22px;
        max-width: 90%;
    }

    .pdf-works-index__title h2 {
        font-size: clamp(3.5rem, 16vw, 6rem);
    }

    .pdf-works-index__list {
        right: 22px;
        bottom: 7%;
        left: 22px;
        width: auto;
        padding: 12px 18px;
        background: rgba(247, 247, 244, 0.84);
        backdrop-filter: blur(12px);
    }

    .pdf-project {
        min-height: 0;
    }

    .pdf-project__stage {
        position: relative;
        height: 84svh;
    }

    .pdf-project__stage::after,
    .pdf-project:nth-child(even) .pdf-project__stage::after {
        background: linear-gradient(0deg, var(--pdf-scene-bg) 0%, transparent 42%);
    }

    .pdf-project__primary,
    .pdf-project:nth-child(even) .pdf-project__primary {
        inset: 0 -26%;
        transform: translate3d(0, var(--pdf-depth-y), 0) scale(1.02);
    }

    .pdf-project__secondary,
    .pdf-project:nth-child(even) .pdf-project__secondary {
        right: 18px;
        bottom: 7%;
        left: auto;
        width: min(76vw, 520px);
        transform: translate3d(0, var(--pdf-depth-y), 0) rotate(-1.5deg);
    }

    .pdf-project__heading,
    .pdf-project:nth-child(even) .pdf-project__heading {
        top: 8%;
        right: auto;
        left: 22px;
        max-width: calc(100% - 44px);
        max-height: none;
        writing-mode: horizontal-tb;
        transform: none;
    }

    .pdf-project__heading h2 {
        max-height: none;
        font-size: clamp(2.8rem, 12vw, 4.8rem);
        line-height: 0.88;
    }

    .pdf-project__copy-wrap,
    .pdf-project:nth-child(even) .pdf-project__copy-wrap {
        display: block;
        min-height: 0;
        margin: 0;
        padding: 0;
    }

    .pdf-project__copy {
        width: 100%;
        padding: 64px 22px 100px;
        border: 0;
        background: var(--pdf-scene-bg);
        box-shadow: none;
        backdrop-filter: none;
    }

    .pdf-project__copy dl {
        grid-template-columns: 0.7fr 1.3fr;
    }

}

@media (max-width: 390px) {
    .pdf-works-index__list a {
        grid-template-columns: 26px minmax(0, 1fr);
    }

    .pdf-works-index__list a span:last-child {
        display: none;
    }

    .pdf-project__copy dl {
        grid-template-columns: 1fr;
    }

    .pdf-project__actions a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pdf-progress {
        display: none;
    }

    .pdf-cover__title h1,
    .pdf-introduction__copy h2,
    .pdf-works-index__title h2 {
        animation: none;
    }

    .pdf-motion-layer,
    .pdf-cover__title,
    .pdf-works-index__title,
    .pdf-project__primary,
    .pdf-project:nth-child(even) .pdf-project__primary,
    .pdf-project__secondary,
    .pdf-project:nth-child(even) .pdf-project__secondary,
    .pdf-project__heading,
    .pdf-project:nth-child(even) .pdf-project__heading,
    .pdf-motion-enabled [data-pdf-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pdf-project {
        min-height: 0;
    }

    .pdf-project__stage {
        position: relative;
    }
}
