/* Sekcja „Mój unikalny sposób” — karty kroków z grafikami 3D */

.page-portfolio-home .home-approach {
  --approach-accent: #8ca332;
  --approach-title: #1a2433;
  --approach-lead: rgba(26, 36, 51, 0.52);
  --approach-badge-border: rgba(26, 36, 51, 0.14);
  --approach-badge-text: rgba(26, 36, 51, 0.42);
  --approach-card-radius: 1.35rem;
  --approach-card-pad-x: clamp(1.35rem, 5vw, 1.75rem);
  --approach-card-pad-top: clamp(1.5rem, 4.5vw, 1.85rem);
  --approach-track-gap: 0.85rem;
  --approach-overflow-pad: 3.5rem;
  background: var(--home-bg-light);
  padding: clamp(2.75rem, 8vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  overflow: visible;
}

.page-portfolio-home .home-approach__inner {
  max-width: var(--home-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (max-width: 767px) {
  .page-portfolio-home .home-approach__inner {
    padding-left: var(--home-mobile-inset, 0.85rem);
    padding-right: var(--home-mobile-inset, 0.85rem);
  }
}

.page-portfolio-home .home-approach__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto clamp(1.85rem, 5.5vw, 2.65rem);
  max-width: 22rem;
}

.page-portfolio-home .home-approach__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.15rem;
  padding: 0.42rem 0.82rem;
  border: 1px solid var(--approach-badge-border);
  border-radius: 999px;
  font-family: var(--home-font-body);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--approach-badge-text);
}

.page-portfolio-home .home-approach__title {
  margin: 0 0 0.95rem;
  font-family: var(--home-font-heading);
  font-size: clamp(1.85rem, 7.4vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.page-portfolio-home .home-approach__title-line {
  display: block;
}

.page-portfolio-home .home-approach__title-line--lead {
  color: var(--approach-title);
}

.page-portfolio-home .home-approach__title-line--accent {
  color: var(--approach-accent);
  font-weight: 600;
}

.page-portfolio-home .home-approach__lead {
  margin: 0;
  max-width: 19rem;
  font-family: var(--home-font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--approach-lead);
}

.page-portfolio-home .home-approach__track {
  display: flex;
  flex-direction: column;
  gap: var(--approach-track-gap);
  margin: 0;
  padding: 0 0 var(--approach-overflow-pad);
  overflow-x: hidden;
  overflow-y: visible;
}

.page-portfolio-home .home-approach-card {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  min-height: calc(clamp(21.5rem, 64vw, 26.5rem) + 200px);
  padding:
    var(--approach-card-pad-top)
    var(--approach-card-pad-x)
    0;
  border-radius: var(--approach-card-radius);
  background: var(--approach-card-bg, #94aab7);
  color: #fff;
  overflow: hidden;
}

.page-portfolio-home .home-approach-card--clickable {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  border: none;
  font: inherit;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: filter 0.2s ease;
}

.page-portfolio-home .home-approach-card--clickable:active {
  filter: brightness(0.97);
}

.page-portfolio-home .home-approach-card__top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.1rem;
  margin-bottom: clamp(1.5rem, 5vw, 2.25rem);
}

.page-portfolio-home .home-approach-card__phase {
  display: block;
  margin: 0;
  padding: 0;
  font-family: var(--home-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.page-portfolio-home .home-approach-card__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.5rem;
  text-align: center;
}

.page-portfolio-home .home-approach-card__num {
  display: block;
  margin: 0;
  font-family: var(--home-font-heading);
  font-size: clamp(2.35rem, 8.5vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.page-portfolio-home .home-approach-card__title {
  display: block;
  margin: 0;
  font-family: var(--home-font-heading);
  font-size: clamp(1.35rem, 4.8vw, 1.65rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.page-portfolio-home .home-approach-card__art-zone {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(10.5rem, 34vw, 13rem);
  margin-top: auto;
  padding-top: clamp(1rem, 3vw, 1.5rem);
  overflow: visible;
}

.page-portfolio-home .home-approach-card__art {
  display: block;
  width: min(95%, 20.8rem);
  height: auto;
  transform: scale(1.15);
  transform-origin: center bottom;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.page-portfolio-home .home-approach-card__hint {
  position: relative;
  top: auto;
  right: auto;
  flex: 0 0 auto;
  margin-left: auto;
  z-index: 3;
  pointer-events: none;
  transform-origin: center center;
  --popup-hint-size: 3.1rem;
  --popup-hint-icon: 1.38rem;
  animation:
    approach-hint-blink 1.1s ease-in-out infinite,
    approach-hint-vibrate 2.2s ease-in-out infinite;
}

.page-portfolio-home .home-approach-card__hint.popup-hint::after {
  content: none;
  animation: none;
}

@keyframes approach-hint-blink {
  0%,
  100% {
    opacity: 0.55;
    box-shadow:
      0 2px 10px rgba(16, 24, 40, 0.12),
      0 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    opacity: 1;
    box-shadow:
      0 4px 18px rgba(16, 24, 40, 0.28),
      0 0 0 0.45rem rgba(255, 255, 255, 0.42);
  }
}

@keyframes approach-hint-vibrate {
  0%,
  72%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  76% {
    transform: translate3d(-1px, 0, 0) rotate(-4deg);
  }

  79% {
    transform: translate3d(1px, 0, 0) rotate(4deg);
  }

  82% {
    transform: translate3d(-1px, 0, 0) rotate(-3deg);
  }

  85% {
    transform: translate3d(1px, 0, 0) rotate(3deg);
  }

  88% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

.page-portfolio-home .home-approach-card__hint.popup-hint--on-dark {
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(148deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 100%);
  color: rgba(26, 36, 51, 0.62);
  box-shadow:
    0 2px 10px rgba(16, 24, 40, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.page-portfolio-home .home-approach-card--step-1 {
  --approach-card-bg: #94aab7;
}

.page-portfolio-home .home-approach-card--step-2 {
  --approach-card-bg: #94aab7;
}

.page-portfolio-home .home-approach-card--step-3.home-approach-card--clickable .home-approach-card__art-zone,
.page-portfolio-home .home-approach-card--step-3.home-approach-card--clickable .home-approach-card__art {
  pointer-events: auto;
}

.page-portfolio-home .home-approach-card--step-3 {
  --approach-card-bg: #a4c639;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.page-portfolio-home .home-approach-card--step-3 .home-approach-card__top {
  margin-bottom: clamp(1rem, 4vw, 1.75rem);
}

.page-portfolio-home .home-approach-card--step-3 .home-approach-card__copy {
  flex: 0 0 auto;
}

.page-portfolio-home .home-approach-card--step-3 .home-approach-card__title {
  font-weight: 600;
}

.page-portfolio-home .home-approach-card--step-3 .home-approach-card__art-zone {
  flex: 1 1 auto;
  min-height: clamp(8.5rem, 28vw, 10.5rem);
  margin-top: auto;
  margin-bottom: clamp(-3.75rem, -12vw, -2.85rem);
  padding-top: 0.35rem;
}

.page-portfolio-home .home-approach-card--step-3 .home-approach-card__art--hand {
  width: min(90%, 15.5rem);
  transform: scale(1.06);
  transform-origin: center bottom;
}

@media (max-width: 767px) {
  .page-portfolio-home .home-approach-card--step-3 {
    min-height: calc((clamp(21.5rem, 64vw, 26.5rem) + 200px) * 0.5);
    padding-top: clamp(1rem, 3.2vw, 1.25rem);
  }

  .page-portfolio-home .home-approach-card--step-3 .home-approach-card__top {
    min-height: 1.75rem;
    margin-bottom: 0.55rem;
  }

  .page-portfolio-home .home-approach-card--step-3 .home-approach-card__num {
    font-size: clamp(1.85rem, 6.8vw, 2.2rem);
  }

  .page-portfolio-home .home-approach-card--step-3 .home-approach-card__title {
    font-size: clamp(1.05rem, 3.9vw, 1.2rem);
  }

  .page-portfolio-home .home-approach-card--step-3 .home-approach-card__art-zone {
    min-height: clamp(3.75rem, 13vw, 4.75rem);
    margin-bottom: clamp(-1.85rem, -6.5vw, -1.35rem);
    padding-top: 0;
  }

  .page-portfolio-home .home-approach-card--step-3 .home-approach-card__art--hand {
    width: min(76%, 9.75rem);
    transform: scale(0.9);
  }
}

@media (min-width: 768px) {
  .page-portfolio-home .home-approach__header {
    max-width: 28rem;
  }

  .page-portfolio-home .home-approach__lead {
    max-width: 24rem;
    font-size: 0.875rem;
  }

  .page-portfolio-home .home-approach__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0 0 2rem;
    overflow: visible;
  }

  .page-portfolio-home .home-approach-card {
    flex: initial;
    min-height: 24.5rem;
  }

  .page-portfolio-home .home-approach-card--step-2,
  .page-portfolio-home .home-approach-card--step-3 {
    display: flex;
    flex-direction: column;
  }

  .page-portfolio-home .home-approach-card--step-3 .home-approach-card__art-zone {
    min-height: 7.5rem;
    margin-bottom: clamp(-2.85rem, -7vw, -2.15rem);
  }

  .page-portfolio-home .home-approach-card--step-3 .home-approach-card__art--hand {
    width: min(100%, 12.25rem);
    transform: scale(1.04);
  }

  .page-portfolio-home .home-approach-card--step-2.home-approach-card--clickable,
  .page-portfolio-home .home-approach-card--step-3.home-approach-card--clickable {
    display: flex;
  }
}

@media (min-width: 1100px) {
  .page-portfolio-home .home-approach__inner {
    padding: 0 1.5rem;
  }

  .page-portfolio-home .home-approach-card {
    min-height: 26.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-portfolio-home .home-approach-card__hint {
    animation: none;
  }
}

/* Sticky placeholder wideo — lewy dolny róg */
.page-portfolio-home .home-approach-video-dock {
  --approach-video-dock-width: 7.5rem;
  position: fixed;
  left: 1.25rem;
  right: auto;
  /* Sit on the same baseline as the sticky bar pill */
  bottom: calc(0.65rem + env(safe-area-inset-bottom, 0));
  top: auto;
  z-index: 100011;
  display: block;
  width: var(--approach-video-dock-width);
  margin: 0;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0.65rem, 0) scale(0.96);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 767px) {
  .page-portfolio-home .home-approach-video-dock {
    --approach-video-dock-width: 6.85rem;
    left: 0.85rem;
    bottom: calc(0.65rem + env(safe-area-inset-bottom, 0));
  }
}

@media (min-width: 768px) {
  .page-portfolio-home .home-approach-video-dock {
    left: 1.5rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  }

  /* Leave room so the centered sticky pill doesn't sit under the video tile */
  .page-portfolio-home:has(.home-approach-video-dock--visible) .hero-sticky-bar {
    padding-left: calc(1.5rem + 7.5rem + 0.85rem);
  }
}

.page-portfolio-home .home-approach-video-dock--visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.page-portfolio-home .home-approach-video-dock[hidden] {
  display: none !important;
}

.page-portfolio-home .home-approach-video-dock--morphing {
  opacity: 0;
  pointer-events: none;
}

.page-portfolio-home .home-approach-video-dock__close {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: rgba(26, 36, 51, 0.72);
    box-shadow: 0 3px 12px rgba(16, 24, 40, 0.2);
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, background 0.15s ease;
  }

.page-portfolio-home .home-approach-video-dock__close:active {
  transform: scale(0.94);
}

.page-portfolio-home .home-approach-video-dock__close .ui-icon-svg {
  width: 0.72rem;
  height: 0.72rem;
}

.page-portfolio-home .home-approach-video-dock__shell {
  position: relative;
  display: block;
  width: 100%;
  height: calc(var(--approach-video-dock-width) * 16 / 9);
    aspect-ratio: 9 / 16;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0.95rem;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.3);
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
    text-align: inherit;
  }

.page-portfolio-home .home-approach-video-dock__shell::before {
  content: none;
}

.page-portfolio-home .home-approach-video-dock__shell:active {
  transform: scale(0.98);
}

.page-portfolio-home .home-approach-video-dock__wave {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    z-index: 4;
    font-size: 1.15rem;
    line-height: 1;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(8, 10, 14, 0.3));
    transform-origin: 70% 80%;
    animation: approach-video-dock-wave 1.8s ease-in-out infinite;
  }

.page-portfolio-home .home-approach-video-dock__placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    border-radius: inherit;
    overflow: hidden;
    background: #fff;
  }

.page-portfolio-home .home-approach-video-dock__poster-wrap {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

.page-portfolio-home .home-approach-video-dock__poster {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: 56% 40%;
    pointer-events: none;
    user-select: none;
  }

.page-portfolio-home .home-approach-video-dock__placeholder::after {
  content: none;
}

.page-portfolio-home .home-approach-video-dock__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    margin: 0;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: rgba(26, 36, 51, 0.72);
    box-shadow:
      0 4px 14px rgba(16, 24, 40, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.98);
    animation: approach-video-dock-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
  }

.page-portfolio-home .home-approach-video-dock__play .ui-icon-svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 0.12rem;
}

@keyframes approach-video-dock-wave {
  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(16deg);
  }

  75% {
    transform: rotate(-8deg);
  }
}

@keyframes approach-video-dock-pulse {
  0%,
  100% {
    opacity: 0.88;
    box-shadow:
      0 4px 14px rgba(16, 24, 40, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    opacity: 1;
    box-shadow:
      0 6px 18px rgba(16, 24, 40, 0.28),
      inset 0 1px 0 #fff,
      0 0 0 0.35rem rgba(255, 255, 255, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-portfolio-home .home-approach-video-dock__play {
    animation: none;
  }

  .page-portfolio-home .home-approach-video-dock__wave {
    animation: none;
  }
}

@media (max-width: 767px) {
  .page-portfolio-home .home-approach-video-dock {
    display: none !important;
  }
}

.page-portfolio-home .hero-sticky-bar__video-bubble-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.page-portfolio-home .hero-sticky-bar__video-bubble-play .ui-icon-svg {
  width: 0.64rem;
  height: 0.64rem;
  margin-left: 0.07rem;
}

.page-portfolio-home .hero-sticky-bar__wrap--has-video .hero-sticky-bar__video-bubble.is-visible .hero-sticky-bar__video-bubble-play,
.page-portfolio-home .hero-sticky-bar__wrap--has-video .hero-sticky-bar__video-bubble.is-arrived .hero-sticky-bar__video-bubble-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: hero-sticky-video-play-pulse 1.9s ease-in-out infinite;
}

@keyframes hero-sticky-video-play-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 2px 6px rgba(0, 0, 0, 0.3),
      0 0 0 0 rgba(225, 29, 72, 0.4);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow:
      0 3px 8px rgba(0, 0, 0, 0.34),
      0 0 0 0.22rem rgba(225, 29, 72, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-portfolio-home .hero-sticky-bar__wrap--has-video .hero-sticky-bar__video-bubble.is-visible .hero-sticky-bar__video-bubble-play,
  .page-portfolio-home .hero-sticky-bar__wrap--has-video .hero-sticky-bar__video-bubble.is-arrived .hero-sticky-bar__video-bubble-play {
    animation: none;
  }
}

/* Sticky bar — kółko wideo inline po lewej (tylko po zamknięciu wideo) */
.page-portfolio-home .hero-sticky-bar__wrap {
  --approach-video-morph-ms: 460ms;
  --approach-video-morph-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-sticky-video-bubble-size: 2.85rem;
  --hero-sticky-video-slot-gap: 0.55rem;
  --hero-sticky-video-slot-ease: var(--approach-video-morph-ease);
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  width: 100%;
  pointer-events: none;
  transition: gap var(--approach-video-morph-ms) var(--approach-video-morph-ease);
}

.page-portfolio-home .hero-sticky-bar__wrap--has-video {
  gap: var(--hero-sticky-video-slot-gap);
}

@media (min-width: 768px) {
  .page-portfolio-home .hero-sticky-bar__wrap {
    width: min(34rem, calc(100vw - 3rem));
  }
}

.page-portfolio-home .hero-sticky-bar:has(.hero-sticky-bar__wrap--has-video) {
  z-index: 100012;
}

.page-portfolio-home .hero-sticky-bar__wrap--has-video {
  isolation: isolate;
}

.page-portfolio-home .hero-sticky-bar__wrap .hero-sticky-bar__pill {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: 100%;
}

.page-portfolio-home .hero-sticky-bar__wrap--has-video .hero-sticky-bar__pill {
  position: relative;
  z-index: 1;
}

.page-portfolio-home .hero-sticky-bar__video-bubble {
  position: relative;
  z-index: 100025;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  min-width: 0;
  height: var(--hero-sticky-video-bubble-size);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
  cursor: pointer;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transition:
    width var(--approach-video-morph-ms) var(--approach-video-morph-ease),
    min-width var(--approach-video-morph-ms) var(--approach-video-morph-ease),
    opacity 0.2s var(--approach-video-morph-ease),
    border-color var(--approach-video-morph-ms) var(--approach-video-morph-ease),
    box-shadow var(--approach-video-morph-ms) var(--approach-video-morph-ease);
}

.page-portfolio-home .hero-sticky-bar__wrap--has-video .hero-sticky-bar__video-bubble {
  width: var(--hero-sticky-video-bubble-size);
  min-width: var(--hero-sticky-video-bubble-size);
  border-color: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.28);
  pointer-events: auto;
  touch-action: manipulation;
}

.page-portfolio-home .hero-sticky-bar__wrap--has-video .hero-sticky-bar__video-bubble.is-visible,
.page-portfolio-home .hero-sticky-bar__wrap--has-video .hero-sticky-bar__video-bubble.is-arrived {
  opacity: 1;
}

.page-portfolio-home .hero-sticky-bar__video-bubble.is-paused,
.page-portfolio-home .hero-sticky-bar__video-bubble.is-expanding {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--approach-video-morph-ease);
}

.page-portfolio-home .hero-sticky-bar__wrap--has-video .hero-sticky-bar__video-bubble.is-morph-target {
  opacity: 1;
  pointer-events: none;
  transition: none !important;
}

.page-portfolio-home .hero-sticky-bar__video-bubble.is-arrived {
  opacity: 1;
  transition: none !important;
}

.page-portfolio-home .hero-sticky-bar__video-bubble.is-visible:active,
.page-portfolio-home .hero-sticky-bar__video-bubble.is-arrived:active {
  transform: scale(0.94);
}

.page-portfolio-home .hero-sticky-bar__video-bubble.is-hit-disabled {
  pointer-events: none !important;
}

.page-portfolio-home .hero-sticky-bar__video-bubble-thumb,
.page-portfolio-home .hero-sticky-bar__video-bubble-thumb img {
  pointer-events: none;
}

.page-portfolio-home .hero-sticky-bar-video-bubble-hit {
  position: fixed;
  z-index: 100026;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.page-portfolio-home .hero-sticky-bar-video-bubble-hit[hidden] {
  display: none !important;
}

.page-portfolio-home .hero-sticky-bar__video-bubble-thumb {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.page-portfolio-home .hero-sticky-bar__video-bubble-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: rgba(8, 10, 14, 0.28);
  pointer-events: none;
}

.page-portfolio-home .hero-sticky-bar__video-bubble-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 40%;
  transform: scale(1.06);
  transform-origin: 56% 40%;
}

.page-portfolio-home .hero-sticky-bar__video-bubble[hidden] {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  margin: 0;
  padding: 0;
  border-width: 0;
  overflow: hidden;
}

.page-portfolio-home .approach-video-sheet-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 0;
  border-radius: 0.95rem;
  overflow: hidden;
  background: #101820;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.page-portfolio-home .approach-video-sheet-poster,
.page-portfolio-home .approach-video-sheet-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-portfolio-home .approach-video-sheet-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: rgba(26, 36, 51, 0.78);
  box-shadow:
    0 8px 24px rgba(16, 24, 40, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transform: translate(-50%, -50%);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.page-portfolio-home .approach-video-sheet-play .ui-icon-svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.14rem;
}

.page-portfolio-home .approach-video-sheet-play[hidden] {
  display: none !important;
}

.page-portfolio-home .approach-video-sheet-player[hidden] {
  display: none !important;
}

.page-portfolio-home .approach-video-sheet-poster[hidden] {
  display: none !important;
}

.page-portfolio-home .home-approach-video-morph {
  position: fixed;
  z-index: 100030;
  margin: 0;
  padding: 0;
  border: none;
  pointer-events: none;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.34);
  box-sizing: border-box;
}

.page-portfolio-home .home-approach-video-morph[hidden] {
  display: none !important;
}

.page-portfolio-home .home-approach-video-morph__surface {
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-size: cover;
  background-position: 56% 40%;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transform-origin: 56% 40%;
}
