
/* IMPULS. Digital Studio | multi-service navigation and offer pages
   Original premium web portfolio remains in assets/styles.css. */
:root{--violet-soft:#d9c1ff;--violet-strong:#a17bff}
.hub-page,.service-detail{background:#080316;color:#f8f5ff}
.hub-page .header,.service-detail .header,.web-detail .header{background:rgba(8,3,22,.8);backdrop-filter:blur(18px)}
.hub-page .desktop-nav,.service-detail .desktop-nav,.web-detail .desktop-nav{gap:clamp(15px,2.4vw,34px);font-size:13px}
.desktop-nav a[aria-current="page"]{color:#f8f4ff;opacity:1}
.desktop-nav a[aria-current="page"]::after{content:"";display:block;width:100%;height:2px;margin-top:7px;background:linear-gradient(90deg,#d2a5ff,#6578ff);border-radius:2px}
.hub-page .container,.service-detail .container{width:min(calc(100% - 104px),var(--max))}
.hub-page .header-inner,.service-detail .header-inner{max-width:var(--max)}
.hub-page a:focus-visible,.service-detail a:focus-visible,.web-detail a:focus-visible,.hub-page button:focus-visible{outline-color:#d5b4ff;outline-offset:4px}
.hub-page .header,.service-detail .header{z-index:110}
.hub-page .mobile-nav:not([hidden]),.service-detail .mobile-nav:not([hidden]),.web-detail .mobile-nav:not([hidden]){background:#100823}
.hub-page .hero-shell,.service-detail .detail-hero{position:relative;isolation:isolate}
.hub-page .hero-shell::before,.service-detail .detail-hero::before{content:"";position:absolute;pointer-events:none;z-index:-1;inset:0;background-image:linear-gradient(rgba(207,188,255,.032) 1px,transparent 1px),linear-gradient(90deg,rgba(207,188,255,.032) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,#000,transparent)}
.page-kicker{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(206,181,255,.22);border-radius:50px;padding:11px 16px;color:#e0d4ff;font-weight:750;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;background:rgba(184,130,255,.055)}
.page-kicker::before{content:"";height:7px;width:7px;border-radius:50%;background:#e0b5ff;box-shadow:0 0 18px #dcacff}
.hub-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:4%;align-items:center;padding:115px 0 126px;min-height:735px}
.hub-hero h1,.detail-copy h1{font-size:clamp(66px,6.7vw,108px);line-height:1.02;letter-spacing:-.075em;margin:30px 0 28px;font-weight:820;text-wrap:balance}
.hub-hero h1 em,.detail-copy h1 em{font-style:normal;background:linear-gradient(100deg,#fff 2%,#dcbcff 40%,#929cff 95%);background-clip:text;-webkit-background-clip:text;color:transparent}
.hub-lead,.detail-lead{font-size:clamp(17px,1.4vw,20px);line-height:1.75;max-width:580px;color:#c4bddb;margin:0 0 33px}
.hero-links{display:flex;align-items:center;flex-wrap:wrap;gap:19px}
.hero-links .button{padding:16px 20px 16px 24px}
.muted-link{color:#e0d1ff;text-decoration:none;font-weight:700;font-size:14px;padding:12px 2px;border-bottom:1px solid rgba(209,176,255,.32)}
.muted-link:hover{border-bottom-color:#fff}
.overline-stats{display:flex;flex-wrap:wrap;gap:20px;margin-top:55px;font-size:12px;color:#b0a7c8;letter-spacing:.5px}
.overline-stats strong{color:#f8f5ff}
.orb-stage{height:510px;position:relative;display:grid;place-items:center;isolation:isolate}
.orb-stage::before{content:"";position:absolute;width:92%;aspect-ratio:1;max-width:480px;background:radial-gradient(circle,rgba(124,69,228,.32),transparent 68%);filter:blur(40px);z-index:-1}
.orb-ring{position:absolute;border:1px solid rgba(205,166,255,.22);border-radius:50%;width:89%;max-width:495px;aspect-ratio:1;transform:rotate(-20deg) scaleY(.8)}
.orb-ring:nth-child(2){width:72%;transform:rotate(32deg) scaleY(.87);border-style:dashed}
.orb-core{width:66%;aspect-ratio:1;position:relative;border-radius:45% 55% 49% 51% / 57% 43% 57% 43%;background:radial-gradient(circle at 28% 22%,#ffb9f9 0%,transparent 15%),radial-gradient(ellipse at 70% 82%,#2544d2 0%,transparent 43%),linear-gradient(135deg,#ee63dc 0%,#8b6bff 48%,#284bff 100%);box-shadow:inset 21px 18px 45px rgba(255,255,255,.25),inset -20px -30px 55px rgba(17,9,70,.44),0 35px 100px rgba(84,43,209,.28);animation:orb-float 10s ease-in-out infinite;transform:rotate(-18deg)}
.orb-core::after{content:"";position:absolute;inset:13%;border-radius:50%;border:1px solid rgba(255,255,255,.25);transform:rotate(36deg) scaleY(.67)}
.orb-label{position:absolute;padding:16px 20px;border:1px solid rgba(211,179,255,.26);border-radius:15px;background:rgba(20,10,44,.87);box-shadow:0 18px 42px rgba(0,0,0,.25);backdrop-filter:blur(12px);font-size:11px;font-weight:800;letter-spacing:1.1px;display:flex;gap:10px;align-items:center}
.orb-label::before{content:"";width:9px;height:9px;border-radius:50%;background:#cca3ff;box-shadow:0 0 16px #b989ff}
.orb-label.one{left:0;top:16%}.orb-label.two{right:0;top:38%}.orb-label.three{left:9%;bottom:12%}
@keyframes orb-float{50%{transform:translateY(-13px) rotate(-12deg)}}
.hub-section,.detail-section{padding:108px 0}
.section-topline{color:#c8aef7;font-weight:750;font-size:11px;letter-spacing:1.9px;text-transform:uppercase;display:block;margin-bottom:26px}
.hub-section h2,.detail-section h2{font-size:clamp(45px,5.2vw,76px);line-height:1.05;letter-spacing:-.065em;margin:0;color:#fbf9ff}
.hub-section h2 em,.detail-section h2 em{font-weight:400;font-family:Georgia,serif;color:#cdb0ff}
.section-subtitle{font-size:17px;max-width:550px;color:#bfb4d6;line-height:1.72;margin:16px 0 0}
.section-head-row{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:48px}
.offering-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.offer-card{min-width:0;display:flex;flex-direction:column;gap:0;padding:24px;border:1px solid rgba(203,174,255,.17);border-radius:24px;min-height:500px;background:linear-gradient(146deg,#251442,#0d0820 76%);color:#f8f6ff;transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.offer-card:hover{transform:translateY(-6px);border-color:rgba(209,177,255,.5);box-shadow:0 25px 70px rgba(73,39,156,.18)}
.offer-card:nth-child(2){background:linear-gradient(146deg,#20193e,#0d0820 76%)}
.offer-card:nth-child(3){background:linear-gradient(146deg,#2a123e,#0d0820 76%)}
.offer-no{font-size:11px;color:#decaf8;font-weight:850;letter-spacing:1.3px}
.offer-graphic{position:relative;min-height:214px;margin:10px 0 19px;display:grid;place-items:center;overflow:hidden}
.offer-card h3{font-size:clamp(26px,2.4vw,35px);line-height:1.06;letter-spacing:-.055em;margin:0 0 16px}
.offer-card p{font-size:14px;line-height:1.7;color:#c5bdd9;margin:0}
.offer-action{margin-top:auto;padding-top:29px;color:#f6ecff;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:12px}
.offer-action span:last-child{height:35px;width:35px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:50%}
.mock-browser{position:relative;width:82%;height:165px;border-radius:14px;border:1px solid rgba(255,255,255,.15);background:radial-gradient(circle at 80% 65%,rgba(234,94,237,.27),transparent 40%),#130c2c;box-shadow:0 20px 45px rgba(0,0,0,.35);padding:14px;transform:rotate(-4deg)}
.mock-browser .dots{display:flex;gap:5px}.mock-browser .dots i{width:6px;height:6px;background:#9987bc;border-radius:50%}.mock-browser strong{display:block;font-size:37px;line-height:.9;letter-spacing:-.05em;margin-top:28px}
.mock-browser small{display:block;font-size:9px;color:#c6afeb;margin-top:12px}
.mock-browser .ball{position:absolute;width:90px;height:98px;border-radius:43% 57% 40% 60%;right:-15px;bottom:-13px;background:linear-gradient(130deg,#ff65e2,#624bff);box-shadow:inset 10px 10px 24px #ffffff32}
.mini-graph{width:90%;height:176px;position:relative;padding:15px;border:1px solid #9587c14a;background:linear-gradient(170deg,#1b1742,#100c29);border-radius:15px;transform:rotate(3deg);box-shadow:0 16px 35px #0004}
.mini-graph .chart-bar{position:absolute;bottom:20px;width:13%;border-radius:5px 5px 0 0;background:linear-gradient(#d67ef1,#6252d1)}
.mini-graph svg{position:relative;z-index:1;width:100%;height:100%}
.flow-demo{display:flex;gap:9px;align-items:center;justify-content:center;width:100%;transform:rotate(-3deg)}
.flow-node{min-width:0;padding:17px 9px;border:1px solid rgba(228,201,255,.32);border-radius:13px;background:#211038;text-align:center;font-size:11px;font-weight:700;box-shadow:0 12px 35px rgba(0,0,0,.23)}
.flow-node.feature{background:linear-gradient(130deg,#714bb8,#4d42ae);color:#fff}.flow-connector{color:#c5a5ff;font-size:19px}
.hub-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:10%;align-items:start}
.value-list{display:grid;gap:14px}
.value-item{padding:24px 26px;border-radius:17px;border:1px solid rgba(203,174,255,.16);background:rgba(255,255,255,.03);display:flex;gap:18px;align-items:start}
.value-item b{color:#c4a4ff;font-size:13px}.value-item strong{display:block;font-size:20px;margin-bottom:7px;letter-spacing:-.03em}
.value-item p{margin:0;color:#bcb2d2;font-size:14px;line-height:1.6}
.hub-rule{border-top:1px solid rgba(216,194,255,.13)}
.detail-hero .detail-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5%;align-items:center;padding-top:102px;padding-bottom:110px;min-height:680px}
.detail-copy h1{font-size:clamp(62px,6.1vw,100px)}
.detail-visual{border:1px solid rgba(213,186,255,.18);border-radius:25px;min-height:405px;background:radial-gradient(circle at 75% 15%,rgba(141,91,248,.21),transparent 42%),linear-gradient(145deg,#21113f,#0b0821);padding:28px;position:relative;overflow:hidden;box-shadow:0 26px 70px rgba(0,0,0,.28)}
.detail-visual::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.027) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.027) 1px,transparent 1px);background-size:32px 32px;pointer-events:none}
.visual-meta{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#d8c7f7;position:relative;z-index:2;display:flex;justify-content:space-between}
.dashboard-ui{margin-top:26px;position:relative;z-index:2;border:1px solid rgba(255,255,255,.15);background:rgba(14,9,30,.88);border-radius:18px;padding:20px;box-shadow:0 18px 45px rgba(0,0,0,.27)}
.dashboard-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.dashboard-kpis div{background:rgba(255,255,255,.055);padding:14px 11px;border-radius:10px}
.dashboard-kpis small{display:block;font-size:9px;color:#b6a9cf;margin-bottom:12px}
.dashboard-kpis b{font-size:19px;letter-spacing:-.04em}
.dashboard-graph{width:100%;height:153px;margin-top:16px}
.visual-disclaimer{font-size:9px;color:#a99dc5;position:absolute;bottom:11px;right:26px;z-index:2}
.automation-flow{position:relative;z-index:2;margin-top:53px;display:flex;flex-direction:column;gap:12px}
.automation-step{display:flex;align-items:center;gap:16px;padding:15px 19px;border:1px solid rgba(219,195,255,.21);border-radius:14px;background:rgba(16,9,40,.8);box-shadow:0 15px 35px #0002}
.automation-step.active{border-color:rgba(231,177,255,.64);background:linear-gradient(105deg,rgba(113,65,205,.49),rgba(26,15,59,.87))}
.automation-step .step-symbol{font-size:19px;color:#d8b6ff;display:grid;place-items:center;width:29px}
.automation-step strong{font-size:14px}.automation-step small{font-size:10px;color:#b9aed3;margin-left:auto;letter-spacing:1px}
.automation-link{height:7px;width:1px;background:#b48cf0;margin-left:34px}
.detail-intro{max-width:625px}
.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:45px}
.detail-tile{padding:30px;border-radius:20px;border:1px solid rgba(209,186,255,.17);background:linear-gradient(145deg,rgba(46,25,81,.67),rgba(18,10,40,.85));min-height:275px}
.tile-index{color:#c9a5ff;font-size:12px;font-weight:850;letter-spacing:1.4px}
.detail-tile h3{font-size:24px;line-height:1.2;letter-spacing:-.04em;margin:58px 0 12px}
.detail-tile p{font-size:14px;line-height:1.7;color:#c5bad9;margin:0}
.use-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:40px}
.use-case{padding:23px 25px;border:1px solid rgba(206,178,255,.14);border-radius:15px;background:rgba(255,255,255,.025)}
.use-case strong{font-size:17px}.use-case p{font-size:14px;line-height:1.65;color:#bcb1d0;margin:10px 0 0}
.tech-tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:33px}
.tech-tags span{border:1px solid rgba(218,193,255,.26);color:#dfd2fa;padding:9px 14px;border-radius:50px;font-size:12px;font-weight:650}
.detail-process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-top:48px}
.detail-process div{border-top:1px solid rgba(218,193,255,.28);padding-top:20px}
.detail-process b{font-size:11px;color:#bc9dff}
.detail-process h3{font-size:20px;margin:20px 0 9px}
.detail-process p{font-size:13px;color:#c0b5d4;line-height:1.7;margin:0}
.question-stack{max-width:1000px;margin-top:34px;border-top:1px solid rgba(218,190,255,.17)}
.question-stack details{border-bottom:1px solid rgba(218,190,255,.17);padding:21px 3px}
.question-stack summary{cursor:pointer;font-size:17px;font-weight:750;list-style:none;display:flex;justify-content:space-between;gap:20px}
.question-stack summary::after{content:"+";font-size:24px;color:#d6b6ff}.question-stack details[open] summary::after{content:"−"}
.question-stack p{color:#c6b8d9;font-size:14px;line-height:1.7;max-width:740px}
.contact-well{padding:95px 0 65px;background:radial-gradient(ellipse at 77% 20%,rgba(123,63,223,.18),transparent 48%),linear-gradient(170deg,#120824,#0a051a);border-top:1px solid rgba(214,179,255,.16)}
.contact-well .contact-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:12%;align-items:start}
.contact-well h2{font-size:clamp(54px,6.3vw,91px);line-height:1;letter-spacing:-.07em;margin:19px 0 0}
.contact-well h2 em{font-weight:400;font-style:normal;color:#d2b1ff;font-family:Georgia,serif}
.contact-well p{color:#c4b6d8;line-height:1.72;font-size:16px;max-width:390px}
.contact-well .email-state{display:block;font-size:12px;margin-top:14px}
.hub-footer{margin-top:76px;border-top:1px solid rgba(211,190,255,.15);padding-top:33px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;font-size:12px;color:#aea3c9}
.hub-footer .footer-brand{font-size:30px;font-weight:800;letter-spacing:-2px}
.hub-footer nav{display:flex;gap:22px;flex-wrap:wrap}
.hub-footer a:hover{color:#fff}
.web-detail .service-crossnav,.service-detail .service-crossnav{border-bottom:1px solid rgba(216,184,255,.15);background:#0b051b;padding:16px 0}
.service-crossnav .container{display:flex;align-items:center;gap:22px;flex-wrap:wrap;font-size:12px;color:#bfb3d9}
.service-crossnav a{color:#e1d2ff}
.service-crossnav a:hover{text-decoration:underline}
@media(max-width:1100px){
 .hub-page .container,.service-detail .container{width:min(calc(100% - 64px),var(--max))}
 .hub-hero h1,.detail-copy h1{font-size:clamp(59px,6.5vw,81px)}
 .offer-card{padding:20px;min-height:485px}
 .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .detail-process{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:960px){
 .hub-hero,.detail-hero .detail-hero-inner{grid-template-columns:1fr;gap:35px}
 .hub-hero{padding:75px 0 75px}
 .orb-stage{height:430px}
 .detail-hero .detail-hero-inner{padding:70px 0}
 .detail-visual{max-width:700px;width:100%}
 .offering-grid{grid-template-columns:1fr 1fr}
 .offer-card:last-child{grid-column:span 2;min-height:370px}
 .offer-card:last-child .offer-graphic{min-height:150px}
 .hub-split{grid-template-columns:1fr;gap:33px}
 .contact-well .contact-layout{grid-template-columns:1fr;gap:15px}
}
@media(max-width:700px){
 .hub-page .container,.service-detail .container{width:calc(100% - 40px)}
 .hub-hero{padding:56px 0}
 .hub-hero h1,.detail-copy h1{font-size:clamp(49px,11.2vw,71px)}
 .hub-lead,.detail-lead{font-size:16px}
 .orb-stage{height:355px}
 .orb-label{padding:12px;font-size:9px}.orb-label.one{left:0}.orb-label.two{right:0}
 .hub-section,.detail-section{padding:78px 0}
 .hub-section h2,.detail-section h2{font-size:clamp(44px,10vw,60px)}
 .section-head-row{display:block;margin-bottom:26px}
 .offering-grid,.detail-grid,.use-cases,.detail-process{grid-template-columns:1fr}
 .offer-card,.offer-card:last-child{grid-column:auto;min-height:440px}
 .offer-graphic{min-height:170px}
 .detail-tile{min-height:215px}
 .detail-tile h3{margin-top:30px}
 .detail-visual{min-height:370px;padding:18px}
 .dashboard-kpis b{font-size:15px}.dashboard-kpis div{padding:10px 7px}.dashboard-kpis small{font-size:8px}
 .contact-well{padding:72px 0 44px}
 .contact-well h2{font-size:clamp(49px,11vw,69px)}
 .hub-footer{margin-top:55px}
 .hub-page .header,.service-detail .header{height:74px}
 .hub-page .nav-cta,.service-detail .nav-cta{display:none}
 .hub-page .menu-btn,.service-detail .menu-btn{display:flex}
 .hub-page .desktop-nav,.service-detail .desktop-nav{display:none}
}
@media(prefers-reduced-motion:reduce){.orb-core{animation:none}}

/* Mobile premium navigation and scaled web-preview illustration (2026-10-21) */
@media(max-width:700px){
  /* Floating navigation card instead of a full-width square drawer. */
  .hub-page .header,
  .service-detail .header,
  .web-detail .header{
    overflow:visible;
    isolation:isolate;
  }
  .hub-page .menu-btn,
  .service-detail .menu-btn,
  .web-detail .menu-btn{
    display:flex;
    width:48px;height:48px;
    border-radius:17px;
    gap:6px;
    border:1px solid rgba(222,198,255,.30);
    background:linear-gradient(145deg,rgba(196,146,255,.13),rgba(113,91,235,.07));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 9px 28px rgba(0,0,0,.18);
    transition:background .25s,border-color .25s,box-shadow .25s;
  }
  .hub-page .menu-btn span,
  .service-detail .menu-btn span,
  .web-detail .menu-btn span{
    width:21px;height:2px;
    background:#f1e8ff;
    border-radius:3px;
    transition:transform .25s ease,background .25s ease;
  }
  .hub-page .menu-btn[aria-expanded="true"],
  .service-detail .menu-btn[aria-expanded="true"],
  .web-detail .menu-btn[aria-expanded="true"]{
    background:rgba(153,100,248,.23);
    border-color:rgba(229,198,255,.67);
    box-shadow:0 0 0 4px rgba(168,111,255,.1);
  }
  .menu-btn[aria-expanded="true"] span:first-child{transform:translateY(4px) rotate(45deg)}
  .menu-btn[aria-expanded="true"] span:last-child{transform:translateY(-4px) rotate(-45deg)}
  .hub-page .header .mobile-nav:not([hidden]),
  .service-detail .header .mobile-nav:not([hidden]),
  .web-detail .header .mobile-nav:not([hidden]){
    position:absolute;
    top:calc(100% + 12px);
    left:18px;right:18px;
    width:auto;
    max-width:500px;
    margin-inline:auto;
    padding:16px;
    display:flex;
    flex-direction:column;
    gap:3px;
    background:radial-gradient(ellipse at 80% 0%,rgba(130,78,245,.18),transparent 60%),linear-gradient(155deg,rgba(30,16,61,.98),rgba(14,8,34,.99));
    border:1px solid rgba(219,184,255,.25);
    border-radius:24px;
    box-shadow:0 30px 75px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    max-height:min(72vh,620px);
    overflow-y:auto;
    z-index:115;
    animation:menu-rise .22s cubic-bezier(.2,.8,.2,1) both;
  }
  .hub-page .mobile-nav:not([hidden])::before,
  .service-detail .mobile-nav:not([hidden])::before,
  .web-detail .mobile-nav:not([hidden])::before{
    content:"ODKRYJ IMPULS. DIGITAL STUDIO";
    display:block;
    padding:12px 14px 14px;
    margin:0 4px 2px;
    color:#bca5e8;
    font-size:10px;
    font-weight:850;
    letter-spacing:2px;
  }
  .hub-page .mobile-nav a,
  .service-detail .mobile-nav a,
  .web-detail .mobile-nav a{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:51px;
    padding:14px 15px;
    border:1px solid transparent;
    border-radius:14px;
    background:transparent;
    color:#f5efff;
    font-size:15px;
    font-weight:710;
    line-height:1.35;
    letter-spacing:-.018em;
    text-decoration:none;
    transition:background .2s,border-color .2s,transform .2s;
  }
  .hub-page .mobile-nav a::after,
  .service-detail .mobile-nav a::after,
  .web-detail .mobile-nav a::after{
    content:"↗";
    margin-left:auto;
    color:#c5aaff;
    font-size:18px;
    font-weight:400;
  }
  .hub-page .mobile-nav a:hover,
  .service-detail .mobile-nav a:hover,
  .web-detail .mobile-nav a:hover,
  .hub-page .mobile-nav a:focus-visible,
  .service-detail .mobile-nav a:focus-visible,
  .web-detail .mobile-nav a:focus-visible{
    background:rgba(177,122,255,.13);
    border-color:rgba(207,172,255,.23);
  }
  .hub-page .mobile-nav a[aria-current="page"],
  .service-detail .mobile-nav a[aria-current="page"],
  .web-detail .mobile-nav a[aria-current="page"]{
    background:linear-gradient(95deg,rgba(174,104,255,.23),rgba(83,80,225,.10));
    border-color:rgba(209,171,255,.22);
  }
  .hub-page .mobile-nav a:last-child,
  .service-detail .mobile-nav a:last-child,
  .web-detail .mobile-nav a:last-child{
    margin-top:9px;
    justify-content:center;
    background:linear-gradient(110deg,#f9f4ff,#ddd0ff);
    color:#190e30;
    border:0;
    font-weight:850;
  }
  .hub-page .mobile-nav a:last-child::after,
  .service-detail .mobile-nav a:last-child::after,
  .web-detail .mobile-nav a:last-child::after{content:none}

  /* Scale the complete desktop mockup as one canvas: typography, orb and
     frame stay aligned; no clipped headlines or squeezed mobile elements. */
  .web-detail .hero-art{
    --preview-scale:.86;
    height:390px;
    margin:18px 0 22px;
    align-items:center;
    justify-content:center;
    overflow:visible;
  }
  .web-detail .browser-card{
    width:530px;max-width:none;
    flex:0 0 530px;
    border-radius:28px;
    transform:scale(var(--preview-scale));
    transform-origin:center center;
  }
  .web-detail .hero-art:hover .browser-card{transform:scale(var(--preview-scale))}
  .web-detail .browser-bar{height:48px;padding:0 17px;font-size:10px}
  .web-detail .browser-content{height:420px;padding:30px 28px}
  .web-detail .mini-head b{font-size:24px}
  .web-detail .mini-head>span{font-size:10px}
  .web-detail .mini-eyebrow{font-size:9px;margin-top:46px;padding:10px 15px}
  .web-detail .mini-big{font-size:74px;letter-spacing:-5px;margin:20px 0 0}
  .web-detail .mini-bottom{font-size:10px;margin-top:24px}
  .web-detail .mini-button{padding:11px 16px}
  .web-detail .mini-blob{width:265px;height:330px;top:74px;right:-28px}
  .web-detail .is-before .mini-head{padding:11px 13px;margin:-6px 0 0}
  .web-detail .is-before .mini-head b{font-size:18px}
  .web-detail .is-before .mini-eyebrow{font-size:9px;margin:18px -14px;padding:15px 6px}
  .web-detail .is-before .mini-big{font-size:29px;letter-spacing:0;margin:25px 0}
  .web-detail .is-before .mini-bottom{margin-top:20px}
  .web-detail .is-before .mini-blob{width:140px;height:96px;top:270px;right:24px}
  .web-detail .hero-art .floating-tag{font-size:8px;padding:10px 12px}
  .web-detail .hero-art .tag-one{top:9%;right:1%}
  .web-detail .hero-art .tag-two{bottom:14%;left:1%}
  .web-detail .art-switch{left:50%;right:auto;bottom:3%;transform:translateX(-50%)}
}
@media(max-width:600px){.web-detail .hero-art{--preview-scale:.76;height:375px}}
@media(max-width:500px){.web-detail .hero-art{--preview-scale:.66;height:365px}}
@media(max-width:420px){.web-detail .hero-art{--preview-scale:.60;height:355px}}
@media(max-width:360px){.web-detail .hero-art{--preview-scale:.49;height:320px}}
@keyframes menu-rise{from{opacity:0;transform:translateY(-9px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){
 .hub-page .header .mobile-nav:not([hidden]),
 .service-detail .header .mobile-nav:not([hidden]),
 .web-detail .header .mobile-nav:not([hidden]){animation:none}
 .hub-page .menu-btn span,.service-detail .menu-btn span,.web-detail .menu-btn span{transition:none}
}

/* Bilingual PL / EN navigation, shared by all eight pages. */
.language-switch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  flex-shrink:0;
  padding:5px;
  border:1px solid rgba(213,183,255,.28);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(149,99,239,.16),rgba(56,40,127,.16));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  white-space:nowrap;
}
.language-switch a{
  min-width:34px;
  min-height:34px;
  display:grid;
  place-items:center;
  color:#bcb3d2;
  border-radius:999px;
  font-size:11px;
  font-weight:850;
  letter-spacing:.45px;
  transition:background .2s,color .2s;
}
.language-switch a:hover{color:#fff;background:rgba(195,153,255,.1)}
.language-switch a[aria-current="page"]{
  background:linear-gradient(135deg,#f9f4ff,#d9c8ff);
  color:#180e31;
  box-shadow:0 4px 14px rgba(0,0,0,.16);
}
.language-switch span{color:#6e6389;font-size:10px}
.language-switch a:focus-visible{outline:2px solid #dfbaff;outline-offset:3px}
@media(min-width:701px) and (max-width:1160px){
  .header-inner{gap:14px}
  .desktop-nav{gap:11px!important;font-size:12px!important}
  .nav-cta{display:none!important}
  .language-switch a{min-width:31px;min-height:31px}
}
@media(max-width:700px){
  .header-inner{gap:9px}
  .header-inner .brand{margin-right:auto}
  .language-switch{padding:4px;gap:2px;margin-left:auto}
  .language-switch a{min-width:29px;min-height:31px;font-size:10px}
}
@media(max-width:380px){
  .header-inner .brand{font-size:22px;letter-spacing:-1.2px}
  .header-inner .brand sup{display:none}
}


/* Web design hero — mobile layout correction.
   The 530px preview used to enlarge the grid's minimum intrinsic width,
   shifting its visually scaled content off-screen. Position it absolutely
   against the real mobile container instead of laying out a 530px flex item.
   Applies to PL /strony-internetowe/ and EN /en/websites/. */
@media(max-width:700px){
  .web-detail .hero{
    grid-template-columns:minmax(0,1fr);
  }
  .web-detail .hero-art{
    display:block;
    min-width:0;
    width:100%;
    max-width:100%;
    margin-left:0;
    margin-right:0;
    overflow:visible;
  }
  .web-detail .hero-art .browser-card{
    position:absolute;
    left:50%;
    top:50%;
    width:530px;
    max-width:none;
    margin:0;
    flex:none;
    transform:translate(-50%,-50%) scale(var(--preview-scale));
    transform-origin:center center;
  }
  .web-detail .hero-art:hover .browser-card{
    transform:translate(-50%,-50%) scale(var(--preview-scale));
  }
}


/* Portfolio live demos — three sectors, three independent design systems. */
.projects-section .project-grid .project-card{
  display:block;
  color:inherit;
  text-decoration:none;
  min-width:0;
  cursor:pointer;
}
.projects-section .project-card:focus-visible{
  outline:3px solid #d9b4ff;
  outline-offset:6px;
  border-radius:22px;
}
.projects-section .project-card .project-visual{
  transition:box-shadow .28s ease;
}
.projects-section .project-card:hover .project-visual,
.projects-section .project-card:focus-visible .project-visual{
  box-shadow:0 26px 80px rgba(114,75,222,.28);
}
.projects-section .project-card .project-icon{transition:transform .25s ease,background .25s ease}
@media (hover:hover) and (pointer:fine){
  .projects-section .project-card:hover .project-icon{transform:rotate(45deg);background:rgba(203,153,255,.14)}
}
.project-open{
  display:inline-block;
  margin-top:12px;
  color:#d5baff;
  font-size:11px;
  line-height:1.6;
  font-weight:750;
  letter-spacing:.025em;
}
.project-c{grid-column:1/-1}
.project-c .project-visual{
  height:440px;
  background:linear-gradient(125deg,#112e91 0%,#1554e8 48%,#0b3fcf 100%);
  border:1px solid rgba(142,177,255,.22);
}
.project-c .project-art-c{
  width:91%;
  height:81%;
  border:1px solid rgba(16,26,64,.6);
  border-radius:18px;
  overflow:hidden;
  position:relative;
  padding:33px 38px;
  display:flex;
  flex-direction:column;
  isolation:isolate;
  color:#fff;
  background:radial-gradient(circle at 73% 66%,rgba(150,205,255,.32),transparent 37%),linear-gradient(140deg,#1a5df3,#103cb3);
  box-shadow:0 25px 70px rgba(0,24,88,.35);
}
.project-c .project-art-c:before{
  content:"";
  position:absolute;inset:0;
  z-index:-1;pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.2) 1px,transparent 1px);
  background-size:24px 24px;
  opacity:.25;
}
.art-c-top{font-size:25px;font-weight:950;letter-spacing:-1.5px;display:flex;align-items:baseline;gap:4px}
.art-c-top span{color:#edff71}
.art-c-top small{font-size:10px;letter-spacing:1px;font-weight:700;margin-left:auto}
.art-c-head{
  font-size:clamp(55px,6.6vw,105px);
  line-height:.98;
  letter-spacing:-.065em;
  font-weight:950;
  margin:auto 0;
  max-width:80%;
}
.art-c-head em{font-style:normal;color:#efff70}
.art-c-bolt{
  position:absolute;
  right:6%;top:22%;
  width:180px;height:205px;
  display:grid;place-items:center;
  border:2px solid #1b296c;
  border-radius:28px;
  background:#efff70;color:#1554e8;
  font-size:140px;
  box-shadow:15px 15px 0 rgba(15,39,115,.7);
  transform:rotate(12deg);
}
.art-c-bottom{font-size:10px;letter-spacing:1.5px;font-weight:850;border-top:1px solid rgba(255,255,255,.4);padding-top:13px;display:flex;justify-content:space-between;max-width:65%}
.art-c-bottom b{font-size:17px}
.project-c .project-caption{margin-top:16px}
@media(max-width:900px){
 .project-c .project-visual{height:380px}
 .project-c .project-art-c{width:90%;height:82%}
 .art-c-head{font-size:clamp(52px,7.3vw,80px)}
 .art-c-bolt{width:132px;height:148px;font-size:105px}
}
@media(max-width:700px){
 .project-c{grid-column:auto}
 .project-c .project-visual{height:330px}
 .project-c .project-art-c{height:83%;width:86%;padding:19px 22px}
 .art-c-top{font-size:20px}
 .art-c-top small{font-size:8px}
 .art-c-head{font-size:clamp(40px,9vw,64px);max-width:91%}
 .art-c-bolt{height:105px;width:88px;font-size:75px;right:-2%;top:26%;opacity:.92;border-radius:17px;box-shadow:7px 7px 0 rgba(15,39,115,.7)}
 .art-c-bottom{max-width:95%;font-size:8px;letter-spacing:.7px}
}
@media(max-width:390px){
 .project-c .project-visual{height:285px}
 .art-c-head{font-size:38px}
 .art-c-bolt{width:65px;height:80px;font-size:55px}
}


/* Real project visuals: represent the current ATELIER and FORMA demo design
   instead of the retired purple concept thumbnails. */
.projects-section .project-a .visual-a{background:linear-gradient(130deg,#d9d4c9,#b8b5a9);border:1px solid #b6b3aa}
.projects-section .project-b .visual-b{background:linear-gradient(135deg,#2b3336,#111b21);border:1px solid rgba(255,255,255,.12)}
.projects-section .project-a .demo-preview-atelier,
.projects-section .project-b .demo-preview-forma{
  width:91%;
  height:81%;
  max-width:none;
  padding:0;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
  transform:none;
  border-radius:12px;
  box-shadow:0 22px 55px rgba(0,0,0,.25);
}
.projects-section .project-a .demo-preview-atelier{background:#ece9e1;color:#26342d;font-family:Georgia,serif}
.preview-at-header{
  display:flex;align-items:center;justify-content:space-between;
  flex-shrink:0;gap:10px;padding:19px 6% 15px;
  border-bottom:1px solid rgba(38,52,45,.17);
}
.preview-at-logo{font-family:Georgia,serif;font-size:clamp(16px,1.9vw,25px);letter-spacing:-.07em;white-space:nowrap}
.preview-at-logo em{font-weight:400}
.preview-at-nav{font-family:Arial,sans-serif;font-size:clamp(6px,.65vw,9px);font-weight:750;letter-spacing:.13em;color:#687166;white-space:nowrap}
.preview-at-hero{display:grid;grid-template-columns:49% 51%;flex:1;min-height:0}
.preview-at-copy{
  padding:12px 7% 15px 12%;
  display:flex;flex-direction:column;justify-content:center;
  min-width:0;
}
.preview-at-eyebrow{
  color:#6c766a;font:bold clamp(7px,.72vw,10px)/1.35 Arial,sans-serif;
  letter-spacing:.11em;white-space:normal;
}
.preview-at-copy strong{
  display:block;margin:14px 0;
  color:#26342d;font-family:Georgia,serif;font-weight:400;
  font-size:clamp(27px,3.2vw,54px);
  line-height:1.09;letter-spacing:-.055em;
}
.preview-at-copy strong em{font-style:italic;color:#64765b;font-weight:400}
.preview-at-description{font:bold clamp(7px,.77vw,10px)/1.4 Arial,sans-serif;letter-spacing:.12em;color:#686f68}
.preview-at-button{
  align-self:flex-start;white-space:nowrap;margin-top:22px;
  background:#263a2b;color:#fff;border-radius:99px;
  font:bold clamp(8px,.85vw,11px)/1.25 Arial,sans-serif;
  letter-spacing:.02em;padding:11px 13px;
}
.preview-at-photo{position:relative;min-width:0;min-height:0;overflow:hidden;background:#c5b9a7}
.preview-at-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.72)}
.preview-at-bottom{
  padding:12px 6%;flex-shrink:0;display:flex;justify-content:space-between;gap:10px;
  color:#6b7165;font:bold clamp(7px,.72vw,9px)/1.2 Arial,sans-serif;letter-spacing:.13em;
}

.projects-section .project-b .demo-preview-forma{
  background:#141b1e;
  color:#edeae1;
  font-family:Impact,'Arial Narrow',sans-serif;
  isolation:isolate;
}
.preview-fm-photo{position:absolute;inset:0;z-index:-2;background:#28323a}
.preview-fm-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:65% center;filter:saturate(.65) contrast(1.1) brightness(.52)}
.preview-fm-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,21,24,.96),rgba(16,21,24,.78) 54%,rgba(16,21,24,.1))}
.preview-fm-grid{
  position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.22;
  background-image:linear-gradient(90deg,rgba(255,255,255,.13) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.13) 1px,transparent 1px);
  background-size:58px 58px;
}
.preview-fm-header{padding:18px 6% 0;display:flex;justify-content:space-between;gap:8px;align-items:center;flex-shrink:0}
.preview-fm-header>span{font:bold clamp(17px,2vw,29px)/1 Impact,Arial,sans-serif;letter-spacing:-.035em;white-space:nowrap}
.preview-fm-dot{color:#ff673f}
.preview-fm-header small{color:#b8c0c0;font:700 clamp(7px,.72vw,10px)/1 Arial,sans-serif;letter-spacing:.08em}
.preview-fm-header>b{font:800 clamp(7px,.76vw,10px)/1 Arial,sans-serif;letter-spacing:.11em;white-space:nowrap}
.preview-fm-body{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1;padding:12px 6% 7px}
.preview-fm-kicker{color:#ff936d;font:bold clamp(7px,.8vw,10px)/1.3 Arial,sans-serif;letter-spacing:.16em}
.preview-fm-body strong{font:900 clamp(57px,6.7vw,102px)/.84 Impact,'Arial Narrow',sans-serif;letter-spacing:-.027em;margin:15px 0 20px;color:#f0eee8}
.preview-fm-body strong span{color:#ff673f}
.preview-fm-button{background:#ff673f;color:#16191b;font:bold clamp(8px,.88vw,12px)/1 Arial,sans-serif;letter-spacing:.07em;padding:11px 15px;white-space:nowrap}
.preview-fm-footer{padding:10px 6%;display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(255,255,255,.22);font:800 9px Arial,sans-serif;letter-spacing:.15em;flex-shrink:0}
.preview-fm-footer span:last-child{color:#ff673f;font-size:16px}

/* Avoid sticky touch-hover after returning from a demo using browser Back.
   Keep expressive hover transitions only for devices with precise pointers. */
@media (hover:none), (pointer:coarse){
  .projects-section .project-card:hover .project-icon{
    transform:none!important;
    background:transparent!important;
  }
  .projects-section .project-card:hover .project-art-a,
  .projects-section .project-card:hover .project-art-b{
    transform:none!important;
  }
}
@media(max-width:1050px){
 .preview-at-copy strong{font-size:clamp(26px,3.9vw,43px)}
 .preview-fm-body strong{font-size:clamp(54px,7vw,82px)}
}
@media(max-width:700px){
 .projects-section .project-a .demo-preview-atelier,
 .projects-section .project-b .demo-preview-forma{width:88%;height:83%;border-radius:10px}
 .preview-at-header{padding:11px 5% 9px}
 .preview-at-logo{font-size:15px}
 .preview-at-nav{font-size:6px}
 .preview-at-copy{padding:8px 4% 8px 8%}
 .preview-at-eyebrow{font-size:6px}
 .preview-at-copy strong{font-size:clamp(22px,5.9vw,29px);margin:8px 0;line-height:1.08}
 .preview-at-description{font-size:6px}
 .preview-at-button{margin-top:10px;padding:8px 9px;font-size:7px}
 .preview-at-bottom{padding:8px 5%;font-size:6px}
 .preview-fm-header{padding:12px 5% 0}
 .preview-fm-header>span{font-size:17px}
 .preview-fm-header small,.preview-fm-header>b{font-size:7px}
 .preview-fm-body{padding:10px 5% 4px}
 .preview-fm-kicker{font-size:7px}
 .preview-fm-body strong{font-size:clamp(49px,13.8vw,66px);margin:10px 0 12px}
 .preview-fm-button{font-size:7px;padding:9px 11px}
 .preview-fm-footer{font-size:7px;padding:7px 5%}
}
@media(max-width:390px){
 .preview-at-copy strong{font-size:21px}
 .preview-at-description{font-size:5px}
 .preview-at-button{font-size:6px;padding:7px 7px}
 .preview-at-nav{font-size:5px}
 .preview-fm-body strong{font-size:43px}
 .preview-fm-body{padding-top:6px}
}


/* Desktop portfolio layout: three equal demo cards */
@media (min-width:1100px){
  /* The first two tiles previously inherited a two-column layout, while
     ISKRA spanned the entire row. Keep all three designs symmetrical. */
  .projects-section .project-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    align-items:stretch;
  }
  .projects-section .project-grid > .project-c{grid-column:auto}
  .projects-section .project-grid .project-card{
    display:flex;
    flex-direction:column;
    min-width:0;
  }
  .projects-section .project-grid .project-visual{
    width:100%;
    height:340px;
    flex:0 0 340px;
  }
  .projects-section .project-grid .project-caption{
    flex:1;
    min-height:126px;
    padding:21px 20px 23px;
    margin-top:14px;
  }
  .projects-section .project-grid .project-caption h3{
    font-size:clamp(18px,1.55vw,23px);
    overflow-wrap:break-word;
  }
  .projects-section .project-grid .project-icon{
    width:42px;
    height:42px;
    font-size:22px;
  }
  /* Each miniature site uses its own typography scale inside the
     narrower, equal-width cards. */
  .preview-at-header{padding:13px 5% 10px}
  .preview-at-logo{font-size:clamp(16px,1.4vw,20px)}
  .preview-at-nav{font-size:7px}
  .preview-at-copy{padding:8px 4% 10px 8%}
  .preview-at-copy strong{font-size:clamp(26px,2.05vw,35px);margin:9px 0}
  .preview-at-eyebrow,.preview-at-description{font-size:7px}
  .preview-at-button{font-size:8px;padding:9px 11px;margin-top:12px}
  .preview-at-bottom{padding:9px 5%;font-size:7px}
  .preview-fm-header{padding:13px 5% 0}
  .preview-fm-header>span{font-size:clamp(17px,1.55vw,23px)}
  .preview-fm-header small,.preview-fm-header>b{font-size:7px}
  .preview-fm-body{padding:10px 5% 7px}
  .preview-fm-kicker{font-size:8px}
  .preview-fm-body strong{font-size:clamp(48px,4.15vw,66px);margin:10px 0 13px}
  .preview-fm-button{font-size:8px;padding:10px 12px}
  .preview-fm-footer{font-size:7px;padding:8px 5%}
  .project-c .project-visual{height:340px}
  .project-c .project-art-c{
    width:91%;
    height:81%;
    padding:20px 20px;
    border-radius:13px;
  }
  .art-c-top{font-size:20px;letter-spacing:-1px}
  .art-c-top small{font-size:7px;letter-spacing:.5px}
  .art-c-head{
    font-size:clamp(30px,2.55vw,39px);
    line-height:1.04;
    max-width:100%;
  }
  .art-c-bottom{max-width:100%;font-size:7px;letter-spacing:.6px}
  .art-c-bolt{
    width:72px;
    height:88px;
    top:26%;
    right:2%;
    border-radius:14px;
    font-size:61px;
    box-shadow:7px 7px 0 rgba(15,39,115,.7);
    opacity:.94;
  }
  .project-c .project-caption{margin-top:14px}
}
/* Preserve a balanced tablet layout, without forcing miniature 3-up tiles. */
@media (min-width:701px) and (max-width:1099px){
  .projects-section .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .projects-section .project-grid > .project-c{grid-column:1 / -1}
}
@media (max-width:700px){
  .projects-section .project-grid{grid-template-columns:minmax(0,1fr)}
  .projects-section .project-grid > .project-c{grid-column:auto}
}


/* Shared footer v3 — consistent placement and safe hover across all PL/EN pages */
.hub-footer.studio-footer{
  display:grid;
  grid-template-columns:minmax(120px,1fr) auto minmax(120px,1fr);
  align-items:center;
  column-gap:20px;
  row-gap:18px;
  margin-top:76px;
  padding-top:32px;
  padding-bottom:26px;
  border-top:1px solid rgba(211,190,255,.17);
  color:#c7badd;
  font-size:12px;
  line-height:1.5;
}
.studio-footer .footer-brand{
  display:inline-flex;
  align-items:baseline;
  justify-self:start;
  color:#f8f5ff;
  font-size:30px;
  font-weight:850;
  letter-spacing:-1.8px;
  white-space:nowrap;
  text-decoration:none;
}
.studio-footer .footer-brand > span{color:#caa5ff}
.studio-footer .footer-brand sup{
  font-size:9px;
  letter-spacing:1px;
  font-weight:750;
  color:#bbaed3;
}
.hub-footer.studio-footer .studio-footer-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  justify-self:center;
  flex-wrap:wrap;
  gap:10px 22px;
  min-width:0;
}
.studio-footer .studio-footer-nav a{
  background:transparent!important;
  color:#c9bedc;
  border:0!important;
  border-bottom:1px solid transparent!important;
  border-radius:0!important;
  padding:6px 0;
  text-decoration:none;
  text-align:center;
  white-space:nowrap;
  font-size:12px;
  font-weight:550;
  box-shadow:none!important;
  transform:none!important;
  transition:color .2s ease,border-color .2s ease;
}
.studio-footer .studio-footer-nav a:hover,
.studio-footer .studio-footer-nav a:focus-visible{
  background:transparent!important;
  color:#fff!important;
  border-bottom-color:#b798f5!important;
}
.studio-footer .studio-footer-nav a[aria-current="page"]{color:#f6eeff}
.studio-footer .studio-footer-copy{
  justify-self:end;
  white-space:nowrap;
  color:#afa3c9;
  font-size:11px;
  letter-spacing:.015em;
}
.studio-footer .footer-brand:focus-visible,
.studio-footer .studio-footer-nav a:focus-visible{
  outline:2px solid #d4acff;
  outline-offset:4px;
}
@media(max-width:1080px){
  .hub-footer.studio-footer{
    grid-template-columns:minmax(0,1fr) auto;
    row-gap:19px;
  }
  .hub-footer.studio-footer .studio-footer-nav{
    grid-column:1 / -1;
    grid-row:2;
    justify-self:center;
  }
  .studio-footer .studio-footer-copy{
    grid-column:2;
    grid-row:1;
  }
}
@media(max-width:700px){
  .hub-footer.studio-footer{
    margin-top:55px;
    padding-top:29px;
    column-gap:13px;
    row-gap:20px;
  }
  .studio-footer .footer-brand{font-size:27px}
  .studio-footer .studio-footer-copy{font-size:10px;letter-spacing:0}
  .hub-footer.studio-footer .studio-footer-nav{
    gap:7px 16px;
    width:100%;
  }
  .studio-footer .studio-footer-nav a{
    font-size:11px;
    padding:8px 0;
    white-space:normal;
  }
}
@media(max-width:360px){
  .hub-footer.studio-footer{grid-template-columns:1fr;justify-items:center}
  .studio-footer .footer-brand,
  .studio-footer .studio-footer-copy{
    grid-column:1;
    grid-row:auto;
    justify-self:center;
  }
  .hub-footer.studio-footer .studio-footer-nav{grid-column:1;grid-row:auto}
}


/* Hero composition v4: orbit legend beneath planet & floating analytics panel */
/* Treat the planet and its 3 discipline labels as a single right-side unit. */
.hub-page .orb-column{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
}
.hub-page .orb-column .orb-stage{
  width:100%;
  flex:0 0 auto;
}
.hub-page .orb-column .overline-stats{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  width:100%;
  gap:9px clamp(9px,1.3vw,23px);
  margin:4px 0 0;
  padding:0 4px;
  font-size:clamp(9px,.74vw,11px);
  line-height:1.5;
  font-weight:600;
  letter-spacing:.035em;
  color:#bcb1d6;
  text-align:center;
}
.hub-page .orb-column .overline-stats span{white-space:nowrap}
.hub-page .orb-column .overline-stats strong{
  color:#f9f4ff;
  font-weight:800;
}

/* The analytics illustration receives the same slightly tilted,
   hovering card language as the before/after browser mockup on Web.
   Its rings are outside the panel, so they stay behind it on hover. */
.service-detail .data-visual-stage{
  width:100%;
  min-width:0;
  max-width:750px;
  min-height:550px;
  display:grid;
  place-items:center;
  position:relative;
  isolation:isolate;
  overflow:visible;
  margin-inline:auto;
}
.service-detail .data-visual-stage::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:95%;
  aspect-ratio:1;
  max-width:590px;
  background:radial-gradient(circle at 45% 48%,rgba(162,86,255,.23),rgba(99,76,245,.13) 38%,transparent 72%);
  filter:blur(30px);
  pointer-events:none;
}
.service-detail .data-orbit{
  display:block;
  position:absolute;
  top:50%;left:50%;
  border-radius:50%;
  border:1px solid rgba(196,160,255,.25);
  aspect-ratio:1;
  transform:translate(-50%,-50%) rotate(-17deg) scaleY(.83);
  z-index:0;
  pointer-events:none;
}
.service-detail .data-orbit-outer{
  width:110%;
  max-width:620px;
}
.service-detail .data-orbit-inner{
  width:87%;
  max-width:470px;
  border-color:rgba(196,160,255,.17);
  border-style:dashed;
  transform:translate(-50%,-50%) rotate(25deg) scaleY(.87);
}
.service-detail .data-visual-stage .data-tilt-panel{
  width:calc(100% - 36px);
  min-width:0;
  max-width:590px;
  position:relative;
  z-index:1;
  transform:rotate(-4deg);
  transform-origin:center center;
  transition:transform .55s cubic-bezier(.22,1,.36,1),box-shadow .55s ease;
  will-change:transform;
}
@media (hover:hover) and (pointer:fine){
  .service-detail .data-visual-stage:hover .data-tilt-panel{
    transform:rotate(-1.5deg) translateY(-10px);
    box-shadow:0 42px 100px rgba(0,0,0,.38),0 0 45px rgba(133,78,242,.08);
  }
}
@media(max-width:960px){
  .hub-page .orb-column .orb-stage{max-width:650px}
  .hub-page .orb-column .overline-stats{margin-top:0}
  .service-detail .data-visual-stage{min-height:515px}
  .service-detail .data-orbit-outer{width:96%}
}
@media(max-width:700px){
  .hub-page .orb-column .overline-stats{
    gap:8px 13px;
    margin-top:5px;
    font-size:10px;
    padding:0 2px;
  }
  .service-detail .data-visual-stage{
    min-height:420px;
    max-width:100%;
  }
  .service-detail .data-visual-stage .data-tilt-panel{
    width:calc(100% - 18px);
    min-height:370px;
    transform:rotate(-2deg);
    will-change:auto;
  }
  .service-detail .data-orbit-outer{width:99%}
  .service-detail .data-orbit-inner{width:76%}
}
@media(max-width:380px){
  .hub-page .orb-column .overline-stats{
    font-size:9px;
    gap:8px 10px;
  }
  .service-detail .data-visual-stage{min-height:410px}
}
@media(prefers-reduced-motion:reduce){
  .service-detail .data-visual-stage .data-tilt-panel{
    transition:none;
    will-change:auto;
  }
  .service-detail .data-visual-stage:hover .data-tilt-panel{
    transform:rotate(-4deg);
  }
}

/* IMPULS. Digital Studio — polished horizontal descriptor beside the wordmark.
   The existing violet premium visual language remains unchanged. */
.header .brand sup,
.studio-footer .footer-brand sup{
  display:inline-block;
  transform:none;
  transform-origin:initial;
  white-space:nowrap;
  margin-left:11px;
  font-size:9px;
  font-weight:750;
  line-height:1.15;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#bdb0d6;
}
.header .brand{align-items:center}
.studio-footer .footer-brand{align-items:center}
@media(max-width:700px){
  /* Keep the PL/EN switch and hamburger accessible on small screens. */
  .header .brand sup{display:none}
  .header .brand{min-width:0}
  .studio-footer .footer-brand sup{font-size:8px;letter-spacing:.7px;margin-left:8px}
}

/* IMPULS legal footer and unified phone panels — PL/EN service pages. */
.hub-footer.studio-footer .studio-legal-links{
  grid-column:1 / -1;
  grid-row:auto;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px 25px;
  flex-wrap:wrap;
  width:100%;
  padding-top:13px;
  border-top:1px solid rgba(211,190,255,.12);
}
.hub-footer.studio-footer .studio-legal-links a{
  color:#cbbce0;
  font-size:12px;
  font-weight:500;
  text-decoration:none;
  background:transparent!important;
  border-bottom:1px solid transparent;
  padding:5px 0;
}
.hub-footer.studio-footer .studio-legal-links a:hover,
.hub-footer.studio-footer .studio-legal-links a:focus-visible{
  color:#fff;
  border-bottom-color:#c4a6f3;
}
.contact-well .contact-phone-card{
  width:min(100%,390px);
  max-width:100%;
  min-width:0;
  padding:23px 24px 21px;
  margin-top:25px;
  border:1px solid rgba(206,170,255,.36);
  border-radius:18px;
  background:radial-gradient(circle at 100% 0%,rgba(151,105,248,.22),transparent 63%),linear-gradient(145deg,rgba(42,25,77,.92),rgba(20,12,45,.93));
  box-shadow:0 20px 46px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.07);
}
.contact-well .contact-phone-card p{
  margin:0;
  max-width:310px;
  font-size:12px;
  line-height:1.7;
  color:#c7b9dc;
}
.contact-well .contact-phone-card h3{font-size:clamp(19px,2.1vw,24px)}
.contact-well .contact-phone-link{
  font-size:clamp(19px,2.1vw,25px);
  text-decoration:none;
}
@media(max-width:700px){
  .hub-footer.studio-footer .studio-legal-links{gap:6px 19px}
  .hub-footer.studio-footer .studio-legal-links a{font-size:11px}
  .contact-well .contact-phone-card{padding:21px 19px 19px;margin-top:25px;width:min(100%,420px)}
  .contact-well .contact-phone-link{font-size:clamp(18px,5.1vw,25px)}
}

/* Transparent GDPR notice next to every email CTA. */
.contact-well .contact-data-note,
.contact-bottom .contact-actions .contact-data-note{
  margin:11px 0 0;
  padding:0;
  max-width:390px;
  font-size:11px;
  line-height:1.65;
  color:#c3b4d8;
  opacity:1;
}
.contact-data-note a{
  color:#ead7ff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.contact-data-note a:hover{color:#fff}


/* Contact sections v2: top-aligned copy and quiet privacy note under the phone card */
.contact-well .contact-layout{
  align-items:start;
}
.contact-well .contact-layout > .reveal{
  align-self:start;
  min-width:0;
}
.contact-bottom{
  align-items:flex-start;
}
/* The phone card is the secondary CTA; keep the GDPR notice below both CTAs. */
.contact-well .contact-data-note,
.contact-bottom .contact-actions .contact-data-note{
  display:block;
  box-sizing:border-box;
  width:min(100%,390px);
  max-width:100%;
  margin:18px 0 0;
  padding:0 1px;
  background:transparent;
  border:0;
  text-align:left;
  color:#b9accf;
  font-size:12px;
  font-weight:400;
  line-height:1.7;
  opacity:1;
}
.contact-well .contact-data-note a,
.contact-bottom .contact-actions .contact-data-note a{
  color:#e3ccff;
  background:transparent;
  font:inherit;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
}
.contact-well .contact-data-note a:hover,
.contact-bottom .contact-actions .contact-data-note a:hover{
  color:#fff;
  background:transparent;
}
.contact-bottom .contact-actions .contact-data-note{
  align-self:flex-end;
}
@media(max-width:700px){
  .contact-well .contact-layout{align-items:start}
  .contact-bottom{align-items:flex-start}
  .contact-bottom .contact-actions .contact-data-note{
    align-self:flex-start;
    font-size:11px;
    margin-top:17px;
  }
  .contact-well .contact-data-note{font-size:11px;margin-top:17px}
}

/* IMPULS home hero — three miniature moons on the planet's two existing ellipses.
   The transparent tracks follow the same rotate/scaleY geometry as .orb-ring.
   All decoration stays CSS-only and does not intercept pointer events. */
.hub-page .orb-stage .orb-track{
  position:absolute;
  width:89%;
  max-width:495px;
  aspect-ratio:1;
  transform:rotate(-20deg) scaleY(.8);
  pointer-events:none;
  z-index:2;
}
.hub-page .orb-stage .orb-track-inner{
  width:72%;
  transform:rotate(32deg) scaleY(.87);
  --moon-stretch:1.1494;
}
.hub-page .orb-stage .orb-core{z-index:0}
.hub-page .orb-stage .orb-label{z-index:3}
.orb-traveler{
  position:absolute;
  inset:0;
  transform-origin:center;
  animation:orb-revolve var(--orbit-duration) linear infinite;
  animation-delay:var(--orbit-delay);
}
.orb-traveler-primary{--orbit-duration:30s;--orbit-delay:-6s}
.orb-traveler-distant{--orbit-duration:43s;--orbit-delay:-23s;animation-direction:reverse}
.orb-traveler-inner{--orbit-duration:24s;--orbit-delay:-11s;animation-direction:reverse}
.orb-moon{
  position:absolute;
  top:0;
  left:50%;
  display:block;
  width:15px;
  aspect-ratio:1;
  border-radius:50%;
  transform:translate(-50%,-50%) scaleY(var(--moon-stretch,1.25));
  background:radial-gradient(circle at 26% 23%,#fff 0%,#d5cdff 27%,#8f89ee 57%,#38308e 100%);
  box-shadow:inset -3px -4px 7px #1a164d88,0 0 13px #9e9aff88,0 0 26px #9686ff45;
}
.orb-moon::before{
  content:"";
  position:absolute;
  inset:-65%;
  border-radius:50%;
  background:radial-gradient(circle,#c2a5ff75 5%,#b285ff24 45%,transparent 72%);
  z-index:-1;
  animation:orb-moon-glimmer 5s ease-in-out infinite;
}
.orb-moon::after{
  content:"";
  position:absolute;
  top:15%;
  left:19%;
  width:32%;
  aspect-ratio:1;
  border-radius:50%;
  background:#fff9;
  filter:blur(1px);
}
.orb-moon-primary{
  width:25px;
  background:radial-gradient(circle at 29% 24%,#fff 0%,#ffe6ff 18%,#ec9dff 42%,#a257e9 68%,#492279 100%);
  box-shadow:inset -5px -6px 9px #32115e9e,0 0 16px #d785ffba,0 0 42px #b45cff69;
}
.orb-moon-primary::before{
  inset:-95%;
  background:radial-gradient(circle,#f0b1ff80 7%,#c96bff27 39%,transparent 69%);
}
.orb-moon-distant{
  width:10px;
  background:radial-gradient(circle at 27% 24%,#fff 0%,#ead1ff 30%,#aa76ea 61%,#58329b 100%);
  box-shadow:inset -2px -2px 5px #31105f88,0 0 10px #b892ff9c,0 0 23px #a466ff45;
}
.orb-moon-inner{
  width:16px;
  background:radial-gradient(circle at 25% 24%,#fff 0%,#bceaff 26%,#73b4fa 56%,#3553c0 83%,#272765 100%);
  box-shadow:inset -3px -4px 7px #19276b9c,0 0 14px #7dbbff9c,0 0 26px #6e8fff52;
}
.orb-moon-inner::before{
  background:radial-gradient(circle,#8bd5ff6d 6%,#7e9bff24 47%,transparent 71%);
  animation-delay:-2s;
}
@keyframes orb-revolve{to{transform:rotate(360deg)}}
@keyframes orb-moon-glimmer{50%{opacity:.65;transform:scale(1.13)}}
@media(max-width:700px){
  .orb-moon-primary{width:20px}
  .orb-moon-distant{width:9px}
  .orb-moon-inner{width:13px}
  .orb-traveler-primary{--orbit-duration:48s}
  .orb-traveler-distant{--orbit-duration:65s}
  .orb-traveler-inner{--orbit-duration:40s}
}
@media(prefers-reduced-motion:reduce){
  .hub-page .orb-stage .orb-traveler,
  .hub-page .orb-stage .orb-moon::before{animation:none}
  .hub-page .orb-stage .orb-traveler-primary{transform:rotate(70deg)}
  .hub-page .orb-stage .orb-traveler-distant{transform:rotate(235deg)}
  .hub-page .orb-stage .orb-traveler-inner{transform:rotate(155deg)}
}

/* One-shot SVG chart drawing on the analytics hero (PL and EN).
   Unenhanced and reduced-motion views keep the original, complete chart. */
@media (prefers-reduced-motion:no-preference){
  .service-detail .data-visual-stage.chart-draw-ready .dashboard-chart-line{
    stroke-dasharray:var(--chart-path-length);
    stroke-dashoffset:var(--chart-path-length);
  }
  .service-detail .data-visual-stage.chart-draw-ready .dashboard-chart-area{
    opacity:0;
  }
  .service-detail .data-visual-stage.chart-draw-play .dashboard-chart-line{
    animation:dashboard-chart-sketch 2.3s cubic-bezier(.42,0,.58,1) .12s 1 forwards;
  }
  .service-detail .data-visual-stage.chart-draw-play .dashboard-chart-area{
    animation:dashboard-chart-shade .95s ease-out 1.25s 1 forwards;
  }
}
@keyframes dashboard-chart-sketch{to{stroke-dashoffset:0}}
@keyframes dashboard-chart-shade{to{opacity:1}}

/* One-shot sequential workflow reveal for the Automation hero.
   Each complete bar briefly lights up, then remains in its original style. */
@media (prefers-reduced-motion:no-preference) {
  .automation-visual-stage.flow-reveal-ready .automation-flow > .automation-step {
    clip-path:inset(0 100% 0 0 round 14px);
  }
  .automation-visual-stage .automation-flow > .automation-step:nth-child(1),
  .automation-visual-stage .automation-flow > .automation-link:nth-child(2) {
    --flow-delay:0s;
  }
  .automation-visual-stage .automation-flow > .automation-step:nth-child(3),
  .automation-visual-stage .automation-flow > .automation-link:nth-child(4) {
    --flow-delay:1.05s;
  }
  .automation-visual-stage .automation-flow > .automation-step:nth-child(5) {
    --flow-delay:2.10s;
  }
  .automation-visual-stage.flow-reveal-play .automation-flow > .automation-step {
    animation:automation-bar-wipe 1.05s cubic-bezier(.33,.02,.24,1) calc(.10s + var(--flow-delay)) both;
  }
  .automation-visual-stage.flow-reveal-ready .automation-flow > .automation-link {
    opacity:0;
  }
  .automation-visual-stage.flow-reveal-play .automation-flow > .automation-link {
    animation:automation-link-appear .22s ease-out calc(1.15s + var(--flow-delay)) both;
  }
  .automation-visual-stage .automation-flow > .automation-step {
    position:relative;
  }
  .automation-visual-stage .automation-flow > .automation-step::after {
    content:"";
    pointer-events:none;
    position:absolute;
    top:50%;
    right:13%;
    width:64px;
    height:36px;
    border-radius:50%;
    background:radial-gradient(ellipse,rgba(239,215,255,.28) 0%,rgba(210,176,255,.12) 35%,transparent 75%);
    box-shadow:0 0 16px rgba(202,164,255,.12);
    opacity:0;
    transform:translateY(-50%) scale(.7);
  }
  .automation-visual-stage.flow-reveal-play .automation-flow > .automation-step::after {
    animation:automation-bar-glimmer .64s ease-out calc(1.15s + var(--flow-delay)) both;
  }
  /* Restore the panel's original shadows when each wipe finishes. */
  .automation-visual-stage.flow-reveal-play .automation-flow > .automation-step.flow-step-complete {
    animation:none;
    clip-path:none;
  }
}
@keyframes automation-bar-wipe {
  from { clip-path:inset(0 100% 0 0 round 14px) }
  to { clip-path:inset(0 0 0 0 round 14px) }
}
@keyframes automation-link-appear {
  from { opacity:0 }
  to { opacity:1 }
}
@keyframes automation-bar-glimmer {
  0%,100% {opacity:0;transform:translateY(-50%) scale(.7)}
  36% {opacity:.68;transform:translateY(-50%) scale(1)}
  70% {opacity:.22;transform:translateY(-50%) scale(1.04)}
}

/* Data analytics / section 03: four concept illustrations, responsive cards.
   Scoped to the analytics process only; other service processes stay unchanged. */
.service-detail .detail-process:has(.data-process-illustration){
  align-items:stretch;
  gap:clamp(13px,1.35vw,20px);
}
.service-detail .detail-process > .reveal:has(.data-process-illustration){
  min-width:0;
  padding-top:18px;
  display:flex;
  flex-direction:column;
}
.service-detail .detail-process .data-process-illustration{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:10 / 7;
  margin:18px 0 1px;
  border:1px solid rgba(200,166,255,.2);
  border-radius:13px;
  object-fit:cover;
  background:#0d081c;
  box-shadow:0 14px 30px rgba(0,0,0,.17);
}
.service-detail .detail-process .data-process-illustration + h3{
  margin-top:18px;
}
@media (max-width:1100px){
  .service-detail .detail-process .data-process-illustration{max-height:255px}
}
@media (max-width:700px){
  .service-detail .detail-process:has(.data-process-illustration){gap:25px}
  .service-detail .detail-process .data-process-illustration{
    max-height:265px;
    object-fit:contain;
    margin:17px 0 0;
  }
}

/* Automation / section 03: use the original square SVG illustrations in full.
   Inherit the established four-step layout from the Data Analytics section. */
.service-detail .detail-process .data-process-illustration.automation-process-illustration{
  aspect-ratio:1 / 1;
  object-fit:contain;
  max-height:none;
}

/* Analytics + Automations FAQs — match the refined Web Design FAQ typography.
   Questions stay aligned to the divider; answers have a subtle inner inset
   and use a wider, calmer text column. */
.service-detail .question-stack details{
  padding:0 3px;
}
.service-detail .question-stack summary{
  padding:28px 4px;
  align-items:center;
}
.service-detail .question-stack summary::-webkit-details-marker{display:none}
.service-detail .question-stack summary::after{
  flex:0 0 auto;
  line-height:1;
}
.service-detail .question-stack details > p{
  box-sizing:border-box;
  width:calc(100% - 24px);
  max-width:720px;
  margin:0 0 0 24px;
  padding:0 18px 30px 0;
  font-size:15px;
  line-height:1.78;
}
@media (max-width:700px){
  .service-detail .question-stack summary{
    padding:24px 4px;
    font-size:15px;
  }
  .service-detail .question-stack details > p{
    width:calc(100% - 14px);
    margin-left:14px;
    padding-right:8px;
    padding-bottom:24px;
    font-size:14px;
    line-height:1.75;
  }
}
