.pods-home-3d {
  --pods-ivory: #f7f2ea;
  --pods-warm-white: #fcfaf6;
  --pods-sand: #e8ddce;
  --pods-brown: #4a382c;
  --pods-deep-brown: #241b16;
  --pods-muted: #74685e;
  --pods-bronze: #9a7a52;
  --pods-bronze-dark: #73583a;
  --pods-line: rgba(74, 56, 44, 0.15);
  --pods-3d-progress: 18%;
  background:
    linear-gradient(180deg, var(--pods-warm-white) 0%, var(--pods-ivory) 62%, rgba(232, 221, 206, 0.72) 100%);
  color: var(--pods-deep-brown);
  font-family: "Qanelas", "Avenir Next", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  contain-intrinsic-size: 920px;
  content-visibility: auto;
  overflow: hidden;
  padding: 118px 0 126px;
  position: relative;
}

.pods-home-3d,
.pods-home-3d * {
  box-sizing: border-box;
}

.pods-home-3d::before {
  background: linear-gradient(90deg, transparent, rgba(154, 122, 82, 0.32), transparent);
  content: "";
  height: 1px;
  left: clamp(24px, 5vw, 84px);
  position: absolute;
  right: clamp(24px, 5vw, 84px);
  top: 0;
}

.pods-home-3d__inner {
  align-items: center;
  display: grid;
  gap: 40px 88px;
  grid-template-areas:
    "viewer content"
    "viewer actions";
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.82fr);
  margin: 0 auto;
  max-width: 1480px;
  min-width: 0;
  width: min(100% - clamp(32px, 7vw, 128px), 1480px);
}

.pods-home-3d__viewer {
  grid-area: viewer;
  min-width: 0;
  position: relative;
}

.pods-home-3d__viewer-frame {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(ellipse at 50% 82%, rgba(36, 27, 22, 0.13) 0%, rgba(36, 27, 22, 0.07) 34%, rgba(36, 27, 22, 0) 64%),
    linear-gradient(180deg, rgba(252, 250, 246, 0) 0%, rgba(232, 221, 206, 0.24) 100%);
  border-bottom: 1px solid rgba(154, 122, 82, 0.24);
  contain: layout paint style;
  height: clamp(500px, 39vw, 560px);
  isolation: isolate;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.pods-home-3d__viewer-frame:focus-visible {
  outline: 1px solid rgba(154, 122, 82, 0.5);
  outline-offset: 7px;
}

.pods-home-3d__poster {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  transition: opacity 520ms ease;
  width: 100%;
  z-index: 1;
}

.pods-home-3d__model {
  --poster-color: transparent;
  background: transparent;
  height: 100%;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 500ms ease;
  visibility: hidden;
  width: 100%;
  z-index: 2;
}

.pods-home-3d.is-loaded .pods-home-3d__poster {
  opacity: 0;
}

.pods-home-3d.is-loaded .pods-home-3d__model {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.pods-home-3d__model::part(default-progress-bar) {
  display: none;
}

.pods-home-3d__gesture-demo {
  bottom: 28px;
  color: rgba(36, 27, 22, 0.74);
  height: 78px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translate3d(-50%, 10px, 0);
  transition: opacity 280ms ease, transform 280ms ease;
  width: 132px;
  z-index: 4;
}

.pods-home-3d__gesture-trail {
  background: linear-gradient(90deg, transparent, rgba(154, 122, 82, 0.46), transparent);
  height: 1px;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 35px;
  transform: translate3d(-50%, 0, 0) scaleX(0.54);
  width: 96px;
}

.pods-home-3d__gesture-hand {
  background: rgba(252, 250, 246, 0.86);
  border: 1px solid rgba(74, 56, 44, 0.16);
  border-radius: 999px;
  color: rgba(36, 27, 22, 0.72);
  display: block;
  filter: drop-shadow(0 10px 20px rgba(36, 27, 22, 0.12));
  height: 42px;
  left: 50%;
  opacity: 0;
  padding: 8px;
  position: absolute;
  top: 0;
  transform: translate3d(-44px, 10px, 0) scale(0.96);
  width: 42px;
}

.pods-home-3d__gesture-hand path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.22;
}

.pods-home-3d__gesture-copy {
  bottom: 0;
  color: rgba(74, 56, 44, 0.7);
  display: block;
  font-family: "Qanelas-Medium", "Avenir Next", Arial, sans-serif;
  font-size: 10px;
  left: 50%;
  line-height: 1;
  opacity: 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  transform: translate3d(-50%, 4px, 0);
  white-space: nowrap;
}

.pods-home-3d.is-gesture-active .pods-home-3d__gesture-demo {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.pods-home-3d.is-gesture-active .pods-home-3d__gesture-trail {
  animation: podsGestureTrail 2.4s ease forwards;
  will-change: opacity, transform;
}

.pods-home-3d.is-gesture-active .pods-home-3d__gesture-hand {
  animation: podsGestureHandDrag 2.4s cubic-bezier(0.22, 0.72, 0.24, 1) forwards;
  will-change: opacity, transform;
}

.pods-home-3d.is-gesture-active .pods-home-3d__gesture-copy {
  animation: podsGestureCopy 2.4s ease forwards;
  will-change: opacity, transform;
}

.pods-home-3d.is-gesture-dismissed .pods-home-3d__gesture-demo {
  opacity: 0;
}

@keyframes podsGestureHandDrag {
  0% {
    opacity: 0;
    transform: translate3d(-44px, 10px, 0) scale(0.96);
  }

  16% {
    opacity: 1;
    transform: translate3d(-36px, 0, 0) scale(0.98);
  }

  34% {
    opacity: 1;
    transform: translate3d(-26px, 1px, 0) scale(0.92);
  }

  72% {
    opacity: 1;
    transform: translate3d(32px, -3px, 0) scale(0.92);
  }

  88% {
    opacity: 1;
    transform: translate3d(40px, -2px, 0) scale(0.97);
  }

  100% {
    opacity: 0;
    transform: translate3d(46px, -2px, 0) scale(0.98);
  }
}

@keyframes podsGestureTrail {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scaleX(0.54);
  }

  24%,
  76% {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scaleX(1);
  }
}

@keyframes podsGestureCopy {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(-50%, 4px, 0);
  }

  20%,
  78% {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
  }
}

.pods-home-3d__activate {
  align-items: center;
  background: rgba(36, 27, 22, 0.86);
  border: 1px solid rgba(252, 250, 246, 0.24);
  border-radius: 2px;
  bottom: 24px;
  color: var(--pods-warm-white);
  display: inline-flex;
  font-family: "Qanelas-Medium", "Avenir Next", Arial, sans-serif;
  font-size: 11px;
  justify-content: center;
  left: 50%;
  min-height: 40px;
  opacity: 0;
  padding: 0 18px;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  transform: translate3d(-50%, 8px, 0);
  transition: opacity 220ms ease, transform 220ms ease, background-color 180ms ease;
  z-index: 3;
}

.pods-home-3d__activate:hover,
.pods-home-3d__activate:focus-visible {
  background: var(--pods-bronze-dark);
  outline: 1px solid rgba(154, 122, 82, 0.62);
  outline-offset: 5px;
}

.pods-home-3d.is-low-power:not(.is-loaded) .pods-home-3d__activate,
.pods-home-3d.is-error .pods-home-3d__activate {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
}

.pods-home-3d.is-hydrating .pods-home-3d__activate,
.pods-home-3d.is-loaded .pods-home-3d__activate {
  opacity: 0;
  pointer-events: none;
}

.pods-home-3d__controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin-top: 28px;
}

.pods-home-3d__control {
  background: transparent;
  border: 0;
  color: rgba(74, 56, 44, 0.62);
  font-family: "Qanelas-Medium", "Avenir Next", Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  min-height: 36px;
  padding: 0 0 9px;
  position: relative;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.pods-home-3d__control::after {
  background: var(--pods-bronze);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
  width: 100%;
}

.pods-home-3d__control:hover,
.pods-home-3d__control:focus-visible,
.pods-home-3d__control.is-active {
  color: var(--pods-deep-brown);
}

.pods-home-3d__control:focus-visible {
  outline: 1px solid rgba(154, 122, 82, 0.56);
  outline-offset: 7px;
}

.pods-home-3d__control.is-active::after {
  transform: scaleX(1);
}

.pods-home-3d__control-copy {
  color: var(--pods-muted);
  font-family: "qanelas-light", "Avenir Next", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0 0;
  max-width: 650px;
}

.pods-home-3d__content {
  align-self: end;
  grid-area: content;
  min-width: 0;
}

.pods-home-3d__label {
  color: var(--pods-bronze-dark);
  display: inline-flex;
  font-family: "Qanelas-Medium", "Avenir Next", Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.pods-home-3d__title {
  color: var(--pods-deep-brown);
  font-family: "Qanelas-Medium", "Avenir Next", "Montserrat", Arial, sans-serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

.pods-home-3d__body {
  color: var(--pods-muted);
  font-family: "qanelas-light", "Avenir Next", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  margin: 24px 0 0;
  max-width: 520px;
}

.pods-home-3d__actions {
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-area: actions;
  min-width: 0;
}

.pods-home-3d__primary,
.pods-home-3d__secondary {
  align-items: center;
  display: inline-flex;
  font-family: "Qanelas-Medium", "Avenir Next", Arial, sans-serif;
  font-size: 12px;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.pods-home-3d__primary {
  background: var(--pods-deep-brown);
  border: 1px solid var(--pods-deep-brown);
  border-radius: 2px;
  color: var(--pods-warm-white);
  padding: 0 28px;
}

.pods-home-3d__secondary {
  border: 1px solid rgba(74, 56, 44, 0.22);
  border-radius: 2px;
  color: var(--pods-brown);
  padding: 0 28px;
}

.pods-home-3d__primary:hover,
.pods-home-3d__primary:focus-visible {
  background: var(--pods-bronze-dark);
  border-color: var(--pods-bronze-dark);
  color: var(--pods-warm-white);
  outline: none;
}

.pods-home-3d__secondary:hover,
.pods-home-3d__secondary:focus-visible {
  border-color: var(--pods-bronze-dark);
  color: var(--pods-bronze-dark);
  outline: none;
}

.pods-home-3d__primary:focus-visible,
.pods-home-3d__secondary:focus-visible {
  outline: 1px solid rgba(154, 122, 82, 0.62);
  outline-offset: 5px;
}

@media (max-width: 1180px) {
  .pods-home-3d {
    padding: 104px 0 112px;
  }

  .pods-home-3d__inner {
    gap: 34px 56px;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  }

  .pods-home-3d__viewer-frame {
    height: clamp(460px, 40vw, 520px);
  }

  .pods-home-3d__title {
    font-size: 48px;
  }
}

@media (max-width: 980px) {
  .pods-home-3d {
    padding: 84px 0 92px;
  }

  .pods-home-3d__inner {
    gap: 30px;
    grid-template-areas:
      "viewer"
      "content"
      "actions";
    grid-template-columns: 1fr;
    width: min(100% - 32px, 760px);
  }

  .pods-home-3d__viewer-frame {
    height: clamp(380px, 64vw, 480px);
  }

  .pods-home-3d__content {
    align-self: start;
    padding-top: 6px;
  }

  .pods-home-3d__actions {
    margin-top: -6px;
  }
}

@media (max-width: 560px) {
  .pods-home-3d {
    padding: 70px 0 78px;
  }

  .pods-home-3d__inner {
    width: min(100% - 28px, 520px);
  }

  .pods-home-3d__viewer-frame {
    aspect-ratio: auto;
    height: clamp(360px, 92vw, 440px);
  }

  .pods-home-3d__gesture-demo {
    bottom: 18px;
    transform: translate3d(-50%, 8px, 0) scale(0.92);
  }

  .pods-home-3d.is-gesture-active .pods-home-3d__gesture-demo {
    transform: translate3d(-50%, 0, 0) scale(0.92);
  }

  .pods-home-3d__controls {
    gap: 6px 20px;
    margin-top: 22px;
  }

  .pods-home-3d__control {
    font-size: 11px;
    min-height: 34px;
    padding-bottom: 8px;
  }

  .pods-home-3d__control-copy {
    font-size: 14px;
    line-height: 1.62;
  }

  .pods-home-3d__label {
    font-size: 11px;
    margin-bottom: 16px;
  }

  .pods-home-3d__title {
    font-size: 36px;
  }

  .pods-home-3d__body {
    font-size: 16px;
    line-height: 1.66;
  }

  .pods-home-3d__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .pods-home-3d__primary {
    min-height: 48px;
    width: 100%;
  }

  .pods-home-3d__secondary {
    min-height: 48px;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pods-home-3d,
  .pods-home-3d *,
  .pods-home-3d *::before,
  .pods-home-3d *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .pods-home-3d__model {
    --model-viewer-auto-rotate-speed: 0;
  }
}
