/* Shared public palette and independent consent styling, loaded after page CSS. */
html[data-site-theme]{--tt-deep:#102330;--tt-surface:#1b3443;--tt-accent:#d5b08b;--tt-soft:#f7f6f2;--tt-ink:#142734;--tt-muted:#bfcdd2;--tt-line:#516773;--deep:var(--tt-deep);--deep2:var(--tt-surface);--ink:var(--tt-ink);--paper:var(--tt-soft);--gold:var(--tt-accent);--corporate-navy:var(--tt-deep);--corporate-gold:var(--tt-accent);--st-void:var(--tt-deep);--st-night:var(--tt-deep);--st-surface:var(--tt-surface);--st-acid:var(--tt-accent);--st-acid-soft:var(--tt-accent)}
html[data-site-theme=forest]{--tt-deep:#102e27;--tt-surface:#21463c;--tt-accent:#c1d6a0;--tt-soft:#f4f6ee;--tt-ink:#183a2c;--tt-muted:#c1d2c9;--tt-line:#58766b}
html[data-site-theme=plum]{--tt-deep:#302035;--tt-surface:#49334f;--tt-accent:#e5b5c7;--tt-soft:#fbf5f7;--tt-ink:#3b2440;--tt-muted:#d6c5d9;--tt-line:#826a88}
html[data-site-theme=slate]{--tt-deep:#18222d;--tt-surface:#2b3949;--tt-accent:#a9d6f3;--tt-soft:#f1f6fa;--tt-ink:#1d3043;--tt-muted:#c6d3df;--tt-line:#60768b}
html[data-site-theme=sand]{--tt-deep:#352920;--tt-surface:#514033;--tt-accent:#edc49c;--tt-soft:#fbf4e9;--tt-ink:#443022;--tt-muted:#dfcfbf;--tt-line:#8d7662}
html[data-site-theme] body .site-header,html[data-site-theme] body .site-header.scrolled,html[data-site-theme] body .site-footer,html[data-site-theme] body .corp-footer,html[data-site-theme] body .corp-hero,html[data-site-theme] body .corp-contact,html[data-site-theme] body .corp-book{background:var(--tt-deep)!important;color:#f7f7f3!important}
html[data-site-theme] body .blog-hero,html[data-site-theme] body .blog-article-hero{background:linear-gradient(125deg,var(--tt-deep),var(--tt-surface))!important}
html[data-site-theme] body.blog-public,html[data-site-theme] body .blog-listing{background:var(--tt-deep)!important}
html[data-site-theme] body .blog-card,html[data-site-theme] body .blog-tabs a{border-color:var(--tt-line)!important}
html[data-site-theme] body .blog-tabs a:hover,html[data-site-theme] body .site-header .dropdown,html[data-site-theme] body .site-header .dropdown a:hover{background:var(--tt-surface)!important}
html[data-site-theme] body .blog-tabs a[aria-current=page],html[data-site-theme] body .site-header .nav-contact,html[data-site-theme] body .site-header .brand-symbol{background:var(--tt-accent)!important;border-color:var(--tt-accent)!important;color:var(--tt-deep)!important}
html[data-site-theme] body .blog-hero h1 em,html[data-site-theme] body .blog-article-hero h1 em,html[data-site-theme] body .blog-eyebrow,html[data-site-theme] body .blog-article-category,html[data-site-theme] body .blog-reading-body a,html[data-site-theme] body .blog-card h2 a:hover{color:var(--tt-accent)!important}
html[data-site-theme] body .corp-header,html[data-site-theme] body .corp-expertise,html[data-site-theme] body .corp-about,html[data-site-theme] body .corp-insights,html[data-site-theme] body .corp-method{background:var(--tt-soft)!important;color:var(--tt-ink)!important}
html[data-site-theme] body .corp-hero h1 em,html[data-site-theme] body .corp-book h2 em,html[data-site-theme] body .corp-contact h2 em{color:var(--tt-accent)!important}
html[data-site-theme] body .corp-hero-support,html[data-site-theme] body .corp-contact-intro p,html[data-site-theme] body .corp-footer p{color:var(--tt-muted)!important}
@media(max-width:1220px){html[data-site-theme] body .site-header .nav{background:var(--tt-deep)!important}}
#cookie-consent[hidden]{display:none!important}
#cookie-consent{position:fixed!important;inset:auto 20px 20px!important;z-index:10000!important;box-sizing:border-box!important;width:min(760px,calc(100% - 40px))!important;margin:0 auto!important;padding:24px!important;border:1px solid var(--tt-line,#516773)!important;border-radius:16px!important;background:var(--tt-deep,#102330)!important;color:#f7f7f3!important;box-shadow:0 16px 65px #0007!important;font:400 15px/1.6 system-ui,sans-serif!important;max-height:80dvh;overflow:auto}
#cookie-consent .cookie-kicker{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--tt-accent,#d5b08b);margin-bottom:8px}
#cookie-consent strong{display:block;font-size:22px;line-height:1.3;color:#fff}
#cookie-consent p{margin:12px 0 18px;color:#e1e8eb;font-size:14px}
#cookie-consent a{color:var(--tt-accent,#d5b08b)!important;text-decoration:underline!important;text-underline-offset:3px}
#cookie-consent .cookie-actions{display:flex;gap:12px;flex-wrap:wrap}
#cookie-consent .cookie-button{flex:1;min-width:140px;min-height:46px;padding:10px 18px;border:1px solid var(--tt-accent,#d5b08b)!important;border-radius:8px;font:700 14px/1.5 system-ui,sans-serif!important;cursor:pointer;background:transparent!important;color:#fff!important}
#cookie-consent .cookie-button.primary{background:var(--tt-accent,#d5b08b)!important;color:var(--tt-deep,#102330)!important}
#cookie-consent :focus-visible{outline:3px solid var(--tt-accent,#d5b08b)!important;outline-offset:4px}
#cookie-consent .cookie-close{float:right;background:transparent;border:0;color:#fff;min-width:44px;min-height:44px;font-size:24px;cursor:pointer}
@media(max-width:540px){#cookie-consent{inset:auto 12px 12px!important;width:calc(100% - 24px)!important;padding:20px!important}#cookie-consent .cookie-actions{flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
