.pxh-hero { position: relative; padding-top: var(--bdh-hero-t); overflow: hidden; }
.pxh-hero .dots { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.pxh-hero__g { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pxh-hero .d1 { margin: 18px 0 22px; }
.pxh-hero .lead { max-width: 34rem; }
.pxh-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pxh-hero__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.pxh-hero__meta div { padding: 0 26px; border-left: 1px solid var(--line); }
.pxh-hero__meta div:first-child { padding-left: 0; border-left: 0; }
.pxh-hero__meta dt { font-family: var(--f); font-size: var(--t-lbl); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pxh-hero__meta dd { margin: 8px 0 0; font-family: var(--f); font-size: var(--t-sm); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }

.pxh-hero__vis { position: relative; padding: 48px 0 56px; }
.pxh-lens { position: relative; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-2); overflow: hidden; }
.pxh-lens__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--f); font-size: var(--t-lbl); letter-spacing: .06em; color: var(--txt); }
.pxh-lens__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.pxh-lens__v { margin-left: auto; color: var(--muted); }
.pxh-lens__stage { position: relative; display: grid; }
.pxh-lens__l { grid-area: 1 / 1; padding: clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 18px; background: var(--paper); }
.pxh-lens__h .t { display: block; font-family: var(--f-h); font-size: clamp(1rem, 1.5vw, 1.3rem); color: var(--ink); font-weight: 500; }
.pxh-lens__h .s { display: block; font-size: var(--t-xs); color: var(--muted); margin-top: 4px; }
.pxh-lens__plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pxh-lens__plan { display: flex; flex-direction: column; gap: 7px; padding: 14px 12px; border-radius: var(--r); border: 1px solid var(--line-2); min-width: 0; }
.pxh-lens__plan.is-cur { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
.pxh-lens__plan .n { font-family: var(--f-h); font-weight: 500; color: var(--ink); font-size: var(--t-body); }
.pxh-lens__plan .m { font-size: var(--t-lbl); color: var(--muted); font-family: var(--f); }
.pxh-lens .ln { display: block; height: 6px; border-radius: 3px; background: var(--paper-3); width: 90%; }
.pxh-lens .ln--s { width: 60%; }
.pxh-lens__plan .b { margin-top: 6px; text-align: center; padding: 7px 4px; border-radius: var(--r-pill); font-size: var(--t-lbl); font-family: var(--f-b); font-weight: 600; background: var(--paper-2); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: clip; }
.pxh-lens__plan.is-cur .b { background: var(--blue-wash); color: var(--blue-d); }
.pxh-lens__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pxh-lens__row .ln { width: 40%; }
.pxh-lens__row .cta { padding: 10px 18px; border-radius: var(--r-pill); background: var(--blue); color: var(--paper); font-family: var(--f-b); font-size: var(--t-xs); font-weight: 600; white-space: nowrap; }

/* wireframe layer: same geometry, no ink */
.pxh-hero .pxh-lens .pxh-lens__l--wire, .pxh-hero .pxh-lens .pxh-lens__l--wire * { color: transparent; }
.pxh-lens__l--wire { background: var(--paper-2); }
.pxh-lens__l--wire .t, .pxh-lens__l--wire .s, .pxh-lens__l--wire .n, .pxh-lens__l--wire .m { background: var(--paper-3); border-radius: 3px; width: max-content; max-width: 100%; }
.pxh-lens__l--wire .pxh-lens__plan, .pxh-lens__l--wire .pxh-lens__plan.is-cur { border: 1.5px dashed var(--line-3); box-shadow: none; background: var(--paper); }
.pxh-lens__l--wire .b, .pxh-lens__l--wire .cta, .pxh-lens__l--wire .pxh-lens__plan.is-cur .b { background: transparent; border: 1.5px dashed var(--line-3); }
.pxh-lens__l--wire .ln { background: var(--line-2); }

/* the shipped layer is revealed right of the seam */
.pxh-lens { --seam: 50%; }
.pxh-lens__l--ui { clip-path: inset(0 0 0 var(--seam)); }
.pxh-lens__seam { position: absolute; top: 0; bottom: 0; left: var(--seam); width: 2px; margin-left: -1px; background: var(--blue); pointer-events: none; }
.pxh-lens__seam span { position: absolute; top: 12px; font-family: var(--f); font-size: var(--t-lbl); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 3px 8px; border-radius: var(--r-pill); }
.pxh-lens__seam span:first-child { right: 8px; background: var(--paper-2); color: var(--muted); }
.pxh-lens__seam span:last-child { left: 8px; background: var(--blue); color: var(--paper); }
@property --seam { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@keyframes pxh-seam { 0%, 100% { --seam: 50%; } 30% { --seam: 22%; } 65% { --seam: 78%; } }
@media (prefers-reduced-motion: no-preference) {
  .pxh-hero__vis.is-live .pxh-lens { animation: pxh-seam 11s var(--e-io) infinite; }
}

.pxh-hero__chip { position: absolute; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-2); max-width: 250px; }
.pxh-hero__chip b { font-family: var(--f-h); font-weight: 500; font-size: var(--t-sm); color: var(--ink); line-height: 1.35; }
.pxh-hero__chip .pxh-mono { color: var(--muted); }
.pxh-hero__chip--a { top: 0; right: -18px; }
.pxh-hero__chip--a .pxh-mono:first-child { color: var(--blue); }
.pxh-hero__chip--b { bottom: 0; left: -28px; }
.pxh-hero__ticks { display: flex; gap: 5px; }
.pxh-hero__ticks i { width: 22px; height: 6px; border-radius: 3px; background: var(--line-2); }
.pxh-hero__ticks i.ok { background: var(--blue); }

@media (max-width: 1023px) {
  .pxh-hero__g { grid-template-columns: minmax(0, 1fr); }
  .pxh-hero__chip--a { right: 0; }
  .pxh-hero__chip--b { left: 0; }
}
@media (max-width: 600px) {
  .pxh-hero__vis { padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .pxh-hero__chip { position: static; max-width: none; }
  .pxh-hero__chip--a { order: -1; }
  .pxh-lens__plans { gap: 6px; }
  .pxh-lens__plan { padding: 10px 8px; }
  .pxh-lens__plan .b { font-size: var(--t-lbl); padding: 6px 2px; }
  .pxh-hero__meta { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .pxh-hero__meta div:nth-child(3) { padding-left: 0; border-left: 0; }
  .pxh-hero__cta .btn { width: 100%; justify-content: center; }
}

/* Polish: the lens sits over a research-wall photograph and fills the column (was ~35% of it) */
.pxh-hero__photo { position: absolute; top: 0; right: 0; width: 64%; z-index: 0; }
.pxh-hero__vis { padding: 120px 0 72px; min-height: 640px; display: flex; flex-direction: column; justify-content: center; }
.pxh-hero__vis .pxh-lens { z-index: 1; width: 92%; }
.pxh-hero__vis .pxh-lens__l { padding: clamp(22px, 2.6vw, 36px); gap: 22px; }
.pxh-hero__vis .pxh-lens__plan { padding: 18px 14px; min-height: 150px; }
.pxh-hero__chip { z-index: 2; }
.pxh-hero__chip--a { top: 0; right: auto; left: -24px; }
.pxh-hero__chip--b { bottom: 16px; left: auto; right: 0; }
@media (max-width: 1023px) {
  .pxh-hero__vis { min-height: 0; }
  .pxh-hero__chip--a { left: 0; }
}
@media (max-width: 600px) {
  .pxh-hero__vis { padding: 0; min-height: 0; }
  .pxh-hero__photo { position: relative; width: 100%; aspect-ratio: 16 / 10; order: -2; }
  .pxh-hero__vis .pxh-lens { width: 100%; margin-top: -48px; order: -1; }
  .pxh-hero__vis .pxh-hero__chip--a { order: 0; }
  .pxh-hero__vis .pxh-lens__plan { min-height: 0; padding: 12px 8px; }
}
