/* ===== Large screens 11.11 =====
   Loaded last on every page (functions.php, priority 100) so it can adjust page CSS without editing it.
   Everything here is inside min-width:1441px, so layouts at 1440px and below are unchanged. Perf 12.11 (F5): the
   <link> carries media="(min-width:1441px)", so it no longer blocks rendering on smaller screens. Keep EVERY rule
   in this file inside a >=1441px media query; all-size rules live in allsizes.css (printed inline after this file).
   One frame for the whole site on big monitors:
   --ndW  content width (.wrap): 1280px up to 1800px wide, then grows with the screen to 1520px (≈2280px+).
   --ndG  outer gutter for full-width bands (nav, homepage hero, How it works story): the content edge
          minus 72px, never less than the 48px used at 1440. So the nav logo, the hero copy and the
          story cards sit just outside the content column instead of at the far screen edge.
   --ndP  photo heroes (.sp-pic / .apic): content width + 112px (1392px at 1440, as before), centred. */
@media (min-width:1441px){
 :root{--ndW:clamp(1280px,calc(50vw + 380px),1520px);--ndG:max(48px,calc((100% - var(--ndW)) / 2 - 32px));--ndP:max(24px,calc((100% - var(--ndW)) / 2 - 56px))}
 .b5 .wrap{max-width:var(--ndW)}

 /* nav (inner pages): logo + language/Contact follow the frame; the centred pill is unchanged */
 .sp-top{padding-left:var(--ndG);padding-right:var(--ndG)}

 /* photo heroes: capped and centred instead of running edge to edge (a 1400-1600px photo was being
    stretched to 2500px+, soft and very tall: 1155px at 2560) */
 .b5 .sp-pic,.b5 .apic{margin-left:var(--ndP);margin-right:var(--ndP)}

 /* homepage hero: same frame; the illustration lives inside it and is no longer cropped (see home.js) */
 .h5-20{--g:var(--ndG)}
 .h5-20 .bgs,.h5-20 .bgs-g{left:calc(var(--g) - 48px);right:calc(var(--g) - 48px);width:auto;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%)}

 /* How it works: story text, cards, clock and rail on the same frame (were pinned to the screen edges) */
 .panel,.static .panel{padding-left:var(--ndG);padding-right:var(--ndG)}
 .clock,.rail{right:var(--ndG)}

 /* sticky nav: the 14px backdrop blur is re-rendered over the full screen width on every scroll frame,
    which is expensive on big / high-DPI monitors; a slightly more opaque bar looks the same */
 .sp-top.sc{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(248,248,248,.95)}

 /* large2 11.11: section intros (.sh p) grew with the wider frame to ~1000px = 80-99 characters per line
    (How it works, Energy parks); keep them at a readable measure */
 .b5 .sh p{max-width:68ch}
}
/* Very large screens: let the homepage hero breathe a little more (the scene scales with the height) */
@media (min-width:2200px) and (min-height:1200px){
 .h5-20 .hero{min-height:clamp(780px,100vh,1040px)}
}
