/* DigiThat navigation: readable, persistent, and keyboard accessible. */
:root{--dt-nav:#813b1d;--dt-tip-bg:#fffdf9;--dt-tip-ink:#813b1d;--dt-tip-line:#c4b9a6}
html[data-theme=dark]{--dt-nav:#f1a878;--dt-tip-bg:#10232c;--dt-tip-ink:#f1a878;--dt-tip-line:#53676b}
/* Match light-mode header controls to the navy in the DigiThat wordmark. */
html:not([data-theme=dark]) .public-header{--dt-nav:#091a25;--dt-tip-ink:#091a25}
html:not([data-theme=dark]) .public-header .menu-button{color:#091a25}
html{scroll-padding-top:108px}
a,a:hover,a:focus-visible,.text-link{text-decoration:none!important}
[data-menu-description]{position:relative}
[data-menu-description]::after,.dt-theme-label{position:absolute;left:50%;top:calc(100% + 3px);transform:translate(-50%,-3px);z-index:90;white-space:nowrap;padding:5px 9px;border:0;border-radius:0;background:var(--dt-tip-bg);color:var(--dt-tip-ink);font:500 11px/1.4 Arial,sans-serif;letter-spacing:0;text-transform:none;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .14s,transform .14s;box-shadow:none}
[data-menu-description]::after{content:attr(data-menu-description)}
[data-menu-description]:is(:hover,:focus-visible)::after,.dt-theme-button:is(:hover,:focus-visible) .dt-theme-label{opacity:1;visibility:visible;transform:translate(-50%,0)}
.dt-theme-button{position:relative;display:inline-flex!important;align-items:center;justify-content:center;flex:none;min-width:48px!important;width:48px;min-height:52px!important;height:52px;padding:3px!important;background:transparent!important;color:var(--dt-nav)!important;border:1px solid transparent!important;border-radius:8px!important;cursor:pointer;filter:none!important}
.dt-theme-button img{display:block;width:38px!important;height:44px!important;object-fit:contain;transform-origin:50% 75%;transition:transform .2s,filter .2s}
.dt-theme-button:is(:hover,:focus-visible) img{animation:dt-bulb .48s ease-in-out;filter:drop-shadow(0 0 5px #efb95266)}
.dt-theme-button:focus-visible{outline:3px solid var(--dt-nav);outline-offset:2px}
@keyframes dt-bulb{0%,100%{transform:rotate(0) scale(1)}25%{transform:rotate(-12deg) scale(1.08)}65%{transform:rotate(9deg) scale(1.08)}}
.public-header{position:sticky!important;top:0;z-index:60;box-shadow:0 3px 16px #0001}
.public-header .navigation a{color:var(--dt-nav)!important}.public-header .navigation .button{background:transparent!important;border-color:var(--dt-nav)!important}
.public-header-inner>.dt-theme-button{margin-left:0}.public-header .navigation{order:1}.public-header-inner>.dt-theme-button{order:2}.public-header .menu-button{order:3}
.public-header .navigation a:is(:hover,:focus-visible){background:transparent!important}
@media(max-width:820px){.public-header-inner{padding-block:10px;gap:10px}.public-header-inner>.dt-theme-button{margin-left:auto}.public-header .menu-button{margin-left:0}.public-header .navigation{order:4;padding-bottom:12px}.public-header .navigation a{min-height:46px!important}.public-header [data-menu-description]::after{top:calc(100% - 4px);font-size:10px}.public-header .brand{max-width:135px}}
@media(prefers-reduced-motion:reduce){.dt-theme-button img,.dt-theme-label,[data-menu-description]::after{animation:none!important;transition:none!important}}

/* Compact upright signature: measured to fit within the previous italic widths. */
@font-face{font-family:"DigiThat Tagline";src:url("/assets/typography-fonts/barlow-condensed-normal-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
.public-header .brand{position:relative}
.public-header .brand-tagline{display:block;margin-top:-6px;margin-left:47.82%;min-height:20px;white-space:nowrap;text-align:left;color:var(--text,#e7dcc6);font:500 17px/20px "DigiThat Tagline","Arial Narrow",sans-serif;letter-spacing:0;transform:translate(-5px,-2px)}
.public-header .navigation [data-menu-description]::after{top:calc(100% - 8px);padding:2px 0;background:transparent}
@media(max-width:820px){.public-header .brand-tagline{font-size:15px;line-height:18px;min-height:18px}.public-header .navigation [data-menu-description]::after{top:calc(100% - 10px)}}
@media(max-width:820px){.public-header-inner>.dt-theme-button{transform:translateX(4px)}.public-header .dt-theme-button img{width:28px!important;height:34px!important}}
@media(max-width:360px){.public-header .dt-theme-button img{position:relative;top:-8px}}

/* Keep public header descriptions clear of the controls and bottom rule. */
.public-header [data-menu-description]::after,.public-header .dt-theme-label{background:transparent}
.public-header-inner>.dt-theme-button{top:-8px}
.public-header .dt-theme-label{top:calc(100% + 1px);padding:2px 0}
.public-header .navigation .button{min-height:38px!important;padding:7px 16px}
.public-header .navigation .button[data-menu-description]::after{top:calc(100% + 3px)}
@media(max-width:820px){.public-header-inner>.dt-theme-button{top:-4px}.public-header .dt-theme-label{top:calc(100% + 2px);padding:0;font-size:10px}.public-header .navigation .button{min-height:44px!important}.public-header .navigation{padding-bottom:24px}}

/* SA Success adds a fifth public section; use the menu at tablet widths. */
@media(min-width:821px) and (max-width:1000px){
 .public-header-inner{width:calc(100% - 40px);min-height:76px;flex-wrap:wrap;padding-block:10px;gap:10px}
 .public-header .brand,.public-site .public-header .brand{width:140px;max-width:135px}
 .public-header .menu-button{display:block;margin-left:0}
 .public-header .navigation{width:100%;margin-left:0;display:flex;flex-wrap:wrap;gap:10px 22px;border-top:1px solid var(--line);padding-top:14px;padding-bottom:24px;order:4}
 html.js .public-header .navigation{display:none}
 html.js .public-header .navigation.is-open,html.js .public-header .navigation.open,html.js .public-header .navigation[data-open=true]{display:flex}
 .public-header .navigation a{min-height:46px!important}
 .public-header .navigation .button{width:auto;min-height:44px!important}
 .public-header-inner>.dt-theme-button{margin-left:auto;top:-4px;transform:translateX(4px)}
 .public-header .dt-theme-button img{width:28px!important;height:34px!important}
 .public-header .brand-tagline{font-size:15px;line-height:18px;min-height:18px}
 .public-header .navigation [data-menu-description]::after{top:calc(100% - 10px);font-size:10px}
}
/* Keep the final social-link tooltip inside the footer at every width. */
.public-footer .social-link[data-menu-description]::after{left:auto;right:0;transform:translate(0,-3px)}
.public-footer .social-link[data-menu-description]:is(:hover,:focus-visible)::after{transform:translate(0,0)}
