/* The reveal is local-only. The complete portrait is the static, reduced-motion pose. */
body[data-page="/products/ptt900"] {
  --ptt-black: #07090e;
  --ptt-white: #f2f4f8;
  background: var(--ptt-black);
}
.ptt-reveal {
  --ptt-header: 90px;
  --ptt-progress: 0;
  --ptt-view: calc(100svh - var(--ptt-header));
  background: var(--ptt-black);
  color: var(--ptt-white);
}
.ptt-reveal-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
  min-height: max(var(--ptt-view), 440px);
  padding-bottom: 76px;
  overflow: clip;
  background: radial-gradient(ellipse at 50% 54%, #101725 0%, var(--ptt-black) 69%);
}
.ptt-reveal-title {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  z-index: 1;
  text-align: center;
  padding-top: clamp(25px, 6svh, 68px);
  pointer-events: none;
}
.ptt-reveal-title h1 {
  color: var(--ptt-white);
  font-size: clamp(65px, 14.6vw, 225px);
  font-weight: 545;
  font-stretch: 108%;
  letter-spacing: -.026em;
  line-height: .91;
  text-wrap: nowrap;
  margin-left: -.026em;
}
.ptt-reveal-pulse {
  display: block;
  width: clamp(20px, 3vw, 34px);
  aspect-ratio: 5.5 / 1;
  margin: clamp(23px, 5.6svh, 57px) auto 0;
  border-radius: 999px;
  background: #ff5264;
  box-shadow: 0 0 9px #ff334e, 0 0 28px #e11e3e92;
}
.ptt-reveal-art {
  grid-area: 2 / 1;
  width: min(110vw, 57svh, 690px);
  aspect-ratio: 3 / 4;
  position: relative;
  align-self: center;
  justify-self: center;
}
.ptt-reveal-frame {
  position: absolute;
  inset: 0;
}
.ptt-reveal-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ptt-reveal-front {
  /* Use the extraction as a matte so the approved portrait supplies the visible pixels. */
  mask-image: url('/assets/ptt900-reveal-matte.webp');
  mask-mode: luminance;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}
.ptt-reveal-front::after {
  /* The recess in the restored portrait, measured on its 3:4 canvas. */
  content: '';
  position: absolute;
  left: 49.9%;
  top: 61.45%;
  width: 9.2%;
  height: 1.32%;
  translate: -50% -50%;
  border-radius: 999px;
  background: linear-gradient(#ffa4a7, #ff4c57 43%, #c51c34 95%);
  box-shadow: 0 0 .4em #ff334e96, 0 0 .85em #ff334e54;
  pointer-events: none;
}
.ptt-reveal-shadow {
  display: none;
}
.ptt-reveal-skip {
  display: grid;
  place-items: center;
  width: 48px;
  min-height: 48px;
  position: absolute;
  z-index: 3;
  bottom: clamp(13px, 3svh, 31px);
  left: 50%;
  translate: -50% 0;
  color: #9cabc0;
  font-size: 22px;
  line-height: 1;
  border-radius: 50%;
}
.ptt-reveal-skip:hover {
  color: white;
  background: #172236;
}
.ptt-reveal-skip:focus-visible {
  outline: 2px solid #f2f4f8;
  outline-offset: 3px;
}
@keyframes ptt-red-pulse {
  0%, 100% { opacity: .84; transform: scale(.9); }
  49% { opacity: 1; transform: scale(1.14); }
  79% { opacity: .34; transform: scale(.82); }
}
@media (prefers-reduced-motion: no-preference) {
  [data-ptt-motion].ptt-reveal {
    min-height: calc(var(--ptt-view) + clamp(700px, 146svh, 1380px));
  }
  [data-ptt-motion] .ptt-reveal-stage {
    --ptt-title-out: clamp(0, calc((var(--ptt-progress) - .025) * 3.8), 1);
    --ptt-pulse-out: clamp(0, calc((var(--ptt-progress) - .13) * 5), 1);
    --ptt-lens-in: clamp(0, calc((var(--ptt-progress) - .095) * 5), 1);
    --ptt-body-in: clamp(0, calc((var(--ptt-progress) - .28) * 2.18), 1);
    --ptt-pullback: clamp(0, calc((var(--ptt-progress) - .09) * 1.49), 1);
    position: sticky;
    top: var(--ptt-header);
    height: max(var(--ptt-view), 360px);
    min-height: 0;
    padding-bottom: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
  }
  [data-ptt-motion] .ptt-reveal-title {
    grid-area: 1 / 1;
    padding-top: 0;
    transform: translateY(calc(-14svh * var(--ptt-title-out))) scale(calc(1 - .09 * var(--ptt-title-out)));
    opacity: calc(1 - var(--ptt-title-out));
  }
  [data-ptt-motion] .ptt-reveal-pulse {
    opacity: calc(1 - var(--ptt-pulse-out));
  }
  [data-ptt-motion][data-ptt-opening] .ptt-reveal-pulse {
    animation: ptt-red-pulse 2.25s cubic-bezier(.3, 0, .5, 1) 2;
  }
  [data-ptt-motion] .ptt-reveal-art {
    grid-area: 1 / 1;
    width: min(114vw, calc(var(--ptt-view) * .83), 840px);
    transform-origin: 41.2% 26%;
    transform: translate(calc((1 - var(--ptt-pullback)) * 8%), calc((1 - var(--ptt-pullback)) * 30%))
      scale(calc(1.62 - .62 * var(--ptt-pullback)));
  }
  [data-ptt-motion] .ptt-reveal-front {
    opacity: var(--ptt-body-in);
  }
  [data-ptt-motion] .ptt-reveal-shadow {
    display: block;
    opacity: calc(var(--ptt-lens-in) * (1 - var(--ptt-body-in)));
    mask-image: radial-gradient(ellipse 31% 29% at 41.2% 26%, #000 19%, #000b 47%, transparent 78%);
  }
  [data-ptt-motion] .ptt-reveal-shadow img {
    transform-origin: 38.7% 27.7%;
    transform: translate(2.5%, -1.7%) scale(.93);
  }
}
.ptt-detail {
  background: radial-gradient(ellipse at 74% 48%, #1d293b, #0e1420 67%);
  color: var(--ptt-white);
}
.ptt-detail-inner, .ptt-field-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(35px, 6vw, 94px);
  padding-block: clamp(58px, 9vw, 140px);
}
.ptt-label {
  margin: 0 0 13px;
  font-size: 13px;
  font-weight: 640;
  color: #a8bad0;
}
.ptt-detail h2, .ptt-field h2 {
  font-size: clamp(48px, 7vw, 107px);
  font-weight: 570;
  letter-spacing: -.066em;
  line-height: .93;
}
.ptt-detail p:not(.ptt-label), .ptt-field p {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
  max-width: 32ch;
  margin: 25px 0 24px;
}
.ptt-detail p:not(.ptt-label) {
  color: #c1cfde;
}
.ptt-detail .button {
  background: var(--ptt-white);
  color: #111f33;
  border-color: var(--ptt-white);
}
.ptt-detail .button:hover {
  background: #dae5f2;
  border-color: #dae5f2;
}
.ptt-detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.ptt-detail-actions .text-link {
  color: #dee7f1;
}
.ptt-detail-image img, .ptt-field-image img {
  width: 100%;
  height: auto;
  mask-composite: intersect;
}
.ptt-detail-image img {
  /* Soften the bright upper-left corner without dimming the top of the camera. */
  mask-image: linear-gradient(90deg, transparent, #000 17% 83%, transparent),
    linear-gradient(transparent, #000 4% 88%, transparent),
    radial-gradient(ellipse 38% 53% at top left, transparent 28%, #000 84%);
}
.ptt-field {
  background: radial-gradient(ellipse at 27% 51%, #172537, #0a111b 65%);
  color: var(--ptt-white);
}
.ptt-field-inner {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  grid-template-areas: "image copy";
  padding-block: clamp(52px, 8vw, 102px);
}
.ptt-field-copy {
  grid-area: copy;
}
.ptt-field-image {
  grid-area: image;
}
.ptt-field-image img {
  mask-image: linear-gradient(90deg, transparent, #000 20% 79%, transparent),
    linear-gradient(transparent, #000 18% 77%, transparent);
}
.ptt-field h2 {
  font-size: clamp(36px, 4.6vw, 67px);
}
.ptt-field p {
  color: #c1cfde;
}
.ptt-field .text-link {
  color: #dee7f1;
}
@media (max-width: 1200px) {
  .ptt-reveal { --ptt-header: 80px; }
}
@media (max-width: 760px) {
  .ptt-reveal { --ptt-header: 74px; }
  .ptt-reveal-title h1 {
    font-size: clamp(60px, 18.7vw, 125px);
  }
  .ptt-reveal-art {
    width: min(125vw, 58svh, 415px);
  }
  .ptt-detail {
    background: radial-gradient(ellipse at 52% 72%, #1d293b, #0e1420 68%);
  }
  .ptt-field {
    background: radial-gradient(ellipse at 49% 76%, #172537, #0a111b 70%);
  }
  .ptt-detail-inner, .ptt-field-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 54px;
  }
  .ptt-field-inner {
    grid-template-areas: "copy" "image";
  }
}
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  [data-ptt-motion].ptt-reveal {
    min-height: calc(var(--ptt-view) + clamp(560px, 112svh, 950px));
  }
  [data-ptt-motion] .ptt-reveal-art {
    width: min(128vw, calc(var(--ptt-view) * .83), 580px);
  }
}
