/* Pozytyw final polish v4 — navigation + responsive art direction */

.sm-mobile-toggle,.sm-mobile-drawer{display:none}

@media(min-width:901px){
  .sm-sig-header__inner,.sm-sig-header__nav{overflow:visible!important}
  .sm-desktop-offer{position:relative;display:flex;align-items:center}
  .sm-desktop-offer__trigger{display:inline-flex!important;align-items:center;gap:.35rem;padding-block:.55rem}
  .sm-desktop-offer__trigger>span{font-size:.72rem;transform:translateY(-.05rem);transition:transform .22s ease}
  .sm-desktop-offer.is-open .sm-desktop-offer__trigger>span{transform:translateY(-.05rem) rotate(180deg)}
  .sm-desktop-offer__menu{position:absolute;left:50%;top:calc(100% + .85rem);width:25rem;padding:.65rem;border:1px solid rgba(21,50,56,.10);border-radius:1.25rem;background:rgba(255,255,255,.985);box-shadow:0 1.6rem 4.5rem rgba(21,50,56,.16);backdrop-filter:blur(18px);opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,-.45rem) scale(.985);transform-origin:top center;transition:opacity .2s ease,transform .24s cubic-bezier(.2,.8,.2,1),visibility .2s}
  .sm-desktop-offer.is-open .sm-desktop-offer__menu,.sm-desktop-offer:hover .sm-desktop-offer__menu,.sm-desktop-offer:focus-within .sm-desktop-offer__menu{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0) scale(1)}
  .sm-desktop-offer__menu:before{content:"";position:absolute;left:0;right:0;top:-1rem;height:1rem}
  .sm-desktop-offer__menu a{display:grid!important;grid-template-columns:2.2rem 1fr;align-items:center;gap:.3rem;min-height:3.35rem;padding:.5rem .75rem;border-radius:.8rem;color:var(--sm-ink,#153238)!important;transition:background .18s ease,transform .18s ease}
  .sm-desktop-offer__menu a:after{display:none!important}
  .sm-desktop-offer__menu a:hover,.sm-desktop-offer__menu a:focus-visible{background:#f2f5ef;transform:translateX(.12rem);outline:none}
  .sm-desktop-offer__menu small{font-size:.62rem;letter-spacing:.12em;color:#82918c;font-weight:800}
  .sm-desktop-offer__menu span{font-size:.95rem;line-height:1.2;font-weight:650;letter-spacing:-.018em}
}

/* Homepage: real portrait is part of the authority composition, not a PowerPoint insert. */
.sm-sig-authority__card{grid-template-areas:"copy photo facts";grid-template-columns:minmax(0,1fr) 20rem minmax(15rem,.72fr)!important;gap:clamp(2.5rem,4vw,4.5rem)!important;align-items:center!important}
.sm-sig-authority__copy{grid-area:copy}
.sm-sig-authority__facts{grid-area:facts}
.sm-sig-authority__card:before{content:"";grid-area:photo;display:block;width:20rem;aspect-ratio:4/5;justify-self:center;border-radius:1.7rem;background:linear-gradient(180deg,rgba(21,50,56,.02),rgba(21,50,56,.08)),url("https://pozytywedu.pl/wp-content/uploads/2026/09/pozytyw_kamila_2.webp") center 30%/cover no-repeat;box-shadow:0 1.8rem 4.5rem rgba(21,50,56,.18);outline:1px solid rgba(21,50,56,.08);outline-offset:-1px;transform:rotate(-1.2deg)}
.sm-sig-years{font-size:clamp(5.8rem,7.8vw,8.5rem)!important;margin-bottom:1.55rem!important}

@media(max-width:1100px){
  .sm-sig-authority__card{grid-template-areas:"copy" "photo" "facts";grid-template-columns:1fr!important;gap:2.4rem!important}
  .sm-sig-authority__card:before{width:min(20rem,70vw);justify-self:start;transform:none}
  .sm-sig-authority__facts{display:grid;grid-template-columns:minmax(9rem,.42fr) minmax(0,1fr);gap:2rem;align-items:start}
}

@media(max-width:900px){
  body.sm-mobile-nav-open{overflow:hidden!important;touch-action:none}
  .sm-sig-header{top:max(.5rem,env(safe-area-inset-top))!important;padding-inline:.5rem}
  .sm-sig-header__inner{width:100%!important;min-height:4.35rem!important;grid-template-columns:auto 1fr auto!important;gap:.75rem!important;padding:.48rem .55rem .48rem .7rem!important;border-radius:1.25rem!important}
  .sm-sig-header__brand img{height:2.75rem!important;max-height:2.75rem!important;max-width:7.5rem!important}
  .sm-sig-header__nav,.sm-sig-header__cta{display:none!important}
  .sm-mobile-toggle{display:inline-flex;justify-self:end;align-items:center;gap:.65rem;border:0;border-radius:999px;background:var(--sm-ink,#153238);color:#fff;padding:.78rem .9rem;font:700 .78rem/1 inherit;letter-spacing:.01em;cursor:pointer;box-shadow:0 .65rem 1.8rem rgba(21,50,56,.14)}
  .sm-mobile-toggle__icon{position:relative;width:1.2rem;height:.8rem;display:block}
  .sm-mobile-toggle__icon:before,.sm-mobile-toggle__icon:after{content:"";position:absolute;left:0;width:100%;height:2px;border-radius:2px;background:currentColor;transition:transform .28s ease,top .28s ease}
  .sm-mobile-toggle__icon:before{top:.12rem}.sm-mobile-toggle__icon:after{top:.62rem}
  .sm-mobile-toggle[aria-expanded="true"] .sm-mobile-toggle__icon:before{top:.37rem;transform:rotate(45deg)}
  .sm-mobile-toggle[aria-expanded="true"] .sm-mobile-toggle__icon:after{top:.37rem;transform:rotate(-45deg)}

  .sm-mobile-drawer{display:block;position:fixed;inset:0;z-index:2147482999;visibility:hidden;pointer-events:none;background:rgba(10,27,31,.28);backdrop-filter:blur(0);transition:visibility .35s,background .35s,backdrop-filter .35s}
  .sm-mobile-drawer.is-open{visibility:visible;pointer-events:auto;background:rgba(10,27,31,.54);backdrop-filter:blur(10px)}
  .sm-mobile-drawer__panel{position:absolute;inset:.5rem .5rem .5rem auto;width:min(31rem,calc(100vw - 1rem));display:flex;flex-direction:column;overflow:auto;padding:5.5rem 1.15rem max(1.15rem,env(safe-area-inset-bottom));border:1px solid rgba(255,255,255,.45);border-radius:1.8rem;background:linear-gradient(160deg,rgba(255,255,255,.985),rgba(244,247,242,.985));box-shadow:0 2rem 6rem rgba(7,29,33,.28);transform:translateX(calc(100% + 1rem));transition:transform .42s cubic-bezier(.2,.8,.2,1)}
  .sm-mobile-drawer.is-open .sm-mobile-drawer__panel{transform:none}
  .sm-mobile-drawer__eyebrow{margin:0 0 1.1rem;padding:0 .35rem;color:#718084;font-size:.68rem;line-height:1.2;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
  .sm-mobile-drawer__nav{display:grid;border-top:1px solid rgba(21,50,56,.11)}
  .sm-mobile-drawer__nav a{display:grid;grid-template-columns:2.7rem 1fr auto;align-items:center;min-height:4.5rem;border-bottom:1px solid rgba(21,50,56,.11);color:var(--sm-ink,#153238)!important;text-decoration:none;font-size:clamp(1.25rem,5vw,1.75rem);line-height:1.05;font-weight:650;letter-spacing:-.035em}
  .sm-mobile-drawer__nav small{color:#8a9898;font-size:.64rem;letter-spacing:.08em;font-weight:800}
  .sm-mobile-drawer__nav i{font-style:normal;font-size:.85rem;color:#6e8076}
  .sm-mobile-drawer__nav a[aria-current="page"]{color:#466c59!important}
  .sm-mobile-drawer__quick{margin-top:auto;padding-top:1.25rem;display:grid;grid-template-columns:1.1fr .9fr;gap:.65rem}
  .sm-mobile-drawer__quick a{display:flex;min-height:3.45rem;align-items:center;justify-content:center;border-radius:999px;text-decoration:none;font-size:.84rem;font-weight:800;text-align:center}
  .sm-mobile-drawer__call{background:var(--sm-ink,#153238);color:#fff!important;box-shadow:0 .9rem 2.2rem rgba(21,50,56,.16)}
  .sm-mobile-drawer__mail{border:1px solid rgba(21,50,56,.18);background:#fff;color:var(--sm-ink,#153238)!important}
  .sm-mobile-drawer__meta{padding:.9rem .25rem .15rem;color:#78878a;font-size:.73rem;line-height:1.45}

  /* Mobile/tablet is a designed composition, not a scaled desktop canvas. */
  .sm-sig-hero{min-height:auto!important;padding:7.25rem 0 4.5rem!important}
  .sm-sig-hero__grid{min-height:0!important;gap:2.5rem!important}
  .sm-sig-hero h1{max-width:10ch!important;font-size:clamp(3.8rem,10vw,6.3rem)!important;line-height:.91!important}
  .sm-sig-lead{font-size:1.05rem!important;line-height:1.55!important}
  .sm-sig-proof{margin-top:2.75rem!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.8rem!important}
  .sm-sig-proof__item{padding-top:.85rem!important}
  .sm-sig-proof__item strong{font-size:.92rem!important}.sm-sig-proof__item span{font-size:.76rem!important}
  .sm-sig-hero-art{min-height:27rem!important;max-height:34rem!important}
  .sm-sig-hero-art__svg{width:min(39rem,100%)!important}
  .sm-sig-pathways,.sm-sig-method{padding-block:5.5rem!important}
  .sm-sig-pathway-scene,.sm-sig-method-step{padding-block:2.6rem!important}
  .sm-sig-manifesto{min-height:auto!important;padding:6rem 0!important}
  .sm-sig-authority{padding-bottom:6rem!important}
  .sm-sig-authority__card{margin-top:-2rem!important;gap:2.5rem!important}
  .sm-sig-contact{min-height:auto!important;padding-block:6rem!important}
}

@media(max-width:600px){
  .sm-sig-shell{width:calc(100vw - 2rem)!important}
  .sm-mobile-toggle{padding:.72rem .78rem}.sm-mobile-toggle__label{display:none}
  .sm-mobile-drawer__panel{padding-top:5.25rem}
  .sm-mobile-drawer__nav a{grid-template-columns:2.35rem 1fr auto;min-height:4.1rem;font-size:1.28rem}
  .sm-mobile-drawer__quick{grid-template-columns:1fr}
  .sm-sig-hero{padding-top:6.65rem!important;padding-bottom:3.5rem!important}
  .sm-sig-hero h1{font-size:clamp(3.25rem,13.5vw,4.75rem)!important;letter-spacing:-.058em!important}
  .sm-sig-proof{grid-template-columns:1fr!important;margin-top:2.25rem!important;gap:0!important}
  .sm-sig-proof__item{padding:.85rem 0!important}
  .sm-sig-hero-art{min-height:21rem!important;max-height:24rem!important;margin-top:.5rem}
  .sm-sig-hero-art__svg{width:108%!important}
  .sm-sig-hero-art__role{font-size:.54rem!important;padding:.42rem .52rem!important}
  .sm-sig-pathways,.sm-sig-topics,.sm-sig-method,.sm-sig-contact{padding-block:4.6rem!important}
  .sm-sig-pathway-scene,.sm-sig-method-step{padding-block:2.2rem!important}
  .sm-sig-pathway-scene h3,.sm-sig-method-step h3{font-size:clamp(2.35rem,10.5vw,3.5rem)!important}
  .sm-sig-manifesto{padding:5rem 0!important}.sm-sig-manifesto h2{font-size:clamp(3.1rem,13vw,4.7rem)!important}
  .sm-sig-authority__card{width:calc(100vw - 2rem)!important;padding:1.5rem 1.15rem 1.8rem!important;border-radius:1.6rem!important;gap:1.8rem!important}
  .sm-sig-authority__card:before{width:min(100%,20rem);justify-self:center;border-radius:1.35rem}
  .sm-sig-authority__facts{grid-template-columns:1fr!important;gap:0!important}
  .sm-sig-years{font-size:6.2rem!important;margin-bottom:1.3rem!important}
  .sm-sig-contact h2{font-size:clamp(3rem,13vw,4.6rem)!important}
  .sm-sig-contact__details a{font-size:1.35rem!important;overflow-wrap:anywhere}
}

/* School-laptop/tablet-landscape: static editorial story instead of desktop pin canvas. */
@media(max-width:1100px){
  html.sm-v4-static-story .sm-sig-pin-portal{display:none!important}
  html.sm-v4-static-story .sm-sig-story{height:auto!important;min-height:0!important;overflow:visible!important}
  html.sm-v4-static-story .sm-sig-story>.sm-sig-pin{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important}
  html.sm-v4-static-story .sm-sig-pathways__stage,html.sm-v4-static-story .sm-sig-method__stage{height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:1fr!important;gap:2.5rem!important}
  html.sm-v4-static-story .sm-sig-pathways__left,html.sm-v4-static-story .sm-sig-method__left{position:relative!important;top:auto!important;height:auto!important;min-height:0!important;padding:0!important;overflow:visible!important}
  html.sm-v4-static-story .sm-sig-pathways__deck,html.sm-v4-static-story .sm-sig-method__deck{height:auto!important;min-height:0!important;padding:0!important}
  html.sm-v4-static-story .sm-sig-pathways__active-label{display:none!important}
  html.sm-v4-static-story .sm-sig-pathways__progress,html.sm-v4-static-story .sm-sig-method__progress{display:none!important}
  html.sm-v4-static-story .sm-sig-pathway-scene,html.sm-v4-static-story .sm-sig-method-step{position:relative!important;inset:auto!important;min-height:0!important;padding:2.5rem 0!important;border-top:1px solid rgba(21,50,56,.10)!important;opacity:1!important;transform:none!important;filter:none!important;pointer-events:auto!important}
  html.sm-v4-static-story .sm-sig-pathway-scene:first-child,html.sm-v4-static-story .sm-sig-method-step:first-child{border-top:0!important}
  html.sm-v4-static-story .sm-sig-perspective-visual{width:min(22rem,58%)!important;margin:1.75rem 0 0!important}
  html.sm-v4-static-story .sm-sig-method-lens{width:min(22rem,58%)!important;margin:1.5rem 0 0!important}
  html.sm-v4-static-story .sm-sig-method-step__word{font-size:clamp(4rem,8vw,6rem)!important}
}
