.pmx-why{color-scheme: dark;

  --bg:            #191919;
  --navbar:        #242424;
  --text:          #f3f4f2;
  --text-muted:    #a6adb1;
  --accent:        #e5823a;
  --accent-strong: #ed9452;
  --btn:           rgba(239,116,53,.86);
  --btn-hover:     rgba(239,116,53,1);
  --btn-text:      #fff5ee;
  --note-bg:       rgba(24,22,20,.62);
  --note-line:     rgba(255,255,255,.09);
  --leader:        rgba(243,238,231,.5);

  --sans: "Instrument Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  
  --ease: cubic-bezier(.2,.75,.25,1);}
.pmx-why .pin{height:auto} /* no scroll-driven flipping: no extra scroll space */
.pmx-why .why{position:sticky;
  top:var(--pm-nav-h);
  height:calc(100svh - var(--pm-nav-h));
  overflow:hidden;
  display:flex;
  align-items:center;
  padding-block:clamp(14px,2.6vh,36px);}
.pmx-why .why-in{width:100%;
  max-width:1440px;
  margin:0 auto;
  padding-left:max(32px, env(safe-area-inset-left,0px));
  padding-right:max(32px, env(safe-area-inset-right,0px));}
.pmx-why .head{text-align:center}
.pmx-why .eyebrow{display:inline-flex;
  align-items:center;
  gap:12px;
  margin:0;
  color:var(--accent-strong);
  font-size:14px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;}
.pmx-why .eyebrow::before,
.pmx-why .eyebrow::after{content:"";
  width:28px;height:1px;
  background:currentColor;
  opacity:.7;}
.pmx-why h2{margin:clamp(8px,1.4vh,14px) 0 0;
  font-weight:500;
  font-size:clamp(1.9rem, min(3.3vw, 6vh), 3rem);
  line-height:1.15;
  letter-spacing:-.01em;
  text-wrap:balance;}
.pmx-why .lede{margin:clamp(8px,1.4vh,14px) auto 0;
  max-width:78ch;
  font-size:clamp(1rem,1.15vw,1.1rem);
  line-height:1.5;
  color:#e2ddd6;
  text-wrap:balance;}
.pmx-why .stage{position:relative;
  margin-top:clamp(14px,2.6vh,30px);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:clamp(24px,3vw,48px);}
.pmx-why .col{display:flex;
  flex-direction:column;
  gap:clamp(14px,2.6vh,26px);
  min-width:0;}
.pmx-why .col.l{align-items:flex-end;text-align:left}
.pmx-why .col.r{align-items:flex-start}
.pmx-why .note{position:relative;
  width:100%;
  max-width:290px;
  perspective:1100px;}
.pmx-why .note .inner{display:grid;
  transform-style:preserve-3d;
  transition:transform 1.1s cubic-bezier(.42,0,.22,1);}
.pmx-why .note.flipped .inner{transform:rotateY(180deg)}
.pmx-why .face{grid-area:1/1;
  padding:12px 15px 13px;
  border-radius:12px;
  background:rgba(24,22,20,.82);
  border:1px solid var(--note-line);
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;}
.pmx-why .face.back{transform:rotateY(180deg)}
.pmx-why .face.front{display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
  background:rgba(24,22,20,.72);
  border-color:rgba(229,130,58,.28);}
.pmx-why .note .q{margin:0;
  font-size:15px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent-strong);
  text-wrap:balance;}
.pmx-why .q-n{display:none;
  flex:0 0 auto;
  width:22px;height:22px;
  border-radius:50%;
  background:var(--accent);
  color:#1a1206;
  font-size:12px;
  font-weight:600;
  place-items:center;}
.pmx-why .note .k{display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 4px;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent-strong);}
.pmx-why .note .n{display:none;
  width:18px;height:18px;
  border-radius:50%;
  background:var(--accent);
  color:#1a1206;
  font-size:11px;
  font-weight:600;
  letter-spacing:0;
  place-items:center;}
.pmx-why .note p{margin:0;
  font-size:14.5px;
  line-height:1.45;
  color:#e9e4dd;}
.pmx-why .note .gps{display:block;
  margin-bottom:3px;
  font-family:var(--mono);
  font-size:12.5px;
  color:var(--accent-strong);
  font-variant-numeric:tabular-nums;}
.pmx-why .note.quote .back p:not(.k){font-family:var(--hand);
  font-weight:600;
  font-size:1.45rem;
  line-height:1.18;
  letter-spacing:.005em;
  color:#f6ece1;}
.pmx-why .note.quote .by{display:block;
  margin-top:6px;
  font-family:var(--sans);
  font-size:12.5px;
  color:var(--text-muted);}
.pmx-why .frame{position:relative;
  width:min(720px, 50vw, calc((100svh - var(--pm-nav-h) - 410px) * 1.49));
  min-width:300px;}
.pmx-why .photo{position:relative;
  aspect-ratio:1000/670;
  border-radius:16px;
  overflow:hidden;
  background:#2a2226 url("../new/rogalin-pistolet.jpg") 50% 50%/cover no-repeat;
  box-shadow:0 16px 36px rgba(0,0,0,.32);
  border:1px solid rgba(0,0,0,.35);}
.pmx-why .dot{position:absolute;
  width:12px;height:12px;
  margin:-6px 0 0 -6px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(229,130,58,.28), 0 0 16px rgba(229,130,58,.6);
  z-index:2;}
.pmx-why .dot b{display:none;
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  font-size:11px;
  font-weight:600;
  color:#1a1206;}
.pmx-why .dot.cam{width:22px;height:22px;
  margin:-11px 0 0 -11px;
  background:transparent;
  border:2px solid var(--accent);
  box-shadow:0 0 14px rgba(229,130,58,.55);}
.pmx-why .dot.cam::before{content:"";
  position:absolute;
  left:50%;top:50%;
  width:6px;height:6px;
  margin:-3px 0 0 -3px;
  border-radius:50%;
  background:var(--accent);}
.pmx-why .cap{margin:10px 2px 0;
  font-size:13.5px;
  color:#d6d0c8;}
.pmx-why .cap b{color:var(--text);font-weight:600}
.pmx-why .cap span{color:var(--text-muted)}
.pmx-why .close{margin:clamp(12px,2vh,22px) auto 0;
  max-width:92ch;
  text-align:center;
  font-size:clamp(1rem,1.15vw,1.08rem);
  color:#e6e0d8;
  text-wrap:balance;}
.pmx-why .close b{color:var(--accent-strong);font-weight:600}
.pmx-why .leaders{position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
  z-index:1;}
.pmx-why .leaders path{fill:none;
  stroke:var(--leader);
  stroke-width:1.2;
  stroke-linecap:round;}
.pmx-why .close.anim{opacity:0;transform:translateY(10px);transition:opacity .6s var(--ease), transform .6s var(--ease)}
.pmx-why .close.anim.in{opacity:1;transform:none}
.pmx-why :focus-visible{outline:2px solid var(--accent-strong);outline-offset:3px}
/* Lower windows (below about 900px, e.g. 1440x900 screens): the fixed 410px
   reserve made the photo smaller than the note columns. Use the real height
   budget, hang the caption below the photo so the photo is centred against
   the notes, and let notes be a bit wider (shorter columns). Taller windows
   keep the original layout above. */
@media (min-width:981px) and (max-height:899px){
.pmx-why .frame{width:min(680px, 52vw, calc((100svh - var(--pm-nav-h) - 290px) * 1.49))}
.pmx-why .note{max-width:clamp(270px, 24vw, 340px)}
.pmx-why .col{gap:clamp(10px,2vh,24px)}
.pmx-why .stage{padding-bottom:48px}
/* The caption may wrap to a second line, but is always shown in full. */
.pmx-why .cap{position:absolute;top:100%;left:0;right:0}
}
@media (min-width:981px) and (max-height:820px){
.pmx-why .frame{width:min(760px, 52vw, calc((100svh - var(--pm-nav-h) - 300px) * 1.49))}
}
@media (max-width:980px){
.pmx-why .pin{height:auto}
.pmx-why .why{position:static;height:auto;overflow:visible}
.pmx-why .stage{grid-template-columns:1fr;gap:18px}
.pmx-why .frame{order:-1;width:100%;min-width:0}
.pmx-why .col,
.pmx-why .col.l,
.pmx-why .col.r{align-items:stretch}
.pmx-why .note{max-width:none}
.pmx-why .note .n{display:inline-grid}
.pmx-why .q-n{display:inline-grid}
.pmx-why .dot{width:20px;height:20px;margin:-10px 0 0 -10px}
.pmx-why .dot b{display:block}
.pmx-why .dot.cam{width:20px;height:20px;margin:-10px 0 0 -10px;background:var(--accent);border:0}
.pmx-why .dot.cam::before{display:none}
.pmx-why .dot.edge b{color:#1a1206}
.pmx-why .leaders{display:none}
}
@media (max-width:767px){
.pmx-why{}
.pmx-why .why-in{padding-left:max(20px, env(safe-area-inset-left,0px));padding-right:max(20px, env(safe-area-inset-right,0px))}
}
@media (prefers-reduced-motion:reduce){
.pmx-why .pin{height:auto}
.pmx-why .why{position:static;height:auto}
.pmx-why *::before,
.pmx-why *::after{transition:none!important;animation:none!important}
}
/* Very low windows (e.g. 1366x768 laptops): the note columns set the height. */
@media (min-width:981px) and (max-height:700px){
.pmx-why .frame{width:min(760px, 52vw, calc((100svh - var(--pm-nav-h) - 365px) * 1.49))}
/* Too little height to hang the caption: keep it in the flow, as before. */
.pmx-why .stage{padding-bottom:0}
.pmx-why .cap{position:static}
}
