.product-scenes {
  --scene-pad: clamp(26px, 5.7vw, 98px);
  --scene-navy: #111129;
  color: var(--scene-navy);
  font-family: Inter, Arial, sans-serif;
  isolation: isolate;
  scroll-margin-top: 24px;
}

.product-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(490px, 48vw, 760px);
  overflow: hidden;
}

.product-scene :where(h2, p, figure) { margin: 0; }
.product-scene .scene-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(46px, 6vw, 104px) var(--scene-pad);
}

.product-scene .scene-copy h2 {
  color: inherit;
  max-width: 8.5em;
  font-family: inherit;
  font-size: clamp(54px, 6.7vw, 112px);
  font-weight: 755;
  line-height: .92;
  letter-spacing: -.071em;
}

.product-scene .scene-copy h2 span { color: #ef514c; }
.product-scene .scene-copy p {
  max-width: 34ch;
  margin-top: clamp(21px, 2.2vw, 36px);
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.44;
  letter-spacing: -.028em;
}
.scene-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: clamp(22px, 2.7vw, 44px);
}
.scene-actions :is(button, a) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font: 650 14px/1.2 Inter, Arial, sans-serif;
  letter-spacing: -.018em;
}
.scene-actions button {
  color: #fff;
  background: #130f83;
  border: 1px solid #130f83;
  border-radius: 4px;
  padding: 0 18px;
  cursor: pointer;
}
.scene-actions button:hover { background: #2724a6; }
.scene-actions a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.scene-actions a span { font-size: 16px; font-weight: 500; }
.product-scenes :is(a,button):focus-visible { outline: 3px solid #eb4645; outline-offset: 3px; }

.scene-discovery { background: #f9f8f4; }
.scene-hand-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #dce2f3;
}
.scene-hand {
  position: absolute;
  top: 7%;
  left: 21%;
  width: 89%;
  aspect-ratio: 887 / 1253;
  transform: rotate(-5deg);
  transform-origin: 44% 45%;
}
.scene-hand-screen {
  position: absolute;
  top: calc(2.63% - 1px);
  left: calc(12.18% - 1px);
  width: calc(39.68% + 2px);
  height: calc(60.18% + 2px);
  object-fit: fill;
  border-radius: 8% / 4%;
}
.scene-hand-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scene-passport { background: #e9e8e2; }
.scene-passport .scene-copy { grid-area: 1 / 1; }
.scene-type-field {
  position: absolute;
  inset: -4% -3% -4% 38%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #d4d3ce;
  font-size: clamp(142px, 17vw, 310px);
  font-weight: 780;
  letter-spacing: -.09em;
  line-height: .78;
  user-select: none;
  pointer-events: none;
}
.scene-type-field span:nth-child(2) { transform: translateX(7%); }
.scene-stack-art {
  grid-area: 1 / 2;
  width: 100%;
  position: relative;
  align-self: center;
  aspect-ratio: 1.18;
  z-index: 1;
}
.scene-device {
  position: absolute;
  width: 33.8%;
  transform-origin: 50% 65%;
}
.scene-phone {
  position: relative;
  overflow: hidden;
  padding: 1.7%;
  background: #28292c;
  border: 1px solid #81828a;
  border-radius: 12% / 5.8%;
  box-shadow: inset 0 0 0 1px #c1c0c0, 1px 3px #393a40, 3px 5px #646469, 9px 17px 16px -10px #20202491;
}
.scene-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 585 / 1209;
  border-radius: 10.5% / 4.9%;
}
.scene-stack-jobs { left: 51%; top: -3%; transform: rotate(-20deg) skewY(4deg) scale(.87); }
.scene-stack-recruiter { left: 32%; top: 7%; transform: rotate(-19deg) skewY(4deg) scale(.94); }
.scene-stack-passport { left: 11%; top: 17%; transform: rotate(-18deg) skewY(3deg); }
.scene-hiring { color: #fff; background: var(--scene-navy); }
.scene-hiring .scene-copy p { color: #d5d6e2; }
.scene-hiring .scene-actions button { color: var(--scene-navy); background: #fff; border-color: #fff; }
.scene-hiring .scene-actions button:hover { background: #eeeef2; }
.scene-portrait { position: relative; overflow: hidden; min-width: 0; }
.scene-portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 66%;
}
.scene-portrait-screen {
  position: absolute;
  right: 3.5%;
  bottom: -4%;
  width: 25.5%;
  max-width: 189px;
  transform: rotate(5deg);
}
@media (min-width: 1700px) {
  .product-scene { min-height: 780px; }
  .scene-stack-art { max-width: 840px; }
  .scene-hand { width: min(89%, 830px); }
}
@media (max-width: 860px) and (min-width: 681px) {
  .product-scenes { --scene-pad: 30px; }
  .product-scene { min-height: 416px; }
  .scene-stack-art { width: 104%; }
  .scene-actions { gap: 4px 12px; }
  .scene-hand { top: 12%; left: 13%; width: 105%; }
}
@media (max-width: 680px) {
  .product-scenes { --scene-pad: clamp(20px, 6vw, 38px); }
  .product-scene { display: flex; flex-direction: column; min-height: auto; }
  .product-scene .scene-copy { width: 100%; padding: 35px var(--scene-pad) 38px; }
  .product-scene .scene-copy h2 { font-size: clamp(48px, 10.3vw, 70px); }
  .product-scene .scene-copy h2 br { display: none; }
  .product-scene .scene-copy h2 br::after { content: " "; }
  .product-scene .scene-copy p { margin-top: 15px; }
  .scene-actions { margin-top: 18px; gap: 6px 18px; }
  .scene-hand-art { height: auto; aspect-ratio: 1.15; }
  .scene-hand { top: 8%; left: 22%; width: 83%; }
  .scene-stack-art { order: 0; aspect-ratio: 1.22; width: min(100%, 540px); margin: 6% auto 2%; }
  .scene-passport .scene-copy { order: 1; }
  .scene-type-field { inset: 0 0 auto; height: 56%; font-size: clamp(88px, 22vw, 140px); }
  .scene-hiring .scene-copy { order: 1; }
  .scene-portrait { aspect-ratio: 1.12; }
  .scene-portrait-photo { object-position: 48% 69%; }
  .scene-portrait-screen { width: 24%; right: 4%; bottom: -4%; }
}
