/* Product case-study pages (/products/<slug>/). Plain static pages, no Framer/React.
   Layout from Figma: Our-site > qatalog (node 228:18946). Header is the site's own pill. */
@font-face{font-family:"Aspekta";src:url("/_assets/framerusercontent.com/assets/GCthKgJnzkJ3wKr1pk4DYZYl8.woff2") format("woff2");font-weight:250;font-display:swap}
@font-face{font-family:"Aspekta";src:url("/_assets/framerusercontent.com/assets/ESyHP1s0XTdmAhaTaBPXdaWV30.woff2") format("woff2");font-weight:300;font-display:swap}
@font-face{font-family:"Aspekta";src:url("/_assets/framerusercontent.com/assets/pXOkTzl5FWGriS5au9va0cC6wL8.woff2") format("woff2");font-weight:350;font-display:swap}
@font-face{font-family:"Aspekta";src:url("/_assets/framerusercontent.com/assets/ZZolTZCNP7VC4ecRFDMbyUNVl6I.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Aspekta";src:url("/_assets/framerusercontent.com/assets/9R8LGTDY7T6NZtMTxBSfFjggw.woff2") format("woff2");font-weight:450;font-display:swap}

* { box-sizing:border-box; }
html, body { margin:0; background:#fff; color:#1b1b1b; -webkit-font-smoothing:antialiased; }
body { font-family:"Aspekta",Arial,sans-serif; }
a { color:inherit; }

/* Same 470 x 40 pill as the homepage, testimonials and about header. */
.pill {
  display:flex;align-items:center;justify-content:space-between;
  width:470px;max-width:calc(100% - 32px);height:40px;
  margin:32px auto 16px;padding:8px 8px 8px 12px;
  background:#1b1b1b;border-radius:42px;
  font-family:"Aspekta",sans-serif;font-weight:450;line-height:normal;
}
.pill a { text-decoration:none; }
.pill a:focus-visible { outline:2px solid #80ddff;outline-offset:3px; }
.wordmark { padding:0 9.175px;font-size:11.469px;color:#fff; }
.links { display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:234px; }
.links > a { font-size:10px;color:#ededed; }
.links .about { position:relative;margin-right:12px; }
.links .about::after {
  content:"";position:absolute;right:-12.5px;top:50%;width:1px;height:10px;
  transform:translateY(-50%);background:rgba(237,237,237,.35);
}
.links > .call {
  display:flex;align-items:center;gap:4px;height:24px;margin-left:4px;padding:8px 9px;
  background:#fff;border-radius:100px;font-size:10px;color:#181818;
}
.arrow { position:relative;width:12px;height:12px; }
.arrow::after {
  content:"";position:absolute;left:2.5px;top:3px;width:6.5px;height:6.5px;
  background:url("/_assets/portfolio/header-arrow-outward.svg") no-repeat;
}

/* Page: intro starts at y=131 (pill ends at 72 + 16 margin) */
.pq { width:min(1064px,calc(100% - 32px));margin:0 auto;padding:43px 0 0; }   /* footer follows with its own 48px gap */

.pq-intro { display:flex;flex-direction:column;gap:25px;width:min(416px,100%);margin:0 auto; }
.pq-intro > img { align-self:flex-start; }
.pq-intro h1 { margin:0;font-weight:400;font-size:36px;line-height:44px;letter-spacing:-2.16px;color:#1b1b1b; }
.pq-text { display:flex;flex-direction:column;gap:38px; }
.pq-desc { margin:0;font-size:18px;line-height:26px;font-weight:400;letter-spacing:-.72px;color:#717171; }
.pq-desc em { font-style:normal;color:#1b1b1b; }
.pq-stats { display:grid;grid-template-columns:1fr 1fr;gap:11.14px; }
.pq-stat {
  display:flex;flex-direction:column;justify-content:space-between;
  height:136px;padding:16.24px 16px 15.76px;border-radius:16px;background:#f3f3f3;
}
.pq-stat b { font-weight:400;font-size:20px;line-height:normal;color:#1e1e1e; }
.pq-stat span { font-size:14px;line-height:18px;font-weight:300;color:#717171; }

/* Panels: 1064 x 662 with the Figma "Dither" effect (Bayer 16x16, 7 levels) over #f3f3f3.
   The input is a flat colour, so the effect's output is this fixed 16px tile. */
.pq-panels { display:flex;flex-direction:column;gap:40px;margin-top:70px; }
.pq-panel { position:relative;aspect-ratio:1064 / 662;overflow:hidden;border-radius:12px; }
.pq-panel:nth-child(3) { margin-top:-8px; }   /* Figma spacing: 40, 32, 40, 40 */
.pq-panel::before {
  content:"";position:absolute;inset:0;
  background:url("/_assets/products/dither-f3.png") 0 0 / calc(16px / var(--dpr,1)) repeat;image-rendering:pixelated;
}   /* --dpr is set by the page: one dither cell per device pixel at any zoom, as Figma renders it */
.pq-screen { position:absolute;left:var(--screen-l,10.103%);top:var(--screen-t,4.834%);width:var(--screen-w,79.793%);height:var(--screen-h,90.332%);margin:0;overflow:hidden;border-radius:4px; }   /* per page via --screen-*; defaults = Qatalog */
.pq-screen img { display:block;width:100%;height:100%; }

/* Phones: one image of three phones (transparent between them, their own soft shadows), centred so the phones sit ~80% of the panel height */
.pq-phones { position:absolute;left:10.714%;top:8.79%;width:78.571%;margin:0; }
.pq-phones img { display:block;width:100%;height:auto; }

/* Previous / Next Project */
.pq-nav { display:flex;justify-content:center;gap:8px;margin-top:48px; }
.pq-btn {
  display:inline-flex;align-items:center;justify-content:center;height:34px;padding:8px 12px;
  border:.6px solid rgba(238,238,238,0);border-radius:100px;
  box-shadow:inset 0 0 30px rgba(255,255,255,.1);
  font-size:14px;line-height:normal;font-weight:400;text-decoration:none;white-space:nowrap;
}
.pq-btn.dark { background:linear-gradient(90deg,#1b1b1b 0%,#383838 52.91%,#1b1b1b 100%);color:#fff; }
.pq-btn.light { background:#f2f2f2;color:#1b1b1b; }
.pq-btn:focus-visible { outline:2px solid #80ddff;outline-offset:2px; }

@media (max-width:500px) { .links { min-width:0; } .pq { padding-top:32px; } }
@media (max-width:359px) {
  .wordmark { padding:0 4px; }
  .links { gap:8px; }
  .links .about { margin-right:8px; }
  .links .about::after { right:-8.5px; }
}
