/* MD Digital Creations — Neon Glass / approved Variant 1 / isolated */
body.mddc-v1-on #masthead,
body.mddc-v1-on #mobile-header,
body.mddc-v1-on .site-header:not(.mddc-v1-header),
body.mddc-v1-on .kadence-sticky-header {display:none!important;}
body.mddc-v1-on .mddc-v1-header,
body.mddc-v1-on .mddc-v1-header *,
body.mddc-v1-on .mddc-v1-header *::before,
body.mddc-v1-on .mddc-v1-header *::after {box-sizing:border-box;}
body.mddc-v1-on .mddc-v1-header {
 --mddc-v1-purple:#ad63ff;
 --mddc-v1-text:#f9f5ff;
 --mddc-v1-muted:#b7a9cb;
 --mddc-v1-gold:#ffc900;
 position:sticky!important;
 top:14px!important;
 z-index:99980!important;
 width:min(1460px,calc(100% - 12vw))!important;
 margin:18px auto 44px!important;
 padding:0!important;
 isolation:isolate;
 font-family:'Inter','Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
 color:var(--mddc-v1-text);
 background:transparent!important;
 border:0!important;
}
body.admin-bar.mddc-v1-on .mddc-v1-header{top:46px!important;}
body.mddc-v1-on .mddc-v1-shell {
 position:relative;
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:clamp(10px,1.4vw,26px)!important;
 width:100%;
 min-height:90px;
 padding:14px clamp(22px,2.6vw,38px)!important;
 border:1px solid rgba(204,122,255,.75)!important;
 border-radius:999px!important;
 background:linear-gradient(104deg,rgba(47,26,71,.91),rgba(26,16,48,.95) 45%,rgba(36,17,63,.94))!important;
 box-shadow:0 0 0 1px rgba(124,68,201,.3),0 0 35px rgba(161,60,255,.29),inset 0 1px 0 rgba(255,255,255,.12),0 20px 44px rgba(0,0,0,.37)!important;
 -webkit-backdrop-filter:blur(23px) saturate(1.35);
 backdrop-filter:blur(23px) saturate(1.35);
 transition:border-color .3s,box-shadow .3s;
}
body.mddc-v1-on .mddc-v1-shell::before{
 content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
 background:linear-gradient(115deg,transparent 12%,rgba(255,255,255,.055) 31%,transparent 43%);opacity:.75;
}
body.mddc-v1-on .mddc-v1-shell:hover{border-color:rgba(224,166,255,.95)!important;box-shadow:0 0 0 1px rgba(146,69,220,.38),0 0 45px rgba(165,70,255,.38),0 21px 50px rgba(0,0,0,.45)!important;}
body.mddc-v1-on .mddc-v1-brand {display:inline-flex!important;align-items:center!important;gap:12px!important;min-width:0;flex:0 0 auto;text-decoration:none!important;color:#fff!important;position:relative;z-index:1;}
body.mddc-v1-on .mddc-v1-logo{display:block!important;height:54px!important;width:auto!important;max-width:95px!important;object-fit:contain!important;filter:drop-shadow(0 0 5px rgba(51,189,255,.22));border:0!important;box-shadow:none!important;background:transparent!important;}
body.mddc-v1-on .mddc-v1-monogram{font-size:36px;font-weight:950;letter-spacing:-.13em;line-height:1;padding-right:6px;color:#46c4ff;background:linear-gradient(130deg,#53e3f6 10%,#2570c7 50%,#e7ecff 90%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 7px rgba(60,190,255,.27));}
body.mddc-v1-on .mddc-v1-brand-name{display:block;color:#f8f6ff;font-size:16px;line-height:1.12;font-weight:800;letter-spacing:-.045em;white-space:nowrap;text-shadow:0 1px 8px rgba(0,0,0,.25);}
body.mddc-v1-on .mddc-v1-languages{flex:0 0 auto;position:relative;z-index:15;min-width:0;}
body.mddc-v1-on .mddc-v1-lang-toggle{appearance:none;display:inline-flex!important;align-items:center;justify-content:center;gap:10px;padding:11px 15px!important;min-height:44px!important;border:1px solid rgba(206,159,255,.21)!important;border-radius:999px!important;background:linear-gradient(120deg,rgba(110,73,155,.23),rgba(255,255,255,.04))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;color:#f7efff!important;font-size:13px!important;font-weight:620!important;line-height:1!important;cursor:pointer;white-space:nowrap;transition:background .25s,border-color .25s,box-shadow .25s;}
body.mddc-v1-on .mddc-v1-lang-toggle:hover,body.mddc-v1-on .mddc-v1-lang-toggle[aria-expanded="true"]{border-color:rgba(205,143,255,.64)!important;background:rgba(135,70,205,.26)!important;box-shadow:0 0 19px rgba(173,99,255,.14)!important;}
body.mddc-v1-on .mddc-v1-lang-flag{font-size:21px;line-height:1;}
body.mddc-v1-on .mddc-v1-chevron{height:15px;width:15px;fill:none;stroke:#d9b5ff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s;}
body.mddc-v1-on .mddc-v1-lang-toggle[aria-expanded="true"] .mddc-v1-chevron{transform:rotate(180deg);}
body.mddc-v1-on .mddc-v1-lang-panel{position:absolute;top:calc(100% + 14px);left:0;z-index:100;width:230px;max-width:calc(100vw - 36px);padding:12px!important;border-radius:20px!important;border:1px solid rgba(203,135,255,.46)!important;background:linear-gradient(145deg,rgba(49,25,77,.99),rgba(22,13,44,.99))!important;box-shadow:0 20px 48px rgba(0,0,0,.55),0 0 24px rgba(133,70,238,.24),inset 0 1px 0 rgba(255,255,255,.10)!important;backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);}
body.mddc-v1-on .mddc-v1-lang-panel[hidden],body.mddc-v1-on .mddc-v1-mobile-panel[hidden]{display:none!important;}
body.mddc-v1-on .mddc-v1-lang-eyebrow{display:block;margin:3px 9px 10px;color:#bca7d0;font-size:10px;font-weight:750;letter-spacing:.16em;}
body.mddc-v1-on .mddc-v1-lang-option{appearance:none;display:flex!important;width:100%;align-items:center;gap:11px;padding:10px 12px!important;margin:0!important;min-height:38px;border:0!important;border-radius:12px!important;background:transparent!important;color:#f7f0ff!important;font-size:13px!important;font-weight:620!important;text-align:left;line-height:1.1!important;cursor:pointer;}
body.mddc-v1-on .mddc-v1-lang-option:hover,body.mddc-v1-on .mddc-v1-lang-option[aria-current="true"]{background:rgba(145,74,239,.34)!important;color:#fff!important;}
body.mddc-v1-on .mddc-v1-lang-check{margin-left:auto;color:#ead3ff;}
body.mddc-v1-on .mddc-v1-lang-message{margin:8px 6px 3px;color:#ffdd83;font-size:11px;line-height:1.5;}
body.mddc-v1-on .mddc-v1-nav{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto;min-width:0;gap:3px;position:relative;z-index:1;}
body.mddc-v1-on .mddc-v1-link{position:relative;display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:11px clamp(10px,1vw,17px)!important;border-radius:999px!important;background:transparent!important;color:#f8f4ff!important;text-decoration:none!important;font-size:clamp(12px,1.03vw,14px)!important;font-weight:700!important;letter-spacing:-.015em;line-height:1.15;white-space:nowrap;transition:background .25s,box-shadow .25s,color .25s,transform .25s;}
body.mddc-v1-on .mddc-v1-link:hover,body.mddc-v1-on .mddc-v1-link.is-current{background:linear-gradient(130deg,rgba(109,46,164,.48),rgba(86,35,137,.36))!important;box-shadow:inset 0 0 0 1px rgba(201,126,255,.53),0 0 18px rgba(152,72,248,.25)!important;color:#fff!important;text-shadow:0 0 14px rgba(240,210,255,.35);}
body.mddc-v1-on .mddc-v1-link:focus-visible,body.mddc-v1-on .mddc-v1-lang-toggle:focus-visible,body.mddc-v1-on .mddc-v1-cta:focus-visible,body.mddc-v1-on .mddc-v1-burger:focus-visible,body.mddc-v1-on .mddc-v1-lang-option:focus-visible,body.mddc-v1-on .mddc-v1-mobile-link:focus-visible{outline:2px solid #ffc900!important;outline-offset:3px!important;}
body.mddc-v1-on .mddc-v1-cta{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;min-height:49px;padding:11px 21px!important;border:1px solid #ffda40!important;border-radius:999px!important;background:linear-gradient(110deg,#ffe22a,#ffc900 62%,#ffb800)!important;color:#21112b!important;text-decoration:none!important;box-shadow:0 0 24px rgba(255,201,0,.38),0 8px 22px rgba(255,195,0,.22)!important;font-size:13px!important;line-height:1.2!important;font-weight:830!important;white-space:nowrap;transition:transform .23s,box-shadow .23s;position:relative;z-index:1;}
body.mddc-v1-on .mddc-v1-cta svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
body.mddc-v1-on .mddc-v1-cta:hover{transform:translateY(-2px);color:#21112b!important;box-shadow:0 0 34px rgba(255,201,0,.6),0 11px 25px rgba(255,195,0,.24)!important;}
body.mddc-v1-on .mddc-v1-burger{display:none!important;}
body.mddc-v1-on .mddc-v1-mobile-panel{display:none!important;}
@media(max-width:1320px){
 body.mddc-v1-on .mddc-v1-header{width:calc(100% - 28px)!important;}
 body.mddc-v1-on .mddc-v1-shell{min-height:78px;padding:11px 18px!important;gap:10px!important;}
 body.mddc-v1-on .mddc-v1-brand-name{font-size:14px;}
 body.mddc-v1-on .mddc-v1-logo{height:48px!important;max-width:78px!important;}
 body.mddc-v1-on .mddc-v1-link{padding:11px 8px!important;font-size:12px!important;}
 body.mddc-v1-on .mddc-v1-cta{padding:10px 15px!important;font-size:12px!important;}
}
@media(max-width:980px){
 body.mddc-v1-on .mddc-v1-header{width:calc(100% - 28px)!important;margin:12px auto 26px!important;top:8px!important;}
 body.mddc-v1-on .mddc-v1-shell{min-height:72px;}
 body.mddc-v1-on .mddc-v1-nav{display:none!important;}
 body.mddc-v1-on .mddc-v1-cta{margin-left:auto;}
 body.mddc-v1-on .mddc-v1-languages{margin-left:auto;}
 body.mddc-v1-on .mddc-v1-burger{display:flex!important;flex:0 0 44px;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;padding:10px!important;margin:0!important;border:1px solid rgba(215,154,255,.44)!important;border-radius:14px!important;background:rgba(140,70,220,.22)!important;cursor:pointer;}
 body.mddc-v1-on .mddc-v1-burger span{width:20px;height:2px;display:block;border-radius:3px;background:#fff;transition:transform .2s,opacity .2s;}
 body.mddc-v1-on .mddc-v1-burger[aria-expanded="true"] span:first-child{transform:translateY(7px) rotate(45deg);}
 body.mddc-v1-on .mddc-v1-burger[aria-expanded="true"] span:nth-child(2){opacity:0;}
 body.mddc-v1-on .mddc-v1-burger[aria-expanded="true"] span:last-child{transform:translateY(-7px) rotate(-45deg);}
 body.mddc-v1-on .mddc-v1-mobile-panel:not([hidden]){position:absolute;top:calc(100% + 12px);right:0;left:0;display:grid!important;gap:17px;padding:18px!important;border:1px solid rgba(190,115,255,.58)!important;border-radius:25px;background:linear-gradient(145deg,rgba(43,24,67,.98),rgba(18,12,35,.985));box-shadow:0 22px 60px rgba(0,0,0,.55),0 0 26px rgba(162,73,241,.17);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);}
 body.mddc-v1-on .mddc-v1-mobile-nav{display:grid;gap:6px;}
 body.mddc-v1-on .mddc-v1-mobile-link{display:block;padding:13px 15px;border-radius:13px;color:#fff!important;text-decoration:none!important;font-size:15px;font-weight:650;}
 body.mddc-v1-on .mddc-v1-mobile-link.is-current,body.mddc-v1-on .mddc-v1-mobile-link:hover{background:rgba(135,65,219,.31);}
 body.mddc-v1-on .mddc-v1-mobile-cta{display:flex!important;align-items:center;justify-content:space-between;padding:15px 19px!important;border-radius:16px;background:#ffc900!important;color:#22132c!important;text-decoration:none!important;font-weight:800;}
}
@media(max-width:620px){
 body.mddc-v1-on .mddc-v1-header{width:calc(100% - 20px)!important;margin:10px auto 22px!important;top:5px!important;}
 body.admin-bar.mddc-v1-on .mddc-v1-header{top:46px!important;}
 body.mddc-v1-on .mddc-v1-shell{min-height:67px;padding:10px 14px!important;gap:8px!important;}
 body.mddc-v1-on .mddc-v1-logo{height:42px!important;max-width:58px!important;}
 body.mddc-v1-on .mddc-v1-brand-name{font-size:12px;letter-spacing:-.04em;}
 body.mddc-v1-on .mddc-v1-monogram{font-size:30px;}
 body.mddc-v1-on .mddc-v1-cta{display:none!important;}
 body.mddc-v1-on .mddc-v1-lang-toggle{gap:5px;padding:9px!important;min-height:41px!important;}
 body.mddc-v1-on .mddc-v1-lang-current{display:none;}
 body.mddc-v1-on .mddc-v1-lang-flag{font-size:20px;}
 body.mddc-v1-on .mddc-v1-burger{width:40px;height:40px;flex-basis:40px;}
 body.mddc-v1-on .mddc-v1-lang-panel{left:auto;right:0;}
}
@media(max-width:350px){body.mddc-v1-on .mddc-v1-brand-name{display:none;}body.mddc-v1-on .mddc-v1-logo{max-width:60px!important;}}
@media(prefers-reduced-motion:reduce){body.mddc-v1-on .mddc-v1-shell,body.mddc-v1-on .mddc-v1-link,body.mddc-v1-on .mddc-v1-cta,body.mddc-v1-on .mddc-v1-burger span{transition:none!important;}}


/* ====================================================
   STUDIO 1.2 — TRANSPARENT TESLA MEGA NAV
   Outer header has no background, no white gap above hero.
   ================================ */
body.mddc-v1-on .mddc-v1-header {
  position:fixed!important; top:14px!important; left:50%!important;
  transform:translateX(-50%)!important; margin:0!important;
  background:transparent!important; overflow:visible!important;
}
body.mddc-v1-on .mddc-v1-shell {
  background:linear-gradient(110deg,rgba(33,17,58,.72),rgba(24,15,43,.58) 48%,rgba(42,20,65,.75))!important;
  backdrop-filter:blur(23px) saturate(1.3)!important;
  -webkit-backdrop-filter:blur(23px) saturate(1.3)!important;
}
body.mddc-v1-on .mddc-v1-shell::after {
  content:"";position:absolute;pointer-events:none;inset:-1px;z-index:-1;
  border-radius:inherit;background:linear-gradient(105deg,transparent 15%,rgba(188,126,255,.6) 38%,transparent 46%,transparent 74%,rgba(255,201,0,.16) 87%,transparent);
  background-size:230% 100%;opacity:.33;animation:mddcTeslaGlide 9s linear infinite;
}
@keyframes mddcTeslaGlide{from{background-position:100% 50%}to{background-position:-120% 50%}}
body.mddc-v1-on .mddc-v1-nav {position:static!important;}
body.mddc-v1-on .mddc-v1-nav-group {display:flex;align-items:center;position:relative;}
body.mddc-v1-on .mddc-v1-nav-caret {margin-left:5px;color:#d0a5f8;font-size:13px;transition:transform .24s;}
body.mddc-v1-on .mddc-v1-nav-group:hover .mddc-v1-nav-caret,
body.mddc-v1-on .mddc-v1-nav-group:focus-within .mddc-v1-nav-caret{transform:rotate(180deg);}
body.mddc-v1-on .mddc-v1-mega{
  position:absolute;left:50%;top:calc(100% + 21px);width:min(500px,90vw);padding:12px;
  transform:translate(-50%,10px);opacity:0;visibility:hidden;pointer-events:none;
  border:1px solid rgba(175,102,250,.65);border-radius:22px;
  background:linear-gradient(145deg,rgba(25,14,43,.99),rgba(37,18,62,.99));
  box-shadow:0 30px 65px rgba(3,0,15,.62),0 0 34px rgba(154,68,245,.16);
  backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);
  transition:opacity .24s,visibility .24s,transform .24s;z-index:999;
}
body.mddc-v1-on .mddc-v1-mega::before{content:"";position:absolute;left:0;right:0;top:-24px;height:24px;}
body.mddc-v1-on .mddc-v1-nav-group:hover .mddc-v1-mega,
body.mddc-v1-on .mddc-v1-nav-group:focus-within .mddc-v1-mega{
  opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0);
}
body.mddc-v1-on .mddc-v1-mega-visual{
  display:flex;flex-direction:column;justify-content:flex-end;gap:7px;
  min-height:134px;padding:23px;border-radius:15px;overflow:hidden;
  background:radial-gradient(circle at 85% 10%,rgba(182,101,255,.45),transparent 43%),linear-gradient(110deg,#241043,#513077 80%,#251039);
  border:1px solid rgba(255,255,255,.11);position:relative;
}
body.mddc-v1-on .mddc-v1-mega-visual::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(125deg,transparent 0 45px,rgba(255,255,255,.04) 46px,transparent 47px);}
body.mddc-v1-on .mddc-v1-mega-visual--about{background:radial-gradient(circle at 83% 20%,rgba(172,79,249,.38),transparent 43%),linear-gradient(120deg,#26133f,#38215c);}
body.mddc-v1-on .mddc-v1-mega-visual small{color:#f0cdff;font-size:10px;letter-spacing:.18em;font-weight:800;}
body.mddc-v1-on .mddc-v1-mega-visual strong{color:white;font-size:31px;letter-spacing:-.045em;line-height:1.04;font-weight:800;}
body.mddc-v1-on .mddc-v1-mega-visual span{color:#d8c6e7;font-size:12px;}
body.mddc-v1-on .mddc-v1-mega-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px;}
body.mddc-v1-on .mddc-v1-mega-links a{
  display:flex;align-items:center;justify-content:space-between;gap:7px;
  min-height:45px;padding:11px 12px;border:1px solid rgba(187,127,243,.12);border-radius:11px;
  background:rgba(255,255,255,.035);color:#f7f2ff!important;text-decoration:none!important;
  font-size:12px;font-weight:650;line-height:1.35;transition:background .22s,transform .22s,border-color .22s;
}
body.mddc-v1-on .mddc-v1-mega-links a:hover{background:rgba(135,57,224,.28);border-color:rgba(207,142,255,.55);transform:translateY(-2px);}
body.mddc-v1-on .mddc-v1-mega-links a span:last-child{color:#ffc900;font-size:16px;}
body.mddc-v1-on .mddc-v1-mega-links a.mddc-v1-mega-cta{grid-column:1/-1;background:#ffc900;color:#22102e!important;border-color:#ffc900;font-weight:800;}
body.mddc-v1-on .mddc-v1-mega-links a.mddc-v1-mega-cta span:last-child{color:#24102f;}
body.mddc-v1-on .mddc-v1-mobile-group{display:block;}
body.mddc-v1-on .mddc-v1-mobile-group summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-radius:13px;color:#fff;font-size:15px;font-weight:700;list-style:none;}
body.mddc-v1-on .mddc-v1-mobile-group summary::-webkit-details-marker{display:none;}
body.mddc-v1-on .mddc-v1-mobile-group summary span{transition:transform .2s;}
body.mddc-v1-on .mddc-v1-mobile-group[open] summary span{transform:rotate(180deg);}
body.mddc-v1-on .mddc-v1-mobile-children{display:grid;gap:4px;padding:4px 6px 8px 15px;}
body.mddc-v1-on .mddc-v1-mobile-children a{display:block;padding:10px 14px;border-radius:10px;color:#e6dcf4!important;text-decoration:none!important;font-size:13px;font-weight:600;}
body.mddc-v1-on .mddc-v1-mobile-children a:hover{background:rgba(133,64,205,.23);color:#ffc900!important;}
body.mddc-v1-on .mddc-v1-mobile-children .mddc-v1-mobile-parent-link{color:#ffc900!important;}
@media(max-width:1320px){body.mddc-v1-on .mddc-v1-mega{width:min(440px,93vw);}}
@media(max-width:980px){
 body.mddc-v1-on .mddc-v1-header{top:10px!important;}
 body.mddc-v1-on .mddc-v1-mobile-panel:not([hidden]){max-height:calc(100dvh - 104px);overflow:auto;}
}
@media(max-width:620px){body.mddc-v1-on .mddc-v1-header{top:8px!important;}}
@media(prefers-reduced-motion:reduce){body.mddc-v1-on .mddc-v1-shell::after{animation:none;}}

/* 1.2.0 visual QA: photographic mega-menu headers with legible overlay */
body.mddc-v1-on .mddc-v1-mega-visual--collab{
 background:linear-gradient(90deg,rgba(18,8,37,.93) 2%,rgba(26,12,50,.64) 62%,rgba(20,9,40,.35)),url('../../pages/assets/images/bafir.webp') center 38%/cover no-repeat!important;
}
body.mddc-v1-on .mddc-v1-mega-visual--about{
 background:linear-gradient(90deg,rgba(18,8,37,.93) 0%,rgba(35,14,66,.62) 70%),url('../../home/assets/images/mateusz-portret.webp') center 35%/cover no-repeat!important;
}
body.mddc-v1-on .mddc-v1-mega-visual small,body.mddc-v1-on .mddc-v1-mega-visual strong,body.mddc-v1-on .mddc-v1-mega-visual span{position:relative;z-index:1;text-shadow:0 2px 14px rgba(8,2,18,.92)}
