
#world{background:#040b1b;min-height:800px;}
#world>img{width:76%;height:100%;right:0;top:0;object-fit:cover;object-position:56% 30%;opacity:.94;}
#world::after{background:linear-gradient(90deg,#040b1b 0%,#040b1bf7 21%,#040b1bc9 38%,#040b1b68 55%,#040b1b18 76%,#040b1b35 100%),linear-gradient(0deg,#040b1b 0%,transparent 23%,transparent 87%,#040b1b66 100%);}
#world .world-copy{padding-top:90px;padding-bottom:90px;text-shadow:0 2px 16px #040b1b60;}
#world h2{max-width:610px;font-size:clamp(38px,4.4vw,62px);}
#world p{max-width:530px;line-height:1.9;font-size:15px;margin-top:28px;}
@media(max-width:760px){#world{min-height:0;}#world>img{width:100%;object-position:60% 25%;opacity:.77;}#world::after{background:linear-gradient(90deg,#040b1be8,#040b1ba0),linear-gradient(0deg,#040b1b 0%,transparent 40%,#040b1b22 90%);}#world .world-copy{padding-top:70px;padding-bottom:70px;}#world h2{font-size:clamp(34px,8.8vw,46px);}#world p{font-size:14px;line-height:1.85;max-width:100%;}}

/* Continuous midnight-blue atmosphere, composited over the original portrait. */
#home::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:180px;pointer-events:none;background:linear-gradient(0deg,#040b1b,transparent);z-index:0;}
#world{isolation:isolate;background:#040b1b;min-height:880px;}
#world>img{z-index:0;opacity:.9;filter:saturate(.62) brightness(.83);mask-image:linear-gradient(180deg,transparent 0%,#000 24%,#000 76%,transparent 100%);}
#world::after{z-index:1;pointer-events:none;background:linear-gradient(90deg,#040b1bf5 0%,#040b1bdb 24%,#051432b0 42%,#071c4666 65%,#061b4566 100%),linear-gradient(180deg,#040b1b 0%,#061a3e45 24%,#092a6445 65%,#040b1b 100%);}
#world::before{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:url('sharp-stars.svg') center/cover;opacity:.48;mask-image:linear-gradient(180deg,transparent 0%,#000 12%,#000 82%,transparent 100%);}
#world .world-copy{position:relative;z-index:3;padding-top:140px;padding-bottom:120px;}
#world .eyebrow{color:#b7d8ff;}
#world p{color:#c8d6ed;text-shadow:0 2px 12px #02091d;}
@media(max-width:760px){#home::after{height:130px;}#world{min-height:0;}#world>img{opacity:.86;filter:saturate(.58) brightness(.78);mask-image:linear-gradient(180deg,transparent 0%,#000 18%,#000 78%,transparent 100%);}#world::after{background:linear-gradient(90deg,#040b1be0,#092454a8),linear-gradient(180deg,#040b1b 0%,#09225133 24%,#061a3e55 70%,#040b1b 100%);}#world::before{opacity:.38;}#world .world-copy{padding-top:100px;padding-bottom:90px;}}

#world::after{mask-image:linear-gradient(180deg,transparent 0%,#000 18%,#000 100%);}

#world>img{mask-image:linear-gradient(180deg,transparent 0%,#000 24%,#000 76%,transparent 100%),linear-gradient(90deg,transparent 0%,#000 24%,#000 100%);mask-composite:intersect;}

#world .world-stars{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;opacity:.72;mask-image:linear-gradient(180deg,transparent,#000 12%,#000 85%,transparent);}
#world::before{inset:-45px;animation:portrait-star-drift 20s linear infinite alternate !important;will-change:transform;}
@keyframes portrait-star-drift{from{transform:translate3d(-30px,10px,0)}to{transform:translate3d(30px,-10px,0)}}
body.still #world::before{animation-play-state:paused !important;}

/* Match the opening palette and give the text more room to the left. */
#world{background:#040b1b;}
#world .world-copy{max-width:1440px;}
#world>img{filter:saturate(.22) brightness(.8);}
#world::after{background:linear-gradient(90deg,#040b1bf7 0%,#040b1bdb 24%,#061328b8 42%,#06132888 65%,#06132880 100%),linear-gradient(180deg,#040b1b 0%,#06132855 24%,#06132866 65%,#040b1b 100%);}
#world h2{color:var(--ink);}
#world .eyebrow{color:var(--blue);}
#world p{color:#c0cde1;text-shadow:0 2px 12px #040b1b;}
@media(max-width:760px){
 #world{min-height:0;}
 #world .world-copy{padding:90px 6% 85px;margin:0;width:100%;}
 #world>img{width:100%;height:min(620px,100%);right:0;object-position:61% 20%;filter:saturate(.22) brightness(.8);opacity:.84;mask-image:linear-gradient(180deg,transparent 0%,#000 18%,#000 68%,transparent 100%),linear-gradient(90deg,transparent 0%,#000 35%,#000 100%);}
 #world::after{background:linear-gradient(90deg,#040b1bd9,#061328a8),linear-gradient(180deg,#040b1b 0%,#06132855 24%,#06132866 65%,#040b1b 100%);}
 #world h2{max-width:100%;}
 #world p{max-width:100%;}
}

/* Lift the actual photo shadows into the opening sky's blue, including black pixels. */
#home::after{background:linear-gradient(0deg,#061328,transparent);}
#world{background:#061328;}
#world>img{opacity:.9;}
#world::after{background:linear-gradient(90deg,#061328f5 0%,#061328dd 24%,#061328b0 42%,#06132865 65%,#06132866 100%),linear-gradient(180deg,#061328 0%,#06132840 24%,#06132850 65%,#061328 100%);}
#world p{text-shadow:0 2px 12px #061328;}
.hero .intro{font-family:Georgia,serif;font-weight:400;font-style:normal;font-size:clamp(26px,2.5vw,34px);line-height:1.5;letter-spacing:-.015em;max-width:850px;}
@media(max-width:760px){#world::after{background:linear-gradient(90deg,#061328dd,#06132899),linear-gradient(180deg,#061328 0%,#06132840 24%,#06132850 65%,#061328 100%);}.hero .intro{font-size:clamp(21px,5.8vw,26px);line-height:1.5;}}

/* Stars remain in the sky; the original photo silhouette stays clear. */
#world::before{display:none;}
#world .world-star-layer{position:absolute;inset:0;z-index:3;pointer-events:none;visibility:hidden;overflow:hidden;mask-image:linear-gradient(#fff,#fff),url('portrait-silhouette.svg');mask-mode:alpha,alpha;mask-repeat:no-repeat;mask-size:100% 100%,var(--silhouette-size);mask-position:0 0,var(--silhouette-position);mask-composite:subtract;}
#world .world-star-layer.mask-ready{visibility:visible;}
#world .world-star-layer::before{content:'';position:absolute;inset:-45px;background:url('sharp-stars.svg') center/cover;opacity:.48;mask-image:linear-gradient(180deg,transparent,#000 12%,#000 82%,transparent);animation:portrait-star-drift 20s linear infinite alternate !important;will-change:transform;}
#world .world-star-layer .world-stars{z-index:1;}
#world .world-copy{z-index:4;}
body.still #world .world-star-layer::before{animation-play-state:paused !important;}

/* Blend the portrait edges into the same midnight-blue palette as the hero. */
#world{background:linear-gradient(180deg,#061328 0%,#040d23 24%,#040b1b 88%);}
#world::after{
 background:radial-gradient(ellipse at 69% 43%,transparent 18%,#040d2352 43%,#040b1ba6 90%),
            linear-gradient(90deg,#061328f5 0%,#061328dd 24%,#061328b0 42%,#06132972 65%,#06132975 100%),
            linear-gradient(180deg,#061328 0%,#06132840 24%,#06132850 65%,#040b1b 100%);
}
@media(max-width:760px){
 #world::after{
  background:radial-gradient(ellipse at 72% 32%,transparent 15%,#040d2348 47%,#040b1b99 100%),
             linear-gradient(90deg,#061328dd,#06132899),
             linear-gradient(180deg,#061328 0%,#06132840 24%,#06132850 65%,#040b1b 100%);
 }
}
