/* Figma before/after composition, driven by native page scroll. */
body.page-id-4339,
.page-id-4339 #tophead {
  overflow-x: clip;
  overflow-y: visible;
}

.page-id-4339 .cw-design-build-story {
  position: relative;
  padding: 0;
  background: #fff;
  color: var(--type-color, #231f20);
  overflow: visible;
}

.page-id-4339 .cw-story-pin {
  display: flex;
  align-items: center;
  padding-block: clamp(32px, 7.32vw, 120px);
}

.page-id-4339 .cw-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 567fr) minmax(0, 802fr);
  align-items: center;
  gap: 32px;
  width: min(1400px, calc(100% - clamp(48px, 14.64vw, 240px)));
  margin-inline: auto;
}

.page-id-4339 .cw-story-copy,
.page-id-4339 .cw-story-visual,
.page-id-4339 .cw-story-panel {
  min-width: 0;
}

.page-id-4339 .cw-story-copy {
  display: grid;
  gap: 30px;
}

.page-id-4339 .cw-story-panel {
  align-self: center;
}

.page-id-4339 .cw-story-copy-content {
  padding: 32px;
  border-left: 2px solid #ff2d0d;
  font-family: var(--font-Inter, Inter, sans-serif);
}

/* Retain the border's space while the Fear line grows with the entry reveal. */
.page-id-4339 .cw-story-panel--fear .cw-story-copy-content {
  position: relative;
  border-left-color: transparent;
}

.page-id-4339 .cw-story-panel--fear .cw-story-copy-content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2px;
  width: 2px;
  background: #ff2d0d;
  transform: scaleY(var(--cw-fear-line-progress, 1));
  transform-origin: center top;
  pointer-events: none;
}

.page-id-4339 .cw-story-panel--promise .cw-story-copy-content {
  border-left-color: #231f20;
}

.page-id-4339 .cw-story-copy .block-title {
  margin: 0 0 30px;
}

.page-id-4339 .cw-story-copy .block-subtitle {
  display: block;
  margin: 0 0 12px;
  color: #666;
  font: 400 16px / 1.4 var(--font-Inter, Inter, sans-serif);
  text-transform: uppercase;
  letter-spacing: 0;
}

.page-id-4339 .cw-story-panel--promise .block-subtitle {
  color: #231f20;
}

.page-id-4339 .cw-story-copy h2 {
  margin: 0;
  color: #231f20;
  font: 400 28px / 36px var(--font-Inter, Inter, sans-serif);
  letter-spacing: 0;
}

.page-id-4339 .cw-story-copy p {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 1.7;
}

.page-id-4339 .cw-story-copy p:last-child {
  margin-bottom: 0;
}

.page-id-4339 .cw-story-art {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  aspect-ratio: 802.348 / 642.51;
  margin: 0;
}

.page-id-4339 .cw-story-art::before {
  content: "";
  position: absolute;
  inset: 7.339% 5.877% 0 0;
  background: var(--button-color-light, #e7e0d7);
}

.page-id-4339 .cw-story-paper {
  position: absolute;
  left: 5.877%;
  top: 0;
  width: 94.123%;
  height: 92.661%;
}

.page-id-4339 .cw-story-diagram {
  position: absolute;
  inset: 0;
  overflow: hidden;
  outline: 1px solid #e7e0d7;
  outline-offset: -1px;
}

.page-id-4339 .cw-story-diagram::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fafafa;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.page-id-4339 .is-complete .cw-story-diagram::after {
  background: #f8f8f8;
}

.page-id-4339 .cw-story-base {
  position: absolute;
  display: block;
  left: -6.97%;
  top: -15.06%;
  width: 117.88%;
  height: 127.79%;
  max-width: none;
}

.page-id-4339 .cw-story-layer {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.page-id-4339 .cw-story-layer img,
.page-id-4339 .cw-story-layer picture {
  display: block;
  width: 100%;
  height: 100%;
}

.page-id-4339 .cw-story-layer--calvis {
  left: 36.685%;
  top: 31.188%;
  width: 26.63%;
  aspect-ratio: 389 / 303;
  /* Follow the PNG paper edges; filter blur uses half Figma's 14.146px radius. */
  filter: drop-shadow(4.715px 14.146px 7.073px rgb(0 0 0 / 10%));
}

.page-id-4339 .cw-story-layer--owners {
  left: 74.366%;
  top: 70.252%;
  width: 21.794%;
  height: 26.199%;
  display: grid;
  place-items: center;
}

.page-id-4339 .cw-story-note {
  position: relative;
  display: block;
  width: 94.741%;
  aspect-ratio: 155.932 / 146.747;
  transform: rotate(-3.49deg);
  filter: drop-shadow(4.715px 14.146px 7.073px rgb(0 0 0 / 10%));
  overflow: hidden;
}

.page-id-4339 .cw-story-layer--owners img {
  position: absolute;
  left: 2.63%;
  top: 0;
  width: 94.33%;
  height: 100%;
}

.page-id-4339 .is-enhanced .cw-story-copy {
  overflow: hidden;
}

.page-id-4339 .is-enhanced .cw-story-panel {
  grid-area: 1 / 1;
  align-self: stretch;
  display: grid;
  align-items: center;
}

.page-id-4339 .is-pinned {
  height: calc(var(--cw-pin-height) + var(--cw-scroll-runway));
}

.page-id-4339 .is-pinned .cw-story-pin {
  position: sticky;
  top: var(--cw-header-offset);
  height: var(--cw-pin-height);
  box-sizing: border-box;
  padding-block: 16px;
}

@media (max-width: 1199px) {
  .page-id-4339 .cw-story-layout {
    width: calc(100% - 48px);
    gap: 24px;
  }

  .page-id-4339 .cw-story-copy-content {
    padding: 24px;
  }

  .page-id-4339 .cw-story-copy h2 {
    font-size: 24px;
    line-height: 1.3;
  }
}

@media (max-width: 767px) {
  .page-id-4339 .cw-story-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .page-id-4339 .cw-story-visual {
    order: -1;
    width: min(100%, 420px, var(--cw-mobile-art-width, 420px));
    margin-inline: auto;
  }

  .page-id-4339 .cw-story-copy-content {
    padding: 12px 0 12px 16px;
  }

  .page-id-4339 .cw-story-copy .block-title {
    margin-bottom: 20px;
  }

  .page-id-4339 .cw-story-copy .block-subtitle {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .page-id-4339 .cw-story-copy h2 {
    font-size: 21px;
    line-height: 1.3;
  }

  .page-id-4339 .cw-story-copy p {
    font-size: 14px;
    line-height: 1.6;
  }
}
