.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%;
  --pods-motion-ease: var(--pbt-ease-luxury, cubic-bezier(0.22, 1, 0.36, 1));
  --pods-motion-medium: var(--pbt-motion-medium, 220ms);
  background: #f6f0e7;
  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";
  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 {
  align-self: center;
  grid-area: viewer;
  min-width: 0;
  position: relative;
}

.pods-home-3d__viewer-frame {
  aspect-ratio: 16 / 10;
  background: #f6f0e7;
  border: 1px solid rgba(74, 56, 44, 0.06);
  box-shadow: none;
  contain: layout paint style;
  height: clamp(540px, 42vw, 620px);
  isolation: isolate;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
  transition:
    border-color var(--pods-motion-medium) var(--pods-motion-ease),
    box-shadow var(--pods-motion-medium) var(--pods-motion-ease);
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .pods-home-3d__viewer-frame:hover {
    border-color: rgba(154, 122, 82, 0.18);
    box-shadow: 0 12px 30px rgba(36, 27, 22, 0.035);
  }
}

.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 var(--pods-motion-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 var(--pods-motion-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;
}

.hero-3d-cue {
  color: rgba(74, 56, 44, 0.62);
  font-family: "Qanelas-Medium", "Avenir Next", Arial, sans-serif;
  inset: 18px;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.hero-3d-cue__badge,
.hero-3d-cue__hint {
  opacity: 0;
  position: absolute;
  transition:
    opacity var(--pods-motion-medium) var(--pods-motion-ease),
    transform var(--pods-motion-medium) var(--pods-motion-ease);
}

.hero-3d-cue__badge {
  align-items: center;
  background: rgba(252, 250, 246, 0.72);
  border: 1px solid rgba(74, 56, 44, 0.14);
  border-radius: 999px;
  color: rgba(36, 27, 22, 0.78);
  display: inline-flex;
  font-size: 10px;
  line-height: 1;
  min-height: 26px;
  padding: 0 11px;
  right: 0;
  text-transform: uppercase;
  top: 0;
  transform: translate3d(0, -5px, 0);
}

@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .hero-3d-cue__badge {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.hero-3d-cue__hint {
  align-items: center;
  background: rgba(247, 242, 234, 0.44);
  border: 1px solid rgba(74, 56, 44, 0.08);
  border-radius: 999px;
  bottom: 0;
  color: rgba(74, 56, 44, 0.58);
  display: inline-flex;
  font-family: "qanelas-light", "Avenir Next", Arial, sans-serif;
  font-size: 11px;
  gap: 7px;
  line-height: 1;
  min-height: 30px;
  padding: 0 11px 0 9px;
  right: 0;
  transform: translate3d(0, 7px, 0);
  white-space: nowrap;
}

.hero-3d-cue__icon {
  align-items: center;
  color: rgba(74, 56, 44, 0.56);
  display: inline-flex;
  height: 18px;
  justify-content: center;
  transform-origin: center;
  width: 18px;
}

.pods-home-3d.is-3d-cue-visible .hero-3d-cue__badge {
  opacity: 0.94;
  transform: translate3d(0, 0, 0);
}

.pods-home-3d.is-3d-cue-visible .hero-3d-cue__hint {
  opacity: 0.88;
  transform: translate3d(0, 0, 0);
}

.pods-home-3d.is-3d-cue-visible.has-3d-interacted .hero-3d-cue__hint {
  opacity: 0.88;
  transform: translate3d(0, 0, 0);
}

.pods-home-3d.is-3d-cue-visible.is-3d-active .hero-3d-cue__hint {
  border-color: rgba(154, 122, 82, 0.16);
  color: rgba(74, 56, 44, 0.66);
  opacity: 0.94;
}

.pods-home-3d.is-3d-cue-animate .hero-3d-cue__hint {
  animation: hero-3d-hint-enter 980ms var(--pods-motion-ease) both;
}

.pods-home-3d.is-3d-cue-animate .hero-3d-cue__icon {
  animation: hero-3d-orbit-cue 980ms var(--pods-motion-ease) both;
}

@keyframes hero-3d-hint-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

  42% {
    opacity: 0.92;
    transform: translate3d(0, 0, 0);
  }

  100% {
    opacity: 0.88;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-3d-orbit-cue {
  0% {
    transform: rotate(-7deg) translate3d(-2px, 0, 0);
  }

  48% {
    transform: rotate(9deg) translate3d(2px, 0, 0);
  }

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

.pods-home-3d__content {
  align-self: center;
  grid-area: content;
  max-width: 520px;
  min-width: 0;
}

.pods-home-3d__label {
  align-items: center;
  color: var(--pods-bronze-dark);
  display: inline-flex;
  font-family: "Qanelas-Medium", "Avenir Next", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  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: 44px;
  font-weight: 400;
  line-height: 1.03;
  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.7;
  margin: 24px 0 0;
  max-width: 520px;
}

.pods-home-3d__detail {
  color: rgba(74, 56, 44, 0.68);
  font-family: "Qanelas-Medium", "Avenir Next", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.7;
  margin: 22px 0 0;
  text-transform: uppercase;
}

.pods-home-3d__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  min-width: 0;
}

.pods-home-3d__primary,
.pods-home-3d__secondary {
  align-items: center;
  display: inline-flex;
  border: 2px solid #6C5A4C;
  border-radius: 5px;
  background: #6C5A4C;
  color: #ffffff;
  cursor: pointer;
  font-family: "qanelas-light", "Qanelas-Medium", "Avenir Next", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 44px;
  padding: 10px 26px;
  text-decoration: none;
  transition:
    transform 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}

.pods-home-3d__primary:hover,
.pods-home-3d__secondary:hover,
.pods-home-3d__primary:focus-visible,
.pods-home-3d__secondary:focus-visible {
  background: #786456;
  border-color: #786456;
  box-shadow: 0 10px 24px rgba(36, 29, 22, 0.07);
  color: #ffffff;
  outline: none;
  transform: translate3d(0, -1px, 0);
}

.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(500px, 44vw, 580px);
  }

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

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

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

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

  .hero-3d-cue {
    inset: 16px;
  }

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

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

@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);
  }

  .hero-3d-cue {
    inset: 14px;
  }

  .hero-3d-cue__badge {
    font-size: 9px;
    min-height: 24px;
    padding: 0 10px;
  }

  .hero-3d-cue__hint {
    bottom: 2px;
    font-size: 10px;
    min-height: 28px;
    padding: 0 10px 0 8px;
  }

  .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__detail {
    font-size: 10px;
    line-height: 1.55;
  }

  .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;
  }
}

/* Home 3D CTA hover language */
.pods-home-3d__primary,
.pods-home-3d__secondary {
  background-color: var(--pbt-btn-brown, #786456);
  border-color: var(--pbt-btn-brown, #786456);
  color: #ffffff;
  transition-property: background-color, border-color, color, transform, box-shadow, opacity;
  transition-duration: var(--pbt-motion-medium, 220ms);
  transition-timing-function: var(--pbt-ease-luxury, cubic-bezier(0.22, 1, 0.36, 1));
}

.pods-home-3d__primary:focus-visible,
.pods-home-3d__secondary:focus-visible {
  background-color: var(--pbt-btn-brown, #786456) !important;
  border-color: var(--pbt-btn-brown, #786456) !important;
  box-shadow: 0 0 0 3px rgba(120, 100, 86, 0.18) !important;
  color: #ffffff !important;
  outline: none !important;
  transform: translateY(0) !important;
}

@media (hover: hover) and (pointer: fine) {
  .pods-home-3d__primary:hover,
  .pods-home-3d__secondary:hover {
    background-color: var(--pbt-btn-ivory, #FAF3E3) !important;
    border-color: var(--pbt-btn-brown, #786456) !important;
    color: var(--pbt-btn-brown-dark, #42332A) !important;
    transform: translateY(-1px) !important;
  }

  .pods-home-3d__primary:hover:not(:focus-visible),
  .pods-home-3d__secondary:hover:not(:focus-visible) {
    box-shadow: none !important;
  }
}

.pods-home-3d__primary:active,
.pods-home-3d__secondary:active {
  box-shadow: none !important;
  transform: translateY(0) !important;
}

@media (hover: none), (pointer: coarse) {
  .pods-home-3d__primary:hover,
  .pods-home-3d__secondary:hover {
    background-color: var(--pbt-btn-brown, #786456) !important;
    border-color: var(--pbt-btn-brown, #786456) !important;
    box-shadow: none !important;
    color: #ffffff !important;
    transform: none !important;
  }
}
