/* ============================================================
   PINKY CREATIVE STUDIO v2 — REBRAND OVERLAY
   2026-04-28 · Mateusz Kuzniar · stopmetzoeken.store
   Layer over existing SMZ styles. Non-destructive.
   ============================================================ */

/* Brand tokens v2 */
:root {
  --pcs-gold: #c9a84c;
  --pcs-gold-bright: #e5c97a;
  --pcs-gold-deep: #b8924a;
  --pcs-violet: #6C63FF;
  --pcs-blue: #1B4BFF;
  --pcs-ink: #FAFAF8;
  --pcs-night: #06060a;
  --pcs-night-2: #0c0c12;
  --pcs-grad-aurora: linear-gradient(135deg, #6C63FF 0%, #1B4BFF 40%, #c9a84c 100%);
  --pcs-grad-gold: linear-gradient(135deg, #c9a84c 0%, #e5c97a 50%, #b8924a 100%);
  --pcs-grad-night: linear-gradient(180deg, #06060a 0%, #0c0c12 60%, #12121a 100%);
}

/* PINKY-MOBILE-SAFE-v2 */
*{box-sizing:border-box}
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  touch-action: pan-y;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
}
html { position: relative; scroll-behavior: smooth; }
body { position: relative; }
main, section, header, footer, nav { max-width: 100vw; }
img, video, svg, canvas, iframe { max-width: 100%; height: auto; }

/* PINKY-MOBILE-FIT-v3 */
@media(max-width:640px){
  .container,.nav-inner{padding-left:16px !important;padding-right:16px !important}
  h1,h2,h3,h4{word-break:break-word;overflow-wrap:break-word;hyphens:auto;max-width:100%}
  p,li,a,span,label,button{overflow-wrap:break-word;word-wrap:break-word}
  section,header,footer,main{min-width:0}
  table,pre,code{max-width:100%;overflow-x:auto}
}

/* ===== INTRO STAGE (cinematic blueprint) ===== */
body.intro-pending { overflow: hidden !important; }
body.intro-running { overflow: hidden !important; }

.intro-stage {
  position: fixed; inset: 0;
  z-index: 99000;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(108,99,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 70%, rgba(201,168,76,0.15) 0%, transparent 60%),
    linear-gradient(180deg, #06060a 0%, #0a0a14 50%, #06060a 100%);
  display: grid; place-items: center;
  overflow: hidden;
  pointer-events: auto;
  transition: opacity 0.8s cubic-bezier(0.86, 0, 0.07, 1), visibility 0.8s;
}
.intro-stage.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* Blueprint grid */
.intro-stage::before {
  content: '';
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(108,99,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.10) 1px, transparent 1px),
    linear-gradient(rgba(201,168,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  animation: introGridDrift 20s linear infinite;
  z-index: 0;
}
@keyframes introGridDrift { to { transform: translate(96px, 96px); } }

.intro-stage::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 35%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.intro-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 720px; padding: 0 24px;
}

.intro-glow {
  position: absolute;
  width: 720px; height: 540px;
  left: 50%; top: 50%;
  transform: translate(-50%, -52%) scale(0.4);
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(108,99,255,0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 75% 60%, rgba(229,201,122,0.55) 0%, transparent 65%);
  filter: blur(80px);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.intro-logo-img {
  position: relative; z-index: 4;
  display: block;
  width: clamp(200px, 38vw, 380px);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 40px rgba(108,99,255,0.35));
}

.intro-shimmer {
  position: absolute; z-index: 5;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(220px, 42vw, 420px); height: clamp(220px, 42vw, 420px);
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.06) 45%, rgba(229,201,122,0.30) 50%, rgba(255,255,255,0.06) 55%, transparent 70%);
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0;
}

.intro-blueprint-line {
  position: absolute; z-index: 4;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 56vw, 560px); height: clamp(280px, 56vw, 560px);
  pointer-events: none;
}

.intro-sparkles {
  position: absolute; z-index: 4;
  left: 50%; top: 50%;
  width: 0; height: 0;
  pointer-events: none;
}
.intro-sparkle {
  position: absolute;
  left: 0; top: 0;
  width: var(--size, 4px); height: var(--size, 4px);
  border-radius: 50%;
  background: hsl(var(--hue, 45), 95%, 70%);
  box-shadow: 0 0 12px hsl(var(--hue, 45), 95%, 70%), 0 0 24px hsl(var(--hue, 45), 95%, 70%);
  opacity: 0.95;
}

.intro-claim {
  position: relative; z-index: 4;
  margin-top: clamp(28px, 4vw, 48px);
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pcs-gold-bright);
  opacity: 0;
  text-align: center;
  text-shadow: 0 0 18px rgba(229,201,122,0.6);
}

.intro-tagline {
  position: relative; z-index: 4;
  margin-top: 12px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 500;
  color: rgba(250,250,248,0.65);
  opacity: 0;
  text-align: center;
}

.intro-skip {
  position: absolute; top: 24px; right: 24px; z-index: 6;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.04);
  padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14); cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  opacity: 0;
}
.intro-skip:hover { color: var(--pcs-gold-bright); border-color: var(--pcs-gold-bright); }
.intro-skip kbd { font-family: inherit; margin-left: 8px; padding: 2px 6px; background: rgba(255,255,255,0.08); border-radius: 3px; }

.intro-curtain {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 0; background: linear-gradient(180deg, var(--pcs-night) 0%, var(--pcs-night-2) 100%);
  z-index: 7; pointer-events: none;
}

@media (max-width: 640px) {
  .intro-glow { width: 380px; height: 300px; filter: blur(50px); }
  .intro-content { padding: 0 16px; }
  .intro-skip { top: 14px; right: 14px; font-size: 10px; padding: 8px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-stage, .intro-stage * { animation: none !important; transition: none !important; }
}

/* ===== 3D CARD TILT BASE ===== */
.pcs-tilt {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
  will-change: transform;
}
.pcs-tilt:hover {
  box-shadow: 0 32px 80px rgba(108,99,255,0.18), 0 16px 40px rgba(201,168,76,0.12);
}
.pcs-tilt-inner { transform: translateZ(40px); }

/* ===== SCROLL REVEAL ===== */
.pcs-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.pcs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.pcs-reveal[data-delay="100"] { transition-delay: 0.10s; }
.pcs-reveal[data-delay="200"] { transition-delay: 0.20s; }
.pcs-reveal[data-delay="300"] { transition-delay: 0.30s; }
.pcs-reveal[data-delay="400"] { transition-delay: 0.40s; }
.pcs-reveal[data-delay="500"] { transition-delay: 0.50s; }

/* ===== AURORA BACKGROUND (subtle) ===== */
/* Auto-apply to common section classes used across SMZ */
section.bg2,
section.pricing,
section#packages,
section#pricing,
section#process,
.config-cta,
.pcs-aurora {
  position: relative;
  isolation: isolate;
}
section.bg2::before,
section.pricing::before,
section#packages::before,
section#pricing::before,
section#process::before,
.config-cta::before,
.pcs-aurora::before {
  content: '';
  position: absolute;
  inset: -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(108,99,255,0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(27,75,255,0.06) 0%, transparent 50%);
  filter: blur(40px);
  animation: pcsAuroraDrift 30s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes pcsAuroraDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 2%) scale(1.05); }
  100% { transform: translate(2%, -2%) scale(0.98); }
}

/* ===== HERO ENHANCEMENT ===== */
.pcs-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ===== POWERED BY PINKY BAR ===== */
.pcs-powered-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(108,99,255,0.06);
  border: 1px solid rgba(108,99,255,0.20);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pcs-gold-bright);
  text-decoration: none;
  transition: all 0.3s;
}
.pcs-powered-bar:hover {
  background: rgba(108,99,255,0.12);
  border-color: var(--pcs-violet);
  transform: translateY(-1px);
}
.pcs-powered-bar svg { width: 16px; height: 16px; }

/* ===== EASTER EGG OVERLAYS ===== */
#pcs-konami-overlay {
  position: fixed; inset: 0;
  z-index: 999999;
  background: radial-gradient(ellipse at center, rgba(6,6,10,0.95) 0%, rgba(6,6,10,1) 100%);
  display: none;
  place-items: center;
  text-align: center;
  color: var(--pcs-gold-bright);
  font-family: 'JetBrains Mono', monospace;
  animation: pcsKonamiFade 0.5s ease-out;
}
#pcs-konami-overlay.is-on { display: grid; }
#pcs-konami-overlay h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  background: var(--pcs-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
#pcs-konami-overlay p { color: rgba(250,250,248,0.7); margin-top: 8px; }
@keyframes pcsKonamiFade { from { opacity: 0; } to { opacity: 1; } }

#pcs-night-badge {
  position: fixed; bottom: 18px; right: 18px;
  z-index: 9000;
  padding: 10px 14px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.30);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--pcs-gold-bright);
  display: none;
  backdrop-filter: blur(8px);
  animation: pcsNightPulse 3s ease-in-out infinite;
}
#pcs-night-badge.is-on { display: block; }
@keyframes pcsNightPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108,99,255,0.35); }
  50% { box-shadow: 0 0 24px 4px rgba(108,99,255,0.15); }
}

#pcs-dev-overlay {
  position: fixed; top: 80px; right: 20px;
  z-index: 99000;
  width: min(360px, 92vw);
  max-height: 80vh;
  overflow-y: auto;
  padding: 18px;
  background: rgba(6,6,10,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(229,201,122,0.30);
  border-radius: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--pcs-ink);
  display: none;
}
#pcs-dev-overlay.is-on { display: block; }
#pcs-dev-overlay h3 {
  font-size: 13px;
  color: var(--pcs-gold-bright);
  margin-bottom: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
#pcs-dev-overlay code { color: var(--pcs-violet); }

/* ===== PCS FOOTER (universal) ===== */
.pcs-footer {
  background: var(--pcs-grad-night);
  color: var(--pcs-ink);
  padding: 80px 24px 40px;
  border-top: 1px solid rgba(229,201,122,0.10);
  position: relative;
  overflow: hidden;
}
.pcs-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--pcs-gold) 30%, var(--pcs-violet) 70%, transparent 100%);
}
.pcs-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 920px) { .pcs-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .pcs-footer-inner { grid-template-columns: 1fr; gap: 28px; } }

.pcs-footer h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pcs-gold-bright);
  margin-bottom: 16px;
}
.pcs-footer ul { list-style: none; padding: 0; margin: 0; }
.pcs-footer li { margin-bottom: 8px; }
.pcs-footer a {
  color: rgba(250,250,248,0.72);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.pcs-footer a:hover { color: var(--pcs-gold-bright); }
.pcs-footer .pcs-manifesto {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(250,250,248,0.78);
  margin-bottom: 24px;
}
.pcs-footer .pcs-manifesto strong {
  color: var(--pcs-gold-bright);
  font-weight: 600;
}
.pcs-footer-bottom {
  max-width: 1280px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(250,250,248,0.45);
}
.pcs-footer-bottom a { color: rgba(250,250,248,0.55); text-decoration: none; }
.pcs-footer-bottom a:hover { color: var(--pcs-gold-bright); }

/* ===== COOKIE BANNER ===== */
#pcs-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99500;
  padding: 16px 24px;
  background: rgba(6,6,10,0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(229,201,122,0.20);
  color: var(--pcs-ink);
  display: none;
  font-family: 'Inter', sans-serif;
}
#pcs-cookie-banner.is-on { display: block; }
.pcs-cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.pcs-cookie-text { flex: 1 1 320px; font-size: 14px; line-height: 1.6; color: rgba(250,250,248,0.80); }
.pcs-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pcs-cookie-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(250,250,248,0.85);
  transition: all 0.2s;
}
.pcs-cookie-btn:hover { border-color: var(--pcs-gold); color: var(--pcs-gold-bright); }
.pcs-cookie-btn--primary {
  background: var(--pcs-grad-gold);
  border-color: transparent;
  color: var(--pcs-night);
  font-weight: 600;
}
.pcs-cookie-btn--primary:hover { color: var(--pcs-night); transform: translateY(-1px); }

/* ===== UTILITY: hide intro until JS resolves ===== */
body.intro-pending main,
body.intro-pending .nav,
body.intro-pending nav { /* keep visible but lock scroll */ }

/* ===== SCROLL PROGRESS BAR ===== */
#pcs-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 99800;
  background: linear-gradient(90deg, var(--pcs-violet) 0%, var(--pcs-gold-bright) 50%, var(--pcs-gold) 100%);
  box-shadow: 0 0 8px rgba(229,201,122,0.4);
  pointer-events: none;
  transition: width 0.08s linear;
  will-change: width;
}
@media (prefers-reduced-motion: reduce) {
  #pcs-scroll-progress { display: none; }
}

/* ===== PCS-TILT ENHANCEMENTS (cards already styled) ===== */
.pcs-tilt {
  will-change: transform;
}
.pcs-tilt::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(229,201,122,0.20) 50%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 0;
}
.pcs-tilt:hover::after { opacity: 1; }
.pcs-tilt > * { position: relative; z-index: 1; }

/* Image zoom on tilt-card hover */
.pcs-tilt img:not(.pcs-no-zoom) {
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.pcs-tilt:hover img:not(.pcs-no-zoom) {
  transform: scale(1.04);
}

/* ===== PCS NEWSLETTER (footer block) ===== */
.pcs-newsletter {
  margin-top: 24px;
}
.pcs-newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pcs-newsletter-form input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,201,122,0.20);
  border-radius: 999px;
  color: var(--pcs-ink);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.pcs-newsletter-form input[type="email"]:focus {
  border-color: var(--pcs-gold-bright);
}
.pcs-newsletter-form input[type="email"]::placeholder {
  color: rgba(250,250,248,0.4);
}
.pcs-newsletter-form button {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--pcs-grad-gold);
  border: 0;
  color: var(--pcs-night);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s;
}
.pcs-newsletter-form button:hover { transform: translateY(-1px); }
.pcs-newsletter-msg {
  margin-top: 10px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--pcs-gold-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: none;
}
.pcs-newsletter-msg.is-on { display: block; }

/* ===== PCS SOCIAL ICONS ===== */
.pcs-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pcs-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(229,201,122,0.20);
  color: rgba(250,250,248,0.72);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s;
}
.pcs-social a:hover {
  color: var(--pcs-night);
  background: var(--pcs-grad-gold);
  border-color: transparent;
  transform: translateY(-2px);
}
.pcs-social svg { width: 16px; height: 16px; }

/* ===== PORTFOLIO 3D BADGE ===== */
.folio-3d-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 5;
  padding: 5px 10px;
  background: var(--pcs-grad-gold);
  color: var(--pcs-night);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(229,201,122,0.35);
  pointer-events: none;
  animation: pcs3DPulse 3.2s ease-in-out infinite;
}
@keyframes pcs3DPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 18px rgba(229,201,122,0.35); }
  50% { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(229,201,122,0.55); }
}

/* ===== PCS APPS GRID (footer block) ===== */
.pcs-apps-strip {
  max-width: 1280px;
  margin: 56px auto 0;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.pcs-apps-strip h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pcs-gold-bright);
  margin-bottom: 18px;
}
.pcs-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.pcs-apps-grid a {
  display: block;
  padding: 12px 14px;
  background: rgba(108,99,255,0.04);
  border: 1px solid rgba(108,99,255,0.16);
  border-radius: 12px;
  color: rgba(250,250,248,0.72);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Inter Tight', sans-serif;
}
.pcs-apps-grid a:hover {
  background: rgba(108,99,255,0.10);
  border-color: var(--pcs-gold);
  color: var(--pcs-gold-bright);
  transform: translateY(-1px);
}
.pcs-apps-grid a small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 2px;
}

/* ============== HERO 3D SCENES (Three.js per page) ============== */
/* canvas behind hero copy, low-opacity, no pointer events */
.pcs-hero-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
  display: block;
}
/* When hero section is the parent, ensure stacking context */
section.hero,
header.hero,
.hero {
  position: relative;
  isolation: isolate;
}
section.hero > *:not(.pcs-hero-3d),
header.hero > *:not(.pcs-hero-3d),
.hero > *:not(.pcs-hero-3d) {
  position: relative;
  z-index: 1;
}
/* Standalone variant for pages without explicit .hero (configurator, bouwen) */
.pcs-hero-3d-standalone {
  position: absolute;
  top: 90px;
  left: 0;
  right: 0;
  height: clamp(280px, 38vh, 460px);
  width: 100%;
  z-index: 0;
  opacity: 0.42;
  pointer-events: none;
  display: block;
}
.pcs-hero-3d-standalone + * {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .pcs-hero-3d, .pcs-hero-3d-standalone { display: none !important; }
}
@media (max-width: 640px) {
  .pcs-hero-3d { opacity: 0.32; }
  .pcs-hero-3d-standalone { opacity: 0.25; height: clamp(220px, 32vh, 340px); }
}
