html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.cxp-page {
  max-width: 100%;
  overflow-x: clip;
}

.cxp-hero__ghost,
.cxp-hero__copy p,
.cxp-hero__copy .cxp-actions,
.cxp-scroll-story .eyebrow,
.cxp-hero-bg {
  display: none !important;
}

.cxp-hero {
  min-height: 100svh !important;
  min-height: 100dvh !important;
  height: 100svh !important;
  height: 100dvh !important;
  padding-top: clamp(5.5rem, 8vw, 8rem) !important;
  padding-bottom: clamp(2rem, 4vw, 4rem) !important;
  background: linear-gradient(135deg, #fbf6ee 0%, #f5ebdc 44%, #eadcc8 100%) !important;
}

.cxp-hero__media {
  z-index: 0;
}

.cxp-hero__veil {
  z-index: 1;
  background: linear-gradient(90deg, rgba(251, 246, 238, 0.82), rgba(251, 246, 238, 0.5) 54%, rgba(234, 220, 200, 0.32)) !important;
}

.cxp-hero__grain {
  z-index: 2;
}

.cxp-hero__inner {
  z-index: 3;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr) !important;
  gap: clamp(2rem, 4vw, 4rem) !important;
}

.cxp-hero h1 {
  max-width: 980px !important;
  font-size: clamp(4rem, 5.9vw, 7rem) !important;
  line-height: 0.86 !important;
}

.cxp-line span {
  white-space: nowrap;
}

.cxp-hero__objects {
  min-height: 540px !important;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.cxp-object {
  will-change: transform;
}

.cxp-object strong,
.cxp-object small {
  display: block;
  text-align: center;
}

.cxp-object strong {
  font-weight: 400 !important;
}

.cxp-object small {
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

.cxp-object--main {
  display: grid;
  min-height: 300px;
  place-items: center;
  transform: rotate(-4deg) rotateY(-13deg) rotateX(5deg);
  animation: cxpCardBreath 6.8s ease-in-out infinite;
}

.cxp-object--main img {
  width: min(82%, 360px) !important;
  min-height: 0 !important;
  filter: none;
}

.cxp-object--main span {
  display: none !important;
}

.cxp-object--web {
  left: -2rem !important;
  top: 3.5rem !important;
  animation: cxpFloatOne 7s ease-in-out infinite;
}

.cxp-object--qr {
  right: 1rem !important;
  bottom: 3rem !important;
  animation: cxpFloatTwo 8s ease-in-out infinite;
}

.cxp-object--cups {
  left: 1.5rem;
  bottom: 2.2rem;
  animation: cxpFloatThree 7.6s ease-in-out infinite;
}

.cxp-scroll-story__pin {
  position: relative;
  align-items: end !important;
  padding-top: clamp(5rem, 7vh, 7rem) !important;
  padding-bottom: clamp(3rem, 5vh, 4.5rem) !important;
}

.cxp-scroll-story__grid {
  transform: none !important;
  align-items: end !important;
  min-height: min(760px, calc(100dvh - 8rem));
  padding-top: clamp(3rem, 5vh, 5rem);
}

.cxp-story-copy {
  align-self: end;
  padding-bottom: clamp(2rem, 4vh, 3.2rem);
}

.cxp-story-copy > .cxp-section-title.cxp-story-title-reference {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
  max-width: 680px !important;
  font-size: clamp(4.1rem, 6vw, 6.8rem) !important;
  line-height: 0.9 !important;
  text-align: left !important;
}

.cxp-story-title-active {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  width: min(1120px, 82vw);
  margin: 0;
  color: #fffaf3 !important;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(4.1rem, 6vw, 6.8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-align: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.cxp-story-title-active.is-final {
  width: min(680px, 45vw);
  text-align: left;
}

.cxp-story-title-active .cxp-story-title-line {
  display: block;
  white-space: nowrap;
}

.cxp-story__steps {
  position: relative !important;
  min-height: clamp(300px, 40svh, 390px) !important;
  margin-top: clamp(2.6rem, 4vh, 3.6rem) !important;
  overflow: visible !important;
}

.cxp-story-step-source {
  display: none !important;
}

.cxp-story-step-display {
  position: relative;
  z-index: 3;
  max-width: 720px;
  border-left: 0 !important;
  padding: 0 !important;
  color: #fffaf3 !important;
  pointer-events: none;
  overflow: visible !important;
}

.cxp-story-step-display span {
  display: inline-flex;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(199, 168, 100, 0.62);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(139, 111, 55, 0.14);
  color: #c7a864 !important;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cxp-story-step-display h3 {
  margin: 0;
  color: #fffaf3 !important;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.55rem, 3.8vw, 4.35rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.cxp-story-step-display p {
  max-width: 680px;
  margin: 0.75rem 0 0;
  color: rgba(255, 250, 243, 0.82) !important;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.5;
}

.cxp-pass__top small {
  max-width: 56%;
  text-align: right;
  line-height: 1.1;
}

.cxp-pass__lines {
  margin-top: 1rem;
  gap: 0.45rem;
}

.cxp-pass__lines span {
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(47, 47, 47, 0.68);
  font-weight: 800;
  line-height: 1.25;
}

.cxp-pass__lines span:nth-child(1) {
  color: var(--cxp-accent);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cxp-pass__lines span:nth-child(2) {
  color: var(--cxp-ink);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 2.6vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.cxp-pass__lines span:nth-child(3) {
  font-size: 0.95rem;
  font-weight: 700;
}

.cxp-reviews .cxp-section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 1200px;
}

.cxp-reviews .cxp-section-title {
  max-width: none;
  margin-inline: auto;
  text-wrap: wrap;
}

.cxp-reviews .cxp-section-copy {
  margin-inline: auto;
  text-align: center;
}

@keyframes cxpCardBreath {
  0%, 100% { transform: rotate(-4deg) rotateY(-13deg) rotateX(5deg) translateY(0); }
  50% { transform: rotate(-2deg) rotateY(-9deg) rotateX(7deg) translateY(-14px); }
}

@keyframes cxpFloatOne {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

@keyframes cxpFloatTwo {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(16px) rotate(-2deg); }
}

@keyframes cxpFloatThree {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

@media (max-width: 1280px) {
  .cxp-hero h1 {
    font-size: clamp(3.7rem, 6.3vw, 6.2rem) !important;
  }

  .cxp-story-title-active {
    font-size: clamp(3.7rem, 5.7vw, 6.2rem);
  }

  .cxp-story-title-active.is-final,
  .cxp-story-copy > .cxp-section-title.cxp-story-title-reference {
    width: min(620px, 48vw);
    font-size: clamp(3.7rem, 5.7vw, 6.2rem) !important;
  }
}

@media (max-width: 980px) {
  .cxp-hero {
    height: auto !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
  }

  .cxp-hero__inner {
    grid-template-columns: 1fr !important;
  }

  .cxp-hero h1 {
    font-size: clamp(3.2rem, 14vw, 5.8rem) !important;
  }

  .cxp-line span {
    white-space: normal;
  }

  .cxp-hero__objects {
    min-height: auto !important;
  }

  .cxp-object--main,
  .cxp-object--web,
  .cxp-object--qr,
  .cxp-object--cups {
    transform: none !important;
    animation: none !important;
  }

  .cxp-scroll-story__grid {
    transform: none;
    min-height: auto;
    padding-top: 0;
  }

  .cxp-story-copy > .cxp-section-title.cxp-story-title-reference {
    visibility: visible !important;
    opacity: 1 !important;
    color: #fffaf3 !important;
    width: auto !important;
    text-align: left !important;
  }

  .cxp-story-title-active,
  .cxp-story-step-source {
    display: none !important;
  }

  .cxp-story__steps {
    min-height: auto !important;
  }

  .cxp-story-step-display {
    margin-top: 1rem;
  }

  .cxp-reviews .cxp-section-title {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .cxp-hero h1 {
    font-size: clamp(3rem, 18vw, 4.8rem) !important;
  }

  .cxp-story-step-display h3 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cxp-object--main,
  .cxp-object--web,
  .cxp-object--qr,
  .cxp-object--cups {
    animation: none !important;
  }
}
