/* Page-level continuity only: component borders and interactive surfaces stay intact. */
:root{--kn-section-fade:120px;--kn-photo-fade:150px}
/* One persistent environment across homepage, forms, legal and dashboard routes. */
body{background-color:var(--kn-black);background-image:none}
.galaxy{background:radial-gradient(ellipse at 20% 10%,#cfb66c0b,transparent 65%),radial-gradient(ellipse at 90% 65%,#ffffff05,transparent 60%),var(--kn-black)}
/* Suppress full-width paint, not card surfaces. Atmosphere layers carry the lighting. */
main>section.section,main>section.section:nth-of-type(n){background:transparent;border-block:0;box-shadow:none}
.section-atmosphere{inset:calc(var(--kn-section-fade) * -.5) 0;mask-image:linear-gradient(to bottom,transparent,#000 var(--kn-section-fade),#000 calc(100% - var(--kn-section-fade)),transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 var(--kn-section-fade),#000 calc(100% - var(--kn-section-fade)),transparent)}
/* The photograph fades independently of the animated light; no opacity cycle can expose its edge. */
main>.photo-hero{background:transparent;border-block:0}
.photo-hero .hero-photo,.photo-hero:before{mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - var(--kn-photo-fade)),transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - var(--kn-photo-fade)),transparent 100%)}
.photo-hero:after{background:radial-gradient(ellipse at 78% 25%,#cfb66c20,transparent 58%),radial-gradient(ellipse at 90% 50%,#ffffff0c,transparent 45%);mask-image:linear-gradient(to bottom,#000, #000 60%,transparent);-webkit-mask-image:linear-gradient(to bottom,#000,#000 60%,transparent)}
/* Header retains its glass surface; diffuse shadow replaces the page-wide rule. */
header{border-bottom-color:transparent;box-shadow:0 12px 28px -16px #0007}
/* Tread is atmospheric texture rather than a sharp strip or divider line. */
.tread-divider{background:transparent;mask-image:radial-gradient(ellipse,#000 20%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse,#000 20%,transparent 72%)}
.tread-divider:after{display:none}
/* Shared background continues around contained photos and all platform cards. */
.platform-main{background:transparent;position:relative;isolation:isolate}
.platform-main:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 100% 30%,#cfb66c16,transparent 65%),radial-gradient(ellipse at 0 65%,#ffffff08,transparent 60%);mask-image:linear-gradient(to bottom,transparent,#000 var(--kn-section-fade),#000 calc(100% - var(--kn-section-fade)),transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 var(--kn-section-fade),#000 calc(100% - var(--kn-section-fade)),transparent)}
footer{position:relative;isolation:isolate;background:transparent;border-top:0;box-shadow:none}
footer:before{content:'';position:absolute;inset:-40px 0 0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 80% 65%,#cfb66c0e,transparent 65%),linear-gradient(180deg,transparent,#08090b55);mask-image:linear-gradient(to bottom,transparent,#000 var(--kn-section-fade));-webkit-mask-image:linear-gradient(to bottom,transparent,#000 var(--kn-section-fade))}
/* Only internal information separators remain; no full-width footer seam. */
.footer-bottom{border-top:0}
@media(max-width:1023px){:root{--kn-section-fade:80px;--kn-photo-fade:100px}}
@media(max-width:750px){:root{--kn-section-fade:48px;--kn-photo-fade:28px}.photo-hero .hero-photo{mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 28px),transparent);-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 28px),transparent)}}
/* Preserve deliberate high-contrast accessibility mode. */
html[data-a11y-contrast=high] .section-atmosphere,html[data-a11y-contrast=high] .platform-main:before,html[data-a11y-contrast=high] footer:before{display:none}
@media print{.platform-main:before,footer:before{display:none}}
