/* Depth Digital — Project Ocean
   A full-viewport, progressively enhanced archive. The semantic project list
   is the baseline; JavaScript promotes it into a two-dimensional explorer. */

.work-ocean-page {
  min-height: 100%;
  background: #020b12;
  color: #efffff;
}

.work-ocean-page .ocean,
.work-ocean-page .depth-gauge,
.work-ocean-page > .site-footer-wide {
  display: none !important;
}

.work-ocean-page .site-header {
  z-index: 100;
}

.work-ocean-page .brand__logo--default {
  opacity: 0;
}

.work-ocean-page .brand__logo--light {
  opacity: 1;
}

.work-ocean-main {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
}

.work-archive {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: #020b12;
}

.work-archive__backdrop,
.work-archive__video,
.work-archive__water-shade,
.work-archive__water-light,
.work-archive__grain {
  position: absolute;
  inset: 0;
}

.work-archive__backdrop {
  z-index: -3;
  overflow: hidden;
  background: #071a27 url('/assets/hero-water-poster.webp') center / cover no-repeat;
  transition: opacity .7s ease;
}

.work-archive__webgl {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}

.work-archive__webgl[hidden] { display: none; }

.work-archive__webgl-canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.work-webgl-ready .work-archive:not(.is-list-view) .work-archive__webgl { opacity: 1; }

.work-webgl-ready .work-archive:not(.is-list-view) .work-archive__backdrop { opacity: 0; }

.work-webgl-ready .work-archive:not(.is-list-view) .work-archive__water-light {
  animation-play-state: paused;
}

.work-archive__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(var(--work-video-x, 0px), var(--work-video-y, 0px), 0) scale(1.06);
  transform-origin: center;
  filter: saturate(.68) contrast(1.14) brightness(.58) blur(1px);
  will-change: transform;
}

.work-archive__water-shade {
  background:
    radial-gradient(90% 78% at 48% 42%, rgba(14, 77, 96, .12), rgba(1, 8, 15, .68) 74%),
    linear-gradient(180deg, rgba(1, 10, 18, .38), rgba(2, 12, 21, .76));
  transform: translate3d(var(--work-shade-x, 0px), var(--work-shade-y, 0px), 0) scale(1.025);
  transform-origin: center;
}

.work-archive__water-light {
  overflow: hidden;
  opacity: .65;
  background:
    linear-gradient(108deg, transparent 10%, rgba(116, 244, 235, .08) 42%, transparent 65%),
    radial-gradient(42% 25% at 74% 14%, rgba(195, 255, 249, .12), transparent 78%);
  mix-blend-mode: screen;
  animation: work-water-drift 18s ease-in-out infinite alternate;
}

.work-archive__water-light::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72rem, 76vmax);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 255, 247, .13), rgba(64, 181, 194, .055) 28%, transparent 68%);
  opacity: var(--work-pointer-alpha, 0);
  transform: translate3d(
    calc(-50% + var(--work-pointer-x, 0px)),
    calc(-50% + var(--work-pointer-y, 0px)),
    0
  );
  transition: opacity .5s ease;
}

.work-archive__grain {
  opacity: .16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

@keyframes work-water-drift {
  from { transform: translate3d(-1.5%, -.7%, 0) scale(1.03); }
  to { transform: translate3d(1.5%, .8%, 0) scale(1.06); }
}

.work-motion-paused .work-archive__water-light {
  animation-play-state: paused;
}

.work-data-saver .work-archive__water-light {
  animation: none;
}

.work-data-saver .work-archive__video {
  will-change: auto;
}

.work-archive__intro {
  position: fixed;
  z-index: 12;
  top: clamp(7.2rem, 15vh, 10rem);
  left: clamp(1.1rem, 4vw, 4.5rem);
  width: min(27rem, calc(100vw - 2.2rem));
  pointer-events: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}

.work-archive__intro .eyebrow {
  margin: 0 0 1rem;
  color: rgba(193, 255, 249, .7);
}

.work-archive__intro h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.65rem, 4.5vw, 5.25rem);
  line-height: .84;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.work-archive__intro h1 span {
  display: block;
  color: rgba(230, 255, 252, .42);
}

.work-archive__intro-copy {
  max-width: 28rem;
  margin: 1.15rem 0 0;
  color: rgba(231, 253, 252, .68);
  font-size: clamp(.84rem, 1.15vw, 1rem);
}

.work-has-moved .work-archive__intro {
  opacity: .18;
  transform: translate3d(0, -8px, 0);
}

.work-has-moved .work-archive.is-list-view .work-archive__intro {
  opacity: 1;
  transform: none;
}

.work-archive__summary {
  position: fixed;
  z-index: 12;
  top: clamp(8rem, 15vh, 10.5rem);
  right: clamp(1rem, 3vw, 3.5rem);
  display: grid;
  gap: .28rem;
  justify-items: end;
  color: rgba(227, 255, 252, .58);
  font-family: "IBM Plex Mono", monospace;
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}

.work-archive__summary strong {
  color: #c2fff8;
  font-weight: 500;
}

.work-archive__viewport {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(173, 255, 246, .35) transparent;
}

.work-archive__viewport:focus-visible {
  outline: 2px solid #a5fff4;
  outline-offset: -5px;
}

.work-archive__world {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(19rem, 34vh, 25rem) 0 9rem;
  list-style: none;
}

.work-archive__item {
  --case-accent: #91e9e2;
  min-width: 0;
  margin: 0;
}

.work-card {
  --work-card-lift: 0px;
  --work-card-scale: 1;
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(209, 255, 250, .21);
  border-radius: clamp(15px, 1.6vw, 25px);
  background: rgba(3, 21, 31, .72);
  color: #f3fffe;
  box-shadow: 0 34px 86px -38px rgba(0, 0, 0, .96), inset 0 1px 0 rgba(255,255,255,.08);
  text-decoration: none;
  isolation: isolate;
  transform: perspective(1100px)
    var(--work-card-tilt, rotateX(0deg) rotateY(0deg))
    translate3d(0, var(--work-card-lift), 0)
    scale(var(--work-card-scale));
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: border-color .4s ease, box-shadow .5s ease, filter .4s ease, transform .55s cubic-bezier(.18,.7,.2,1);
}

.work-archive__item--portrait .work-card { aspect-ratio: 4 / 5; }
.work-archive__item--square .work-card { aspect-ratio: 1 / 1; }

.work-card::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(1,10,17,.03) 34%, rgba(1,10,17,.9) 100%);
  pointer-events: none;
}

.work-card::after {
  content: '';
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
  pointer-events: none;
}

.work-card__media,
.work-card__media img,
.work-card__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.work-card__media {
  overflow: hidden;
  transform: var(--work-media-drift, translate3d(0, 0, 0)) scale(1.025);
  transform-origin: center;
}

.work-card__media img {
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.65,.2,1), filter .6s ease;
}

/* Case 02: real Osteogym screens assemble into one responsive system. */
.work-card__media--osteogym {
  --osteogym-cycle: 9.6s;
  background: #0b3028;
  transform: var(--work-media-drift, translate3d(0, 0, 0)) scale(1.012);
}

.osteogym-showcase {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 15%, rgba(126, 171, 112, .28), transparent 31%),
    radial-gradient(circle at 14% 82%, rgba(157, 191, 131, .14), transparent 28%),
    linear-gradient(145deg, #0d382f 0%, #08261f 58%, #061c18 100%);
}

.osteogym-showcase::after {
  content: '';
  position: absolute;
  z-index: 6;
  inset: 0;
  background: linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, .09) 47%, transparent 63%);
  opacity: .38;
  pointer-events: none;
  transform: translateX(-115%);
}

.osteogym-showcase__guides {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.osteogym-showcase__orbit,
.osteogym-showcase__route {
  fill: none;
  stroke: rgba(194, 224, 179, .48);
  stroke-width: .22;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.osteogym-showcase__route {
  stroke: rgba(255, 255, 255, .16);
  stroke-width: .16;
}

.osteogym-showcase__index {
  position: absolute;
  z-index: 1;
  top: 5.3%;
  left: 6.2%;
  color: rgba(226, 242, 218, .7);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(.38rem, .63vw, .56rem);
  letter-spacing: .13em;
}

.osteogym-showcase__palette {
  position: absolute;
  z-index: 1;
  top: 10.5%;
  left: 6.2%;
  display: flex;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid rgba(220, 239, 211, .18);
  border-radius: 999px;
  background: rgba(2, 20, 16, .58);
}

.osteogym-showcase__palette i {
  display: block;
  width: 6px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e4e2d8;
}

.osteogym-showcase__palette i:nth-child(2) { background: #9dbf83; }
.osteogym-showcase__palette i:nth-child(3) { background: #315f4a; }
.osteogym-showcase__palette i:nth-child(4) { background: #dcb94b; }

.osteogym-showcase__desktop,
.osteogym-showcase__phone {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(226, 240, 217, .48);
  background: #f4f1e8;
  box-shadow: 0 20px 35px -15px rgba(0, 0, 0, .82);
  backface-visibility: hidden;
  transform-origin: center;
}

.osteogym-showcase__desktop {
  z-index: 2;
  left: -14%;
  top: 43%;
  width: 109%;
  padding-top: 4.5%;
  border-radius: 3px 3px 7px 7px;
  transform: translate3d(0, 0, 0) rotate(-2.8deg);
}

.osteogym-showcase__browser-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 4.6%;
  min-height: 7px;
  padding-left: 3.2%;
  background: #071d19;
}

.osteogym-showcase__browser-bar i {
  display: block;
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(239, 244, 231, .55);
}

.osteogym-showcase__browser-bar i:first-child { background: #dcb94b; }
.osteogym-showcase__browser-bar i:nth-child(2) { background: #9dbf83; }

.work-card__media--osteogym .osteogym-showcase__screen {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
  filter: none;
  transition: none;
}

.osteogym-showcase__phone {
  z-index: 4;
  top: 11%;
  width: 33%;
  padding: 2.2% 1.5% 1.5%;
  border: 2px solid #071b17;
  border-radius: 8px;
}

.osteogym-showcase__phone--training {
  right: 24%;
  transform: translate3d(0, 0, 0) rotate(3.8deg);
}

.osteogym-showcase__phone--approach {
  right: -3%;
  transform: translate3d(0, 0, 0) rotate(-2.1deg);
}

.osteogym-showcase__speaker {
  position: absolute;
  z-index: 2;
  top: .7%;
  left: 50%;
  width: 18%;
  height: 2px;
  border-radius: 999px;
  background: rgba(228, 226, 216, .58);
  transform: translateX(-50%);
}

.is-ambient-active .osteogym-showcase__orbit,
.is-ambient-active .osteogym-showcase__route,
.is-ambient-active .osteogym-showcase__index,
.is-ambient-active .osteogym-showcase__palette,
.is-ambient-active .osteogym-showcase__desktop,
.is-ambient-active .osteogym-showcase__phone,
.is-ambient-active .osteogym-showcase::after {
  animation-duration: var(--osteogym-cycle);
  animation-timing-function: cubic-bezier(.22, .78, .2, 1);
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-mode: both;
}

.is-ambient-active .osteogym-showcase__orbit { animation-name: osteogym-orbit-draw; }
.is-ambient-active .osteogym-showcase__route { animation-name: osteogym-route-draw; }
.is-ambient-active .osteogym-showcase__index { animation-name: osteogym-index-enter; }
.is-ambient-active .osteogym-showcase__palette { animation-name: osteogym-palette-enter; }
.is-ambient-active .osteogym-showcase__desktop { animation-name: osteogym-desktop-enter; }
.is-ambient-active .osteogym-showcase__phone--training { animation-name: osteogym-phone-training-enter; }
.is-ambient-active .osteogym-showcase__phone--approach { animation-name: osteogym-phone-approach-enter; }
.is-ambient-active .osteogym-showcase::after { animation-name: osteogym-glint; }

@keyframes osteogym-orbit-draw {
  0%, 5% { opacity: 0; stroke-dashoffset: 1; }
  29%, 100% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes osteogym-route-draw {
  0%, 13% { opacity: 0; stroke-dashoffset: 1; }
  43%, 100% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes osteogym-index-enter {
  0%, 7% { opacity: 0; transform: translate3d(-16px, 0, 0); }
  25%, 100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes osteogym-palette-enter {
  0%, 19% { opacity: 0; transform: translate3d(-18px, 9px, 0) scale(.84); }
  43%, 100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes osteogym-desktop-enter {
  0%, 7% { opacity: .08; transform: translate3d(-18%, 34%, 0) rotate(-8deg) scale(.9); }
  34%, 100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(-2.8deg) scale(1); }
}

@keyframes osteogym-phone-training-enter {
  0%, 18% { opacity: 0; transform: translate3d(20%, -58%, 0) rotate(10deg) scale(.82); }
  46%, 100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(3.8deg) scale(1); }
}

@keyframes osteogym-phone-approach-enter {
  0%, 27% { opacity: 0; transform: translate3d(48%, -38%, 0) rotate(-10deg) scale(.82); }
  56%, 100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(-2.1deg) scale(1); }
}

@keyframes osteogym-glint {
  0%, 55% { opacity: 0; transform: translateX(-115%); }
  70% { opacity: .42; }
  82%, 100% { opacity: 0; transform: translateX(115%); }
}

.work-card:hover .work-card__media--osteogym .osteogym-showcase__screen,
.work-card:focus-visible .work-card__media--osteogym .osteogym-showcase__screen {
  transform: none;
  filter: none;
}

.work-card__placeholder {
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--case-accent) 38%, transparent), transparent 32%),
    linear-gradient(145deg, rgba(14, 69, 84, .62), rgba(2, 17, 28, .96));
}

.work-card__placeholder::before,
.work-card__placeholder::after {
  content: '';
  position: absolute;
  width: 145%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--case-accent) 26%, transparent);
  border-radius: 50%;
}

.work-card__placeholder::before { top: -82%; left: -22%; }
.work-card__placeholder::after { right: -72%; bottom: -76%; }

.work-card__ghost-number {
  position: absolute;
  top: 50%;
  left: 50%;
  color: color-mix(in srgb, var(--case-accent) 42%, transparent);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(5.5rem, 11vw, 11rem);
  font-weight: 500;
  letter-spacing: -.09em;
  line-height: 1;
  transform: translate(-50%, -52%) var(--work-icon-drift, translate3d(0, 0, 0));
  transform-origin: center;
}

.work-card__current {
  position: absolute;
  top: 18%;
  left: 12%;
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, var(--case-accent), transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--case-accent) 48%, transparent);
  transform: var(--work-icon-drift, translate3d(0, 0, 0)) rotate(-10deg);
  transform-origin: left;
}

.work-card__meta {
  position: absolute;
  z-index: 3;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  left: clamp(1rem, 2vw, 1.5rem);
  display: grid;
  gap: .38rem;
  transform-origin: left bottom;
}

.work-card__eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: color-mix(in srgb, var(--case-accent) 78%, white 22%);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(.55rem, .7vw, .68rem);
  font-style: normal;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.work-card__title {
  max-width: 18ch;
  color: #f4fffe;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.045em;
}

.work-card__detail {
  max-width: 38ch;
  color: rgba(231, 255, 252, .62);
  font-size: .74rem;
  font-style: normal;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

.work-card:hover,
.work-card:focus-visible {
  --work-card-lift: -7px;
  --work-card-scale: 1.012;
  border-color: color-mix(in srgb, var(--case-accent) 64%, white 16%);
  box-shadow: 0 42px 110px -42px rgba(0,0,0,.98), 0 0 48px -30px var(--case-accent);
}

.work-card:hover .work-card__media img,
.work-card:focus-visible .work-card__media img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.03);
}

.work-card:focus-visible {
  outline: 3px solid #b7fff7;
  outline-offset: 5px;
}

.work-card.is-opening {
  --work-card-lift: 0px;
  --work-card-scale: 1.045;
  z-index: 10;
  border-color: #cffff9;
  filter: brightness(1.1);
}

.work-project-opening .work-archive__intro,
.work-project-opening .work-archive__controls,
.work-project-opening .work-archive__summary,
.work-project-opening .work-archive__coordinate {
  opacity: 0;
}

.work-archive__controls {
  position: fixed;
  z-index: 18;
  right: max(clamp(1rem, 3vw, 3rem), env(safe-area-inset-right));
  bottom: max(clamp(1rem, 3vw, 2.3rem), env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem;
  border: 1px solid rgba(215, 255, 251, .16);
  border-radius: 999px;
  background: rgba(2, 16, 25, .68);
  box-shadow: 0 20px 50px -28px #000;
  backdrop-filter: blur(18px) saturate(120%);
  transition: opacity .35s ease;
}

.work-archive__zoom-group {
  display: flex;
  gap: .2rem;
}

.work-archive__control {
  min-width: 46px;
  min-height: 42px;
  padding: 0 .8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(225, 255, 252, .58);
  font: 500 .68rem/1 "IBM Plex Mono", monospace;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.work-archive__control:not(:disabled):hover { color: #efffff; background: rgba(172,255,245,.09); }
.work-archive__control[aria-pressed="true"] { color: #03131b; background: #b7fff7; }
.work-archive__control:focus-visible { outline: 2px solid #b7fff7; outline-offset: 3px; }
.work-archive__control:disabled { opacity: .45; cursor: not-allowed; }
.work-archive__control--motion { min-width: auto; border-left: 1px solid rgba(215,255,251,.12); border-radius: 0; }
.work-archive__control--text { min-width: auto; border-left: 1px solid rgba(215,255,251,.12); border-radius: 0 999px 999px 0; }

.work-archive__coordinate {
  position: fixed;
  z-index: 12;
  left: max(clamp(1rem, 3vw, 3rem), env(safe-area-inset-left));
  bottom: max(clamp(1rem, 3vw, 2.3rem), env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: .85rem;
  color: rgba(224, 255, 252, .5);
  font-family: "IBM Plex Mono", monospace;
  font-size: .61rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity .35s ease;
}

.work-archive__coordinate::before {
  content: '';
  width: 34px;
  height: 1px;
  background: rgba(183,255,247,.5);
}

.work-ocean-page:not(.work-ocean-ready) .work-archive__controls,
.work-ocean-page:not(.work-ocean-ready) .work-archive__coordinate {
  display: none;
}

/* Canvas enhancement */
.work-ocean-ready {
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
}

.work-ocean-ready .work-ocean-main,
.work-ocean-ready .work-archive {
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
}

.work-ocean-ready .work-archive:not(.is-list-view) .work-archive__viewport {
  overflow: hidden;
  touch-action: pinch-zoom;
  cursor: grab;
  scrollbar-width: none;
}

.work-ocean-ready .work-archive:not(.is-list-view) .work-archive__viewport.is-dragging { cursor: grabbing; }

.work-ocean-ready .work-archive:not(.is-list-view) .work-card {
  -webkit-user-drag: none;
  user-select: none;
}

.work-ocean-ready .work-archive:not(.is-list-view) .work-archive__world {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  margin: 0;
  padding: 0;
  pointer-events: none;
  transform-origin: 0 0;
}

.work-ocean-ready .work-archive:not(.is-list-view) .work-archive__world.is-tile-visible {
  will-change: transform;
}

.work-ocean-ready .work-archive:not(.is-list-view) .work-archive__item {
  position: absolute;
  top: var(--work-y, 50%);
  left: var(--work-x, 50%);
  width: clamp(300px, 29vw, 500px);
  transform: translate(-50%, -50%) var(--work-item-drift, translate3d(0, 0, 0));
  transform-origin: center;
}

.work-ocean-ready .work-archive:not(.is-list-view) .work-archive__item.is-ambient-active {
  will-change: transform;
}

.work-ocean-ready .work-archive:not(.is-list-view) .work-card { pointer-events: auto; }

.work-webgl-ready .work-archive:not(.is-list-view) .work-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.work-webgl-ready .work-archive:not(.is-list-view) .work-card__media,
.work-webgl-ready .work-archive:not(.is-list-view) .work-card__placeholder {
  opacity: 0;
}

.work-webgl-ready .work-archive:not(.is-list-view) .work-card--osteogym .work-card__media--osteogym {
  opacity: 1;
}

.work-webgl-ready .work-archive:not(.is-list-view) .work-card:hover,
.work-webgl-ready .work-archive:not(.is-list-view) .work-card:focus-visible {
  --work-card-lift: 0px;
  --work-card-scale: 1;
  border-color: color-mix(in srgb, var(--case-accent) 64%, white 16%);
  box-shadow: 0 0 48px -30px var(--case-accent);
}

.work-webgl-ready .work-archive:not(.is-list-view) .work-card.is-opening {
  --work-card-lift: 0px;
  --work-card-scale: 1;
}

.work-archive__world--clone { display: none; }

.work-ocean-ready .work-archive:not(.is-list-view) .work-archive__world--clone { display: block; }

.work-ocean-ready .work-archive:not(.is-list-view) .work-archive__item--portrait { width: clamp(240px, 21vw, 345px); }
.work-ocean-ready .work-archive:not(.is-list-view) .work-archive__item--square { width: clamp(260px, 23vw, 390px); }

.work-archive[data-zoom-mode="overview"] .work-card__detail,
.work-archive[data-zoom-mode="overview"] .work-card__eyebrow span:last-child { display: none; }

.work-archive[data-zoom-mode="overview"] .work-card__meta {
  width: 58%;
  transform: scale(1.72);
}

.work-archive[data-zoom-mode="detail"] .work-card__detail {
  opacity: 1;
  transform: translateY(0);
}

.work-archive.is-list-view .work-archive__viewport {
  z-index: 14;
  overflow-y: auto;
  touch-action: pan-y pinch-zoom;
  cursor: auto;
  background: rgba(2, 12, 20, .3);
}

.work-archive.is-list-view .work-archive__zoom-group,
.work-archive.is-list-view .work-archive__control--centre {
  display: none;
}

.work-archive.is-list-view .work-archive__world {
  padding-bottom: 10rem;
}

.work-archive.is-list-view .work-archive__world--clone { display: none; }

.work-archive.is-list-view .work-archive__intro,
.work-archive.is-list-view .work-archive__summary {
  z-index: 16;
}

.work-archive.is-list-view .work-card__detail {
  opacity: 1;
  transform: none;
}

.work-archive.is-list-view .work-archive__item:nth-child(3n + 2) { transform: translateY(2.5rem); }

@media (max-width: 780px) {
  .work-archive__intro {
    top: 6.7rem;
    left: max(1rem, env(safe-area-inset-left));
    width: min(24rem, calc(100vw - 2rem));
  }

  .work-archive__intro h1 { max-width: 12ch; font-size: clamp(2.35rem, 11vw, 3.4rem); line-height: .84; }
  .work-archive__intro-copy { max-width: 27rem; margin-top: 1rem; font-size: .78rem; }
  .work-archive__summary { display: none; }

  .work-archive__world {
    grid-template-columns: 1fr;
    width: min(100% - 1.4rem, 560px);
    padding-top: 18rem;
  }

  .work-archive__item--portrait .work-card { aspect-ratio: 16 / 11; }
  .work-archive.is-list-view .work-archive__item:nth-child(3n + 2) { transform: none; }

  .osteogym-showcase__index {
    top: 5.5%;
    left: 5%;
    font-size: .42rem;
  }

  .osteogym-showcase__palette {
    top: 12.5%;
    left: 5%;
    gap: 4px;
    padding: 4px 6px;
  }

  .osteogym-showcase__palette i { width: 5px; }

  .osteogym-showcase__desktop {
    left: -5%;
    top: 32%;
    width: 82%;
    padding-top: 3.4%;
    transform: translate3d(0, 0, 0) rotate(-2.8deg);
  }

  .osteogym-showcase__phone {
    top: 8%;
    width: 27%;
    padding: 1.8% 1.2% 1.2%;
    border-radius: 6px;
  }

  .osteogym-showcase__phone--training { right: 18%; }
  .osteogym-showcase__phone--approach { right: -2%; }

  .work-ocean-ready .work-archive:not(.is-list-view) .work-archive__item { width: clamp(245px, 72vw, 330px); }
  .work-ocean-ready .work-archive:not(.is-list-view) .work-archive__item--portrait { width: clamp(210px, 58vw, 270px); }
  .work-ocean-ready .work-archive:not(.is-list-view) .work-archive__item--square { width: clamp(225px, 64vw, 290px); }

  .work-archive__controls {
    right: max(.65rem, env(safe-area-inset-right));
    bottom: max(.7rem, env(safe-area-inset-bottom));
    gap: .18rem;
    padding: .3rem;
    max-width: calc(100vw - 1.3rem);
  }

  .work-archive__control { min-width: 41px; min-height: 42px; padding-inline: .62rem; font-size: .61rem; }
  .work-archive__control--centre { display: none; }
  .work-archive__control--motion { padding-inline: .7rem; }
  .work-archive__coordinate { left: max(.8rem, env(safe-area-inset-left)); bottom: max(4.6rem, calc(env(safe-area-inset-bottom) + 4rem)); }
}

@media (max-width: 390px) {
  .work-archive__control { min-width: 38px; padding-inline: .5rem; }
  .work-archive__control--text { padding-inline: .65rem; }
  .work-archive__coordinate { font-size: .55rem; }
}

@media (pointer: coarse) {
  .work-has-moved .work-archive__intro { opacity: 0; }
  .work-archive__video { filter: saturate(.68) contrast(1.1) brightness(.58); }
  .work-archive__water-light { animation: none; }
  .work-archive__grain { display: none; }
  .work-archive__controls { backdrop-filter: none; }
}

@media (orientation: landscape) and (max-height: 590px) {
  .work-archive__intro { top: 5.3rem; }
  .work-archive__intro h1 { font-size: clamp(2.7rem, 9vw, 4.4rem); }
  .work-archive__intro-copy { display: none; }
  .work-archive__world { padding-top: 11rem; }
}

@media (prefers-reduced-motion: reduce) {
  .work-archive__webgl { display: none; }
  .work-archive__video { display: none; }
  .work-archive__water-light { animation: none; }
  .work-archive__control--motion { display: none; }
  .work-card,
  .work-card__media img,
  .work-archive__intro,
  .work-archive__control { transition-duration: .01ms !important; }
  .work-card { transform: none !important; }
  .work-card__media { transform: none !important; }
  .work-card:hover,
  .work-card:focus-visible { transform: none; }
  .osteogym-showcase__orbit,
  .osteogym-showcase__route,
  .osteogym-showcase__index,
  .osteogym-showcase__palette,
  .osteogym-showcase__desktop,
  .osteogym-showcase__phone,
  .osteogym-showcase::after { animation: none !important; }
}

@media (forced-colors: active) {
  .work-archive__webgl { display: none; }
  .work-webgl-ready .work-archive:not(.is-list-view) .work-archive__backdrop { opacity: 1; }
  .work-webgl-ready .work-archive:not(.is-list-view) .work-card__media,
  .work-webgl-ready .work-archive:not(.is-list-view) .work-card__placeholder { opacity: 1; }
  .work-webgl-ready .work-archive:not(.is-list-view) .work-card { background: Canvas; }
  .work-archive__water-shade { background: Canvas; }
  .work-card,
  .work-archive__controls { border: 1px solid CanvasText; }
}
