/* Fail-open baseline; successful enhancement retains supplied design. */
html:not(.enhanced) #loader,html:not(.enhanced) [data-open-modal],html:not(.enhanced) .burger,html:not(.enhanced) #hero-film-sound{display:none}
html:not(.enhanced) .hero h1 .w,html:not(.enhanced) .fade-up,html:not(.enhanced) .rv,html:not(.enhanced) .rv-mask>span{opacity:1;transform:none}
html:not(.enhanced) .film{opacity:1}
html:not(.enhanced) .svc-body,html:not(.enhanced) .q .a{grid-template-rows:1fr}
html:not(.enhanced) .frame{clip-path:none}
html:not(.enhanced) .process{height:auto}
html:not(.enhanced) .process-pin{position:relative;height:auto}
html:not(.enhanced) .track{display:grid;transform:none;gap:30px;padding-inline:5vw}
html:not(.enhanced) .step{width:auto;opacity:1}
html:not(.enhanced) .tree path,html:not(.enhanced) .tree rect{stroke-dashoffset:0;opacity:1;transform:none}
html:not(.enhanced) .mobile-menu{position:relative;inset:auto;clip-path:none;padding:100px 5vw 20px;gap:12px}
html:not(.enhanced) .mobile-menu a{font-size:20px;opacity:1;transform:none}
@media(min-width:1001px){html:not(.enhanced) .mobile-menu{display:none}}
.skip{position:fixed;top:8px;left:8px;z-index:150;background:var(--paper);color:var(--ink);padding:10px;transform:translateY(-160%)}.skip:focus{transform:none}
.legacy-anchor{position:absolute;scroll-margin-top:100px}
#motion{font:11px Inter,sans-serif;color:var(--muted);border:1px solid var(--line);border-radius:100px;padding:7px 12px;white-space:nowrap}
html:not(.enhanced) #motion{display:none}
.paused *,.paused *:before,.paused *:after,.motion-hidden *,.motion-hidden *:before,.motion-hidden *:after,.motion-offscreen *,.motion-offscreen *:before,.motion-offscreen *:after{animation-play-state:paused!important}
.paused,.paused *{scroll-behavior:auto!important}
.paused .rv,.paused .fade-up,.paused .rv-mask>span,.paused .hero h1 .w{opacity:1;transform:none;transition:none}
.paused #loader{display:none}
.paused .wd{opacity:1}
/* Expanded fallback social disclosures must wrap within the viewport. */
html:not(.enhanced) .footer-social{flex-wrap:wrap}
/* Clip only decorative footer lettering; keep social controls unclipped. */
html:not(.enhanced) .big-word{overflow:clip}
/* Fallback service headings must shrink/wrap rather than widen the grid. */
@media(max-width:700px){html:not(.enhanced) .svc-t{min-width:0;overflow-wrap:anywhere}}
/* Active enquiry sits above its inert background, including consent UI.
   The unchanged banner/settings remain available when the enquiry closes. */
#modal{z-index:10001}
/* Body scroll locking exposes transformed background overflow at the root. */
html:has(#modal.on){overflow-x:clip}
/* Wrapped mobile labels need their own rows, not a fixed 22px inset. */
@media(max-width:700px){
 #modal .field:has(> textarea),#modal .field:has(> #contact-budget),#modal .field:has(> #contact-timeline){display:flex;flex-direction:column-reverse}
 #modal .field textarea+label,#modal label[for=contact-budget],#modal label[for=contact-timeline]{position:static}
 #modal .field textarea,#modal #contact-budget,#modal #contact-timeline{padding-top:10px}
}
/* Keep supplied footer styling; wrap links only on narrow screens. */
@media(max-width:700px){footer .foot nav,.film-bar{flex-wrap:wrap}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.footer-social{display:flex;gap:12px;margin-top:28px;position:relative;z-index:3}.social-disclosure{position:relative}.social-disclosure>button{display:flex;align-items:center;gap:10px;min-height:46px;padding:9px 15px;background:transparent;color:var(--paper);border:1px solid #b9a2804a;font-size:12px}.social-disclosure>button:hover,.social-disclosure>button[aria-expanded=true]{background:#b9a28017;border-color:var(--gold)}.social-disclosure svg{width:18px;height:20px;fill:var(--gold)}.social-chevron{color:var(--gold);margin-left:6px}.social-panel{position:absolute;bottom:calc(100% + 10px);left:0;width:250px;max-width:calc(100vw - 40px);padding:10px;background:#28251f;border:1px solid #b9a28066;box-shadow:0 14px 38px #0008}.social-panel[hidden]{display:none}.social-panel>p{font-size:10px;color:var(--muted);padding:8px;display:flex;justify-content:space-between;gap:20px}.social-panel>a{font-size:13px;min-height:46px;padding:11px 9px;display:flex;justify-content:space-between;align-items:center;gap:12px}.social-panel>a:hover,.social-panel>a:focus-visible{background:#b9a28022}.social-panel>a>span[aria-hidden]{color:var(--gold)}
@media(max-width:600px){.footer-social{gap:10px;justify-content:space-between}.social-disclosure>button{font-size:11px;padding:10px 12px}.social-disclosure:last-child .social-panel{left:auto;right:0}.social-panel{width:250px}}
html:not(.enhanced) .social-panel[hidden]{display:block;position:static}
