/* WordPress-only compatibility shim. The visual system remains demo-2 CSS. */
html,body{background:var(--bg,#0D0D0D)!important;}
#smooth-wrapper,#smooth-content,#main{width:100%;min-width:0;}
#main{position:relative;z-index:1;}
body.admin-bar .site-header{top:32px;}
@media(max-width:782px){body.admin-bar .site-header{top:46px;}}
@media(max-width:600px){body.admin-bar .site-header{top:0;}}
img{height:auto;}

.loader.is-up,.loader.is-over{pointer-events:none!important;}

.error-hero{min-height:calc(100vh - var(--header-h,76px));display:flex;align-items:center;position:relative;overflow:hidden}
.error-hero__grid{display:grid;grid-template-columns:minmax(240px,.8fr) 1.2fr;gap:clamp(2rem,6vw,8rem);align-items:center}
.error-hero__code{font-family:"Clash Display",sans-serif;font-size:clamp(10rem,25vw,27rem);font-weight:600;line-height:.72;letter-spacing:-.07em;color:var(--off,#f7f7f5)}
.error-hero__copy{position:relative;z-index:2;max-width:42rem}
.error-hero__copy .lead{margin-top:2rem}
.error-hero__copy .btn-row{margin-top:2rem}
.error-hero__lines{position:absolute;inset:0;pointer-events:none;opacity:.28}
.error-hero__lines span{position:absolute;width:60vw;height:1px;background:var(--sand,#e3dba9);transform:rotate(45deg);transform-origin:left center}
.error-hero__lines span:nth-child(1){left:4%;top:12%}.error-hero__lines span:nth-child(2){left:36%;top:28%;transform:rotate(122deg)}.error-hero__lines span:nth-child(3){left:58%;top:55%;transform:rotate(32deg)}
.thank-hero{min-height:75vh;display:flex;align-items:center}
.thank-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.42fr);gap:clamp(3rem,8vw,8rem);align-items:end;margin-top:clamp(3rem,7vw,7rem)}
.thank-card{border-top:1px solid rgba(255,255,255,.2);padding-top:1.5rem}
.thank-card__num{display:block;color:var(--green,#0cdc2a);font-family:"Space Grotesk",sans-serif;font-size:.7rem;letter-spacing:.12em;margin-bottom:2rem}
.thank-card h2{font-size:clamp(1.8rem,3vw,3rem);margin-bottom:1rem}
.thank-card p{color:var(--muted,#aaa)}
@media(max-width:767px){.error-hero__grid,.thank-hero__grid{grid-template-columns:1fr}.error-hero__code{font-size:clamp(8rem,45vw,14rem)}}
