diff --git a/app/globals.css b/app/globals.css index 87057292..e55a75d8 100644 --- a/app/globals.css +++ b/app/globals.css @@ -109,6 +109,10 @@ 3. Base styles — applied to plain HTML elements before any classes hit. --------------------------------------------------------------------------- */ @layer base { + html { + background: var(--bg); + } + html { scroll-behavior: smooth; } @@ -135,6 +139,10 @@ } } +html[data-ui-ready="0"] body { + opacity: 0; +} + /* --------------------------------------------------------------------------- 4. Site shell + ambient effects The .site-shell class is on the
element in page.tsx. The two diff --git a/app/layout.tsx b/app/layout.tsx index 79814b20..64e6e342 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -62,11 +62,36 @@ export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode }>) { return ( - + + +