/* PERF1: one Polish subset per family (assets/*-pl.woff2: ASCII, Polish letters, the site's punctuation) is declared last, so it is checked first and is the only file a page downloads; the latin and latin-ext cuts stay behind it for any other character. */
/* PERF1: first paint no longer waits for the fonts, so the text first shows in a local fallback scaled to the webfont's average width and line metrics (measured on the site's Polish copy), and the swap does not move it. */
@font-face{font-family:'Manrope fallback';src:local('Arial'),local('ArialMT'),local('Liberation Sans');size-adjust:101.2%;ascent-override:105.3%;descent-override:29.6%;line-gap-override:0%}@font-face{font-family:'Instrument Serif fallback';src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Liberation Serif');size-adjust:81.5%;ascent-override:121.5%;descent-override:38%;line-gap-override:0%}
@font-face{font-family:Manrope;src:url('assets/manrope-latin.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;src:url('assets/manrope-latin-ext.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;src:url('assets/manrope-pl.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0020-007E,U+00A0,U+00A7,U+00A9,U+00AB,U+00B0-00B1,U+00B7,U+00BB,U+00D3,U+00D7,U+00F3,U+0104-0107,U+0118-0119,U+0141-0144,U+015A-015B,U+0179-017C,U+2011,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+20AC,U+2191,U+2193,U+2212}
:root{color-scheme:dark;--paper:#f0eee4;--muted:#b2c3b7;--gold:#dec38c;--green:#102922}*{box-sizing:border-box}body{margin:0;background:var(--green);color:var(--paper);font-family:Manrope,'Manrope fallback',sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,input{font:inherit}button{color:inherit;cursor:pointer}button,a,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:6px}button{border:0;background:none}button:disabled{cursor:default;opacity:.45}.skip{position:fixed;left:20px;top:-80px;padding:16px;background:var(--paper);color:var(--green);z-index:20}.skip:focus{top:12px}.masthead{height:105px;margin:0 4.4%;display:flex;align-items:center;gap:38px;border-bottom:1px solid #c9dbc21a;position:relative;z-index:5}.brand{width:110px;display:grid;gap:7px;justify-items:center}.brand img{width:110px;height:auto}.brand span{font-size:8px;letter-spacing:.58em;padding-left:.58em}.header-note{font-size:11px;color:var(--muted);letter-spacing:.04em}.masthead nav{display:flex;gap:33px;margin-left:auto}.masthead nav a{font-size:12px}.masthead nav a:hover{color:var(--gold)}.inquiry{padding:14px 19px;border:1px solid #ced6c83b;border-radius:4px;font-size:12px;display:flex;gap:28px}.inquiry:hover{background:#ffffff0a;border-color:var(--gold)}.hero{min-height:795px;height:calc(100svh - 105px);position:relative;max-height:1100px;overflow:hidden;background:radial-gradient(ellipse at 68% 45%,#34514780,transparent 58%)}.intro{position:absolute;top:35px;left:4.4%;z-index:2}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.15em;font-weight:650}.intro .eyebrow{color:var(--muted);margin:0 0 11px}.intro h1{font-size:24px;line-height:1.25;letter-spacing:-.04em;font-weight:450;margin:0}.intro h1 em{font-style:normal;color:var(--gold)}.intro>p:last-child{font-size:11px;line-height:1.7;color:var(--muted);max-width:300px;margin-top:16px}.story{position:absolute;left:4.4%;top:265px;z-index:3;width:255px}.story .eyebrow{color:var(--gold);margin:0 0 18px}.story h2{font-size:clamp(44px,4.15vw,68px);font-weight:450;letter-spacing:-.065em;line-height:1.04;margin:0 0 20px}.story>p:not(.eyebrow){font-size:13px;line-height:1.7;color:var(--muted);max-width:240px;min-height:46px;margin:0 0 21px}.story>a{font-size:11px;border-bottom:1px solid #b9caba55;padding-bottom:7px;display:inline-flex;gap:30px}.stage{position:absolute;right:-1%;top:38px;width:79%;height:calc(100% - 185px);min-height:500px}#diorama,.fallback{width:100%;height:100%;display:block;position:absolute;inset:0}.fallback{object-fit:contain}.stage:not(.is-ready) #diorama{visibility:hidden}.is-ready .fallback{visibility:hidden}.leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.leaders path{fill:none;stroke:#c3d3c665;stroke-width:1}.leaders path.active{stroke:#dec38ca6}.annotation{position:absolute;display:flex;gap:9px;align-items:center;font-size:11px;padding:10px 0;border-bottom:1px solid #b2c3b73d;color:#c0cfc2;z-index:2}.annotation span{font-size:9px;opacity:.6}.annotation i{font-style:normal;border:1px solid #ced6c838;border-radius:50%;width:16px;height:16px;line-height:13px;margin-left:8px}.annotation.active{color:var(--paper);border-color:var(--gold)}.annotation:hover,.annotation[aria-expanded=true]{color:var(--gold)}.annotation-road{left:26%;top:81%}.annotation-grid{left:82%;top:26%}.annotation-bio{left:31%;top:9%}#object-tip{position:absolute;left:42%;top:68%;z-index:4;background:#f0eee4;color:#143027;width:260px;padding:19px 34px 17px 20px;border-radius:7px;box-shadow:0 15px 50px #03110c50}#object-tip b{font-size:12px}#object-tip p{font-size:11px;line-height:1.7;margin:8px 0 0}#tip-close{position:absolute;right:8px;top:8px;color:#143027;font-size:20px}.model-caption{position:absolute;bottom:1%;left:42%;font-size:9px;letter-spacing:.06em;color:#b2c3b78c}.view-controls{position:absolute;right:4.4%;bottom:136px;display:flex;gap:17px;align-items:center;z-index:4;color:var(--muted);font-size:10px}.view-controls button{padding:8px 0;font-size:10px}.view-controls button:hover{color:var(--paper)}.view-controls button span{margin-left:10px}input[type=range]{width:70px;height:3px;accent-color:var(--gold);cursor:pointer}.steps{position:absolute;bottom:28px;left:4.4%;right:4.4%;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #c9dbc22e;z-index:3}.steps button{position:relative;display:flex;align-items:center;text-align:left;gap:24px;padding:24px 26px 10px 0;min-height:87px}.steps button+button{padding-left:30px}.steps button:before{content:'';position:absolute;top:-1px;left:0;height:2px;width:100%;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform var(--m-step) var(--m-ease-step)}.steps button.completed:before{transform:scaleX(.16)}.steps button[aria-current=step]:before{transform:scaleX(1)}.step-number{font-size:11px;color:#b2c3b77d}.steps b{display:block;font-size:15px;font-weight:500;color:var(--muted)}.steps small{display:block;font-size:10px;margin-top:5px;color:#b2c3b799}.steps [aria-current=step] b,.steps [aria-current=step] .step-number{color:var(--paper)}.step-arrow{margin-left:auto;color:#b2c3b760}.steps [aria-current=step] .step-arrow{color:var(--gold)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.fallback-note,.no-script{position:absolute;bottom:115px;left:4.4%;font-size:10px;max-width:250px;color:var(--muted)}[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(min-width:1600px){.stage{width:79%;right:-1%}.story{top:34%}}
@media(max-width:800px){.masthead{height:87px;gap:16px;flex-wrap:wrap;align-content:center;margin:0 22px;row-gap:12px}.brand{width:77px;gap:4px}.brand img{width:77px}.brand span{font-size:6px}.header-note{display:none}.masthead nav{gap:19px}.masthead nav a{font-size:11px}.inquiry{padding:8px 0;border:0;margin-left:auto;font-size:10px;gap:10px}.hero{height:calc(100svh - 87px);min-height:757px;max-height:none}.intro{left:24px;top:25px}.intro .eyebrow{font-size:8px;margin-bottom:8px}.intro h1{font-size:20px}.intro>p:last-child{display:none}.story{left:24px;top:133px;width:calc(100% - 48px);pointer-events:none}.story .eyebrow{font-size:8px;margin-bottom:11px}.story h2{font-size:38px;margin-bottom:10px;line-height:1.08;letter-spacing:-.05em}.story h2 br{display:none}.story h2 br:after{content:' '}.story>p:not(.eyebrow){font-size:11px;max-width:260px;line-height:1.6;min-height:0;margin:0}.story>a{position:absolute;right:0;top:-7px;font-size:9px;gap:10px;pointer-events:auto}.stage{top:240px;width:112%;right:-6%;height:360px;min-height:0}.annotation{font-size:9px;gap:5px}.annotation i{margin-left:3px;width:14px;height:14px;line-height:11px}.annotation span{font-size:8px}.annotation-bio{left:22%;top:0}.annotation-grid{left:70%;top:13%}.annotation-road{left:18%;top:78%}.model-caption{left:0;width:100%;text-align:center;bottom:1%;font-size:8px}#object-tip{left:22%;top:52%;width:235px;padding:15px 30px 15px 17px}.view-controls{right:24px;left:24px;bottom:116px;gap:13px;justify-content:space-between}.view-controls button{font-size:9px}.view-controls button span{margin-left:4px}.view-controls input{width:42px}.steps{left:24px;right:24px;bottom:23px}.steps button{gap:10px;padding:17px 10px 9px 0;align-items:flex-start;min-height:72px}.steps button+button{padding-left:12px}.steps b{font-size:12px}.steps small{font-size:8px;max-width:82px;line-height:1.5}.step-number{font-size:8px;margin-top:3px}.step-arrow{display:none}.fallback-note,.no-script{font-size:8px;bottom:95px;left:24px;max-width:340px}}
@media(max-width:420px){.masthead{column-gap:14px}.inquiry{font-size:9px}.masthead nav{gap:12px}.masthead nav a{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:800px){.masthead{display:grid;grid-template-columns:1fr auto;height:99px;row-gap:6px;align-content:center}.masthead .brand{grid-column:1;grid-row:1}.masthead nav{grid-column:1 / -1;grid-row:2;margin-left:0;gap:26px}.masthead nav a{font-size:11px;padding:5px 0}.masthead .inquiry{grid-column:2;grid-row:1;font-size:11px;padding:10px 0}.hero{height:calc(100svh - 99px);min-height:745px}.annotation{font-size:10px}}
html:not(.has-diorama-script) .view-controls,html:not(.has-diorama-script) .annotation{display:none}

/* Home shell: a fixed design ceiling, with a fluid scale down to the phone. */
@font-face{font-family:'Instrument Serif';src:url('assets/instrument-serif-latin.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Instrument Serif';src:url('assets/instrument-serif-latin-ext.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Instrument Serif';src:url('assets/instrument-serif-pl.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0020-007E,U+00A0,U+00A7,U+00A9,U+00AB,U+00B0,U+00B7,U+00BB,U+00D3,U+00D7,U+00F3,U+0104-0107,U+0118-0119,U+0141-0144,U+015A-015B,U+0179-017C,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+20AC,U+2212}

:root{--claim:'Instrument Serif','Instrument Serif fallback',Georgia,serif}
.masthead{width:calc(100% - 8.8%);max-width:1313px;margin-inline:auto;gap:clamp(20px,2.64vw,38px)}
main{background:radial-gradient(ellipse 680px 380px at calc(50% + 260px) 410px,#34514780,transparent)}
.hero{max-width:1440px;max-height:900px;margin-inline:auto;background:none}
.intro h1,.story h2{font-family:var(--claim);font-weight:400;font-synthesis:none;letter-spacing:-.025em}
.intro h1{font-size:clamp(30px,2.78vw,40px);line-height:1.04}
.intro>p:last-child{font-size:clamp(11px,.84vw,12px);max-width:305px;margin-top:18px}
.story{top:265px;width:clamp(255px,21vw,302px)}
.story h2{font-size:clamp(54px,5.28vw,76px);line-height:.98;margin-bottom:20px}
.story>p:not(.eyebrow){max-width:285px;font-size:clamp(12px,.91vw,13px);line-height:1.65}
.step-number,.annotation span,.story .eyebrow{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:'tnum' 1}
.steps b{font-size:clamp(13px,1.04vw,15px)}
.steps small{font-size:clamp(9px,.76vw,11px)}
.steps button,.annotation{transition:color var(--m-feedback) var(--m-ease-out)}
.steps button:hover b,.steps button:focus-visible b{color:var(--gold)}
.masthead nav a{position:relative;padding-block:10px}
.masthead nav a:after{content:'';position:absolute;left:0;right:0;bottom:3px;height:1px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform var(--m-fade) var(--m-ease-out)}
.masthead nav a:hover:after,.masthead nav a:focus-visible:after{transform:scaleX(1)}
.inquiry{position:relative;overflow:hidden;isolation:isolate;transition:border-color var(--m-feedback) var(--m-ease-out),color var(--m-feedback) var(--m-ease-out)}
.inquiry:before{content:'';position:absolute;inset:-1px -35%;z-index:-1;background:var(--gold);transform:translateX(-110%) skewX(-18deg);transition:transform var(--m-title) var(--m-ease-out)}
.inquiry:hover,.inquiry:focus-visible{color:var(--green);border-color:var(--gold);background:transparent}
.inquiry:hover:before,.inquiry:focus-visible:before{transform:translateX(0) skewX(-18deg)}
.story h2{clip-path:inset(-5% -5% -5% -5%);transform:translateY(0);transition:clip-path var(--m-dissolve) var(--m-ease-out),transform var(--m-dissolve) var(--m-ease-out)}
.shell-opening .stage:not(.is-ready) .fallback{visibility:hidden}
#opening-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#opening-seed{display:none;position:absolute;top:50%;left:50%;width:100%;height:auto;transform:translate(-50%,-50%);pointer-events:none;overflow:visible}
#opening-seed path{fill:none;stroke:var(--gold);stroke-width:1;vector-effect:non-scaling-stroke;opacity:.75}
.shell-opening #opening-seed,.opening-streaming #opening-seed{display:block}
.opening-lines-ready #opening-seed{display:none}
.film-playing #opening-seed,.film-playing #opening-lines{display:none!important}  /* the film replaces the drawn opening */
.opening-streaming .fallback{visibility:hidden}
@media(max-width:800px){#opening-seed{width:auto;height:116.3934%;aspect-ratio:1}}
.shell-opening:not(.shell-headline) .story h2{clip-path:inset(100% -5% 0 -5%);transform:translateY(15px);transition:none}
@media(min-width:1600px){.story{top:265px}}
@media(max-width:800px){
  .masthead{width:calc(100% - 44px);gap:6px 14px;max-width:none}
  .masthead nav a{padding-block:5px}
  .masthead .inquiry{padding:10px 8px;margin-right:-8px}
  main{background:radial-gradient(ellipse at 68% 45%,#34514780,transparent 58%)}
  .hero{max-height:none;min-height:745px}
  .intro h1{font-size:clamp(30px,7.7vw,38px);line-height:1.03}
  .story{top:150px;width:calc(100% - 48px)}
  .story h2{font-size:clamp(38px,11.3vw,50px);line-height:1.07;margin-bottom:10px;letter-spacing:-.025em}
  .story>p:not(.eyebrow){font-size:11px;max-width:300px;line-height:1.6}
  .stage{top:255px;height:345px}
  .steps b{font-size:12px}
  .steps button{display:grid;grid-template-columns:13px minmax(0,1fr);gap:5px;padding-right:0}.steps button+button{padding-left:5px}.steps small{font-size:clamp(6px,2.05vw,9px);max-width:none;white-space:nowrap;line-height:1.5}.steps b{line-height:18px}
}
@media(prefers-reduced-motion:reduce){
  .story h2{clip-path:none!important;transform:none!important}
  .inquiry:before{display:none}
  .inquiry:hover,.inquiry:focus-visible{background:var(--gold)}
}

/* Home hierarchy and controls share a fixed editorial anchor. */
.intro h1{font-size:clamp(64px,5vw,72px);line-height:1.01;letter-spacing:-.028em;font-kerning:normal;transform:none;clip-path:none;transition:none}
.intro>p:last-child{margin-top:20px}
.story{top:335px;width:310px}
.story .eyebrow{margin-bottom:14px}
.step-title-clip{overflow:hidden;contain:paint;padding-block:4px;margin-block:-4px 16px}
.story h2{font-size:clamp(44px,3.47vw,50px);line-height:1.04;letter-spacing:-.018em;margin:0;clip-path:none;transition:transform var(--m-dissolve) var(--m-ease-out)}
.shell-opening:not(.shell-headline) .story h2{clip-path:none;transform:translateY(110%)}
.story>a{min-height:44px;align-items:center;padding-bottom:0}
.annotation{height:44px;min-width:44px;padding:0 12px;gap:8px;border:1px solid transparent;border-radius:22px;background:#102922dd;color:var(--muted);font-size:11px;white-space:nowrap;justify-content:center;transition:color var(--m-feedback) var(--m-ease-out),border-color var(--m-feedback) var(--m-ease-out),background var(--m-feedback) var(--m-ease-out)}
.annotation span{font-size:10px;opacity:1}
.annotation-name{display:none;font-size:11px;font-weight:500}
.annotation i{display:none;width:16px;height:16px;margin:0;line-height:13px}
.annotation.active{color:var(--gold);border-color:#dec38c70}
.annotation.active .annotation-name,.annotation.active i{display:block}
.annotation:not(.active){background:#102922a8;border-color:#b2c3b730}
.annotation.is-highlighted,.annotation:hover,.annotation:focus-visible{border-color:var(--gold);color:var(--gold);background:#183b30}
.stage:not(.is-ready) .leaders,.stage:not(.is-ready) .annotation{visibility:hidden}
.leaders{overflow:hidden}
.leaders path{stroke:var(--gold);stroke-width:1;stroke-linecap:round}
.leaders circle{fill:var(--gold)}
.steps [aria-current=step] b,.steps [aria-current=step] .step-number,.steps .is-highlighted b,.steps .is-highlighted .step-number{color:var(--gold)}
.steps .step-number{font-size:10px}
.scene-controls{position:absolute;right:4.4%;bottom:130px;z-index:4}
.scene-controls>summary{display:none}
.view-controls{position:static;gap:20px;font-size:11px}
.view-controls button{min-height:44px;min-width:44px;font-size:11px}
.view-controls input{height:44px;width:80px;margin:0}
#tip-close{min-width:44px;min-height:44px;right:0;top:0}
#object-tip{padding-right:44px}
html:not(.has-diorama-script) .scene-controls{display:none}
@media(max-width:1100px) and (min-width:801px){
  .intro h1{font-size:60px}.story{width:260px}.stage{width:72%;right:-4%}
}
@media(max-width:800px){
  .masthead{height:112px;row-gap:0}.masthead nav{gap:18px}
  .brand,.masthead nav a,.masthead .inquiry{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center}
  .brand{display:grid;align-content:center}.masthead nav a{padding-block:0}
  .hero{display:flex;flex-direction:column;height:auto;min-height:calc(100svh - 112px);padding:22px 24px 20px;gap:24px;overflow:hidden}
  .intro,.story{position:relative;left:auto;top:auto;width:100%;flex:none}
  .intro h1{font-size:clamp(42px,11.8vw,56px);line-height:1;letter-spacing:-.025em}
  .intro .eyebrow{font-size:9px;margin-bottom:10px}
  .story{pointer-events:auto}
  .story .eyebrow{font-size:9px;margin-bottom:12px;padding-block:8px}
  .story h2{font-size:clamp(32px,9.2vw,44px);line-height:1.08;letter-spacing:-.02em}
  .step-title-clip{margin-bottom:10px}
  .story>p:not(.eyebrow){font-size:12px;max-width:320px;min-height:39px}
  .story>a{top:-6px;font-size:10px}
  .stage{position:relative;top:auto;right:auto;left:-24px;width:calc(100% + 48px);height:clamp(390px,48svh,460px);min-height:0;flex:0 0 clamp(390px,48svh,460px);margin-top:-16px}
  .annotation{font-size:11px;gap:8px}.annotation span{font-size:10px}
  .annotation i{width:16px;height:16px;line-height:13px;margin:0}
  .model-caption{bottom:0;font-size:9px;left:24px;width:calc(100% - 48px)}
  #object-tip{left:24px;top:auto;bottom:28px;width:calc(100% - 48px);padding:16px 44px 16px 18px}
  .scene-controls{position:relative;inset:auto;margin-top:-8px;border-block:1px solid #b2c3b730}
  .scene-controls>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:11px;color:var(--muted);cursor:pointer;list-style:none}
  .scene-controls>summary::-webkit-details-marker{display:none}
  .scene-controls>summary span{font-size:20px;color:var(--gold);transition:transform var(--m-feedback) var(--m-ease-out)}
  .scene-controls[open]>summary span{transform:rotate(45deg)}
  .scene-controls>summary:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
  .view-controls{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px;padding:0 0 10px}
  .view-controls button{text-align:left;font-size:11px}
  .view-controls input{width:100%;height:44px}
  .steps{position:relative;inset:auto;flex:none;margin-top:0}
  .steps button{min-height:76px;padding-top:18px}
  .steps small{font-size:9px;white-space:normal}
  .fallback-note,.no-script{position:static;font-size:11px;max-width:none;margin:0}
}

/* The first phone screen reserves its remaining height for the whole model.
   Descriptive copy and controls continue in normal flow below the illustration. */
@media(max-width:800px){
  .hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 8px;padding-top:16px}
  .intro{grid-column:1/-1;grid-row:1}
  .intro h1{font-size:clamp(38px,min(11.8vw,6.4svh),50px)}
  .intro .eyebrow{margin-bottom:8px}
  .story{display:contents}
  .story .eyebrow{grid-column:1;grid-row:2;align-self:center;margin:0;padding:0;font-size:9px}
  .story>a{grid-column:2;grid-row:2;position:static;min-height:44px;align-self:center}
  .step-title-clip{grid-column:1/-1;grid-row:3;margin:-8px 0 0;padding-block:4px}
  .story h2{font-size:clamp(30px,8.6vw,38px)}
  .stage{grid-column:1/-1;grid-row:4;height:var(--home-stage-height,clamp(220px,calc(100svh - 340px),480px));margin:0;flex:none}
  .story>p:not(.eyebrow){grid-column:1/-1;grid-row:5;max-width:none;min-height:0;margin:12px 0 0;line-height:1.65}
  .scene-controls,.steps,.fallback-note,.hero>noscript{grid-column:1/-1}
  .scene-controls{margin-top:4px}
  .model-caption{bottom:4px}
  /* display:contents has no opacity box; fade the story's grid items on entry. */
  .entry-leaving .story>*,.entry-arriving .story>*,.entry-returning .story>*{opacity:0!important;pointer-events:none;transition:opacity var(--m-feedback) var(--m-ease-out)}
}

@media(max-width:800px){
  .intro>p:last-child{display:block;font-size:14px;line-height:1.4;max-width:360px;margin:10px 0 0}
  .intro>p:last-child br{display:none}
}
/* Legible labels over both the dark surface and the model. */
.annotation:not(.active){background:#102922;color:#d5e2d8}
.model-caption,.steps small,.steps .step-number{color:#c4d2c7}
.model-caption{background:#102922;padding:2px 5px}
.scene-controls>summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}

/* Home controls: the steps lead; model settings stay behind one disclosure. */
.annotation,.annotation:not(.active),.annotation.active{width:44px;min-width:44px;height:44px;padding:0;border:0;background:transparent}
.annotation::before{content:'';width:7px;height:7px;border-radius:50%;background:#c4d2c7;box-shadow:0 0 0 3px #102922b3;transition:background var(--m-feedback) var(--m-ease-out),box-shadow var(--m-feedback) var(--m-ease-out)}
.annotation.active::before,.annotation.is-highlighted::before,.annotation:hover::before,.annotation:focus-visible::before{background:var(--gold);box-shadow:0 0 0 4px #102922c9,0 0 0 5px #dec38c70}
.annotation .annotation-name,.annotation.active .annotation-name{display:block;position:absolute;bottom:40px;left:50%;transform:translateX(-50%);padding:7px 10px;border-radius:4px;background:#102922;color:var(--paper);opacity:0;visibility:hidden;pointer-events:none}
.annotation:hover .annotation-name,.annotation:focus-visible .annotation-name{opacity:1;visibility:visible}
.annotation:hover,.annotation:focus-visible{z-index:3}
.leaders{display:none}
.scene-controls{bottom:130px;border:0;margin:0}
.scene-controls>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:0 12px;border:1px solid #b2c3b730;border-radius:4px;color:var(--muted);font-size:11px;cursor:pointer;list-style:none}
.scene-controls>summary::-webkit-details-marker{display:none}
.scene-controls>summary span{font-size:18px;color:var(--gold);transition:transform var(--m-feedback) var(--m-ease-out)}
.scene-controls[open]>summary span{transform:rotate(45deg)}
.scene-controls[open]>summary{color:var(--paper);background:#183b30}
.scene-controls .view-controls{position:absolute;inset:auto 0 52px auto;width:300px;display:grid;grid-template-columns:1fr 1fr;gap:4px 16px;padding:12px 16px;border:1px solid #b2c3b740;border-radius:6px;background:#102922;box-shadow:0 12px 32px #03110c50}
.scene-controls .view-controls input{width:100%;height:44px}
.scene-controls .view-controls button{text-align:left}
@media(max-width:800px){
  .steps{grid-row:5;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #c9dbc240;border-radius:6px;overflow:hidden;margin:0}
  .steps button,.steps button+button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 8px}
  .steps button+button{border-left:1px solid #c9dbc22e}
  .steps button[aria-current=step]{background:#dec38c14}
  .steps button::before{top:auto;bottom:0}
  .steps button:focus-visible{outline-offset:-3px}
  .steps small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .steps .step-number{margin:0;font-size:9px}
  .steps b{font-size:12px;line-height:1.4}
  .scene-controls{grid-row:6;justify-self:end;position:relative;inset:auto;margin:0;border:0}
  .scene-controls .view-controls{width:min(300px,calc(100vw - 48px))}
  .story>p:not(.eyebrow){grid-row:7;margin:0}
}
@media(max-width:700px){.scene-controls>summary,.scene-controls .view-controls button{font-size:15px}}
/* opening film (film.js): the location labels wait for the live scene */
.film-playing .stage .annotation,.film-playing .stage .leaders{visibility:hidden}
/* Keyboard arrival from a chapter and the skip link retain a visible location. */
.steps:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
/* Phone home as its own composition (PHONE3): the steps frame each part close (diorama.js phoneFramings);
   one step indicator (the step bar), one main action (Poznaj zakres, beside the title), one label at a time,
   and Widok, the way back to the whole, on the model's lower right. */
@media(max-width:800px){
  .story .eyebrow#step-kicker{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;margin:0}
  .step-title-clip{grid-column:1;grid-row:2;margin:0;align-self:center}
  .story>a{grid-column:2;grid-row:2;align-self:center;min-height:44px;min-width:44px;padding:0 0 0 4px;font-size:13px;gap:8px;color:var(--gold);border-bottom:1px solid #dec38c80;border-radius:0}
  .stage{grid-row:3}
  .steps{grid-row:4}
  .story>p:not(.eyebrow){grid-row:5}
  .scene-controls{grid-row:3;grid-column:1/-1;justify-self:end;align-self:end;z-index:5;margin:0 0 8px}
  .scene-controls>summary{background:#102922d9}
  .scene-controls .view-controls{inset:auto 0 52px auto}
  .annotation:not(.active){display:none}
  .annotation.active .annotation-name{opacity:1;visibility:visible}
  .film-playing .scene-controls{visibility:hidden}
}
@media(max-width:800px){
  /* the close-ups run off the model's edges: feather the stage's top and bottom instead of a hard crop line */
  #diorama{-webkit-mask-image:linear-gradient(#0000,#000 7%,#000 93%,#0000);mask-image:linear-gradient(#0000,#000 7%,#000 93%,#0000)}
}
/* HERO (HERO.md): on desktop the model is the hero image. "Energia wymaga połączeń." is the one headline; the
   selected step's title is secondary, small and set just above the step bar it belongs to. */
@media(min-width:801px){
  .story{top:auto;bottom:150px;width:300px}
  .story .eyebrow{margin-bottom:8px}
  .step-title-clip{margin-block:-4px 6px}
  .story h2{font-size:28px;line-height:1.1;letter-spacing:-.01em}
  .story h2 br{display:none}
  .story>p:not(.eyebrow){min-height:0;margin-bottom:8px}
  .stage{top:12px;height:calc(100% - 150px);width:80%;right:-1%}
}
