/* A compact architectural portfolio with a fixed-width navigation column. */
.atlas {
  --ink:#0b3157;--muted:#4c6176;--blue:#0068ae;--paper:#fff;--ice:#e6f2fd;
  --rule:#cadced;--enamel:#0b3968;
  display:grid;grid-template-columns:206px minmax(0,1fr);
  column-gap:clamp(25px,3vw,48px);align-items:start;
  width:min(1280px,100%);margin:0 auto;padding:0 31px;background:#fff
}
.atlas .wrap {width:100%;margin-inline:0}
.side-mast {position:sticky;top:0;grid-column:1;grid-row:1/3;min-height:100vh;padding:32px 22px 24px 0;border-right:1px solid var(--rule)}
.side-top .brand {width:100%;max-width:180px}
.phone-link {display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;min-height:44px;margin-top:24px;padding:0 10px;color:#fff;background:#0b3968;border-radius:5px;font:650 1rem/1.2 var(--type);letter-spacing:.015em;font-variant-numeric:tabular-nums}
.phone-link:hover,.phone-link:focus-visible {background:#0068ae}
.phone-link svg {flex:none}
.side-inner nav {display:grid;gap:3px;margin-top:22px}
.side-inner nav a {display:block;font:560 .98rem/1.3 var(--type);padding:10px 12px;color:#203e5d;border-left:3px solid transparent}
.side-inner nav a:hover {background:#f1f7fd}
.side-inner nav a[aria-current=page] {border-left-color:#0068ae;background:#e6f2fd;color:#0b3157;font-weight:650}
.sidebar-end {display:grid;gap:15px;margin-top:34px;padding:17px 0 0 15px;border-top:1px solid var(--rule);color:#4c6176;font:500 .84rem/1.45 var(--type)}
.sidebar-end .compare {color:#203e5d}
.atlas main,.atlas footer {grid-column:2;min-width:0}
.atlas main {padding-top:31px}
.atlas-title {display:grid;grid-template-columns:1.2fr .8fr;align-items:end;gap:24px;padding-bottom:19px}
.atlas-title h1,.atlas .tech-front h1,.atlas .ref-intro h1 {font:670 clamp(2.15rem,3.8vw,3.35rem)/1.01 var(--type);letter-spacing:-.06em}
.atlas-title p {font:440 1rem/1.44 var(--type);color:var(--muted);max-width:30em;padding-bottom:2px}
.panorama {position:relative;background:#e6f2fd}
.panorama img {width:100%;height:auto;aspect-ratio:1.6;object-fit:cover;object-position:center top}
.panorama figcaption {position:absolute;bottom:10px;left:10px;padding:4px 8px;background:#fffffff2;color:#203e5d;font-size:.73rem;line-height:1.3}
.atlas-tech {display:grid;grid-template-columns:1fr 1fr}
.atlas-tech a {background:#0b3968;color:white;display:flex;align-items:center;gap:15px;padding:19px 21px}
.atlas-tech a+a {background:#d6ebff;color:#0b3968}
.atlas-tech .code {font:670 1.65rem/1 var(--type);letter-spacing:-.05em}
.tech-link-title {font:550 .93rem/1.28 var(--type);max-width:23ch;border-left:1px solid #ffffff50;padding-left:13px}
.atlas-tech a+a .tech-link-title {border-color:#96b4cc}
.atlas-tech a:hover .tech-link-title {text-decoration:underline;text-underline-offset:3px}
.atlas .work {padding:24px 0}
.atlas .work h2,.atlas .scope h2,.atlas .process-section h2,.atlas .case h2 {font:650 clamp(1.38rem,2.1vw,1.85rem)/1.15 var(--type);letter-spacing:-.035em}
.atlas .work-head {margin-bottom:13px}
.atlas footer {background:#e6f2fd;border:0;border-top:2px solid #cadced;padding:22px 20px;margin-top:9px}
.atlas .footgrid{grid-template-columns:1.1fr 1.15fr .85fr;gap:15px}.atlas .footgrid h2{font-size:1.3rem}
.atlas .footgrid .meta,.atlas .eyebrow,.atlas .phase-num,.atlas .backline,.atlas .meta {font-family:var(--type);font-weight:550;letter-spacing:.035em}
.atlas .tech-open,.atlas .ref-heading {padding:0 0 20px}
.atlas .backline {word-spacing:normal;color:var(--muted);margin:1px 0 17px}
.atlas .tech-front {grid-template-columns:.94fr 1.06fr;gap:22px}
.atlas .tech-front h1 em {color:#0068ae;display:block}
.atlas .longname {font-size:1.1rem;line-height:1.3}
.atlas .detail-plate {background:#f1f7fd;border:0}
.atlas .detail-plate figcaption {color:#203e5d;border-color:#cadced;background:#e6f2fd}
.atlas .process-section {background:#0b3968;color:white;border:0;padding:20px}
.atlas .section-head .eyebrow,.atlas .phase-num {color:#d6eaff}
.atlas .section-intro,.atlas .phase p {color:#eaf6ff}
.atlas .phase-grid {gap:16px}.atlas .phase {border-top:1px solid #51779a}
.atlas .phase p,.atlas .scope-detail p {font-size:1rem}
.atlas .scope {padding:23px 0}.atlas .scopegrid {grid-template-columns:.7fr 1.5fr;gap:25px}
.atlas .scope-detail article {padding-bottom:10px}
.atlas .case {background:#e6f2fd;color:var(--ink);border:0;padding:18px 20px}
.atlas .case .eyebrow,.atlas .case p:not(.eyebrow){color:#3a536b}
.atlas .case .btn {color:var(--ink);border:1px solid #51779a}
.atlas .references {padding-bottom:17px}
.atlas .ref-intro {gap:22px}
.atlas .ref-intro p {max-width:410px}
.atlas .filterrow {border:0;background:#f1f7fd;padding:8px 11px;margin:0 0 14px}
.atlas .ref-list {gap:11px}
.atlas .ref-item {border:1px solid var(--rule);padding:14px;grid-template-columns:79px minmax(0,1fr);gap:13px;height:100%}
.atlas .ref-item:target {border-color:var(--blue)}
.atlas .ref-data h2 {font-size:1.16rem}
@media(min-width:741px) and (max-width:1000px) {
  .atlas {grid-template-columns:155px minmax(0,1fr);column-gap:20px;padding:0 20px}
  .side-mast {padding-right:14px}.atlas-title {grid-template-columns:1fr;gap:8px}.atlas-title h1 br{display:none}.atlas-title p{max-width:55ch}
  .atlas .ref-list {grid-template-columns:1fr}.atlas .phase-grid{grid-template-columns:1fr 1fr}
  .atlas .featured-project{grid-template-columns:1fr;padding:10px}.atlas .featured-project .doc-thumb{width:53px}
  .atlas .tech-front {grid-template-columns:1fr}.atlas .tech-front h1 em{display:inline}
  .atlas .tech-front .intro {max-width:65ch}
}
@media(max-width:740px) {
  .atlas {display:block;width:100%;padding:0 17px}
  .side-mast{position:relative;min-height:0;padding:0;border:0;z-index:6}
  .side-top{min-height:64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--rule)}
  .side-top {gap:8px}
  .side-top .brand {width:174px;min-width:0;flex-shrink:1;margin-right:auto}
  .side-top .menu-toggle {border-color:#b1c8de;flex:none}
  .phone-link {margin:0;gap:6px;font-size:.875rem;letter-spacing:0;flex:none}
  @media(max-width:359px) {
    .atlas {padding-inline:10px}
    .side-top {gap:5px}
    .phone-link {padding-inline:7px;font-size:.81rem;gap:4px}
    .phone-link svg {width:14px}
  }
  .side-inner{display:none;position:absolute;top:100%;left:0;right:0;background:white;box-shadow:0 10px 16px #082d5320;border:1px solid var(--rule);padding:9px}
  .side-inner.shown{display:block}.side-inner nav{margin:0}.sidebar-end{margin:5px 0 0;padding:10px}.sidebar-end>span {display:none}
  .atlas main {padding-top:19px}.atlas-title{grid-template-columns:1fr;gap:9px;padding-bottom:13px}
  .atlas-title h1 {font-size:clamp(2rem,7.8vw,2.8rem)}.atlas-title p{max-width:50ch}
  .panorama img {aspect-ratio:3/2}.panorama figcaption {position:static;font-size:.73rem;padding:6px 9px;background:#f1f7fd}
  .atlas-tech a{padding:14px 12px;display:block}.atlas-tech .code{font-size:1.4rem}
  .tech-link-title{display:block;border:0;padding:6px 0 0;font-size:.88rem}
  .atlas .tech-front {grid-template-columns:1fr;gap:14px}.atlas .tech-front h1 em{display:inline}
  .atlas .scopegrid,.atlas .ref-list {grid-template-columns:1fr}
  .atlas .phase-grid{grid-template-columns:1fr 1fr}.atlas .footgrid{grid-template-columns:1.2fr 1fr}
  .atlas .work{padding:19px 0}.atlas footer {margin-bottom:10px;padding:17px}
  .atlas .ref-item {padding:12px;grid-template-columns:67px minmax(0,1fr)}
}
@media(max-width:370px){.atlas .phase-grid,.atlas .footgrid{grid-template-columns:1fr}}

/* Strona główna — tekst na tle przekroju */
.cover {position:relative;isolation:isolate;overflow:hidden;background:#f2f8fd;container-type:inline-size}
.cover img {position:absolute;inset:0 0 0 auto;width:70%;height:100%;object-fit:cover;object-position:52% top;z-index:-2}
.cover:before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f2f8fd 0%,#f2f8fd 30%,#f2f8fdf2 34%,#f2f8fdb5 39%,#f2f8fd40 47%,transparent 55%)}
.cover-copy {padding:4.4cqw 0 4.4cqw 3.6cqw;min-height:44cqw;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.cover h1 {font:660 4.75cqw/1.02 var(--type);letter-spacing:-.055em}
.cover h1 span {color:#0068ae}
.cover p {font:440 clamp(.92rem,1.61cqw,1.03rem)/1.48 var(--type);color:#294861;margin:2cqw 0 2.6cqw;max-width:30.8cqw;text-wrap:pretty}
.cover a {display:inline-flex;align-items:center;gap:12px;font:640 .94rem/1.3 var(--type);color:#075b9c;border-bottom:1px solid #7faccd;padding:5px 0}
.cover a span {font-size:1.25rem;line-height:1}
.cover a:hover {border-color:currentColor}
.cover + .atlas-tech {border-bottom:1px solid var(--rule);padding:20px 0}
.cover + .atlas-tech a {background:#fff;color:var(--ink);padding:4px 6% 4px 0;position:relative}
.cover + .atlas-tech a+a {padding-left:6%;padding-right:0;border-left:1px solid var(--rule)}
.cover + .atlas-tech .code {color:var(--blue)}
.cover + .atlas-tech .tech-link-title {border:0;padding:0;max-width:none}
.cover + .atlas-tech a:after {content:"→";font:400 1.35rem/1 var(--type);color:var(--blue);margin-left:auto}
@media (min-width:741px) and (max-width:1020px) {
 .cover h1{font-size:5.2cqw}.cover p{max-width:36cqw}
 .cover img{width:66%;object-position:60% center}
 .cover:before{background:linear-gradient(90deg,#f2f8fd 34%,#f2f8fdf0 38%,transparent 59%)}
}
@media (max-width:740px) {
 .cover img {inset:auto 0 0;width:100%;height:auto}
 .cover:before {background:linear-gradient(0deg,transparent 46cqw,#f2f8fded 59cqw,#f2f8fd 66cqw)}
 .cover-copy {padding:6cqw 5cqw 61cqw}
 .cover h1 {font-size:clamp(1.75rem,8.2cqw,2.65rem)}
 .cover h1 br:nth-of-type(2) {display:none}
 .cover p {max-width:47ch;font-size:.94rem;margin:12px 0 0}
 .cover a {display:none}
 .cover + .atlas-tech{padding:14px 0}
 .cover + .atlas-tech a:after{display:none}
 .cover + .atlas-tech a+a {padding-left:12px}
 .cover + .atlas-tech .tech-link-title {padding-top:6px}
}

.atlas .cover,
.atlas .detail-plate {
  border-radius:clamp(12px,1.55vw,20px);
  overflow:hidden;
}
