/* Ivory glass treatment. Existing logo, links and column order are retained. */
#site-footer{position:relative;isolation:isolate;overflow:visible;width:calc(100% - 48px);max-width:1440px;margin:28px auto 24px;padding:0 clamp(24px,4vw,64px);border:0;border-radius:32px;background:transparent;color:#2d0313;box-shadow:none}
#site-footer::before{content:"";position:absolute;z-index:-2;inset:-28px auto -24px 50%;width:100vw;transform:translateX(-50%);background:radial-gradient(ellipse at 4% 82%,#f7a9c880,transparent 47%),radial-gradient(ellipse at 94% 62%,#ffba8b8a,transparent 48%),linear-gradient(110deg,#fff6f2,#ffeff3 55%,#fff5e9);pointer-events:none}
#site-footer::after{content:"";position:absolute;inset:0;z-index:-1;border:1px solid #fffffff0;border-radius:inherit;background:linear-gradient(130deg,#ffffffbf,#fffaf39c);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 12px 40px -30px #6e284534,inset 0 1px 0 #fff;pointer-events:none}
#site-footer>.shell{width:100%}
#site-footer .footer-top{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:42px;padding:52px 0 36px}
#site-footer .footer-brand p{max-width:300px;margin:22px 0 0;color:#684b59;font-size:14px;line-height:1.65}
#site-footer .footer-top h4{margin:0 0 14px;color:#4c1028;background:none;-webkit-text-fill-color:currentColor;letter-spacing:.045em;font-size:12px}
#site-footer .footer-top>div>a:not(.new-brand){display:block;padding:6px 0;color:#684b59;font-size:13px;line-height:1.5}
#site-footer .footer-top>div>a:not(.new-brand):hover,#site-footer .footer-bottom a:hover{color:#ab2155}
#site-footer a:focus-visible{outline:2px solid #a82c5b;outline-offset:4px;border-radius:3px}
#site-footer .footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #9e61752b;padding:20px 0 26px;color:#765565;font-size:12px}
#site-footer .footer-bottom div{display:flex;gap:18px}
#site-footer .footer-bottom a{color:#765565}
@media(max-width:1000px){#site-footer .footer-top{grid-template-columns:1fr 1fr}}
@media(max-width:700px){#site-footer{width:calc(100% - 32px);margin:20px auto 16px;padding:0 24px;border-radius:25px}#site-footer::before{top:-20px;bottom:-16px}#site-footer .footer-top{gap:28px 22px;padding:35px 0 28px}#site-footer .footer-brand{grid-column:1/-1}#site-footer .footer-brand p{margin-top:17px;font-size:13px;max-width:280px}#site-footer .footer-top>div>a:not(.new-brand){font-size:12px;padding:6px 0}#site-footer .footer-top h4{font-size:11px}#site-footer .footer-bottom{flex-direction:column;gap:12px;font-size:11px;padding:19px 0 24px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#site-footer::after{background:#fffaf1ed}}

/* Continue the preceding page surface with only a 48px feather at the boundary. */
#site-footer::before{top:calc(-1 * var(--footer-gap,28px) - 48px);bottom:calc(-1 * var(--footer-bottom-gap,24px));background-color:var(--footer-origin-colour,#fffcfb);background-image:var(--footer-origin-image,none);background-position:var(--footer-origin-position,center bottom);background-size:var(--footer-origin-size,auto);background-repeat:var(--footer-origin-repeat,repeat);mask-image:linear-gradient(to bottom,transparent 0,#000 48px,#000 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 48px,#000 100%)}

/* Keep the shared footer identical across legacy and homepage stylesheets. */
#site-footer{font-family:'DM Sans',system-ui,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
#site-footer *{box-sizing:border-box}
#site-footer a{text-decoration:none}
#site-footer .footer-top h4{font-family:'Manrope','DM Sans',system-ui,sans-serif;font-weight:700;line-height:1.5}
#site-footer .footer-brand .new-brand{display:flex;align-items:center;gap:15px;width:max-content;margin:0;text-decoration:none}
#site-footer .footer-brand .brand-icon{display:block;width:38px!important;height:38px!important;max-width:none;max-height:none;object-fit:contain;flex:none}
#site-footer .footer-brand .brand-word-shape{display:block;width:96px;height:32px;flex:none;background:#2d0313;-webkit-mask:url('alyeon-wordmark-reference.png') center / contain no-repeat;mask:url('alyeon-wordmark-reference.png') center / contain no-repeat}
#site-footer .footer-brand .brand-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Match the industry invitation surface through the homepage demo and footer. */
body[data-page="home"]{--home-footer-surface:linear-gradient(180deg,#fffcfb 0%,#fffcfb00 25%,#fff3ee00 65%,#fff3ee 100%),radial-gradient(ellipse at 18% 65%,#f9c4d8 0%,transparent 57%),radial-gradient(ellipse at 90% 62%,#ffe0ba 0%,transparent 58%)}
body[data-page="home"] .demo-invitation{background-color:#fff7f2;background-image:var(--home-footer-surface)}
body[data-page="home"] #site-footer::before{background-color:#fff7f2;background-image:var(--home-footer-surface)}
