/* p4-light-borjghali.css — Phase 4 /en/borjghali light staging (Wick 09:27). After p4-light.css + p4-light-v2.css.
   Light only (dark untouched). Decoration only; nothing over text; the ship picture is framed OUTSIDE its box; no green changed. */
:root{--p4f:url(../p4v2/chrome/engraved-frame.svg)}
/* the ship bay: engraved frame just outside the dark bay (bay keeps overflow:hidden, so the frame hangs off the hero) */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-hero{position:relative;container-type:inline-size}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-hero::before{content:"";position:absolute;z-index:2;top:-13px;left:calc(50% - min(100cqw,1200px)/2 - 13px);width:calc(min(100cqw,1200px) + 26px);height:calc(min(100cqw,1200px) * 9 / 16 + 26px);border:22px solid transparent;border-image:var(--p4f) 24 round;pointer-events:none;box-sizing:border-box}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-bay{box-shadow:0 0 0 2px var(--p4-gold),0 0 0 3px var(--p4-iron),0 14px 30px -16px rgba(60,40,10,.5)}
/* the herald: the intro under the ship, engraved (vellum centre, hatched vignette, frame, arcade crown) */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-intro{position:relative;margin-top:62px;padding:30px clamp(16px,3vw,32px) 26px;background:radial-gradient(ellipse 72% 66% at 50% 50%,#fffaf0 60%,rgba(255,250,240,0) 100%),url(../p4v2/chrome/hatch.svg),linear-gradient(#f6eedb,#efe2c4)}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-intro::after{content:"";position:absolute;inset:-4px;border:18px solid transparent;border-image:var(--p4f) 24 round;pointer-events:none}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-intro::before{content:"";position:absolute;left:50%;top:-30px;transform:translateX(-50%);width:min(560px,90%);height:30px;background:url(../p4v2/chrome/divider-arcade-wide.svg) center bottom/contain no-repeat;pointer-events:none}
/* bands: arcade divider above each, centred heading vein, margin veins densest at the head */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-band{position:relative}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-band::before{content:"";position:absolute;top:-46px;left:50%;transform:translateX(-50%);width:min(520px,92%);height:36px;background:url(../p4/chrome/divider-arcade.svg) center/contain no-repeat;pointer-events:none}
@media (min-width:900px){html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-band::before{top:-50px;width:min(880px,94%);height:44px;background-image:url(../p4v2/chrome/divider-arcade-wide.svg)}}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-band h2{background:url(../p4/chrome/heading-vein.svg) no-repeat 50% 100%/120px 10px;padding-bottom:18px}
@media (min-width:1200px){html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-band:not(.bj-board)::after{content:"";position:absolute;top:0;left:-72px;width:54px;height:min(570px,100%);background:url(../p4v2/chrome/margin-veins.svg) top left/54px auto no-repeat;pointer-events:none}}
/* rows, steps, boxes, board on vellum with the engraved frame outside their (unchanged) borders */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page :is(.bj-row,.bj-step,.bj-box,.bj-board){position:relative;background-color:rgba(255,250,240,.9)}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page :is(.bj-row,.bj-step,.bj-box)::after{content:"";position:absolute;inset:-6px;border:18px solid transparent;border-image:var(--p4f) 24 round;pointer-events:none}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-board::after{content:"";position:absolute;inset:-9px;border:22px solid transparent;border-image:var(--p4f) 24 round;pointer-events:none}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-board::before{content:"";position:absolute;left:50%;top:-24px;transform:translateX(-50%);width:min(560px,90%);height:30px;background:url(../p4v2/chrome/divider-arcade-wide.svg) center bottom/contain no-repeat;pointer-events:none}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page .bj-row+.bj-row{margin-top:18px}
/* woven trim on the buttons (fills unchanged) */
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page :is(a.bj-cta,a.bj-ghost){position:relative;box-shadow:0 0 0 2px #f7f2e6,0 0 0 3.5px var(--p4-iron)}
html:not(:is([data-zx-theme="dark"],[data-zx-theme="eclipse"])) main.bj-page :is(a.bj-cta,a.bj-ghost)::after{content:"";position:absolute;left:8px;right:8px;bottom:-11px;height:6px;background:url(../p4/chrome/woven-rule.svg) repeat-x 0 0/6px 7px;pointer-events:none}
