/* Work archive v1.60: isolated, deliberately simple catalogue layout. */
body.post-type-archive-project { background:#101010 !important; color:#f5f3ef !important; height:100vh; overflow:hidden; }
body.post-type-archive-project .site-header { background:#101010 !important; color:#f5f3ef !important; }
.work-archive { --work-gutter:clamp(28px,4vw,72px); position:relative; width:100%; height:calc(100vh - var(--header-height,70px)); min-height:520px; overflow:hidden; padding:24px var(--work-gutter) 48px; background:#101010; color:#f5f3ef; }
.work-heading { position:absolute; z-index:3; top:24px; left:var(--work-gutter); }
.work-eyebrow { display:block; margin-bottom:5px; font-size:8px; line-height:1; font-weight:800; letter-spacing:.04em; }
.work-heading h1 { margin:0; font-size:clamp(42px,4vw,62px); line-height:.82; font-weight:950; letter-spacing:-.09em; }
.work-heading h1 span { color:#f04432; }
.work-catalog { position:absolute; z-index:2; top:clamp(150px,20vh,205px); bottom:54px; left:var(--work-gutter); width:47%; overflow-y:auto; overflow-x:hidden; display:flex; flex-direction:column; justify-content:center; gap:clamp(12px,2.2vh,24px); padding:5vh 24px 5vh 0; scrollbar-width:none; overscroll-behavior:contain; scroll-behavior:smooth; outline:none; }
.work-catalog::-webkit-scrollbar { display:none; }
.work-entry { appearance:none; border:0; background:transparent; color:#f5f3ef; display:grid; grid-template-columns:32px minmax(0,1fr); align-items:center; gap:10px; width:100%; min-height:28px; padding:4px 0; margin:0; text-align:left; cursor:pointer; flex:0 0 auto; transition:min-height .42s cubic-bezier(.2,.75,.25,1),padding .42s ease; }
.work-number { grid-column:1; font-size:9px; line-height:1; opacity:.34; transition:opacity .25s ease; }
.work-title { grid-column:2; display:block; font-size:clamp(10px,.78vw,13px); line-height:1.15; letter-spacing:-.035em; font-weight:400; color:#f5f3ef; opacity:.36; transform-origin:left center; transition:font-size .38s cubic-bezier(.2,.75,.25,1),opacity .3s ease,color .3s ease,transform .38s ease; }
.work-entry.is-active { min-height:clamp(76px,10vh,104px); padding:12px 0; }
.work-entry.is-active .work-title { color:#f04432; opacity:1; font-size:clamp(28px,2.65vw,44px); line-height:1.02; font-weight:600; transform:translateX(5px); }
.work-entry.is-active .work-number { opacity:.95; }
.work-entry:hover .work-title,.work-entry:focus-visible .work-title { color:#f04432; opacity:1; }
.work-category { display:none; }
.work-preview { position:fixed; z-index:1; top:clamp(105px,14vh,145px); right:clamp(28px,6vw,110px); bottom:clamp(50px,7vh,80px); width:min(43vw,690px); display:grid; grid-template-rows:repeat(3,minmax(0,1fr)); gap:10px; opacity:0; visibility:hidden; transform:translateY(12px); transition:opacity .35s ease,transform .4s ease,visibility .35s ease; pointer-events:none; }
.work-preview.is-visible { opacity:1; visibility:visible; transform:none; }
.work-preview-card { position:relative; width:100%; height:100%; min-height:0; overflow:hidden; display:flex; align-items:center; justify-content:center; background:transparent; opacity:0; transition:opacity .35s ease,transform .4s ease; }
.work-preview-card img { display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; object-position:center; }
.work-preview-card.has-image { opacity:.22; }
.work-preview-active.has-image { opacity:1; transform:scale(1.035); z-index:2; }
.work-preview-before.has-image { -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 100%); mask-image:linear-gradient(to bottom,transparent 0%,#000 100%); }
.work-preview-after.has-image { -webkit-mask-image:linear-gradient(to top,transparent 0%,#000 100%); mask-image:linear-gradient(to top,transparent 0%,#000 100%); }
.work-footer { position:absolute; left:var(--work-gutter); right:var(--work-gutter); bottom:16px; display:flex; justify-content:space-between; font-size:11px; opacity:.7; pointer-events:none; }
.work-empty { margin-top:22vh; }
@media (max-width:800px) {
 body.post-type-archive-project { height:auto; min-height:100vh; overflow:auto; }
 .work-archive { height:auto; min-height:100vh; overflow:visible; padding:24px 22px 60px; }
 .work-heading { position:relative; top:auto; left:auto; margin-bottom:34px; }
 .work-catalog { position:relative; top:auto; bottom:auto; left:auto; width:100%; max-height:none; overflow:visible; padding:0; gap:12px; }
 .work-entry { min-height:34px; }
 .work-title { font-size:14px; }
 .work-entry.is-active { min-height:64px; }
 .work-entry.is-active .work-title { font-size:clamp(24px,7vw,36px); }
 .work-preview { position:relative; top:auto; right:auto; bottom:auto; width:100%; height:60vh; margin:34px 0 20px; }
 .work-footer { position:relative; left:auto; right:auto; bottom:auto; margin-top:24px; }
}
@media (prefers-reduced-motion:reduce) { .work-entry,.work-title,.work-preview,.work-preview-card { transition:none !important; } }


/* v1.61: more kinetic catalogue, larger previews, and a soft left-to-right blend. */
@media (min-width:801px) {
  .work-catalog {
    width:49%;
    gap:clamp(7px,1.35vh,16px);
    padding-right:clamp(30px,5vw,86px);
    perspective:1000px;
  }
  .work-entry {
    transform:translate3d(var(--entry-shift,0px),0,0) scale(var(--entry-scale,1));
    transform-origin:left center;
    transition:min-height .48s cubic-bezier(.2,.8,.2,1), padding .48s ease,
      transform .48s cubic-bezier(.2,.8,.2,1), opacity .4s ease;
    opacity:var(--entry-opacity,.58);
  }
  .work-entry .work-title {
    font-size:clamp(9px,.68vw,11px);
    transition:font-size .48s cubic-bezier(.2,.8,.2,1),opacity .38s ease,
      color .38s ease,transform .48s cubic-bezier(.2,.8,.2,1);
  }
  .work-entry.is-active {
    min-height:clamp(82px,11vh,116px);
    opacity:1;
    --entry-shift:12px;
    --entry-scale:1.025;
  }
  .work-entry.is-active .work-title {
    font-size:clamp(32px,3.05vw,52px);
    transform:translateX(4px);
  }
  .work-entry.is-near { opacity:.72; }
  .work-entry.is-far { opacity:.38; }
  .work-preview {
    top:clamp(82px,10vh,112px);
    right:clamp(12px,2.2vw,38px);
    bottom:clamp(28px,4vh,48px);
    width:min(54vw,900px);
    grid-template-rows:minmax(0,.82fr) minmax(0,1.36fr) minmax(0,.82fr);
    gap:clamp(7px,1vh,12px);
    transform:translate3d(2.5vw,10px,0) scale(.985);
    transition:opacity .45s ease,transform .65s cubic-bezier(.2,.8,.2,1),visibility .45s ease;
  }
  .work-preview.is-visible { transform:translate3d(0,0,0) scale(1); }
  .work-preview-card {
    transform:scale(.94);
    transform-origin:center;
    -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.42) 19%,#000 57%,#000 100%);
    mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.42) 19%,#000 57%,#000 100%);
    transition:opacity .48s ease,transform .62s cubic-bezier(.2,.8,.2,1),filter .48s ease;
  }
  .work-preview-card img {
    object-fit:contain;
    transform:scale(1.015);
    transition:transform .65s cubic-bezier(.2,.8,.2,1);
  }
  .work-preview-active.has-image {
    opacity:1;
    transform:scale(1.055);
    filter:none;
    z-index:3;
    -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.72) 13%,#000 39%,#000 100%);
    mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.72) 13%,#000 39%,#000 100%);
  }
  .work-preview-active.has-image img { transform:scale(1.045); }
  .work-preview-before.has-image,.work-preview-after.has-image { opacity:.34; filter:saturate(.82); }
}
@media (max-width:800px) {
  .work-preview-card { -webkit-mask-image:none; mask-image:none; }
}


/* v1.62 — scroll-linked catalogue motion. Kept isolated to the Work archive. */
@media (min-width:801px) {
  .work-catalog {
    justify-content:center;
    gap:clamp(5px,.9vh,12px);
    padding-top:3vh;
    padding-bottom:3vh;
    scroll-behavior:smooth;
  }
  .work-entry {
    position:relative;
    min-height:clamp(24px,4.2vh,42px);
    padding:3px 0;
    transform:translate3d(calc(var(--entry-distance,0) * 1px),0,0);
    transition:min-height .62s cubic-bezier(.22,.75,.2,1),
      padding .62s cubic-bezier(.22,.75,.2,1),
      transform .62s cubic-bezier(.22,.75,.2,1),
      opacity .5s ease;
  }
  .work-entry .work-title {
    font-size:clamp(9px,.72vw,12px);
    opacity:.32;
    transform:translate3d(0,0,0) scale(.96);
    transition:font-size .62s cubic-bezier(.22,.75,.2,1),
      opacity .42s ease,color .42s ease,transform .62s cubic-bezier(.22,.75,.2,1);
  }
  .work-entry.is-near .work-title { opacity:.48; }
  .work-entry.is-far .work-title { opacity:.2; }
  .work-entry.is-active {
    min-height:clamp(116px,20vh,190px);
    padding:clamp(12px,2vh,22px) 0;
    transform:translate3d(10px,0,0);
    opacity:1;
  }
  .work-entry.is-active .work-title {
    color:#f04432;
    opacity:1;
    font-size:clamp(34px,3.2vw,58px);
    transform:translate3d(7px,0,0) scale(1);
    font-weight:600;
  }
  .work-entry.is-active .work-number { opacity:1; }

  .work-preview {
    width:min(57vw,980px);
    right:clamp(18px,4vw,72px);
    top:clamp(72px,9vh,100px);
    bottom:clamp(24px,4vh,42px);
    grid-template-rows:minmax(0,.72fr) minmax(0,1.65fr) minmax(0,.72fr);
    gap:clamp(8px,1.4vh,16px);
    perspective:1200px;
  }
  .work-preview-card {
    overflow:hidden;
    transform-origin:center;
    transition:opacity .62s cubic-bezier(.22,.75,.2,1),
      transform .78s cubic-bezier(.22,.75,.2,1),
      filter .62s ease;
    -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.28) 15%,#000 48%,#000 100%);
    mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.28) 15%,#000 48%,#000 100%);
  }
  .work-preview-card img {
    object-fit:contain;
    transition:transform .8s cubic-bezier(.22,.75,.2,1),opacity .5s ease;
  }
  .work-preview-before {
    transform:translate3d(7vw,-5vh,0) scale(.82);
    transform-origin:bottom center;
  }
  .work-preview-active {
    transform:translate3d(0,0,0) scale(1.06);
    opacity:0;
  }
  .work-preview-after {
    transform:translate3d(7vw,5vh,0) scale(.82);
    transform-origin:top center;
  }
  .work-preview-before.has-image,
  .work-preview-after.has-image {
    opacity:.25;
    filter:saturate(.72) blur(.25px);
  }
  .work-preview-active.has-image {
    opacity:1;
    transform:translate3d(-1.5vw,0,0) scale(1.1);
    filter:none;
    z-index:4;
    -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.25) 12%,#000 42%,#000 100%);
    mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.25) 12%,#000 42%,#000 100%);
  }
  .work-preview-before.has-image img { transform:scale(.96); }
  .work-preview-active.has-image img { transform:scale(1.035); }
  .work-preview-after.has-image img { transform:scale(.96); }
  .work-preview.is-moving-down .work-preview-before { transform:translate3d(7vw,-8vh,0) scale(.78); }
  .work-preview.is-moving-down .work-preview-after { transform:translate3d(3vw,2vh,0) scale(.88); }
  .work-preview.is-moving-up .work-preview-before { transform:translate3d(3vw,-2vh,0) scale(.88); }
  .work-preview.is-moving-up .work-preview-after { transform:translate3d(7vw,8vh,0) scale(.78); }
  .work-preview-card.is-loading-next img { opacity:.35; }
}
@media (prefers-reduced-motion:reduce) {
  .work-entry,.work-entry .work-title,.work-preview-card,.work-preview-card img {
    transition-duration:.01ms !important;
  }
}


/* v1.63 — continuous motion polish. No discrete snap transitions. */
@media (min-width:801px) {
  .work-catalog {
    scroll-behavior:auto !important;
    scroll-snap-type:none !important;
    overscroll-behavior:contain;
  }
  .work-entry {
    transition:
      min-height .78s cubic-bezier(.16,1,.3,1),
      padding .78s cubic-bezier(.16,1,.3,1),
      transform .78s cubic-bezier(.16,1,.3,1),
      opacity .72s ease;
    will-change:transform,min-height;
  }
  .work-entry .work-title {
    transition:
      font-size .78s cubic-bezier(.16,1,.3,1),
      opacity .62s ease,
      color .62s ease,
      transform .78s cubic-bezier(.16,1,.3,1);
  }
  .work-preview {
    transition:
      opacity .72s ease,
      transform .95s cubic-bezier(.16,1,.3,1),
      visibility .72s ease;
    will-change:transform,opacity;
  }
  .work-preview-card {
    transition:
      opacity .9s cubic-bezier(.16,1,.3,1),
      transform 1.05s cubic-bezier(.16,1,.3,1),
      filter .9s ease;
    will-change:transform,opacity;
  }
  .work-preview-card img {
    transition:transform 1.05s cubic-bezier(.16,1,.3,1),opacity .8s ease;
  }
}


/* v1.64 — wheel navigation must work even when the project list is shorter
   than the viewport; retain native touch scrolling on smaller screens. */
@media (min-width:801px) {
  .work-catalog {
    overscroll-behavior:contain;
    scroll-behavior:auto !important;
    overflow-y:auto;
  }
  .work-entry { cursor:pointer; }
}


/* v1.65 — reliable wheel input without hijacking unrelated controls. */
@media (min-width:801px) {
  body.post-type-archive-project {
    height:100vh;
    overflow:hidden;
  }
  body.post-type-archive-project .work-archive {
    touch-action:pan-y;
  }
  body.post-type-archive-project .work-catalog {
    overscroll-behavior:contain;
    scroll-behavior:auto !important;
    overflow-y:auto;
  }
}
@media (max-width:800px) {
  body.post-type-archive-project {
    height:auto;
    overflow:auto;
  }
  body.post-type-archive-project .work-archive {
    min-height:100svh;
    height:auto;
    overflow:visible;
  }
}


/* v1.66: make title and preview changes feel continuous. */
.work-catalog { scroll-behavior:smooth !important; }
.work-entry,
.work-entry .work-title,
.work-entry .work-number {
  transition-duration:.55s;
  transition-timing-function:cubic-bezier(.22,.72,.18,1);
}
.work-preview { transition:opacity .55s cubic-bezier(.22,.72,.18,1), transform .65s cubic-bezier(.22,.72,.18,1), visibility .55s; }
.work-preview-card { transition:opacity .6s cubic-bezier(.22,.72,.18,1), transform .7s cubic-bezier(.22,.72,.18,1); }
.work-preview-active { will-change:transform,opacity; }


/* v1.67 — consistent 500ms hand-off and square, red-framed project previews. */
@media (min-width:801px) {
  .work-entry,
  .work-entry .work-title,
  .work-entry .work-number {
    transition-duration:.5s !important;
    transition-timing-function:cubic-bezier(.22,.72,.18,1) !important;
  }
  .work-preview {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:clamp(8px,1.2vh,14px);
    width:min(57vw,980px);
    right:clamp(18px,4vw,72px);
    top:clamp(72px,9vh,100px);
    bottom:clamp(24px,4vh,42px);
    overflow:hidden;
  }
  .work-preview-card {
    flex:0 0 auto;
    width:min(25vh,28vw,420px);
    height:auto;
    aspect-ratio:1 / 1;
    box-sizing:border-box;
    border:1px solid #f04432;
    background:#101010;
    transition:
      opacity .5s cubic-bezier(.22,.72,.18,1),
      transform .5s cubic-bezier(.22,.72,.18,1),
      filter .5s ease;
  }
  .work-preview-card img {
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    transition:opacity .25s ease, transform .5s cubic-bezier(.22,.72,.18,1);
  }
  .work-preview-card.is-image-transitioning img {
    opacity:0;
  }
  .work-preview-before,
  .work-preview-after {
    opacity:0;
    transform:scale(.88);
  }
  .work-preview-before.has-image,
  .work-preview-after.has-image {
    opacity:.3;
  }
  .work-preview-active {
    opacity:0;
    transform:scale(.94);
  }
  .work-preview-active.has-image {
    opacity:1;
    transform:scale(1.04);
    z-index:4;
    border-color:#f04432;
  }
  .work-preview-before.has-image,
  .work-preview-after.has-image {
    -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.3) 18%,#000 62%,#000 100%);
    mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.3) 18%,#000 62%,#000 100%);
  }
  .work-preview-active.has-image {
    -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.18) 12%,#000 48%,#000 100%);
    mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.18) 12%,#000 48%,#000 100%);
  }
}
@media (max-width:800px) {
  .work-preview-card {
    aspect-ratio:1 / 1;
    border:1px solid #f04432;
    box-sizing:border-box;
  }
  .work-preview-card img {
    width:100%;
    height:100%;
    object-fit:contain;
    transition:opacity .25s ease;
  }
  .work-preview-card.is-image-transitioning img { opacity:0; }
}

/* v1.68: deliberate 500ms title hand-off and larger edge-to-edge project frames. */
@media (min-width:801px) {
  .work-archive .work-entry,
  .work-archive .work-entry .work-title,
  .work-archive .work-entry .work-number {
    transition:
      min-height .5s cubic-bezier(.22,.75,.25,1),
      padding .5s cubic-bezier(.22,.75,.25,1),
      transform .5s cubic-bezier(.22,.75,.25,1),
      font-size .5s cubic-bezier(.22,.75,.25,1),
      opacity .5s cubic-bezier(.22,.75,.25,1),
      color .5s cubic-bezier(.22,.75,.25,1),
      letter-spacing .5s cubic-bezier(.22,.75,.25,1);
  }
  .work-archive .work-entry .work-title {
    transform:translate3d(0,0,0) scale(.78);
    transform-origin:left center;
    opacity:.3;
    color:#f5f3ef;
  }
  .work-archive .work-entry.is-active .work-title {
    transform:translate3d(5px,0,0) scale(1);
    opacity:1;
    color:#f04432;
  }
  .work-archive .work-entry.is-near .work-title { opacity:.48; }
  .work-archive .work-entry.is-far .work-title { opacity:.22; }

  .work-archive .work-preview {
    width:min(62vw,1040px);
    right:clamp(18px,2.5vw,46px);
    top:clamp(72px,8vh,96px);
    bottom:clamp(22px,3vh,34px);
    grid-template-rows:repeat(3,minmax(0,1fr));
    gap:clamp(8px,1.1vh,14px);
  }
  .work-archive .work-preview-card {
    width:100%;
    height:100%;
    min-height:0;
    aspect-ratio:1 / 1;
    overflow:hidden;
    outline:1px solid #f04432;
    outline-offset:-1px;
    background:#101010;
    transition:opacity .5s cubic-bezier(.22,.75,.25,1),
      transform .5s cubic-bezier(.22,.75,.25,1),filter .5s ease;
  }
  .work-archive .work-preview-card img {
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    object-fit:cover;
    object-position:center;
    transform:scale(1);
    transition:transform .5s cubic-bezier(.22,.75,.25,1);
  }
  .work-archive .work-preview-active.has-image {
    opacity:1;
    transform:scale(1.08);
    filter:none;
    z-index:4;
    outline:2px solid #f04432;
  }
  .work-archive .work-preview-active.has-image img { transform:scale(1.04); }
  .work-archive .work-preview-before.has-image,
  .work-archive .work-preview-after.has-image { opacity:.28; }
}
@media (max-width:800px) {
  .work-archive .work-preview-card { aspect-ratio:1 / 1; overflow:hidden; }
  .work-archive .work-preview-card img {
    width:100%; height:100%; object-fit:cover; max-width:none; max-height:none;
  }
}


/* v1.69 — consolidate title hand-off and keep preview frames clear of site navigation. */
@media (min-width:801px) {
  .work-archive .work-entry,
  .work-archive .work-entry .work-title,
  .work-archive .work-entry .work-number {
    transition-duration:500ms !important;
    transition-timing-function:cubic-bezier(.22,.72,.18,1) !important;
  }
  .work-archive .work-entry .work-title {
    transform:translate3d(0,0,0) scale(.58) !important;
    transform-origin:left center;
    opacity:.28 !important;
    color:#f5f3ef !important;
    will-change:transform,font-size,opacity,color;
  }
  .work-archive .work-entry.is-near .work-title {
    transform:translate3d(0,0,0) scale(.72) !important;
    opacity:.46 !important;
  }
  .work-archive .work-entry.is-far .work-title {
    transform:translate3d(0,0,0) scale(.58) !important;
    opacity:.22 !important;
  }
  .work-archive .work-entry.is-active .work-title {
    transform:translate3d(5px,0,0) scale(1) !important;
    opacity:1 !important;
    color:#f04432 !important;
  }

  /* Keep the preview column inside its own half of the viewport.
     The previous v1.68 rules changed flex items to 100% height while
     leaving the parent as flex, so the three cards could stack over
     navigation/footer instead of occupying three grid rows. */
  .work-archive .work-preview {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:repeat(3,minmax(0,1fr)) !important;
    align-items:center;
    justify-items:center;
    width:46vw !important;
    right:3vw !important;
    top:clamp(112px,15vh,150px) !important;
    bottom:clamp(62px,8vh,88px) !important;
    gap:clamp(6px,1vh,12px) !important;
    overflow:hidden;
  }
  .work-archive .work-preview-card {
    width:clamp(132px,17vh,208px) !important;
    height:auto !important;
    max-width:100%;
    aspect-ratio:1 / 1 !important;
    align-self:center;
    justify-self:center;
    box-sizing:border-box;
    border:0 !important;
    outline:1.5px solid #f04432 !important;
    outline-offset:-1px;
    overflow:hidden;
    transform:scale(.94);
    transition:
      opacity 500ms cubic-bezier(.22,.72,.18,1),
      transform 500ms cubic-bezier(.22,.72,.18,1),
      filter 500ms cubic-bezier(.22,.72,.18,1) !important;
  }
  .work-archive .work-preview-active.has-image {
    transform:scale(1.035) !important;
    opacity:1 !important;
    outline:2px solid #f04432 !important;
    z-index:4;
  }
  .work-archive .work-preview-card img {
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
  }
}


/* v1.70 — reference-inspired continuous title hand-off and balanced previews.
   This final block intentionally overrides the accumulated earlier Work rules. */
@media (min-width:801px) {
  .work-archive .work-catalog {
    scroll-behavior:smooth !important;
    scroll-snap-type:none !important;
  }
  .work-archive .work-entry {
    min-height:clamp(34px,5.2vh,54px) !important;
    padding:4px 0 !important;
    opacity:.46 !important;
    transform:translate3d(0,0,0) !important;
    transition:
      min-height 560ms cubic-bezier(.22,.72,.18,1),
      padding 560ms cubic-bezier(.22,.72,.18,1),
      opacity 560ms cubic-bezier(.22,.72,.18,1),
      transform 560ms cubic-bezier(.22,.72,.18,1) !important;
    will-change:min-height,opacity;
  }
  .work-archive .work-entry .work-title {
    display:inline-block;
    font-size:clamp(13px,1.12vw,18px) !important;
    line-height:1.12;
    color:#f5f3ef !important;
    opacity:.34 !important;
    transform:translate3d(0,0,0) scale(.92) !important;
    transform-origin:left center;
    transition:
      font-size 560ms cubic-bezier(.22,.72,.18,1),
      color 560ms cubic-bezier(.22,.72,.18,1),
      opacity 560ms cubic-bezier(.22,.72,.18,1),
      transform 560ms cubic-bezier(.22,.72,.18,1) !important;
    will-change:font-size,opacity,transform,color;
  }
  .work-archive .work-entry.is-near { opacity:.68 !important; }
  .work-archive .work-entry.is-near .work-title {
    opacity:.5 !important;
    transform:translate3d(0,0,0) scale(.96) !important;
  }
  .work-archive .work-entry.is-far { opacity:.38 !important; }
  .work-archive .work-entry.is-far .work-title {
    opacity:.25 !important;
    transform:translate3d(0,0,0) scale(.9) !important;
  }
  .work-archive .work-entry.is-active {
    min-height:clamp(76px,11vh,112px) !important;
    padding:12px 0 !important;
    opacity:1 !important;
    transform:translate3d(7px,0,0) !important;
  }
  .work-archive .work-entry.is-active .work-title {
    font-size:clamp(25px,2.25vw,39px) !important;
    color:#f04432 !important;
    opacity:1 !important;
    transform:translate3d(3px,0,0) scale(1) !important;
  }

  .work-archive .work-preview {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:repeat(3,minmax(0,1fr)) !important;
    align-items:center !important;
    justify-items:center !important;
    width:45vw !important;
    right:2.5vw !important;
    top:clamp(104px,13vh,132px) !important;
    bottom:clamp(58px,7vh,76px) !important;
    gap:clamp(7px,1vh,12px) !important;
    overflow:hidden !important;
  }
  .work-archive .work-preview-card {
    width:clamp(170px,21vh,270px) !important;
    height:auto !important;
    min-height:0 !important;
    max-width:100% !important;
    aspect-ratio:1 / 1 !important;
    align-self:center !important;
    justify-self:center !important;
    box-sizing:border-box !important;
    border:1px solid #f04432 !important;
    outline:0 !important;
    background:#101010 !important;
    overflow:hidden !important;
    transition:
      opacity 560ms cubic-bezier(.22,.72,.18,1),
      transform 560ms cubic-bezier(.22,.72,.18,1),
      filter 560ms cubic-bezier(.22,.72,.18,1) !important;
  }
  .work-archive .work-preview-before,
  .work-archive .work-preview-after {
    transform:scale(.92) !important;
  }
  .work-archive .work-preview-before.has-image,
  .work-archive .work-preview-after.has-image {
    opacity:.28 !important;
  }
  .work-archive .work-preview-active.has-image {
    transform:scale(1.045) !important;
    opacity:1 !important;
    z-index:4 !important;
    border:2px solid #f04432 !important;
  }
  .work-archive .work-preview-card img {
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center !important;
    transition:opacity 260ms ease,transform 560ms cubic-bezier(.22,.72,.18,1) !important;
  }
}


/* v1.71 — synchronize preview motion with active-title hand-off; 16:9 frames. */
@media (min-width:801px) {
  .work-archive .work-entry,
  .work-archive .work-entry .work-title,
  .work-archive .work-preview-card,
  .work-archive .work-preview-card img {
    transition-duration:560ms !important;
    transition-timing-function:cubic-bezier(.22,.72,.18,1) !important;
  }

  .work-archive .work-preview {
    width:48vw !important;
    right:1.5vw !important;
    top:clamp(100px,12vh,124px) !important;
    bottom:clamp(54px,6.5vh,70px) !important;
    gap:clamp(6px,.8vh,10px) !important;
    grid-template-rows:repeat(3,minmax(0,1fr)) !important;
    align-items:center !important;
    justify-items:center !important;
  }
  .work-archive .work-preview-card {
    width:clamp(280px,30vw,440px) !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    min-height:0 !important;
    max-height:100% !important;
    border:1px solid #f04432 !important;
    outline:0 !important;
    transform:scale(.94) !important;
    transform-origin:center center !important;
    opacity:.3;
    overflow:hidden !important;
    transition:
      opacity 560ms cubic-bezier(.22,.72,.18,1),
      transform 560ms cubic-bezier(.22,.72,.18,1),
      border-width 560ms cubic-bezier(.22,.72,.18,1) !important;
    will-change:opacity,transform;
  }
  .work-archive .work-preview-before.has-image,
  .work-archive .work-preview-after.has-image {
    opacity:.28 !important;
    transform:scale(.94) !important;
  }
  .work-archive .work-preview-active.has-image {
    opacity:1 !important;
    transform:scale(1.045) !important;
    border:2px solid #f04432 !important;
    z-index:4 !important;
  }
  .work-archive .work-preview-card img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center !important;
    transform:scale(1) !important;
    transition:transform 560ms cubic-bezier(.22,.72,.18,1),opacity 560ms cubic-bezier(.22,.72,.18,1) !important;
  }
  .work-archive .work-preview-active.has-image img {
    transform:scale(1.025) !important;
  }
}


/* v1.72 — rounded preview frames and stronger active-project hierarchy. */
@media (min-width:801px) {
  .work-archive .work-preview-card {
    border-radius:18px !important;
    clip-path:inset(0 round 18px) !important;
    overflow:hidden !important;
    transform:scale(.88) !important;
    opacity:.3 !important;
    transition:
      opacity 560ms cubic-bezier(.22,.72,.18,1),
      transform 560ms cubic-bezier(.22,.72,.18,1),
      border-width 560ms cubic-bezier(.22,.72,.18,1),
      border-radius 560ms cubic-bezier(.22,.72,.18,1) !important;
  }
  .work-archive .work-preview-before.has-image,
  .work-archive .work-preview-after.has-image {
    transform:scale(.88) !important;
    opacity:.28 !important;
  }
  .work-archive .work-preview-active.has-image {
    transform:scale(1.12) !important;
    opacity:1 !important;
    border:2px solid #f04432 !important;
    border-radius:18px !important;
    clip-path:inset(0 round 18px) !important;
    z-index:5 !important;
  }
  .work-archive .work-preview-card img {
    border-radius:16px !important;
    clip-path:inset(0 round 16px) !important;
  }
}
@media (max-width:800px) {
  .work-archive .work-preview-card {
    border-radius:14px !important;
    overflow:hidden !important;
  }
  .work-archive .work-preview-card img {
    border-radius:12px !important;
  }
}


/* v1.73 — continuous book-like image hand-off, stronger focus, safe stage bounds. */
@media (min-width:801px) {
  .work-archive .work-preview {
    top:clamp(112px,15vh,150px) !important;
    bottom:clamp(88px,12vh,112px) !important;
    overflow:hidden !important;
    isolation:isolate;
  }
  .work-archive .work-preview-card {
    transform:translate3d(0,0,0) scale(.78) !important;
    opacity:.22 !important;
    border:1px solid #f04432 !important;
    border-radius:18px !important;
    clip-path:inset(0 round 18px) !important;
    overflow:hidden !important;
    transition:
      opacity 620ms cubic-bezier(.16,1,.3,1),
      transform 760ms cubic-bezier(.16,1,.3,1),
      border-width 560ms cubic-bezier(.22,.72,.18,1) !important;
    will-change:transform,opacity;
  }
  .work-archive .work-preview-before.has-image {
    transform:translate3d(0,-2.2vh,0) scale(.78) !important;
    opacity:.2 !important;
  }
  .work-archive .work-preview-after.has-image {
    transform:translate3d(0,2.2vh,0) scale(.78) !important;
    opacity:.2 !important;
  }
  .work-archive .work-preview-active.has-image {
    transform:translate3d(0,0,0) scale(1.18) !important;
    opacity:1 !important;
    border:2px solid #f04432 !important;
    border-radius:18px !important;
    clip-path:inset(0 round 18px) !important;
    z-index:5 !important;
  }
  .work-archive .work-preview-card img {
    opacity:1 !important;
    border-radius:16px !important;
    clip-path:inset(0 round 16px) !important;
    transition:opacity 260ms ease,transform 760ms cubic-bezier(.16,1,.3,1) !important;
  }
  .work-archive .work-preview-card.is-image-transitioning img {
    opacity:.12 !important;
  }
}


/* v1.74 — consistent motion across every catalogue title and wider left inset. */
@media (min-width:801px) {
  .work-archive .work-catalog {
    left:clamp(76px,9vw,150px) !important;
    width:43% !important;
    padding-left:clamp(10px,1.4vw,24px) !important;
    padding-right:clamp(34px,4vw,72px) !important;
    gap:clamp(8px,1.5vh,18px) !important;
    scroll-behavior:smooth !important;
  }
  .work-archive .work-entry {
    transform:translate3d(0,0,0) !important;
    transition:
      min-height 560ms cubic-bezier(.16,1,.3,1),
      padding 560ms cubic-bezier(.16,1,.3,1),
      opacity 560ms cubic-bezier(.16,1,.3,1),
      transform 760ms cubic-bezier(.16,1,.3,1) !important;
    will-change:transform,opacity,min-height;
  }
  .work-archive .work-entry .work-title {
    display:block;
    transform:translate3d(0,0,0) scale(.9) !important;
    transform-origin:left center;
    transition:
      font-size 560ms cubic-bezier(.16,1,.3,1),
      opacity 560ms cubic-bezier(.16,1,.3,1),
      color 560ms cubic-bezier(.16,1,.3,1),
      transform 760ms cubic-bezier(.16,1,.3,1) !important;
    will-change:transform,font-size,opacity,color;
  }
  .work-archive .work-entry.is-far {
    transform:translate3d(0,0,0) !important;
    opacity:.38 !important;
  }
  .work-archive .work-entry.is-near {
    transform:translate3d(14px,0,0) !important;
    opacity:.7 !important;
  }
  .work-archive .work-entry.is-near .work-title {
    transform:translate3d(8px,0,0) scale(.96) !important;
    opacity:.58 !important;
  }
  .work-archive .work-entry.is-active {
    transform:translate3d(28px,0,0) !important;
    opacity:1 !important;
  }
  .work-archive .work-entry.is-active .work-title {
    transform:translate3d(14px,0,0) scale(1) !important;
    opacity:1 !important;
  }
}


/* v1.76 — true image crossfade layers and shared vertical alignment axis. */
@media (min-width:801px) {
  .work-archive .work-catalog,
  .work-archive .work-preview {
    top:clamp(112px,15vh,150px) !important;
    bottom:clamp(88px,12vh,112px) !important;
  }
  .work-archive .work-catalog {
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
  }
  .work-archive .work-preview {
    display:grid !important;
    align-content:center !important;
  }
  .work-archive .work-preview-card {
    position:relative !important;
    overflow:hidden !important;
    transition:
      opacity 760ms cubic-bezier(.16,1,.3,1),
      transform 760ms cubic-bezier(.16,1,.3,1),
      border-width 760ms cubic-bezier(.16,1,.3,1) !important;
  }
  .work-archive .work-preview-card img {
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    opacity:1;
    transition:opacity 760ms cubic-bezier(.16,1,.3,1) !important;
  }
  .work-archive .work-preview-card img.work-image-old {
    opacity:0 !important;
    z-index:1;
  }
  .work-archive .work-preview-card img.work-image-current {
    opacity:1 !important;
    z-index:2;
  }
}


/* v1.77 — deterministic image easing, larger sharper previews, aligned title axis. */
@media (min-width:801px) {
  .work-archive .work-catalog {
    top:clamp(82px,10vh,112px) !important;
    bottom:clamp(28px,4vh,48px) !important;
    justify-content:center !important;
  }
  .work-archive .work-preview {
    top:clamp(82px,10vh,112px) !important;
    bottom:clamp(28px,4vh,48px) !important;
    width:min(58vw,980px) !important;
    right:clamp(10px,1.8vw,32px) !important;
    grid-template-rows:minmax(0,.72fr) minmax(0,1.56fr) minmax(0,.72fr) !important;
    align-content:center !important;
  }
  .work-archive .work-entry.is-active { transform:translate3d(28px,0,0) !important; }
  .work-archive .work-preview-card {
    transition:opacity 820ms cubic-bezier(.16,1,.3,1),
      transform 820ms cubic-bezier(.16,1,.3,1),
      filter 820ms cubic-bezier(.16,1,.3,1) !important;
  }
  .work-archive .work-preview-card img {
    width:100% !important; height:100% !important;
    max-width:none !important; max-height:none !important;
    object-fit:cover !important; image-rendering:auto;
    opacity:1;
    transition:opacity 820ms cubic-bezier(.16,1,.3,1),
      transform 820ms cubic-bezier(.16,1,.3,1) !important;
    will-change:opacity,transform;
  }
  .work-archive .work-preview-card img.is-fading-in { opacity:0; transform:scale(1.035); }
  .work-archive .work-preview-card img.is-fading-in-complete { opacity:1; transform:scale(1); }
  .work-archive .work-preview-card img.is-fading-out { opacity:0; transform:scale(.975); }
  .work-archive .work-preview-active.has-image { transform:scale(1.08) !important; opacity:1 !important; }
  .work-archive .work-preview-card { cursor:pointer; pointer-events:auto; }
}
@media (max-width:800px) {
  .work-archive .work-preview-card { cursor:pointer; pointer-events:auto; }
  .work-archive .work-preview-card img { object-fit:cover; }
}


/* v1.78 — hard-fix crossfade priority and keep inactive previews inside safe bounds. */
@media (min-width:801px) {
  .work-archive .work-catalog {
    top:clamp(76px,11vh,116px) !important;
    bottom:clamp(92px,15vh,150px) !important;
    left:clamp(110px,15vw,250px) !important;
    width:min(39vw,610px) !important;
    justify-content:center !important;
  }
  .work-archive .work-preview {
    top:clamp(112px,17vh,170px) !important;
    bottom:clamp(112px,17vh,170px) !important;
    right:clamp(18px,3vw,52px) !important;
    width:min(56vw,940px) !important;
    overflow:hidden !important;
    display:grid !important;
    grid-template-rows:minmax(0,.48fr) minmax(0,1.72fr) minmax(0,.48fr) !important;
    row-gap:clamp(2px,.7vh,8px) !important;
    align-content:center !important;
    isolation:isolate !important;
  }
  .work-archive .work-preview-card {
    min-height:0 !important;
    max-height:100% !important;
    transform:translate3d(0,0,0) scale(.68) !important;
    opacity:.22 !important;
    transition:
      opacity 900ms cubic-bezier(.16,1,.3,1) !important,
      transform 900ms cubic-bezier(.16,1,.3,1) !important,
      filter 900ms cubic-bezier(.16,1,.3,1) !important;
  }
  .work-archive .work-preview-before.has-image {
    transform:translate3d(0,1.2vh,0) scale(.68) !important;
    opacity:.24 !important;
  }
  .work-archive .work-preview-after.has-image {
    transform:translate3d(0,-1.2vh,0) scale(.68) !important;
    opacity:.24 !important;
  }
  .work-archive .work-preview-active.has-image {
    transform:translate3d(0,0,0) scale(1.48) !important;
    opacity:1 !important;
    z-index:8 !important;
  }
  .work-archive .work-preview-card img {
    opacity:1 !important;
    transition:
      opacity 900ms cubic-bezier(.16,1,.3,1) !important,
      transform 900ms cubic-bezier(.16,1,.3,1) !important;
    will-change:opacity,transform;
  }
  /* These state selectors intentionally outrank all earlier !important rules. */
  .work-archive .work-preview-card img.is-fading-in {
    opacity:0 !important;
    transform:scale(1.045) !important;
  }
  .work-archive .work-preview-card img.is-fading-in-complete {
    opacity:1 !important;
    transform:scale(1) !important;
  }
  .work-archive .work-preview-card img.is-fading-out {
    opacity:0 !important;
    transform:scale(.965) !important;
  }
}


/* v1.79 — only the active project is interactive; project-first composition. */
.work-archive .work-heading { display:none !important; }
.work-archive .work-entry { cursor:default; }
.work-archive .work-entry.is-active { cursor:pointer; pointer-events:auto !important; }
.work-archive .work-entry:not(.is-active) { pointer-events:none !important; }
.work-archive .work-preview-before,
.work-archive .work-preview-after { pointer-events:none !important; cursor:default !important; }
.work-archive .work-preview-active { pointer-events:auto !important; cursor:pointer !important; }

@media (min-width:801px) {
  .work-archive .work-catalog {
    left:clamp(100px,13vw,220px) !important;
    width:min(39vw,600px) !important;
    top:clamp(76px,10vh,108px) !important;
    bottom:clamp(92px,14vh,140px) !important;
  }
  .work-archive .work-preview {
    right:clamp(42px,5vw,84px) !important;
    width:min(54vw,900px) !important;
    top:clamp(100px,15vh,150px) !important;
    bottom:clamp(100px,15vh,150px) !important;
  }
  .work-archive .work-preview-active.has-image {
    transform:translate3d(-2.2vw,0,0) scale(1.68) !important;
    transform-origin:center center !important;
    z-index:12 !important;
  }
  .work-archive .work-preview-before.has-image {
    transform:translate3d(-2.2vw,1vh,0) scale(.62) !important;
  }
  .work-archive .work-preview-after.has-image {
    transform:translate3d(-2.2vw,-1vh,0) scale(.62) !important;
  }
}


/* v1.81 — subtle horizontal entrance and a small spring on every preview. */
@keyframes workImageScrollBounce {
  0% { translate:0 0; }
  32% { translate:0 -7px; }
  66% { translate:0 2px; }
  100% { translate:0 0; }
}
@media (min-width:801px) {
  .work-archive .work-preview-card img.is-fading-in {
    transform:translate3d(10px,0,0) scale(1.025) !important;
  }
  .work-archive .work-preview-card img.is-fading-in-complete {
    transform:translate3d(0,0,0) scale(1) !important;
  }
  .work-archive .work-preview-card.is-scroll-bounce img {
    animation:workImageScrollBounce 540ms cubic-bezier(.2,.85,.25,1) both;
  }
}
@media (prefers-reduced-motion:reduce) {
  .work-archive .work-preview-card.is-scroll-bounce img { animation:none !important; }
}


/* v1.82 — remove bounce; use the same subtle image reveal for every project. */
@keyframes workProjectImageReveal {
  0% {
    opacity:.78;
    transform:translate3d(12px,0,0) scale(1.035);
  }
  100% {
    opacity:1;
    transform:translate3d(0,0,0) scale(1);
  }
}
.work-archive .work-preview-card.is-scroll-bounce img,
.work-archive .work-preview-card img.is-scroll-bounce {
  animation:none !important;
}
.work-archive .work-preview-card img.is-project-reveal {
  animation:workProjectImageReveal 520ms cubic-bezier(.16,1,.3,1) both !important;
}
.work-archive .work-preview-card img.is-project-reveal.is-fading-in,
.work-archive .work-preview-card img.is-project-reveal.is-fading-out {
  animation:none !important;
}


/* v1.83 — animate the preview containers as well as every newly loaded image. */
@keyframes workPreviewContainerReveal {
  0% {
    filter:brightness(.88) saturate(.94);
    clip-path:inset(1.5% 1.2% 1.5% 1.2% round 14px);
  }
  100% {
    filter:brightness(1) saturate(1);
    clip-path:inset(0 0 0 0 round 14px);
  }
}
@keyframes workProjectImageRevealSubtle {
  0% { opacity:.88; transform:translate3d(3px,0,0) scale(1.018); }
  100% { opacity:1; transform:translate3d(0,0,0) scale(1); }
}
.work-archive .work-preview-card.is-container-reveal {
  animation:workPreviewContainerReveal 560ms cubic-bezier(.16,1,.3,1) both !important;
}
.work-archive .work-preview-card img.is-project-reveal {
  animation:workProjectImageRevealSubtle 560ms cubic-bezier(.16,1,.3,1) both !important;
}
@media (prefers-reduced-motion:reduce) {
  .work-archive .work-preview-card.is-container-reveal,
  .work-archive .work-preview-card img.is-project-reveal {
    animation:none !important;
  }
}


/* v1.84 — remove the pronounced horizontal image fade and make the entrance barely perceptible. */
@media (min-width:801px) {
  .work-archive .work-preview-card,
  .work-archive .work-preview-card.has-image,
  .work-archive .work-preview-active.has-image,
  .work-archive .work-preview-before.has-image,
  .work-archive .work-preview-after.has-image {
    -webkit-mask-image:none !important;
    mask-image:none !important;
  }
}
@keyframes workProjectImageRevealSubtle {
  0% {
    opacity:.97;
    transform:translate3d(1px,0,0) scale(1.003);
  }
  100% {
    opacity:1;
    transform:translate3d(0,0,0) scale(1);
  }
}
.work-archive .work-preview-card img.is-project-reveal {
  animation:workProjectImageRevealSubtle 420ms cubic-bezier(.16,1,.3,1) both !important;
}
@media (prefers-reduced-motion:reduce) {
  .work-archive .work-preview-card img.is-project-reveal {
    animation:none !important;
  }
}


/* v1.85 — transition the preview frame only. Images remain completely still. */
@keyframes workPreviewFrameOnlyReveal {
  0% {
    clip-path:inset(1.2% 1.2% round 18px);
    filter:brightness(.9) saturate(.96);
  }
  100% {
    clip-path:inset(0 0 round 18px);
    filter:none;
  }
}
.work-archive .work-preview-card.is-container-reveal.has-image {
  animation:workPreviewFrameOnlyReveal 520ms cubic-bezier(.16,1,.3,1) both !important;
}
.work-archive .work-preview-card img,
.work-archive .work-preview-card img.is-project-reveal,
.work-archive .work-preview-card img.is-fading-in,
.work-archive .work-preview-card img.is-fading-in-complete,
.work-archive .work-preview-card img.is-fading-out {
  animation:none !important;
  transition:none !important;
  transform:none !important;
  opacity:1 !important;
  filter:none !important;
}
.work-archive .work-preview-card:not(.has-image) {
  border-color:transparent !important;
  outline:0 !important;
}
@media (prefers-reduced-motion:reduce) {
  .work-archive .work-preview-card.is-container-reveal.has-image {
    animation:none !important;
  }
}


/* v1.86 — preview containers enter from the opposite edge of the scroll direction. */
@keyframes workContainerEnterFromTop {
  0% {
    transform:translate3d(0,-30px,0) scale(.965);
    clip-path:inset(2.4% 1.8% round 18px);
    filter:brightness(.84) saturate(.92);
  }
  68% {
    transform:translate3d(0,2px,0) scale(1.006);
    clip-path:inset(0 0 round 18px);
    filter:brightness(1.025) saturate(1.015);
  }
  100% {
    transform:translate3d(0,0,0) scale(1);
    clip-path:inset(0 0 round 18px);
    filter:none;
  }
}
@keyframes workContainerEnterFromBottom {
  0% {
    transform:translate3d(0,30px,0) scale(.965);
    clip-path:inset(2.4% 1.8% round 18px);
    filter:brightness(.84) saturate(.92);
  }
  68% {
    transform:translate3d(0,-2px,0) scale(1.006);
    clip-path:inset(0 0 round 18px);
    filter:brightness(1.025) saturate(1.015);
  }
  100% {
    transform:translate3d(0,0,0) scale(1);
    clip-path:inset(0 0 round 18px);
    filter:none;
  }
}
.work-archive .work-preview.is-moving-down .work-preview-card.is-container-reveal.has-image.is-entering-from-top {
  animation:workContainerEnterFromTop 620ms cubic-bezier(.2,.82,.22,1) both !important;
}
.work-archive .work-preview.is-moving-up .work-preview-card.is-container-reveal.has-image.is-entering-from-bottom {
  animation:workContainerEnterFromBottom 620ms cubic-bezier(.2,.82,.22,1) both !important;
}
@media (prefers-reduced-motion:reduce) {
  .work-archive .work-preview-card.is-container-reveal.has-image {
    animation:none !important;
  }
}


/* v1.87 — reliable directional container easing.
   Use the individual translate property: older layout rules set transform:... !important
   on preview cards, which prevents transform keyframes from ever taking effect. */
@keyframes workContainerEaseFromTop {
  0% {
    translate:0 -34px;
    scale:.965;
    clip-path:inset(2.6% 1.8% round 18px);
    filter:brightness(.82) saturate(.9);
  }
  72% {
    translate:0 2px;
    scale:1.008;
    clip-path:inset(0 round 18px);
    filter:brightness(1.035) saturate(1.02);
  }
  100% {
    translate:0 0;
    scale:1;
    clip-path:inset(0 round 18px);
    filter:none;
  }
}
@keyframes workContainerEaseFromBottom {
  0% {
    translate:0 34px;
    scale:.965;
    clip-path:inset(2.6% 1.8% round 18px);
    filter:brightness(.82) saturate(.9);
  }
  72% {
    translate:0 -2px;
    scale:1.008;
    clip-path:inset(0 round 18px);
    filter:brightness(1.035) saturate(1.02);
  }
  100% {
    translate:0 0;
    scale:1;
    clip-path:inset(0 round 18px);
    filter:none;
  }
}
/* Higher specificity than the older generic frame animation. */
.work-archive .work-preview-card.is-container-reveal.has-image.is-entering-from-top {
  animation:workContainerEaseFromTop 760ms cubic-bezier(.22,1,.36,1) both !important;
  will-change:translate,scale,clip-path,filter;
}
.work-archive .work-preview-card.is-container-reveal.has-image.is-entering-from-bottom {
  animation:workContainerEaseFromBottom 760ms cubic-bezier(.22,1,.36,1) both !important;
  will-change:translate,scale,clip-path,filter;
}
@media (prefers-reduced-motion:reduce) {
  .work-archive .work-preview-card.is-container-reveal.has-image {
    animation:none !important;
    translate:0 0 !important;
    scale:1 !important;
  }
}

/* v2.01 — restored Work composition with bounded catalogue geometry. */
@media (min-width:801px) {
  .work-archive .work-catalog {
    width:43% !important;
    max-width:43% !important;
    box-sizing:border-box;
    padding-right:clamp(30px,3.2vw,52px) !important;
    overflow-x:hidden !important;
  }
  .work-archive .work-entry {
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
    grid-template-columns:32px minmax(0,1fr);
  }
  .work-archive .work-entry .work-title {
    min-width:0;
    max-width:100%;
    overflow-wrap:anywhere;
    hyphens:auto;
  }
  .work-archive .work-entry.is-active .work-title {
    transform:translateX(4px);
    font-size:clamp(26px,2.35vw,38px);
  }
}
/* Directional transition runs on the complete preview frame.
   Image animation is limited to a subtle settle, not a second layout movement. */
@keyframes workFrameFromTop {
  0% { transform:translate3d(0,-54px,0) scale(.965); }
  78% { transform:translate3d(0,2px,0) scale(1.008); }
  100% { transform:translate3d(0,0,0) scale(1); }
}
@keyframes workFrameFromBottom {
  0% { transform:translate3d(0,54px,0) scale(.965); }
  78% { transform:translate3d(0,-2px,0) scale(1.008); }
  100% { transform:translate3d(0,0,0) scale(1); }
}
@keyframes workImageSettle {
  0% { opacity:.82; }
  100% { opacity:1; }
}
.work-archive .work-preview-card.is-entering-from-top.has-image {
  animation:workFrameFromTop 760ms cubic-bezier(.16,1,.3,1) both !important;
}
.work-archive .work-preview-card.is-entering-from-bottom.has-image {
  animation:workFrameFromBottom 760ms cubic-bezier(.16,1,.3,1) both !important;
}
.work-archive .work-preview-card.is-entering-from-top.has-image img,
.work-archive .work-preview-card.is-entering-from-bottom.has-image img {
  animation:workImageSettle 460ms ease-out both;
}
.work-archive .work-entry .work-title {
  transition:font-size 620ms cubic-bezier(.16,1,.3,1),
    transform 620ms cubic-bezier(.16,1,.3,1),
    color 420ms ease,opacity 420ms ease;
}
.work-archive .work-preview-card:not(.has-image) {
  border-color:transparent !important;
  outline:0 !important;
}
@media (prefers-reduced-motion:reduce) {
  .work-archive .work-preview-card,
  .work-archive .work-preview-card img,
  .work-archive .work-entry .work-title { animation:none!important;transition:none!important; }
}


/* v2.02 parent transition: JS animates the card, image remains a passive child. */
.work-archive .work-preview-card.is-entering-from-top,
.work-archive .work-preview-card.is-entering-from-bottom,
.work-archive .work-preview-card.is-container-reveal {
  animation:none !important;
}
.work-archive .work-preview-card img {
  transform:none !important;
  animation:none !important;
  transition:none !important;
}
.work-archive .work-entry,
.work-archive .work-entry .work-title,
.work-archive .work-entry .work-number {
  transition:
    font-size 680ms cubic-bezier(.16,1,.3,1),
    transform 680ms cubic-bezier(.16,1,.3,1),
    color 480ms ease,
    opacity 480ms ease,
    min-height 680ms cubic-bezier(.16,1,.3,1),
    padding 680ms cubic-bezier(.16,1,.3,1) !important;
}


/* v2.03 — vertical adjustment only; preserve the established x-position. */
@media (min-width:801px) {
  .work-archive .work-catalog {
    left:var(--work-gutter) !important;
    width:47% !important;
    max-width:47% !important;
    transform:translateY(-76px) !important;
  }
}
@media (max-width:800px) {
  .work-archive .work-catalog { transform:none !important; }
}


/* v2.04 — move the title column right while preserving its right boundary. */
@media (min-width:801px) {
  .work-archive .work-catalog {
    left:calc(var(--work-gutter) + clamp(28px,3.2vw,54px)) !important;
    width:calc(47% - clamp(28px,3.2vw,54px)) !important;
    max-width:calc(47% - clamp(28px,3.2vw,54px)) !important;
  }
}

/* v2.06 — hover affordance only; default preview dimensions remain untouched. */
@media (hover:hover) and (pointer:fine) {
  .work-archive .work-preview-card.work-preview-active.has-image {
    transition:scale 300ms cubic-bezier(.2,.8,.2,1) !important;
  }
  .work-archive .work-preview-card.work-preview-active.has-image:hover {
    scale:.965;
  }
}
@media (prefers-reduced-motion:reduce) {
  .work-archive .work-preview-card.work-preview-active.has-image {
    transition:none !important;
    scale:1 !important;
  }
}


/* v2.31.4: prevent the active project preview from being clipped by
   the preview stack or the title/catalogue area. Keep the neighboring
   previews subtle, but let the selected artwork use its full image box. */
@media (min-width:801px) {
  body.post-type-archive-project .work-archive {
    overflow:visible !important;
  }
  body.post-type-archive-project .work-preview {
    overflow:visible !important;
    isolation:auto !important;
  }
  body.post-type-archive-project .work-preview-card,
  body.post-type-archive-project .work-preview-card.has-image,
  body.post-type-archive-project .work-preview-active.has-image {
    clip-path:none !important;
    -webkit-clip-path:none !important;
    overflow:visible !important;
  }
  body.post-type-archive-project .work-preview-active.has-image {
    transform:translate3d(0,0,0) scale(1) !important;
    transform-origin:center center !important;
  }
  body.post-type-archive-project .work-preview-card img {
    clip-path:none !important;
    -webkit-clip-path:none !important;
    object-fit:contain !important;
    object-position:center !important;
  }
}


/* v2.31.5 — fill the 16:9 preview frame and add a restrained image-pan effect. */
@media (min-width:801px) {
  body.post-type-archive-project .work-preview-card {
    aspect-ratio:16 / 9 !important;
  }
  body.post-type-archive-project .work-preview-card img {
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center !important;
  }
  body.post-type-archive-project .work-preview-active.has-image img {
    animation:workPreviewImagePan 9s ease-in-out infinite alternate !important;
    will-change:transform;
  }
}
@keyframes workPreviewImagePan {
  0% { transform:scale(1.04) translate3d(0,0,0); }
  100% { transform:scale(1.16) translate3d(0,-2.5%,0); }
}
@media (max-width:800px) {
  body.post-type-archive-project .work-preview-card {
    aspect-ratio:16 / 9 !important;
  }
  body.post-type-archive-project .work-preview-card img {
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.post-type-archive-project .work-preview-active.has-image img {
    animation:none !important;
    transform:scale(1.04) !important;
  }
}


/* v2.31.6 — make the selected Work preview the dominant, clickable focal point.
   It may overlap the title column, but never clips the title, preview, or frame. */
@media (min-width:801px) {
  body.post-type-archive-project .work-preview {
    overflow:visible !important;
    z-index:5 !important;
  }
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image {
    position:absolute !important;
    top:50% !important;
    right:0 !important;
    left:auto !important;
    width:min(70vw, 1100px, calc(74vh * 16 / 9)) !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    max-width:none !important;
    max-height:none !important;
    overflow:visible !important;
    transform:translate3d(0,-50%,0) scale(1) !important;
    transform-origin:center center !important;
    z-index:10 !important;
    opacity:1 !important;
    cursor:pointer !important;
    transition:transform .42s cubic-bezier(.2,.8,.2,1), filter .42s ease !important;
  }
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center !important;
    border-radius:clamp(12px,1.2vw,22px);
  }
}
@media (hover:hover) and (pointer:fine) and (min-width:801px) {
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image:hover {
    transform:translate3d(0,-50%,0) scale(.91) !important;
    filter:brightness(1.08) saturate(1.05);
  }
}
@media (max-width:800px) {
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image {
    position:relative !important;
    top:auto !important; right:auto !important; left:auto !important;
    width:100% !important; height:auto !important;
    aspect-ratio:16 / 9 !important;
    transform:none !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image,
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image:hover {
    transition:none !important;
    transform:translate3d(0,-50%,0) scale(1) !important;
  }
}

/* v2.31.7 — rebalance the Work composition: previews sit behind the
   catalogue, with the selected image reduced so neighboring previews
   remain visible. Titles stay in the foreground and may cross the image. */
@media (min-width:801px) {
  body.post-type-archive-project .work-preview {
    z-index:1 !important;
    right:clamp(14px,2.4vw,42px) !important;
    width:min(55vw,900px) !important;
    isolation:auto !important;
    pointer-events:none !important;
  }
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image {
    width:min(52vw,760px,calc(55vh * 16 / 9)) !important;
    max-width:calc(100vw - 36px) !important;
    top:50% !important;
    right:0 !important;
    left:auto !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    transform:translate3d(0,-50%,0) scale(1) !important;
    z-index:2 !important;
    pointer-events:auto !important;
  }
  body.post-type-archive-project .work-catalog {
    z-index:8 !important;
    width:53% !important;
    overflow-y:auto !important;
    overflow-x:visible !important;
    padding-right:clamp(20px,3vw,48px) !important;
  }
  body.post-type-archive-project .work-entry,
  body.post-type-archive-project .work-entry .work-number,
  body.post-type-archive-project .work-entry .work-title {
    position:relative !important;
    z-index:9 !important;
  }
  body.post-type-archive-project .work-entry .work-title {
    overflow:visible !important;
    max-width:none !important;
  }
  body.post-type-archive-project .work-heading {
    z-index:10 !important;
  }
}
@media (hover:hover) and (pointer:fine) and (min-width:801px) {
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image:hover {
    transform:translate3d(0,-50%,0) scale(.94) !important;
  }
}
@media (max-width:800px) {
  body.post-type-archive-project .work-preview { z-index:1 !important; }
  body.post-type-archive-project .work-catalog,
  body.post-type-archive-project .work-heading { position:relative; z-index:2 !important; }
}
@media (prefers-reduced-motion:reduce) {
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image,
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image:hover {
    transform:translate3d(0,-50%,0) scale(1) !important;
  }
}


/* v2.31.8 — restore the neighboring project previews as visible layered cards.
   The selected card stays prominent, while the previous/next cards peek out
   behind it so the preview stack never collapses to a single image. */
@media (min-width:801px) {
  body.post-type-archive-project .work-preview {
    display:block !important;
    overflow:visible !important;
    isolation:isolate !important;
  }
  body.post-type-archive-project .work-preview-card.work-preview-before.has-image,
  body.post-type-archive-project .work-preview-card.work-preview-after.has-image {
    position:absolute !important;
    display:flex !important;
    width:min(37vw,560px,calc(39vh * 16 / 9)) !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    max-width:calc(100vw - 36px) !important;
    opacity:.48 !important;
    visibility:visible !important;
    overflow:hidden !important;
    border:1px solid rgba(240,68,50,.7) !important;
    border-radius:clamp(10px,1vw,18px) !important;
    transform:none !important;
    filter:saturate(.78) brightness(.72) !important;
    z-index:1 !important;
    pointer-events:none !important;
    mask-image:none !important;
    -webkit-mask-image:none !important;
  }
  body.post-type-archive-project .work-preview-card.work-preview-before.has-image {
    top:7% !important;
    left:3% !important;
    right:auto !important;
    bottom:auto !important;
  }
  body.post-type-archive-project .work-preview-card.work-preview-after.has-image {
    top:auto !important;
    left:auto !important;
    right:2% !important;
    bottom:5% !important;
  }
  body.post-type-archive-project .work-preview-card.work-preview-before.has-image img,
  body.post-type-archive-project .work-preview-card.work-preview-after.has-image img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    border-radius:inherit !important;
    animation:none !important;
  }
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image {
    width:min(43vw,650px,calc(48vh * 16 / 9)) !important;
    top:50% !important;
    right:0 !important;
    left:auto !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    transform:translate3d(0,-50%,0) scale(1) !important;
    z-index:3 !important;
  }
}
@media (hover:hover) and (pointer:fine) and (min-width:801px) {
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image:hover {
    transform:translate3d(0,-50%,0) scale(.94) !important;
  }
}
@media (max-width:800px) {
  body.post-type-archive-project .work-preview {
    display:grid !important;
    grid-template-rows:repeat(3,minmax(0,1fr)) !important;
    overflow:hidden !important;
  }
  body.post-type-archive-project .work-preview-card {
    position:relative !important;
    width:100% !important;
    height:100% !important;
    opacity:.28 !important;
  }
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image {
    opacity:1 !important;
    z-index:3 !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image,
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image:hover {
    transition:none !important;
  }
}




/* v2.32.3 — authoritative cross-browser Work preview layout. */
@media (min-width:801px) {
  body.post-type-archive-project .work-preview {
    position:fixed !important; display:flex !important; align-items:center !important;
    justify-content:center !important; gap:clamp(12px,1.5vw,24px) !important;
    top:50% !important; right:clamp(18px,3vw,54px) !important;
    bottom:auto !important; left:auto !important; width:min(58vw,940px) !important;
    height:auto !important; overflow:visible !important; isolation:isolate !important;
    transform:translateY(-50%) !important; perspective:none !important;
    -webkit-mask-image:none !important; mask-image:none !important;
  }
  body.post-type-archive-project .work-preview-card,
  body.post-type-archive-project .work-preview-card.has-image,
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image,
  body.post-type-archive-project .work-preview-card.work-preview-before.has-image,
  body.post-type-archive-project .work-preview-card.work-preview-after.has-image {
    position:relative !important; inset:auto !important; display:flex !important;
    flex:0 1 25% !important; width:25% !important; min-width:0 !important;
    max-width:none !important; height:auto !important; aspect-ratio:16 / 9 !important;
    overflow:hidden !important; box-sizing:border-box !important;
    border:1px solid rgba(240,68,50,.68) !important; outline:none !important;
    border-radius:clamp(9px,1vw,16px) !important; opacity:.46 !important;
    visibility:visible !important; transform:none !important;
    filter:saturate(.78) brightness(.72) !important;
    -webkit-mask:none !important; mask:none !important;
    -webkit-mask-image:none !important; mask-image:none !important;
    z-index:1 !important; pointer-events:none !important; animation:none !important;
    transition:opacity .45s ease,filter .45s ease,transform .45s ease !important;
  }
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image {
    flex:1 1 50% !important; width:50% !important; opacity:1 !important;
    filter:none !important; transform:none !important; z-index:3 !important;
    pointer-events:auto !important; cursor:pointer !important;
    border:1px solid rgba(240,68,50,.9) !important;
    box-shadow:0 0 0 1px rgba(240,68,50,.12) !important;
  }
  body.post-type-archive-project .work-preview-card img,
  body.post-type-archive-project .work-preview-card.has-image img {
    display:block !important; position:relative !important; inset:auto !important;
    width:100% !important; height:100% !important; min-width:0 !important;
    min-height:0 !important; max-width:none !important; max-height:none !important;
    object-fit:cover !important; object-position:center !important;
    border:0 !important; outline:0 !important; border-radius:inherit !important;
    transform:none !important; animation:none !important; transition:none !important;
    -webkit-mask:none !important; mask:none !important;
  }
  body.post-type-archive-project .work-preview-card:not(.has-image) { display:none !important; }
}
@media (hover:hover) and (pointer:fine) and (min-width:801px) {
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image:hover {
    transform:scale(.965) !important; filter:brightness(1.05) !important;
  }
}
@media (max-width:800px) {
  body.post-type-archive-project .work-preview {
    position:relative !important; display:grid !important; grid-template-columns:1fr !important;
    grid-template-rows:auto !important; gap:12px !important;
    top:auto !important; right:auto !important; bottom:auto !important; left:auto !important;
    width:100% !important; height:auto !important; transform:none !important;
    overflow:visible !important;
  }
  body.post-type-archive-project .work-preview-card,
  body.post-type-archive-project .work-preview-card.has-image,
  body.post-type-archive-project .work-preview-card.work-preview-active.has-image {
    position:relative !important; inset:auto !important; display:flex !important;
    width:100% !important; height:auto !important; aspect-ratio:16 / 9 !important;
    flex:none !important; opacity:1 !important; overflow:hidden !important;
    transform:none !important; border:1px solid rgba(240,68,50,.68) !important;
    outline:none !important; -webkit-mask:none !important; mask:none !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.post-type-archive-project .work-preview-card,
  body.post-type-archive-project .work-preview-card img {
    animation:none !important; transition:none !important;
  }
}




/* v2.32.5 — authoritative motion/layout override.
   Keep all three slots in the flex row, including empty edge slots, so first
   and last projects stay on the same center axis. Animate card geometry only. */
@media (min-width:801px) {
  body.post-type-archive-project .work-archive .work-preview {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:min(64vw,1040px) !important;
    gap:clamp(10px,1.25vw,20px) !important;
    top:50% !important;
    transform:translate3d(0,-50%,0) !important;
  }
  body.post-type-archive-project .work-archive .work-preview-card,
  body.post-type-archive-project .work-archive .work-preview-card.has-image,
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-before,
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-after {
    display:flex !important;
    position:relative !important;
    flex:0 0 20% !important;
    width:20% !important;
    min-width:0 !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    visibility:hidden !important;
    opacity:0 !important;
    transform:scale(.985) !important;
    transition:
      flex-basis .85s cubic-bezier(.22,.75,.2,1),
      width .85s cubic-bezier(.22,.75,.2,1),
      opacity .55s ease,
      filter .55s ease,
      transform .85s cubic-bezier(.22,.75,.2,1),
      box-shadow .55s ease !important;
    will-change:flex-basis,width,opacity,transform;
  }
  body.post-type-archive-project .work-archive .work-preview-card.has-image {
    visibility:visible !important;
    opacity:.46 !important;
    filter:saturate(.78) brightness(.72) !important;
  }
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-active.has-image {
    flex:0 0 60% !important;
    width:60% !important;
    visibility:visible !important;
    opacity:1 !important;
    filter:none !important;
    transform:scale(1) !important;
    z-index:3 !important;
    border:1px solid rgba(240,68,50,.9) !important;
    box-shadow:0 0 0 1px rgba(240,68,50,.12) !important;
  }
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-before.has-image,
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-after.has-image {
    flex:0 0 20% !important;
    width:20% !important;
    transform:scale(.985) !important;
  }
  body.post-type-archive-project .work-archive .work-preview-card img,
  body.post-type-archive-project .work-archive .work-preview-card.has-image img {
    transition:none !important;
    animation:none !important;
  }
}
@media (hover:hover) and (pointer:fine) and (min-width:801px) {
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-active.has-image:hover {
    transform:scale(.965) !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.post-type-archive-project .work-archive .work-preview-card,
  body.post-type-archive-project .work-archive .work-preview-card.has-image,
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-active.has-image {
    transition:none !important;
    will-change:auto !important;
  }
}


/* v2.32.6 — lower the title row slightly and give the selected preview more room. */
@media (min-width:801px) {
  body.post-type-archive-project .work-archive .work-catalog {
    transform:translate3d(0,4px,0) !important;
  }
  body.post-type-archive-project .work-archive .work-preview {
    width:min(68vw,1180px) !important;
  }
  body.post-type-archive-project .work-archive .work-preview-card,
  body.post-type-archive-project .work-archive .work-preview-card.has-image,
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-before,
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-after {
    flex-basis:17% !important;
    width:17% !important;
  }
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-active.has-image {
    flex-basis:66% !important;
    width:66% !important;
  }
}


/* v2.32.7 — consistent eased preview hand-off for every project.
   The same geometry and opacity easing applies to the active and neighboring
   cards, not just the first/last items where the empty edge slot is visible. */
@media (min-width:801px) {
  body.post-type-archive-project .work-archive .work-preview-card,
  body.post-type-archive-project .work-archive .work-preview-card.has-image,
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-active.has-image,
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-before.has-image,
  body.post-type-archive-project .work-archive .work-preview-card.work-preview-after.has-image {
    transition:
      flex-basis .9s cubic-bezier(.22,.75,.2,1),
      width .9s cubic-bezier(.22,.75,.2,1),
      opacity .62s cubic-bezier(.22,.75,.2,1),
      filter .62s cubic-bezier(.22,.75,.2,1),
      transform .9s cubic-bezier(.22,.75,.2,1),
      box-shadow .62s cubic-bezier(.22,.75,.2,1) !important;
  }
  body.post-type-archive-project .work-archive .work-preview-card img,
  body.post-type-archive-project .work-archive .work-preview-card.has-image img {
    transition:opacity .62s cubic-bezier(.22,.75,.2,1) !important;
  }
}


/* v2.32.8 — final title alignment and visible, uniform preview easing. */
@media (min-width:801px) {
  body.post-type-archive-project .work-archive .work-catalog {
    transform:translate3d(0,-4px,0) !important;
  }
  body.post-type-archive-project .work-archive .work-preview-card,
  body.post-type-archive-project .work-archive .work-preview-card.has-image {
    transition:
      flex-basis 720ms cubic-bezier(.16,1,.3,1),
      width 720ms cubic-bezier(.16,1,.3,1),
      opacity 520ms cubic-bezier(.16,1,.3,1),
      filter 520ms cubic-bezier(.16,1,.3,1),
      transform 720ms cubic-bezier(.16,1,.3,1) !important;
  }
}


/* v2.32.8 — final title alignment and visible, uniform preview easing. */
@media (min-width:801px) {
  body.post-type-archive-project .work-archive .work-catalog {
    transform:translate3d(0,-4px,0) !important;
  }
  body.post-type-archive-project .work-archive .work-preview-card,
  body.post-type-archive-project .work-archive .work-preview-card.has-image {
    transition:
      flex-basis 720ms cubic-bezier(.16,1,.3,1),
      width 720ms cubic-bezier(.16,1,.3,1),
      opacity 520ms cubic-bezier(.16,1,.3,1),
      filter 520ms cubic-bezier(.16,1,.3,1),
      transform 720ms cubic-bezier(.16,1,.3,1) !important;
  }
}


/* v2.32.9 — consistent preview motion and tighter, higher project list. */
@media (min-width:801px) {
  body.post-type-archive-project .work-archive .work-catalog {
    transform:translate3d(0,-18px,0) !important;
    gap:clamp(5px, .85vh, 9px) !important;
  }
  body.post-type-archive-project .work-archive .work-entry {
    padding-top:2px !important;
    padding-bottom:2px !important;
  }
  body.post-type-archive-project .work-archive .work-entry.is-active {
    padding-top:7px !important;
    padding-bottom:7px !important;
  }
  body.post-type-archive-project .work-archive .work-entry .work-title {
    line-height:1 !important;
  }
  body.post-type-archive-project .work-archive .work-entry.is-active .work-title {
    line-height:.98 !important;
  }
}


/* v2.33.0 — crossfade the actual preview images consistently in every slot. */
@media (min-width:801px) {
  body.post-type-archive-project .work-archive .work-preview-card {
    position:relative !important;
    isolation:isolate;
  }
  body.post-type-archive-project .work-archive .work-preview-card > img {
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center !important;
    display:block !important;
  }
  body.post-type-archive-project .work-archive .work-preview-card > img.work-image-outgoing {
    z-index:1;
    pointer-events:none;
  }
  body.post-type-archive-project .work-archive .work-preview-card > img.work-image-current {
    z-index:2;
  }
}
