/* Shared usability corrections for the commercial pages. */
.clear-preview .nav-links{font-size:13px;gap:18px}
.clear-preview .nav-links a{display:inline-flex;align-items:center;min-height:44px;padding-block:10px}
.clear-preview .nav-contact{font-size:11px}
.video-preview.clear-preview.ui-scrolled:not(.nav-on-paper) .site-header{background:rgba(20,12,40,.96);backdrop-filter:blur(12px)}
.video-preview.clear-preview .hero h1 em{text-shadow:0 0 2px #000,0 2px 12px #0009}
.clear-preview .film-controls{flex-wrap:wrap;gap:12px 20px}
.clear-preview .film-controls .text-link,.clear-preview .film-toggle{min-height:44px;font-size:12px}
.clear-preview .footer-bottom{font-size:12px;line-height:1.6;gap:10px 20px}
.clear-preview .footer-bottom a{display:inline-flex;align-items:center;min-height:44px}
.clear-preview .back-top{min-width:44px;min-height:44px}
.clear-preview .yio-contact label{font-size:14px}
.clear-preview .yio-contact input:not([type=checkbox]),.clear-preview .yio-contact textarea{font-size:16px;line-height:1.5}
.clear-preview .contact-small{font-size:13px;line-height:1.65}
.clear-preview .yio-contact .contact-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;line-height:1.5;cursor:pointer}
.clear-preview .contact-check input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;accent-color:#6600ff}
.clear-preview #contact-status{min-height:1.5em;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.clear-preview #contact-status[data-state=error]{color:#a11932}
.clear-preview #contact-status[data-state=success]{color:#17664a}
.clear-preview .chat-header-actions button{width:44px;height:44px;min-width:44px;min-height:44px;flex-shrink:0;color:#59316f;border-color:#c9b5dd}
.clear-preview .chat-header-actions{gap:6px}
.clear-preview .landing-chat-form input{font-size:16px;min-height:44px;flex:1}
.clear-preview .landing-chat-form button{width:44px;height:44px;min-width:44px;min-height:44px}
.clear-preview .landing-chat-tabs button,.clear-preview .chat-quick-prompts button{min-height:44px}
.clear-preview.ui-contact-visible:not(.ui-chat-open) #landing-chat-character,.clear-preview.ui-menu-open #landing-chat-character{visibility:hidden}
@media(max-width:800px){
 .clear-preview .nav-links{font-size:14px;gap:6px 18px}
 .clear-preview .nav-links.is-open{padding:18px 22px;max-height:calc(100dvh - 82px);overflow-y:auto;overscroll-behavior:contain}
 .clear-preview .nav-links a{min-height:44px}
 .clear-preview.ui-form-editing #landing-chat{visibility:hidden;pointer-events:none}
 .clear-preview .landing-chat-panel{max-height:calc(100dvh - 24px)}
}
@media(max-width:520px){
 .clear-preview:not(.ui-chat-open) #landing-chat-character{visibility:hidden}
 .clear-preview .hero-video-caption{bottom:100px}
 .clear-preview .film-controls{gap:8px 14px}
 .clear-preview .film-controls .text-link,.clear-preview .film-toggle{font-size:11px}
 .clear-preview .yio-contact label{font-size:14px}
}

.clear-preview .close-reel{width:44px;height:44px;min-width:44px;min-height:44px;flex-shrink:0}
.clear-preview .reel-dialog>p{font-size:13px;line-height:1.6}

/* Icon-only mobile navigation trigger, including dark heroes and project pages. */
.clear-preview .site-header .menu-toggle{box-sizing:border-box;flex:none;width:46px;height:46px;min-width:46px;min-height:46px;padding:0;border:1px solid #6600ff;border-radius:12px;background:#6600ff;color:#fff;font-size:0;line-height:1;box-shadow:none}
.clear-preview .site-header .menu-toggle>span{display:grid;place-items:center;width:100%;height:100%;margin:0;color:inherit;font-size:24px;line-height:1;font-family:Arial,sans-serif}
.clear-preview .site-header .menu-toggle[aria-expanded=true]>span{font-size:30px}
.clear-preview .site-header .menu-toggle:focus-visible{outline:2px solid #6600ff;outline-offset:4px}

/* Keep floating chat clear of the contact form and an expanded mobile menu. */
.clear-preview.ui-contact-visible:not(.ui-chat-open) #landing-chat{visibility:hidden;pointer-events:none}
@media(max-width:800px){.clear-preview.ui-menu-open:not(.ui-chat-open) #landing-chat{visibility:hidden;pointer-events:none}}
