/* Sec04 section shell and peripheral HUD */
#works {
  position: relative;
  height: 220vh;
  border-bottom: 1px solid var(--dv2-line-strong);
  background: transparent;
  /* clip 會裁切裝飾，但不會像 hidden 一樣建立捲動容器而破壞 sticky。 */
  overflow: clip;
}

.works-pin {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0;
}

.works-watermark-left-top,
.works-watermark-left-bottom,
.works-watermark-right-top {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #8fa0b2;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}

.works-watermark-left-top {
  top: 140px;
  left: 28px;
}

.works-watermark-left-bottom {
  bottom: 40px;
  left: 28px;
}

.works-watermark-left-bottom .wm-footer-line {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #0088ff;
}

.works-watermark-right-top {
  top: 140px;
  right: 28px;
  text-align: right;
}

.works-status-block {
  text-align: right;
}

.work-nav-card:hover {
  border-color: rgba(0, 136, 255, 0.5);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 16px rgba(0, 136, 255, 0.12);
}

.card-hud-brackets {
  position: absolute;
  inset: -3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.work-nav-card[data-state="active"] .card-hud-brackets {
  opacity: 1;
}

.hud-corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.hud-corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.hud-corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.hud-corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.card-inner-flex {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3px;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.meta-case { color: #0088ff; }
.meta-category { color: #64748b; }

@media (min-width: 1201px) {
  .meta-category {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    text-align: right;
    font-size: 9px;
    letter-spacing: 0.07em;
  }
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-arrow {
  font-size: 15px;
  color: #0088ff;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.work-nav-card:hover .card-arrow,
.work-nav-card[data-state="active"] .card-arrow {
  transform: translateX(4px);
}

.stage-hud-brackets {
  position: absolute;
  inset: -2px;
  pointer-events: none;
  z-index: 10;
}

.work-stage-main .stage-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #0088ff;
  border-style: solid;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 3px #0088ff);
  box-shadow: 0 0 5px rgba(56, 189, 248, 0.5);
}

.stage-corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.stage-corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.stage-corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.stage-corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.stage-top-tag { color: #0088ff; }

.stage-top-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #081426;
}

.stage-brand-blocks {
  display: flex;
  gap: 3px;
}

.brand-sq {
  width: 5px;
  height: 5px;
  background: #0088ff;
  border-radius: 1px;
}

.work-info-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.work-info-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.iso-cube-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iso-cube-icon svg {
  width: 100%;
  height: 100%;
}

/* Visual Refinements matching Sec04.png 85%+ Fidelity */
/* Thumbnail Graphic Enhancements */
.thumb-ekholux {
  box-shadow: 0 0 14px rgba(0, 153, 255, 0.55), inset 0 0 8px rgba(0, 153, 255, 0.4);
}

.works-container {
  position: relative;
}

/* Works Head Bar */
.site-home #works .works-head-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
}
.site-home #works .works-heading {
  margin: 0;
}
.site-home #works .heading-accent-bar {
  width: var(--section-title-accent-width);
  height: var(--section-title-accent-height);
  background: var(--section-title-accent-color);
  border-radius: 2px;
  box-shadow: var(--section-title-accent-shadow);
}
.site-home #works .works-active-label {
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #1e293b;
  margin-bottom: 8px;
}
.site-home #works .works-progress-track {
  overflow: hidden;
  width: 140px;
  height: 3px;
  background: rgba(0, 136, 255, 0.2);
  border-radius: 2px;
  margin-left: auto;
}
.site-home #works .works-progress-fill {
  height: 100%;
  background: #0088ff;
  border-radius: 2px;
  box-shadow: 0 0 8px #0088ff;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-home #works .works-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 10px;
  color: #334155;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}
.site-home #works .works-view-all:hover,
.site-home #works .works-view-all:focus-visible {
  color: #0088ff;
}
.site-home #works .works-view-all span {
  transition: transform .2s ease;
}
.site-home #works .works-view-all:hover span {
  transform: translateX(3px);
}

/* Works Grid Proportions */
.works-grid {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 28px;
  height: 480px;
  align-items: stretch;
}

/* Left Nav List & Dossier Cards */
.works-nav-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  position: relative;
}

.work-nav-card {
  position: relative;
  border-width: 1px;
  border-style: solid;
  padding: 12px 18px;
  cursor: pointer;
}

.work-nav-card[data-state="active"] {
  background: rgba(255, 255, 255, 0.96);
  border-width: 1.5px;
}

/* Fanned Glass Plates Extending Left */
.card-fan-plate {
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: 4px 0 0 4px;
  pointer-events: none;
  border: 1px solid rgba(203, 213, 225, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-right: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.card-fan-plate-1 {
  left: -8px;
  width: 14px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.6);
  z-index: -1;
}
.card-fan-plate-2 {
  left: -16px;
  width: 14px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.42);
  z-index: -2;
}
.card-fan-plate-3 {
  left: -24px;
  width: 14px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.28);
  z-index: -3;
}
.card-fan-plate-4 {
  left: -32px;
  width: 14px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  z-index: -4;
}

.work-nav-card[data-state="active"] .card-fan-plate-1 {
  border-left-color: rgba(0, 153, 255, 0.9);
  background: rgba(225, 242, 255, 0.75);
}
.work-nav-card[data-state="active"] .card-fan-plate-2 {
  border-left-color: rgba(0, 153, 255, 0.7);
  background: rgba(225, 242, 255, 0.55);
}
.work-nav-card[data-state="active"] .card-fan-plate-3 {
  border-left-color: rgba(0, 153, 255, 0.5);
  background: rgba(225, 242, 255, 0.35);
}
.work-nav-card[data-state="active"] .card-fan-plate-4 {
  border-left-color: rgba(0, 153, 255, 0.35);
  background: rgba(225, 242, 255, 0.2);
}

.hud-corner {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: #0099ff;
  border-style: solid;
  border-width: 2px;
  filter: drop-shadow(0 0 4px #0099ff);
}

/* Card Thumbnails */
.card-thumb-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: #f1f5f9;
  border: 1px solid rgba(203, 213, 225, 0.9);
  position: relative;
  overflow: hidden;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
}

.thumb-scene-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.65;
  pointer-events: none;
}

.thumb-index {
  position: absolute;
  top: 4px;
  left: 6px;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  z-index: 2;
  text-shadow: 0 0 6px rgba(0, 153, 255, 0.8);
}

.thumb-index-corner {
  position: absolute;
  top: 4px;
  left: 6px;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  z-index: 2;
}

.thumb-ai-watermark {
  position: absolute;
  top: 50%;
  right: 5px;
  bottom: 4px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: rgba(0, 153, 255, 0.35);
  letter-spacing: 0.05em;
  line-height: 1;
  user-select: none;
  z-index: 1;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: #081426;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right Showcase Frame */
.work-stage-main {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 480px;
}

.stage-top-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(0, 153, 255, 0.18);
  background: rgba(240, 246, 252, 0.5);
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  height: 38px;
  box-sizing: border-box;
  z-index: 3;
}

.work-stage-viewport {
  position: relative;
  flex: 1;
  height: 374px;
  min-height: 374px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.65) 0%, rgba(240, 246, 252, 0.25) 70%, transparent 100%);
}

/* Slide Text inside Showcase */
.slide-frame-tag {
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #0088ff;
  margin-bottom: 12px;
}
.slide-main-title {
  font-size: 28px;
  font-weight: var(--dv2-font-weight-display, 800);
  color: #081426;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.slide-sub-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 auto;
}

/* Telemetry Spines Inside Showcase */
.viewport-telemetry-left {
  position: absolute;
  left: 24px;
  bottom: 48px;
  top: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #0284c7;
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}
.viewport-telemetry-right {
  position: absolute;
  right: 24px;
  bottom: 48px;
  top: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #0284c7;
  opacity: 0.85;
  text-align: right;
  pointer-events: none;
  z-index: 2;
}
.telem-words {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.telem-dash {
  color: #0088ff;
  font-size: 13px;
  font-weight: 800;
}

/* Pagination HUD at Bottom Right */
.stage-pagination-hud {
  position: absolute;
  bottom: 14px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  color: #64748b;
  z-index: 3;
}
.stage-pagination-hud .carousel-dot {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: none;
  color: #475569;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 3px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease,
    transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.stage-pagination-hud .carousel-dot.active {
  background: #0088ff;
  color: #ffffff;
  padding: 2px 9px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 136, 255, 0.55);
}
.stage-pagination-hud .carousel-dot.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: '';
  background: #b9e9ff;
  box-shadow: 0 0 4px rgba(185, 233, 255, 0.9);
  transform: scaleX(0);
  transform-origin: left center;
  animation: works-frame-progress var(--works-frame-duration, 4000ms) linear forwards paused;
}
.stage-pagination-hud[data-carousel-state='running'] .carousel-dot.active::after {
  animation-play-state: running;
}
.stage-pagination-hud[data-carousel-state='idle'] .carousel-dot.active::after {
  animation: none;
}
@keyframes works-frame-progress {
  to {
    transform: scaleX(1);
  }
}
.page-prefix {
  color: #94a3b8;
  letter-spacing: 0.08em;
}
@media (hover: hover) and (pointer: fine) {
  .stage-pagination-hud .carousel-dot:hover {
    transform: translateY(-1px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage-pagination-hud .carousel-dot.active::after {
    display: none;
  }
}
.stage-pagination-hud .carousel-dot:focus-visible,
.stage-pagination-hud .carousel-toggle:focus-visible {
  outline: 2px solid #0066ff;
  outline-offset: 2px;
}
.stage-pagination-hud .carousel-toggle {
  width: 34px;
  height: 28px;
  margin-left: 2px;
  padding: 0 0 0 7px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-left: 1px solid rgba(71, 85, 105, 0.32);
  border-radius: 0;
  color: #0756c4;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.stage-pagination-hud .carousel-toggle [hidden] {
  display: none;
}
.stage-pagination-hud .carousel-toggle:active {
  transform: scale(0.96);
}
@media (hover: hover) and (pointer: fine) {
  .stage-pagination-hud .carousel-toggle:hover {
    border-color: rgba(0, 102, 255, 0.58);
    color: #0066ff;
  }
}

/* Docked Bottom Bar */
.work-stage-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(203, 213, 225, 0.8);
  height: 68px;
  box-sizing: border-box;
  z-index: 3;
}
.info-accent-bar {
  width: 3.5px;
  height: 32px;
  background: #0088ff;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 136, 255, 0.6);
}
.work-info-text h3 {
  font-size: 16px;
  font-weight: var(--dv2-font-weight-display, 800);
  color: #081426;
  margin: 0 0 2px 0;
}
.work-info-text p {
  font-size: 12.5px;
  color: #475569;
  margin: 0;
}
.site-home #works .work-case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #081426;
  background: #ffffff;
  color: #081426;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-home #works .work-case-link:hover {
  background: #081426;
  color: #ffffff;
}
.site-home #works .work-case-link:focus-visible {
  outline: 2px solid #0088ff;
  outline-offset: 3px;
}
.site-home #works .work-case-link > span:last-child {
  color: #0088ff;
  transition: color 0.2s ease, transform 0.2s ease;
}
.site-home #works .work-case-link:hover > span:last-child {
  color: #38bdf8;
  transform: translateX(3px);
}

/* ==========================================================================
   SEC04 CASE MEDIA CAROUSEL
   Project-owned media sits below the shared holographic HUD. Text remains a
   synchronized evidence caption instead of acting as the visual itself.
   ========================================================================== */
.stage-media-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #eaf2f9;
}

.stage-media-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(238, 246, 252, 0.94) 0%,
      rgba(238, 246, 252, 0.84) 24%,
      rgba(238, 246, 252, 0.48) 44%,
      rgba(238, 246, 252, 0.12) 64%,
      rgba(238, 246, 252, 0.08) 84%,
      rgba(238, 246, 252, 0.2) 100%
    ),
    linear-gradient(
      0deg,
      rgba(229, 240, 249, 0.62) 0%,
      rgba(229, 240, 249, 0.2) 22%,
      transparent 46%
    );
  box-shadow: inset 0 0 72px rgba(205, 225, 240, 0.2);
}

.work-frame-media {
  position: absolute;
  inset: -2%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.022);
  clip-path: inset(2% 0);
  filter: blur(1px);
  transition:
    opacity 220ms ease,
    transform 460ms cubic-bezier(0.23, 1, 0.32, 1),
    clip-path 360ms cubic-bezier(0.23, 1, 0.32, 1),
    filter 180ms ease,
    visibility 0s linear 460ms;
}

.work-frame-media.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  clip-path: inset(0);
  filter: blur(0);
  transition-delay: 0s;
}

.work-frame-media img,
.work-frame-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.025);
}

.work-frame-media > img {
  transition: opacity 320ms ease;
}

.work-frame-media__dream-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 66% 46%, rgba(51, 92, 160, 0.32), transparent 42%),
    linear-gradient(135deg, #01030a 0%, #071124 52%, #02050c 100%);
  opacity: 0;
  transition: opacity 320ms ease;
}

.work-frame-media__dream-motion[hidden] {
  display: none;
}

.work-frame-media__dream-motion canvas,
.work-frame-media__dream-motion-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.work-frame-media__dream-motion canvas {
  filter: saturate(1.12) contrast(1.04) drop-shadow(0 0 14px rgba(76, 145, 255, 0.48));
}

.work-frame-media[data-dream-motion-active='true'] > img {
  opacity: 0;
}

.work-frame-media[data-dream-motion-active='true'] .work-frame-media__dream-motion {
  opacity: 1;
}

.work-frame-media video {
  pointer-events: none;
}

.work-frame-media img[hidden],
.work-frame-media video[hidden] {
  display: none;
}

.work-frame-media__requirement {
  position: absolute;
  right: clamp(24px, 4vw, 52px);
  bottom: clamp(30px, 5vw, 58px);
  z-index: 1;
  width: min(42%, 360px);
  padding: 12px 14px;
  display: grid;
  gap: 5px;
  color: #10223f;
  border: 1px solid rgba(0, 153, 255, 0.4);
  background: rgba(246, 251, 255, 0.88);
  box-shadow: 0 14px 32px rgba(4, 18, 44, 0.12);
  backdrop-filter: blur(8px);
  font-family: 'IBM Plex Mono', 'Noto Sans TC', monospace;
  line-height: 1.45;
}

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

.work-frame-media__requirement span {
  color: #076dff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.work-frame-media__requirement strong {
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.02em;
}

.work-frame-media__disclosure {
  position: absolute;
  top: clamp(24px, 4vw, 46px);
  right: clamp(24px, 4vw, 52px);
  z-index: 2;
  padding: 7px 10px;
  color: rgba(225, 246, 255, 0.86);
  border: 1px solid rgba(105, 216, 255, 0.48);
  background: rgba(4, 18, 44, 0.72);
  backdrop-filter: blur(8px);
  font-family: 'IBM Plex Mono', 'Noto Sans TC', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

@media (max-width: 700px) {
  .work-frame-media__requirement {
    right: 18px;
    bottom: 22px;
    width: min(58%, 300px);
    padding: 9px 10px;
  }

  .work-frame-media__disclosure {
    top: 18px;
    right: 18px;
    max-width: calc(100% - 36px);
    font-size: 8px;
  }
}

.stage-slides-container {
  position: absolute;
  inset: 0;
  width: auto;
  max-width: none;
  padding: 0;
  text-align: left;
  pointer-events: none;
  z-index: 2;
}

.work-carousel-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateX(7px);
  animation: none;
  transition:
    opacity 190ms ease,
    transform 320ms cubic-bezier(0.23, 1, 0.32, 1),
    visibility 0s linear 320ms;
}

.work-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 70ms;
}

.work-frame-copy {
  position: absolute;
  top: 50%;
  left: clamp(54px, 7vw, 92px);
  width: min(56%, 540px);
  transform: translateY(-50%);
}

.work-frame-copy .slide-frame-tag,
.work-frame-copy .slide-main-title,
.work-frame-copy .slide-sub-desc {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.work-frame-copy .slide-main-title {
  text-wrap: balance;
}

.work-frame-copy .slide-sub-desc {
  max-width: 26rem;
}

@media (prefers-reduced-motion: reduce) {
  .work-frame-media,
  .work-frame-media.active,
  .work-carousel-slide,
  .work-carousel-slide.active {
    transform: none;
    clip-path: none;
    filter: none;
    transition: opacity 120ms linear, visibility 0s linear 120ms;
  }
}

