.work-page,
.work-detail-page {
    --work-ink: #18171b;
    --work-muted: #696873;
    --work-paper: #f6f5f1;
    --work-line: #dfded8;
    --work-pink: #ff3366;
    --work-gold: #fcb80b;
    overflow: clip;
    background: var(--work-paper);
    color: var(--work-ink);
}

body:has(.work-detail-page) {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

body:has(.work-detail-page) > main {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}

.work-detail-page {
    flex: 1 0 auto;
}

.work-page *,
.work-detail-page * {
    box-sizing: border-box;
}

.work-container {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.work-page [id],
.work-detail-page [id] {
    scroll-margin-top: 112px;
}

.work-hero {
    position: relative;
    isolation: isolate;
    min-height: 680px;
    overflow: hidden;
    background: #17161c;
    color: #f8f7f3;
}

.work-hero__grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
    background-position: center;
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg,transparent,#000 20%,#000 85%,transparent);
}

.work-hero__inner {
    position: relative;
    display: grid;
    min-height: 680px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 56px;
    padding-block: 72px 88px;
}

.work-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 610px;
}

.work-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 24px;
    color: #e8e6eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.work-eyebrow > span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--work-gold);
}

.work-eyebrow--dark {
    color: #837f88;
}

.work-eyebrow--dark > span {
    background: var(--work-pink);
}

.work-hero h1,
.work-cta h2 {
    margin: 0;
    font-size: clamp(56px, 7vw, 92px);
    font-weight: 760;
    letter-spacing: -.075em;
    line-height: .94;
}

.work-hero h1 em,
.work-cta h2 em {
    color: var(--work-gold);
    font-style: normal;
}

.work-hero__copy > p:not(.work-eyebrow) {
    max-width: 495px;
    margin: 26px 0 0;
    color: #c6c3cd;
    font-size: 15px;
    line-height: 1.85;
}

.work-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.work-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 19px;
    font: inherit;
    font-size: 12px;
    font-weight: 760;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease;
}

.work-button:hover {
    transform: translateY(-2px);
}

.work-button svg,
.work-text-link svg,
.work-back-link svg,
.work-hero__scroll svg {
    width: 15px;
    height: 15px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.work-button--accent {
    background: var(--work-gold);
    color: #17161c;
}

.work-button--accent:hover {
    background: #ffd04c;
}

.work-button--quiet {
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.035);
    color: #fff;
}

.work-button--quiet:hover {
    border-color: rgba(255,255,255,.64);
    background: rgba(255,255,255,.08);
}

.work-hero__visual {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center;
}

.work-hero__frame {
    position: relative;
    width: min(100%, 525px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: #25232c;
    box-shadow: 0 35px 100px rgba(0,0,0,.38);
    transform: rotate(2deg);
}

.work-hero__frame-top {
    display: flex;
    height: 42px;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid rgba(255,255,255,.09);
    padding: 0 15px;
}

.work-hero__frame-top > span {
    width: 7px;
    height: 7px;
    border: 1px solid rgba(255,255,255,.44);
    border-radius: 50%;
}

.work-hero__frame-top b {
    margin-left: auto;
    color: #a8a4b2;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .14em;
}

.work-hero__frame-content {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    background: radial-gradient(ellipse at 54% 55%,rgba(255,51,102,.22),transparent 34%),linear-gradient(135deg,#302c39,#1e1c25 72%);
}

.work-hero__frame-index,
.work-hero__frame-type {
    position: absolute;
    z-index: 1;
    color: #aaa6b2;
    font-size: 8px;
    font-weight: 760;
    letter-spacing: .16em;
}

.work-hero__frame-index {
    top: 22px;
    left: 24px;
}

.work-hero__frame-type {
    right: 23px;
    bottom: 22px;
    color: #817c89;
    font-size: 7px;
}

.work-hero__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 275px;
    height: 275px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    transform: translate(-50%,-50%);
}

.work-hero__orbit--two {
    width: 200px;
    height: 200px;
    border-color: rgba(252,184,11,.22);
}

.work-hero__frame-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 100px;
    height: 100px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(22,21,27,.78);
    color: var(--work-gold);
    transform: translate(-50%,-50%);
}

.work-hero__frame-mark svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
}

.work-hero__frame-caption {
    position: absolute;
    top: 50%;
    left: calc(50% + 93px);
    display: grid;
    gap: 6px;
    width: 155px;
    transform: translateY(-50%);
}

.work-hero__frame-caption strong {
    color: #f1edf3;
    font-size: 15px;
    letter-spacing: -.04em;
}

.work-hero__frame-caption span {
    color: #aaa6b2;
    font-size: 10px;
}

.work-hero__frame-line {
    position: absolute;
    top: 50%;
    right: 25px;
    left: 25px;
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
}

.work-hero__stamp {
    position: absolute;
    right: -5px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 4px;
    background: #fcb80b;
    padding: 10px 12px;
    color: #1b1920;
    transform: rotate(-5deg);
}

.work-hero__stamp > span:first-child {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.08em;
}

.work-hero__stamp > span:last-child {
    border-left: 1px solid rgba(23,22,28,.3);
    padding-left: 9px;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .1em;
    line-height: 1.45;
}

.work-hero__scroll {
    position: absolute;
    right: 0;
    bottom: 22px;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    padding: 0 13px;
    color: #e5e2e9;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.work-hero__scroll svg {
    color: var(--work-gold);
}

.work-projects-section {
    padding: 112px 0 120px;
    background: var(--work-paper);
}

.work-section-heading {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(250px,.55fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 44px;
}

.work-section-heading .work-eyebrow {
    margin-bottom: 15px;
}

.work-section-heading h2,
.work-detail-story h2,
.work-detail-chapter h2 {
    margin: 0;
    font-size: clamp(38px,5vw,62px);
    font-weight: 740;
    letter-spacing: -.065em;
    line-height: .98;
}

.work-section-heading > p {
    max-width: 390px;
    margin: 0 0 5px;
    color: var(--work-muted);
    font-size: 13px;
    line-height: 1.85;
}

.work-preview-notice {
    display: flex;
    max-width: 900px;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 26px;
    border: 1px solid rgba(179, 119, 0, .35);
    border-radius: 8px;
    background: rgba(252, 184, 11, .11);
    padding: 14px 17px;
    color: #594413;
    font-size: 12px;
    line-height: 1.65;
}

.work-preview-notice svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.work-preview-notice strong {
    font-weight: 800;
}

.work-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 46px;
    border-bottom: 1px solid var(--work-line);
    padding-bottom: 17px;
}

.work-filter {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    padding: 0 14px;
    color: #696873;
    font: inherit;
    font-size: 11px;
    font-weight: 720;
    cursor: pointer;
    transition: background-color .18s ease,color .18s ease,border-color .18s ease;
}

.work-filter:hover {
    border-color: #c9c6c1;
    color: var(--work-ink);
}

.work-filter.is-active {
    border-color: #202027;
    background: #202027;
    color: #fff;
}

.work-filter:focus-visible {
    outline: 3px solid var(--work-pink);
    outline-offset: 3px;
}

.work-filter span {
    display: grid;
    min-width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    font-size: 9px;
}

.work-featured {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(270px,.8fr);
    align-items: center;
    gap: clamp(32px,6vw,90px);
    margin-bottom: 82px;
}

.work-featured[hidden],
.work-card[hidden] {
    display: none;
}

.work-featured__media,
.work-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #24222a;
    color: #fff;
    text-decoration: none;
}

.work-featured__media {
    min-height: 430px;
    aspect-ratio: 1.32;
}

.work-featured__media > img,
.work-card__media > img,
.work-detail-cover img,
.work-gallery-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.22,1,.36,1);
}

.work-featured__media:hover > img,
.work-card__media:hover > img {
    transform: scale(1.035);
}

.work-image-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    overflow: hidden;
    place-items: center;
    background: radial-gradient(ellipse at 70% 35%,rgba(255,51,102,.26),transparent 33%),linear-gradient(135deg,#393440,#211f27 78%);
}

.work-image-fallback > span {
    position: absolute;
    top: 22px;
    left: 24px;
    color: rgba(255,255,255,.6);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .15em;
    line-height: 1.7;
}

.work-image-fallback svg {
    width: min(40%,190px);
    fill: none;
    stroke: rgba(252,184,11,.72);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.15;
}

.work-featured__number,
.work-card__index {
    position: absolute;
    top: 18px;
    left: 18px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(22,21,27,.45);
    padding: 7px 10px;
    color: #fff;
    font-size: 8px;
    font-weight: 760;
    letter-spacing: .13em;
}

.work-featured__open,
.work-card__open {
    position: absolute;
    right: 17px;
    bottom: 17px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: rgba(22,21,27,.32);
    color: #fff;
    transition: color .2s ease,background-color .2s ease;
}

.work-featured__media:hover .work-featured__open,
.work-card__media:hover .work-card__open {
    background: var(--work-gold);
    color: #17161c;
}

.work-featured__open svg,
.work-card__open svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.work-featured__copy {
    max-width: 415px;
    padding: 18px 0;
}

.work-project-kicker {
    margin: 0 0 15px;
    color: #bc3155;
    font-size: 9px;
    font-weight: 820;
    letter-spacing: .15em;
    line-height: 1.6;
    text-transform: uppercase;
}

.work-featured__copy h3,
.work-card__copy h3 {
    margin: 0;
    font-size: clamp(20px, 1.8vw, 25px);
    font-weight: 735;
    letter-spacing: -.055em;
    line-height: 1.05;
}

.work-featured__copy h3 a,
.work-card__copy h3 a {
    color: inherit;
    text-decoration: none;
}

.work-featured__copy > p:not(.work-project-kicker),
.work-card__copy > p:not(.work-project-kicker) {
    margin: 17px 0 0;
    color: var(--work-muted);
    font-size: 12px;
    line-height: 1.8;
}

.work-featured__copy .work-client {
    color: #37353b!important;
    font-size: 10px!important;
    font-weight: 750;
}

.work-text-link,
.work-back-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(193,43,81,.35);
    border-radius: 999px;
    background: rgba(193,43,81,.035);
    padding: 0 13px;
    color: #a82949;
    font-size: 10px;
    font-weight: 780;
    text-decoration: none;
    transition: background-color .2s ease,border-color .2s ease;
}

.work-text-link:hover,
.work-back-link:hover {
    border-color: #a82949;
    background: rgba(193,43,81,.08);
}

.work-featured__copy .work-text-link {
    margin-top: 0;
}

.work-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 21px;
}

.work-card-actions .work-text-link {
    min-height: 38px;
}

.work-text-link--external {
    border-color: var(--work-line);
    background: transparent;
    color: var(--work-ink);
}

.work-text-link--external:hover {
    border-color: var(--work-ink);
    background: transparent;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 68px 34px;
}

.work-carousel {
    position: relative;
    padding-top: 4px;
}

.work-carousel__toggle {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    border: 1px solid var(--work-line);
    border-radius: 999px;
    background: transparent;
    padding: 0 13px;
    color: var(--work-ink);
    font: inherit;
    font-size: 10px;
    font-weight: 740;
    cursor: pointer;
}

.work-carousel__toggle:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.work-carousel__toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.work-carousel__viewport {
    overflow: hidden;
}

.work-carousel__track {
    display: flex;
    width: max-content;
    animation: work-carousel-scroll 120s linear infinite;
    will-change: transform;
}

.work-carousel[data-moving='false'] .work-carousel__track,
.work-carousel__viewport:hover .work-carousel__track,
.work-carousel__viewport:focus-within .work-carousel__track {
    animation-play-state: paused;
}

.work-carousel[data-paused='true'] .work-carousel__track {
    animation-play-state: paused;
}

.work-carousel__group {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    gap: 30px;
    padding-right: 30px;
}

.work-carousel .work-card {
    display: flex;
    width: clamp(300px, 34vw, 440px);
    flex: 0 0 clamp(300px, 34vw, 440px);
    flex-direction: column;
    margin: 0;
}

.work-carousel .work-card[hidden] {
    display: none;
}

.work-carousel .work-card__media {
    min-height: 0;
    aspect-ratio: 1.38;
}

.work-carousel .work-card__copy {
    flex: 1;
}

.work-carousel .work-card--featured {
    width: clamp(390px, 47vw, 610px);
    flex-basis: clamp(390px, 47vw, 610px);
}

.work-carousel .work-card--featured .work-card__media {
    aspect-ratio: 1.65;
}

.work-carousel .work-card--featured .work-card__copy h3 {
    font-size: clamp(20px, 1.8vw, 25px);
}

@keyframes work-carousel-scroll {
    to {
        transform: translateX(var(--work-carousel-distance, -50%));
    }
}

.work-card--offset {
    margin-top: 70px;
}

.work-card__media {
    min-height: 310px;
    aspect-ratio: 1.45;
}

.work-card__copy {
    padding: 21px 2px 0;
}

.work-card__copy h3 {
    font-size: clamp(20px, 1.8vw, 25px);
}

.work-card__copy .work-text-link {
    margin-top: 0;
}

.work-filter-empty,
.work-empty-state {
    border: 1px solid var(--work-line);
    background: #eeede8;
}

.work-filter-empty {
    margin: 24px 0 0;
    padding: 32px;
    color: var(--work-muted);
    font-size: 13px;
    text-align: center;
}

.work-empty-state {
    max-width: 790px;
    margin: 15px auto 0;
    padding: clamp(28px,6vw,68px);
}

.work-empty-state__index {
    color: #bc3155;
    font-size: 9px;
    font-weight: 820;
    letter-spacing: .16em;
}

.work-empty-state h3 {
    max-width: 600px;
    margin: 18px 0 0;
    font-size: clamp(29px,4vw,43px);
    font-weight: 740;
    letter-spacing: -.06em;
    line-height: 1.05;
}

.work-empty-state p {
    max-width: 560px;
    margin: 13px 0 0;
    color: var(--work-muted);
    font-size: 13px;
    line-height: 1.8;
}

.work-button--dark {
    margin-top: 23px;
    background: #202027;
    color: #fff;
}

.work-button--dark:hover {
    background: #37343f;
}

.work-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #211f29;
    padding: 106px 0 112px;
    color: #fff;
    text-align: center;
}

.work-cta::before,
.work-cta::after {
    position: absolute;
    z-index: -1;
    top: -380px;
    left: 50%;
    width: 780px;
    height: 780px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    content: "";
    transform: translateX(-50%);
}

.work-cta::after {
    top: -315px;
    width: 650px;
    height: 650px;
    border-color: rgba(252,184,11,.17);
}

.work-cta__inner {
    position: relative;
}

.work-cta .work-eyebrow {
    justify-content: center;
}

.work-cta h2 {
    font-size: clamp(46px,6vw,74px);
}

.work-cta__inner > p:not(.work-eyebrow) {
    max-width: 470px;
    margin: 20px auto 0;
    color: #c5c1ce;
    font-size: 13px;
    line-height: 1.8;
}

.work-actions--center {
    justify-content: center;
}

.work-detail-hero {
    padding: 46px 0 72px;
    background: var(--work-paper);
}

.work-back-link {
    min-height: 38px;
    margin-bottom: 74px;
    border-color: var(--work-line);
    background: transparent;
    color: #4c4a52;
}

.work-back-link:hover {
    border-color: #a82949;
    color: #a82949;
}

.work-detail-hero__heading {
    max-width: 920px;
    margin-bottom: 50px;
}

.work-detail-hero__heading .work-eyebrow {
    margin-bottom: 20px;
}

.work-detail-hero h1 {
    margin: 0;
    font-size: clamp(48px,7vw,88px);
    font-weight: 750;
    letter-spacing: -.075em;
    line-height: .98;
}

.work-detail-hero__summary {
    max-width: 700px;
    margin: 21px 0 0;
    color: var(--work-muted);
    font-size: 16px;
    line-height: 1.8;
}

.work-detail-cover {
    position: relative;
    overflow: visible;
    margin: 0;
    background: #24222a;
}

.work-detail-cover img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.work-detail-cover figcaption,
.work-gallery-grid figcaption {
    padding-top: 10px;
    color: var(--work-muted);
    font-size: 10px;
    line-height: 1.6;
}

.work-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 34px 60px;
    border-bottom: 1px solid var(--work-line);
    padding: 28px 0;
}

.work-detail-meta > div {
    display: grid;
    gap: 10px;
}

.work-detail-meta > div > span {
    color: #85818c;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
}

.work-detail-meta strong {
    font-size: 12px;
}

.work-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.work-detail-tags a {
    border: 1px solid var(--work-line);
    border-radius: 999px;
    padding: 6px 10px;
    color: inherit;
    font-size: 9px;
    text-decoration: none;
}

.work-detail-tags a:hover {
    border-color: #bc3155;
    color: #a82949;
}

.work-detail-meta > .work-text-link {
    margin-left: auto;
}

.work-detail-story,
.work-detail-chapter {
    padding: 84px 0;
    background: #fff;
}

.work-detail-story__layout,
.work-detail-chapter__layout {
    display: grid;
    grid-template-columns: minmax(230px,.65fr) minmax(0,1fr);
    gap: clamp(44px,9vw,130px);
}

.work-detail-story__label .work-eyebrow,
.work-detail-chapter .work-eyebrow {
    margin-bottom: 17px;
}

.work-detail-story h2,
.work-detail-chapter h2 {
    max-width: 330px;
    font-size: clamp(30px,4vw,46px);
}

.work-detail-story__body {
    max-width: 760px;
}

.work-detail-story__body p {
    margin: 0;
    color: #55535d;
    font-size: clamp(16px,2vw,20px);
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.work-detail-chapter {
    border-top: 1px solid var(--work-line);
    background: var(--work-paper);
}

.work-detail-chapter:nth-of-type(even) {
    background: #eeede8;
}

.work-detail-chapter .work-detail-story__body p {
    font-size: 16px;
}

.work-detail-gallery {
    padding: 92px 0 108px;
    background: #24222a;
    color: #f8f7f3;
}

.work-detail-gallery .work-eyebrow {
    color: #c8c4cf;
}

.work-detail-gallery .work-section-heading {
    margin-bottom: 35px;
}

.work-detail-gallery .work-section-heading h2 {
    color: #fff;
}

.work-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
}

.work-gallery-grid figure {
    margin: 0;
}

.work-gallery-grid figure:first-child:nth-last-child(odd) {
    grid-column: 1 / -1;
}

.work-gallery-grid figure img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    background: #37343f;
}

.work-detail-gallery figcaption {
    color: #bebac7;
}

.work-related-projects {
    padding: 82px 0;
    background: #fff;
    color: var(--work-ink);
}

.work-related-projects .work-section-heading {
    margin-bottom: 30px;
}

.work-related-projects .work-section-heading h2 {
    color: var(--work-ink);
}

.work-related-projects__grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
}

.work-related-project {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--work-line);
    border-radius: 12px;
    background: var(--work-paper);
    color: inherit;
    text-decoration: none;
    transition: border-color .2s,transform .2s;
}

.work-related-project:hover {
    transform: translateY(-3px);
    border-color: #bc3155;
}

.work-related-project > img {
    width: 100%;
    aspect-ratio: 1.55;
    object-fit: cover;
    background: #24222a;
}

.work-related-project__copy {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 19px;
}

.work-related-project__copy > strong {
    font-size: clamp(20px, 1.8vw, 25px);
    letter-spacing: -.025em;
}

.work-related-project__copy > span:not(.work-text-link) {
    color: var(--work-muted);
    font-size: 12px;
    line-height: 1.7;
}

.work-related-project .work-text-link {
    width: max-content;
    margin-top: 4px;
}

[data-theme='dark'] .work-page,
[data-theme='dark'] .work-detail-page {
    --work-ink: #f4f2f8;
    --work-muted: #b8b4c1;
    --work-paper: #17161f;
    --work-line: #393743;
    color: var(--work-ink);
    background: var(--work-paper);
}

[data-theme='dark'] .work-projects-section,
[data-theme='dark'] .work-detail-hero {
    background: var(--work-paper);
}

[data-theme='dark'] .work-filter {
    color: #c3bfcc;
}

[data-theme='dark'] .work-filter:hover {
    border-color: #65616f;
    color: #fff;
}

[data-theme='dark'] .work-filter.is-active,
[data-theme='dark'] .work-button--dark {
    border-color: #fcb80b;
    background: #fcb80b;
    color: #18171b;
}

[data-theme='dark'] .work-preview-notice {
    border-color: rgba(252, 184, 11, .42);
    background: rgba(252, 184, 11, .1);
    color: #f4dfaa;
}

[data-theme='dark'] .work-text-link--external {
    border-color: #55515f;
    color: #f4f2f8;
}

[data-theme='dark'] .work-text-link--external:hover {
    border-color: #f4f2f8;
}

[data-theme='dark'] .work-empty-state,
[data-theme='dark'] .work-filter-empty {
    border-color: #393743;
    background: #211f2a;
}

[data-theme='dark'] .work-featured__copy .work-client {
    color: #e3dfe9!important;
}

[data-theme='dark'] .work-back-link {
    border-color: #4a4755;
    color: #dedbe5;
}

[data-theme='dark'] .work-detail-story {
    background: #1d1b26;
}

[data-theme='dark'] .work-detail-chapter,
[data-theme='dark'] .work-detail-chapter:nth-of-type(even) {
    border-color: var(--work-line);
    background: #17161f;
}

[data-theme='dark'] .work-detail-story__body p {
    color: #d0ccd7;
}

[data-theme='dark'] .work-detail-tags a {
    border-color: #464351;
}

[data-theme='dark'] .work-related-projects {
    background: #1d1b26;
}

[data-theme='dark'] .work-related-project {
    border-color: #393743;
    background: #17161f;
}

@media (max-width: 1000px) {
    .work-hero,
    .work-hero__inner {
        min-height: 625px;
    }

    .work-hero__inner {
        gap: 28px;
    }

    .work-hero h1 {
        font-size: clamp(56px,7vw,78px);
    }

    .work-hero__visual {
        min-height: 370px;
    }

    .work-hero__frame-content {
        min-height: 295px;
    }

    .work-featured {
        gap: 42px;
    }

    .work-featured__media {
        min-height: 350px;
    }

    .work-carousel__group {
        gap: 24px;
        padding-right: 24px;
    }

    .work-carousel .work-card {
        width: clamp(300px, 43vw, 400px);
        flex-basis: clamp(300px, 43vw, 400px);
    }

    .work-carousel .work-card--featured {
        width: clamp(360px, 58vw, 520px);
        flex-basis: clamp(360px, 58vw, 520px);
    }
}

@media (max-width: 767px) {
    .work-container {
        width: min(100% - 40px, 600px);
    }

    .work-hero,
    .work-hero__inner {
        min-height: 0;
    }

    .work-hero__inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-block: 62px 86px;
    }

    .work-hero h1 {
        font-size: clamp(54px,12vw,78px);
    }

    .work-hero__copy > p:not(.work-eyebrow) {
        max-width: 540px;
        margin-top: 19px;
        font-size: 13px;
    }

    .work-actions {
        margin-top: 23px;
    }

    .work-hero__visual {
        width: min(100%,520px);
        min-height: 300px;
        justify-self: center;
        margin-top: 2px;
    }

    .work-hero__frame-content {
        min-height: 265px;
    }

    .work-hero__scroll {
        right: 0;
        bottom: 18px;
    }

    .work-projects-section {
        padding: 78px 0 82px;
    }

    .work-section-heading {
        grid-template-columns: 1fr;
        gap: 17px;
        margin-bottom: 30px;
    }

    .work-section-heading h2 {
        font-size: clamp(37px,9vw,54px);
    }

    .work-section-heading > p {
        max-width: 520px;
    }

    .work-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -20px 34px;
        padding: 0 20px 13px;
        scrollbar-width: thin;
    }

    .work-filter {
        flex: 0 0 auto;
    }

    .work-featured {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 54px;
    }

    .work-carousel__viewport {
        margin-inline: -20px;
        padding-inline: 20px;
    }

    .work-carousel__group {
        gap: 18px;
        padding-right: 18px;
    }

    .work-carousel .work-card,
    .work-carousel .work-card--featured {
        width: min(82vw, 420px);
        flex-basis: min(82vw, 420px);
    }

    .work-carousel .work-card__media,
    .work-carousel .work-card--featured .work-card__media {
        aspect-ratio: 1.25;
    }

    .work-featured__media {
        min-height: 0;
        aspect-ratio: 1.25;
    }

    .work-featured__copy {
        padding: 0;
    }

    .work-featured__copy h3 {
        font-size: 23px;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .work-card--offset {
        margin-top: 0;
    }

    .work-card__media {
        min-height: 0;
        aspect-ratio: 1.3;
    }

    .work-card__copy {
        padding-top: 17px;
    }

    .work-card__copy h3 {
        font-size: 21px;
    }

    .work-cta {
        padding: 78px 0 84px;
    }

    .work-cta h2 {
        font-size: clamp(44px,10vw,62px);
    }

    .work-detail-hero {
        padding: 28px 0 54px;
    }

    .work-back-link {
        margin-bottom: 48px;
    }

    .work-detail-hero__heading {
        margin-bottom: 31px;
    }

    .work-detail-hero h1 {
        font-size: clamp(45px,10vw,66px);
    }

    .work-detail-hero__summary {
        font-size: 14px;
    }

    .work-detail-cover {
        aspect-ratio: 1.35;
    }

    .work-detail-meta {
        gap: 22px 30px;
    }

    .work-detail-meta > .work-text-link {
        margin-left: 0;
    }

    .work-detail-story,
    .work-detail-chapter {
        padding: 62px 0;
    }

    .work-detail-story__layout,
    .work-detail-chapter__layout {
        grid-template-columns: 1fr;
        gap: 21px;
    }

    .work-detail-story h2,
    .work-detail-chapter h2 {
        max-width: 100%;
    }

    .work-detail-gallery {
        padding: 68px 0 76px;
    }

    .work-related-projects {
        padding: 68px 0;
    }

    .work-related-projects__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 479px) {
    .work-container {
        width: calc(100% - 36px);
    }

    .work-hero__inner {
        padding-top: 48px;
    }

    .work-hero h1 {
        font-size: clamp(49px,12vw,62px);
    }

    .work-hero__visual {
        min-height: 245px;
    }

    .work-hero__frame-top {
        height: 35px;
    }

    .work-hero__frame-content {
        min-height: 205px;
    }

    .work-hero__orbit {
        width: 180px;
        height: 180px;
    }

    .work-hero__orbit--two {
        width: 130px;
        height: 130px;
    }

    .work-hero__frame-mark {
        width: 70px;
        height: 70px;
    }

    .work-hero__frame-mark svg {
        width: 38px;
        height: 38px;
    }

    .work-hero__frame-caption {
        left: calc(50% + 62px);
        width: 110px;
    }

    .work-hero__frame-caption strong {
        font-size: 12px;
    }

    .work-hero__stamp {
        right: -2px;
        bottom: 8px;
        padding: 7px 8px;
    }

    .work-hero__scroll {
        min-height: 34px;
    }

    .work-actions .work-button {
        min-height: 44px;
        padding-inline: 13px;
        font-size: 10px;
    }

    .work-featured__media {
        aspect-ratio: 1.12;
    }

    .work-card__media {
        aspect-ratio: 1.15;
    }

    .work-carousel__viewport {
        margin-inline: -18px;
        padding-inline: 18px;
    }

    .work-carousel .work-card,
    .work-carousel .work-card--featured {
        width: min(84vw, 360px);
        flex-basis: min(84vw, 360px);
    }

    .work-detail-meta {
        flex-direction: column;
    }

    .work-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-related-projects__grid {
        grid-template-columns: 1fr;
    }

    .work-gallery-grid figure:first-child:nth-last-child(odd) {
        grid-column: auto;
    }
}

.work-page :where(a,button):focus-visible,
.work-detail-page :where(a,button):focus-visible {
    outline: 3px solid var(--work-pink);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .work-page *,
    .work-page *::before,
    .work-page *::after,
    .work-detail-page *,
    .work-detail-page *::before,
    .work-detail-page *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    .work-carousel__viewport {
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .work-carousel__track {
        animation: none !important;
        transform: none !important;
        will-change: auto;
    }
}
