5353 font-size : 1rem ;
5454 line-height : 1.6 ;
5555 color : var (--text );
56- /* Dark base so white matrix rain reads clearly in gutters */
57- background : # 030712 ;
56+ background : # f1f5f9 ;
5857 background-attachment : fixed;
5958 min-height : 100vh ;
6059 min-height : 100dvh ;
@@ -72,22 +71,20 @@ a:hover {
7271 text-decoration : underline;
7372}
7473
75- /* Full-viewport matrix: white 0/1, screen blend on dark body */
76- .matrix-canvas--page-bg {
77- position : fixed ;
74+ /* Matrix rain only inside hero bands (home .hero-wrap, inner .page-hero--mesh) */
75+ .matrix-canvas--hero {
76+ position : absolute ;
7877 inset : 0 ;
7978 width : 100% ;
8079 height : 100% ;
81- min-height : 100vh ;
82- min-height : 100dvh ;
8380 z-index : 0 ;
84- opacity : 0.62 ;
81+ opacity : 0.58 ;
8582 mix-blend-mode : screen;
8683 pointer-events : none;
8784}
8885
8986@media (prefers-reduced-motion : reduce) {
90- .matrix-canvas--page-bg {
87+ .matrix-canvas--hero {
9188 display : none !important ;
9289 }
9390}
@@ -354,6 +351,7 @@ main > .section:not(.section-alt):not(.section-tint):not(.home-intro):not(.home-
354351 content : "" ;
355352 position : absolute;
356353 inset : 0 ;
354+ z-index : 1 ;
357355 background :
358356 radial-gradient (ellipse 80% 50% at 20% 40% , rgba (79 , 70 , 229 , 0.38 ), transparent 58% ),
359357 radial-gradient (ellipse 60% 40% at 80% 60% , rgba (6 , 182 , 212 , 0.28 ), transparent 52% ),
@@ -365,6 +363,7 @@ main > .section:not(.section-alt):not(.section-tint):not(.home-intro):not(.home-
365363 content : "" ;
366364 position : absolute;
367365 inset : 0 ;
366+ z-index : 1 ;
368367 background-image : url ("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E" );
369368 opacity : 0.5 ;
370369 pointer-events : none;
@@ -374,6 +373,7 @@ main > .section:not(.section-alt):not(.section-tint):not(.home-intro):not(.home-
374373.hero-orbs {
375374 position : absolute;
376375 inset : 0 ;
376+ z-index : 2 ;
377377 pointer-events : none;
378378 overflow : hidden;
379379}
@@ -416,6 +416,7 @@ main > .section:not(.section-alt):not(.section-tint):not(.home-intro):not(.home-
416416
417417.hero {
418418 position : relative;
419+ z-index : 3 ;
419420 padding : 4.5rem 0 5rem ;
420421 text-align : left;
421422}
0 commit comments