/* Customizer > Additional CSS, copied as-is from WordPress */
/* Reduce empty space below the projects grid — added 2026-06-27 */
#sd-site .wk-grid-sec { padding-bottom: clamp(28px, 3vw, 44px) !important; }

/* Hide mis-styled skip link until keyboard focus — added 2026-06-27 */
.skip-link { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; padding: 8px 16px; background: #fff; color: #121211; z-index: 100000; border-radius: 6px; }


/* Push the post title clear of the fixed menu */
.single .page-header {
    padding-top: 80px;
}


/* Fix: Elementor flex container wiped the --display heading-font token on the homepage, dropping every heading to the browser default serif. Re-assert the token. Added 2026-07-03 (sd-fontfix) */
.elementor-2583 .elementor-element.elementor-element-afafba1 { --display: 'Archivo', 'Helvetica Neue',Arial,sans-serif !important; }


/* Strategic Designs — oxblood accent + hero refinement (2026-07-09) */
.eyebrow{color:#6B2733 !important;}
a.lk{color:#6B2733 !important;}
a.lk:hover{opacity:.75;}
a:not(.lk):not(.brand):hover{color:#6B2733 !important;}
h1.lit .it{font-style:normal !important;font-weight:700 !important;}


/* Testimonials — uniform 20px, grow to 25px on hover (2026-07-09) */
.quote p,.quote.feat p{font-size:20px !important;line-height:1.5 !important;transition:font-size .18s ease;}
.quote:hover p{font-size:25px !important;}


/* Dark CTA pill (.sd-cta) — keep text bone, was going oxblood on hover (2026-07-09) */
.sd-cta a:not(.lk):not(.brand),.sd-cta a:not(.lk):not(.brand):hover,.sd-cta a:not(.lk):not(.brand):focus{color:#F4F3F1 !important;}
.sd-cta a:hover{opacity:.9;}


/* Sweep fixes — keep accent readable in dark contexts (2026-07-09) */
.statement .eyebrow,.sd-stats .eyebrow{color:#9C988F !important;}.single-post .page-header .entry-title{box-sizing:content-box;max-width:calc(var(--maxw) - 2*var(--pad));padding-inline:var(--pad);margin-inline:auto}.single-post .page-content>.elementor>.e-con.e-parent{padding-left:var(--pad)!important;padding-right:var(--pad)!important}.single-post .page-content>.elementor>.e-con.e-parent>.e-con-inner{max-width:calc(var(--maxw) - 2*var(--pad))}
/* Retire the bold+italic accent word site-wide: emphasis is bold, not italic (2026-07-11) */
.serif.it{font-style:normal !important}


/* SD arrow trim 2026-08-08 | hides decorative arrows, keeps nav CTA | delete this block to undo */
.ar { display: none; }
.wrap.nav .ar { display: inline-block; }


/* SD contrast fix 2026-08-08 | darken muted text (--mut) to pass WCAG AA | delete this block to undo */
html:root { --mut: #6B675E !important; }
/* Static-site additions */
body{font-family:'Archivo',system-ui,sans-serif}
:lang(th) body,body:lang(th){font-family:'IBM Plex Sans Thai','Archivo',system-ui,sans-serif}
.sd-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.e-con-full.e-parent{--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px}
:lang(th) #ncf-modal{font-family:'IBM Plex Sans Thai','Archivo',system-ui,sans-serif}
:lang(th) #ncf-modal .ncf-title{font-family:IBM Plex Sans Thai,'Helvetica Neue',Arial,sans-serif;font-weight:400;line-height:1.3}
:lang(th) #ncf-modal .ncf-title .ncf-em{font-family:inherit;font-style:normal;font-weight:600}
:lang(th) #ncf-modal .ncf-eyebrow{letter-spacing:.06em;text-transform:none}
.single-post .page-header h1.entry-title{max-width:min(calc(var(--maxw) - 2*var(--pad)),calc(100% - 2*var(--pad)))}
header .burger,header .burger:hover,header .burger:focus,header .burger:active{color:#121211;background:none;border:0}
header .burger:focus-visible{outline:2px solid #6B2733;outline-offset:2px}
body .sd-blog{padding-top:max(108px,clamp(40px,7vw,90px))}
body #sv-services .sv-hero{padding-top:max(108px,clamp(56px,9vw,120px))}
body.page-id-723 .hero,body.page-id-3431 .hero{padding-top:max(108px,clamp(56px,7vw,96px))}
.orb-field{overflow-x:clip}
.single-post .page-header{padding-top:112px}.single-post .page-header .entry-title{margin-top:0}
footer.elementor-65 .elementor-element.elementor-element-50505754{border-top-width:0}
.rev:not(.in){animation:sd-rev-failsafe .01s linear 1.5s forwards}
@keyframes sd-rev-failsafe{to{opacity:1;transform:none}}
body #sd-site,body .sd-about{--mut:#6B675E}
body .sd-about .statement .eyebrow{opacity:1;color:#9C988F}
#sd-contact-hero p.sub{opacity:1!important}
body .elementor-408 .elementor-tab-title,body .elementor-3441 .elementor-tab-title{color:#6B675E}
body .elementor-408 .elementor-tab-title.elementor-active,body .elementor-3441 .elementor-tab-title.elementor-active{color:#121211}
.elementor-tabs .elementor-tab-mobile-title{display:none}
@media(max-width:760px){.elementor-tabs .elementor-tabs-wrapper{gap:22px;align-items:flex-end}.elementor-tabs .elementor-tab-desktop-title{flex:0 1 auto;text-wrap:balance}.elementor-tabs .elementor-tab-desktop-title:last-child{flex:0 0 auto;white-space:nowrap}}
body #sv-services .sv-accent{font-style:normal;font-weight:700}
:lang(th) body #sv-services .sv-accent{font-weight:600}
html:not(:lang(th)) p{text-wrap:pretty}
html:not(:lang(th)) .elementor-field-label,html:not(:lang(th)) .elementor-field-option label{text-wrap:balance}
@media(max-width:360px){body .sd-about .hero h1{font-size:34px}}
html:not(:lang(th)) body #sv-services .sv-cell p,body:not(:lang(th)) #sv-services .sv-cell p{text-wrap:balance}
@media(hover:none){a.lk:not(.lk-solid)::after{transform:scaleX(1);opacity:.45}}
a.lk{min-height:24px}
.clients-roster li a{position:relative}.clients-roster li a::after{content:"";position:absolute;inset:-12px 0}
header .burger{min-height:44px;min-width:44px;padding:0 0 0 14px;text-align:right}
.lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px}
@media(max-width:760px){.elementor-field-subgroup .elementor-field-option{display:flex;align-items:center;min-height:44px}.elementor-field-subgroup .elementor-field-option input[type=radio],.elementor-field-subgroup .elementor-field-option input[type=checkbox]{width:20px;height:20px;margin:0 10px 0 0;flex:0 0 auto;accent-color:#121211}body #sv-services .sv-tags span{font-size:13px}body .fcol .fh{font-size:12px}body .fbot{font-size:13px}}
@media(max-width:760px){footer.elementor-65 .elementor-section,footer.elementor-65 .elementor-container,footer.elementor-65 .elementor-column,footer.elementor-65 .elementor-widget-wrap{padding-inline:0!important}}
