/* Every page but home, in the "open sky" look (user's choice, 2026-10-21): home's photographs fade slowly behind the page
   under a soft paper wash, sections are clear, the blue and yellow bands are tinted glass, and each page opens on home's
   folding-strip photographs (pages.js + sky.js). All of it hangs off html[data-pg-sky], set by an inline flag in the root
   layout for those pages only, so the padding is in place before the first paint. */
html[data-pg-sky] { background: #DCE3EC; }
html[data-pg-sky] body, html[data-pg-sky] .pmain, html[data-pg-sky] .pmain .pgrid { background: transparent !important; }
html[data-pg-sky]::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgb(255 255 255 / .5), rgb(255 255 255 / .62)); }
.pg-l { position: fixed; inset: 0; z-index: -2; background: center / cover no-repeat; opacity: 0; transition: opacity 1.8s ease; pointer-events: none; }
.pg-l.on { opacity: 1; }

/* header: frosted paper over the page, no rule under it; clear over the opening photographs, exactly like home's (sky.css body.on-sky) */
html[data-pg-sky] .jnav { background: rgb(255 255 255 / .62) !important; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 0 !important; transition: background-color .35s, backdrop-filter .35s; }
html[data-pg-sky] .jnav .jlinks a, html[data-pg-sky] .jnav .jbrand { text-decoration: none; }
body.pg-dark .jnav { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; color: #FFFFFF; }
body.pg-dark .jnav .jbrand, body.pg-dark .jnav .jbrand * { color: #FFFFFF !important; }
body.pg-dark .jnav .jbrand { text-shadow: 0 1px 16px rgb(8 12 24 / .3); }
body.pg-dark .jnav .jbrand::before { filter: invert(1) brightness(1.2); }
body.pg-dark .jnav .jlinks a { color: rgb(255 255 255 / .82) !important; } body.pg-dark .jnav .jlinks a:hover, body.pg-dark .jnav .jlinks a.on { color: #fff !important; }
body.pg-dark .jnav .jbtn.soft { background: rgb(255 255 255 / .16) !important; color: #FFFFFF !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
body.pg-dark .jnav .jbtn.ink { background: #FFFFFF !important; color: #0B0B0C !important; }
body.pg-dark .mnu-btn { background: rgb(255 255 255 / .14) !important; border-color: rgb(255 255 255 / .45) !important; color: #FFFFFF !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* the bands: tinted glass, still full width */
html[data-pg-sky] main > .band-c { background: rgb(21 101 192 / .7) !important; box-shadow: 0 0 0 100vmax rgb(21 101 192 / .7) !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
/* the yellow "next" strip: a slim rounded card sitting on the sky, no black rule (user, 2026-10-21) */
html[data-pg-sky] main > .band-s { position: relative; z-index: 2; margin: 90px 20px 0 !important; padding: 12px 28px !important; align-items: center !important; border: 0 !important; border-radius: 26px; background: rgb(33 150 243 / .9) !important; box-shadow: 0 22px 54px rgb(11 11 12 / .16), inset 0 0 0 1px rgb(255 255 255 / .35) !important; clip-path: none !important; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
html[data-pg-sky] main > .band-s:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgb(11 11 12 / .2), inset 0 0 0 1px rgb(255 255 255 / .35) !important; }
html[data-pg-sky] main > .band-s a { font-size: clamp(1.6rem, 3.6vw, 3rem) !important; } html[data-pg-sky] main > .band-s a:hover { color: inherit; }
html[data-pg-sky] main > .band-s .lab { padding-bottom: 0 !important; }
@media (max-width: 700px) { html[data-pg-sky] main > .band-s { margin: 64px 14px 0 !important; padding: 10px 20px !important; border-radius: 18px; } }
html[data-pg-sky] footer.foot { padding-top: 85px !important; }
html[data-pg-sky] main > footer, html[data-pg-sky] body > footer, html[data-pg-sky] .foot { background: rgb(255 255 255 / .55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 0 0 100vmax rgb(255 255 255 / .55); clip-path: inset(0 -100vmax); }

/* the opening: room above the first heading for the photographs, which run from the top of the page to just below it */
html[data-pg-sky] main > :first-child { padding-top: max(24vh, 150px); }
html[data-pg-sky] main > :first-child h1 { margin-bottom: 56px; }   /* room under the heading, where the photographs end */
.pg-open { position: absolute; left: 0; top: 0; width: 100%; z-index: -1; overflow: hidden; pointer-events: none; }
.pg-open .sky-stage { position: absolute; inset: 0; background: #10182c; overflow: hidden; perspective: 1400px; }
.pg-open .sky-s { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.pg-open .sky-s.on { opacity: 1; }
.pg-open .sky-s img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); }
.pg-open .sky-fold { position: absolute; inset: 0; z-index: 2; display: flex; transform-style: preserve-3d; animation: pgBreath 18s ease-in-out infinite alternate; }
@keyframes pgBreath { from { transform: scale(1.06); } to { transform: scale(1); } }
.pg-open .sky-st { position: relative; flex: 1; transform-style: preserve-3d; transition: transform .95s cubic-bezier(.65, 0, .35, 1); }
.pg-open .sky-st.flip { transform: rotateY(180deg); }
.pg-open .sky-st i { position: absolute; top: 0; bottom: 0; left: -.5px; right: -.5px; background-repeat: no-repeat; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.pg-open .sky-st .b { transform: rotateY(180deg); }
.pg-open .sky-stage::after { content: ''; position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgb(8 12 24 / .42) 0%, rgb(8 12 24 / .12) 35%, rgb(8 12 24 / .2) 70%, rgb(8 12 24 / .5) 100%); }
/* the heading and the small lines above it turn white while they sit on the photographs */
.pg-lit, .pg-lit * { color: #FFFFFF !important; text-shadow: 0 2px 30px rgb(8 12 24 / .35); }
.pg-lit h1 em, h1.pg-lit em { color: #2196F3 !important; }
@media (prefers-reduced-motion: reduce) { .pg-l { transition: none; } .pg-open .sky-fold { animation: none; } }
/* Premium and Process open on their cobalt section: there the photographs take its place */
html[data-pg-sky] main > .band-c:first-child { background: transparent !important; box-shadow: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; color: #FFFFFF !important; }
/* Premium uses home's header (header.nav): same treatment, frosted with no rule over the page, clear over the photographs */
html[data-pg-sky] header.nav { border-bottom-color: transparent !important; }
body.pg-dark header.nav { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; color: #FFFFFF; }
body.pg-dark header.nav .brand { color: #FFFFFF !important; text-shadow: 0 1px 16px rgb(8 12 24 / .3); }
body.pg-dark header.nav .brand::before { filter: invert(1); }
body.pg-dark header.nav .links { color: rgb(255 255 255 / .82); }
body.pg-dark header.nav .btn.soft { background: rgb(255 255 255 / .16) !important; color: #FFFFFF !important; }
body.pg-dark header.nav .btn.ink { background: #FFFFFF !important; color: #0B0B0C !important; }
