/* Pajic Studios — standard Pajic glass shell, Studio-specific content/behavior */
body[data-route="/studio/"] #topbar,
body[data-route="/studio/"] #mobileDock{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

.sx-studio-header{
  position:fixed;
  top:18px;
  left:50%;
  z-index:10030;
  width:min(1180px,calc(100% - 32px));
  min-height:76px;
  transform:translateX(-50%);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:10px 12px 10px 16px;
  border-radius:38px;
  --glass-edge:.62;
  overflow:visible;
  color:var(--chrome-text-strong,#fff);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 18px 42px rgba(7,25,48,.14);
  transition:
    box-shadow .48s cubic-bezier(.18,.86,.22,1),
    color .32s ease,
    background .32s ease,
    border-color .32s ease;
}

body.logo-on-light .sx-studio-header{
  color:#071426;
  background:
    linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.028)),
    rgba(240,250,255,.07);
  border-color:rgba(5,18,38,.12);
}
body.logo-on-dark .sx-studio-header{color:#fff}

.sx-studio-brand{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:max-content;
  color:inherit!important;
}
.sx-studio-logo{width:150px;height:32px}
.sx-studio-brand__division{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding-left:13px;
  border-left:1px solid currentColor;
  color:inherit;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
  line-height:1;
  opacity:.58;
}

.sx-studio-primary{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:2px;
}
.sx-studio-primary a{
  position:relative;
  padding:12px 13px;
  color:inherit!important;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  opacity:.62;
  transition:opacity .2s ease,transform .2s ease;
}
.sx-studio-primary a::after{
  content:"";
  position:absolute;
  left:13px;
  right:13px;
  bottom:7px;
  height:2px;
  border-radius:2px;
  background:var(--acid);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .22s cubic-bezier(.22,1,.36,1);
}
.sx-studio-primary a:hover,
.sx-studio-primary a.is-active{opacity:1;transform:translateY(-1px)}
.sx-studio-primary a:hover::after,
.sx-studio-primary a.is-active::after{transform:scaleX(1)}

.sx-studio-actions{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:6px;
}
.sx-studio-search,
.sx-studio-parent,
.sx-studio-cta,
.sx-studio-menu-toggle{
  font:inherit;
  text-decoration:none!important;
}
.sx-studio-search,
.sx-studio-parent{
  border:0;
  background:transparent;
  color:inherit!important;
  padding:10px 9px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
  opacity:.58;
  cursor:pointer;
  transition:opacity .2s ease;
}
.sx-studio-search:hover,.sx-studio-parent:hover{opacity:1}
.sx-studio-cta{
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 18px;
  border:0;
  border-radius:999px;
  background:var(--acid);
  color:var(--ink)!important;
  font-size:10px;
  font-weight:900;
  letter-spacing:.07em;
  white-space:nowrap;
  transition:transform .2s ease,filter .2s ease;
}
.sx-studio-cta:hover{transform:translateY(-2px);filter:brightness(1.05)}

.sx-studio-menu-toggle,
.sx-studio-mobile-panel{display:none}

body[data-route="/studio/"] .sx-intro{padding-top:146px}

@media(max-width:980px){
  .sx-studio-header{
    top:max(12px,env(safe-area-inset-top));
    width:calc(100% - 24px);
    min-height:68px;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    padding:8px 9px 8px 14px;
    border-radius:34px;
  }
  .sx-studio-logo{width:118px;height:26px}
  .sx-studio-brand{gap:9px}
  .sx-studio-brand__division{
    min-height:22px;
    padding-left:9px;
    font-size:8px;
    letter-spacing:.13em;
  }
  .sx-studio-primary,
  .sx-studio-actions>.sx-studio-search,
  .sx-studio-actions>.sx-studio-parent,
  .sx-studio-actions>.sx-studio-cta{display:none}
  .sx-studio-actions{display:block}
  .sx-studio-menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:50px;
    height:50px;
    padding:0;
    border:0;
    border-radius:50%;
    background:var(--acid);
    color:var(--ink)!important;
    cursor:pointer;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 7px 18px rgba(0,0,0,.12);
    transition:transform .22s cubic-bezier(.22,1,.36,1),filter .2s ease;
  }
  .sx-studio-menu-toggle:active{transform:scale(.94)}
  .sx-studio-menu-toggle:hover{filter:brightness(1.04)}
  .sx-studio-menu-icon{
    position:relative;
    display:block;
    width:20px;
    height:15px;
  }
  .sx-studio-menu-icon i{
    position:absolute;
    left:0;
    width:20px;
    height:2px;
    border-radius:3px;
    background:currentColor;
    transform-origin:center;
    transition:top .25s cubic-bezier(.22,1,.36,1),transform .25s cubic-bezier(.22,1,.36,1),width .25s cubic-bezier(.22,1,.36,1);
  }
  .sx-studio-menu-icon i:first-child{top:3px;width:20px}
  .sx-studio-menu-icon i:last-child{top:10px;width:14px;left:6px}
  .sx-studio-header.is-menu-open .sx-studio-menu-icon i:first-child{top:6px;transform:rotate(45deg);width:20px}
  .sx-studio-header.is-menu-open .sx-studio-menu-icon i:last-child{top:6px;left:0;transform:rotate(-45deg);width:20px}

  .sx-studio-mobile-panel{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    padding:12px;
    border-radius:30px;
    --glass-edge:.62;
    color:#fff;
    box-shadow:0 20px 54px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.18);
    overflow:hidden;
  }
  .sx-studio-header.is-menu-open .sx-studio-mobile-panel{display:block}
  .sx-studio-mobile-panel nav{display:grid;gap:2px}
  .sx-studio-mobile-panel a,
  .sx-studio-mobile-panel button{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-height:52px;
    padding:0 15px;
    border:0;
    border-radius:18px;
    background:transparent;
    color:#fff!important;
    font:inherit;
    font-size:16px;
    font-weight:760;
    letter-spacing:-.015em;
    text-align:left;
    text-decoration:none;
    transition:background .18s ease,color .18s ease,transform .18s ease;
  }
  .sx-studio-mobile-panel a:hover,
  .sx-studio-mobile-panel button:hover{background:rgba(255,255,255,.08)}
  .sx-studio-mobile-panel a:active,
  .sx-studio-mobile-panel button:active{transform:scale(.985)}
  .sx-studio-mobile-panel a.is-active{color:var(--acid)!important}
  .sx-studio-mobile-panel b{
    font-size:16px;
    font-weight:800;
    color:var(--acid);
  }
  .sx-studio-mobile-panel .sx-studio-mobile-cta{
    min-height:54px;
    margin-top:7px;
    padding-inline:17px;
    border:0;
    border-radius:999px;
    background:var(--acid);
    color:var(--ink)!important;
    font-weight:850;
  }
  .sx-studio-mobile-panel .sx-studio-mobile-cta b{color:var(--ink)}
  .sx-studio-mobile-meta{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:15px 15px 5px;
    font-size:7px;
    font-weight:850;
    letter-spacing:.10em;
    opacity:.48;
  }
  body[data-route="/studio/"] .sx-intro{padding-top:126px!important}
}

@media(max-width:430px){
  .sx-studio-brand__division{display:none}
  .sx-studio-menu-toggle{width:48px;height:48px}
}

@media(prefers-reduced-motion:reduce){
  .sx-studio-header,.sx-studio-primary a,.sx-studio-cta,.sx-studio-menu-toggle,.sx-studio-menu-icon i{transition:none!important}
}

/* Legibility invariant: masks belong to media only. Text/metadata never inherits an image crop. */
body[data-route="/studio/"] .sx-intro__type,
body[data-route="/studio/"] .sx-intro__statement,
body[data-route="/studio/"] .sx-mix__copy,
body[data-route="/studio/"] .sx-chapter__copy,
body[data-route="/studio/"] .sx-index__head,
body[data-route="/studio/"] .sx-contact__copy{
  overflow:visible!important;
  clip-path:none!important;
}

body[data-route="/studio/"] .sx-splice{
  overflow:visible!important;
  clip-path:none!important;
  box-shadow:none!important;
  filter:none!important;
}
body[data-route="/studio/"] .sx-splice img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transform:scale(1.08)!important;
  filter:saturate(.9) contrast(1.12);
}
body[data-route="/studio/"] .sx-splice--one img{clip-path:polygon(3% 0,100% 14%,96% 100%,0 84%)!important}
body[data-route="/studio/"] .sx-splice--two img{clip-path:polygon(5% 15%,98% 0,100% 86%,0 100%)!important}
body[data-route="/studio/"] .sx-splice--three img{clip-path:polygon(1% 0,100% 25%,97% 100%,0 74%)!important}
body[data-route="/studio/"] .sx-splice span{
  z-index:5!important;
  top:50%!important;
  right:8px!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  padding:4px 6px!important;
  border:1px solid rgba(13,12,16,.16);
  border-radius:999px;
  background:var(--acid)!important;
  color:var(--ink)!important;
  box-shadow:0 3px 12px rgba(0,0,0,.22);
  white-space:nowrap;
}

body[data-route="/studio/"] .sx-mix__image{
  overflow:visible!important;
  clip-path:none!important;
}
body[data-route="/studio/"] .sx-mix__image img{
  clip-path:polygon(14% 0,100% 7%,86% 100%,0 86%)!important;
}
body[data-route="/studio/"] .sx-mix__image::after{
  clip-path:polygon(14% 0,100% 7%,86% 100%,0 86%)!important;
}
body[data-route="/studio/"] .sx-mix__image figcaption{
  z-index:5!important;
  left:7%!important;
  bottom:5%!important;
  border:1px solid rgba(13,12,16,.16);
  border-radius:999px;
  background:var(--acid)!important;
  color:var(--ink)!important;
  box-shadow:0 3px 12px rgba(0,0,0,.22);
  white-space:nowrap;
}

/* Copy always wins the stacking contest against sliced photography. */
body[data-route="/studio/"] .sx-intro__type,
body[data-route="/studio/"] .sx-intro__statement,
body[data-route="/studio/"] .sx-mix__copy,
body[data-route="/studio/"] .sx-chapter__copy,
body[data-route="/studio/"] .sx-index__head,
body[data-route="/studio/"] .sx-contact__copy{z-index:12!important}
body[data-route="/studio/"] .sx-chapter__media,
body[data-route="/studio/"] .sx-mix__image,
body[data-route="/studio/"] .sx-contact__image{z-index:3!important}
