/* 1.3.1: complete light palette; original photos and product marks are never inverted. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit;font-size:11px;cursor:pointer;white-space:nowrap;flex-shrink:0}
.theme-toggle .icon{width:17px;height:17px}
.theme-toggle .theme-icon-moon{display:none}
html[data-theme="light"] .theme-toggle .theme-icon-sun{display:none}
html[data-theme="light"] .theme-toggle .theme-icon-moon{display:block}
.theme-toggle:hover{border-color:var(--blue)}
.hero-domain{margin-top:11px;font-size:12px;color:var(--muted)}
.hero-domain a{color:var(--blue);text-decoration:underline;text-underline-offset:4px}
.header-actions{gap:12px}.footer-bottom a{text-decoration:underline;text-underline-offset:3px}
html[data-theme="light"]{color-scheme:light;--bg:#f5f8fc;--panel:#ffffff;--panel-2:#edf3fa;--ink:#10243b;--muted:#425872;--subtle:#556c85;--line:#cbd9e7;--blue:#005fbf;--cyan:#076b8a;--violet:#584bc2}
html[data-theme="light"] .site-header{background:#f5f8fcf5;border-bottom:1px solid #dce5ee}
html[data-theme="light"] .nav-links a{color:#344e69}
html[data-theme="light"] .nav-links a:hover,html[data-theme="light"] .nav-links a.is-active,html[data-theme="light"] .nav-links a[aria-current="page"]{color:var(--blue)}
html[data-theme="light"] .eyebrow{color:#526b82}
html[data-theme="light"] .gradient-text{background-image:linear-gradient(105deg,#076b8a,#005fbf 55%,#584bc2)}
html[data-theme="light"] .text-muted{color:#556f88}
html[data-theme="light"] .text-link{color:#0a4e94}
html[data-theme="light"] .button-primary,html[data-theme="light"] .pagination .current,html[data-theme="light"] .filter-bar>button[aria-pressed="true"],html[data-theme="light"] .comment-respond input[type="submit"]{background:#005fbf;border-color:#005fbf;color:#fff}
html[data-theme="light"] .button-primary:hover{background:#004c9a;color:#fff}
html[data-theme="light"] .button-secondary{background:#fff;border-color:#afc5da;color:#173954}
html[data-theme="light"] .button-secondary:hover{background:#e8f1fc;border-color:var(--blue)}
html[data-theme="light"] .hero-roles{color:#4b627b}
html[data-theme="light"] .scroll-cue{color:#344e69}
html[data-theme="light"] .mouse{border-color:#7e98b2}
html[data-theme="light"] .orbit{border-color:#c2d9ee}
html[data-theme="light"] .floating-note{background:linear-gradient(135deg,#fffffff5,#ecf4fcf5);color:#214666;border-color:#bfd2e7;box-shadow:0 10px 26px #19395c16}
html[data-theme="light"] .mct-badge{background:#fff;box-shadow:0 10px 35px #254c721a}
html[data-theme="light"] .portrait-frame{border-color:#afc7de;box-shadow:0 24px 60px #163c6520}
html[data-theme="light"] .portrait-caption strong{color:#fff}
html[data-theme="light"] .portrait-caption span{color:#d8e5f2}
html[data-theme="light"] .expertise-section{background:radial-gradient(ellipse at 18% 48%,#c4e1fc65,transparent 65%);border-color:#dce6f0}
html[data-theme="light"] .expertise-card,html[data-theme="light"] .session-card,html[data-theme="light"] .credential-card,html[data-theme="light"] .post-card,html[data-theme="light"] .archive-heading,html[data-theme="light"] .author-panel,html[data-theme="light"] .article-toc{background:linear-gradient(145deg,#fff,#edf4fc);border-color:#cadbec;box-shadow:0 12px 28px #264b7410}
html[data-theme="light"] .expertise-card:hover,html[data-theme="light"] .post-card:hover{border-color:#759fc7;box-shadow:0 18px 40px #294f7920}
html[data-theme="light"] .card-link{color:#425e79;border-top-color:#d6e1ee}
html[data-theme="light"] .cube-face{border-color:#237dad9c;background:linear-gradient(140deg,#d9effd80,#b4d4f099);color:#155a7e;box-shadow:inset 0 0 28px #76aadc18}
html[data-theme="light"] .cube-orbit{border-color:#96bbd8}
html[data-theme="light"] .cube-ground{background:#76a6cf33}
html[data-theme="light"] .session-spotlight{background:radial-gradient(ellipse at top right,#c7e4fc75,transparent 70%),linear-gradient(135deg,#fff,#eaf3fd)}
html[data-theme="light"] .session-event,html[data-theme="light"] .post-meta>span{color:#235b8c}
html[data-theme="light"] .session-index,html[data-theme="light"] .session-meta,html[data-theme="light"] .credential-date,html[data-theme="light"] .credential-foot>p,html[data-theme="light"] .article-meta{color:#546d87}
html[data-theme="light"] .label-pill{color:#3f5f7d;background:#e5edf7;border-color:#c8d9eb}
html[data-theme="light"] .pill-upcoming{background:#dff2e8;color:#175639;border-color:#a1cdb6}
html[data-theme="light"] .credentials-section{background:#edf4fb;border-color:#d4e2ef}
html[data-theme="light"] .credential-issuer,html[data-theme="light"] .issuer-aws{color:#18334f}
html[data-theme="light"] .credential-kind{color:#28618b}
html[data-theme="light"] .credential-ribbon{scrollbar-color:#92b8dc #e2edf9}
html[data-theme="light"] .icon-button{border-color:#a9c4df}
html[data-theme="light"] .icon-button:hover{background:#dbeafa}
html[data-theme="light"] .platform-fallback{background:#e7f0fa;color:#3d5771}
html[data-theme="light"] .post-featured{background:linear-gradient(120deg,#fff,#eaf3fe)}
/* Editorial cover artwork deliberately stays dark in either palette. */
html[data-theme="light"] .post-art>strong{color:#f1f6ff}
html[data-theme="light"] .post-card-body .post-meta>span:last-child{color:#4c6884}
html[data-theme="light"] .blog-hero.archive-heading{background:radial-gradient(ellipse at 85% 10%,#c5e0fc75,transparent 60%),linear-gradient(125deg,#fff,#eaf2fc);border-color:#c3d7eb}
html[data-theme="light"] .blog-hero-aside>p{color:#46617d}
html[data-theme="light"] .editorial-art>span{background:linear-gradient(145deg,#a6cffa55,#d9e9faaa);border-color:#739ec775}
html[data-theme="light"] .editorial-art>b{color:#1d4b75}
html[data-theme="light"] .search-form,html[data-theme="light"] .blog-hero-aside>.search-form{background:#fff;border-color:#b6cde3}
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder{color:#607994}
html[data-theme="light"] .topic-chip,html[data-theme="light"] .filter-bar>button,html[data-theme="light"] .article-categories a{background:#eef5fe;border-color:#c2d7ed;color:#275882}
html[data-theme="light"] .topic-chip:hover,html[data-theme="light"] .topic-chip.is-selected{background:#d7e9fd;border-color:#5689bd;color:#123e69}
html[data-theme="light"] .entry-content,html[data-theme="light"] .reading-body .entry-content{color:#2d455f}
html[data-theme="light"] .entry-content a{color:#0058a9}
html[data-theme="light"] .entry-content pre{background:#eaf1fa;border-color:#bbd1e6;color:#213e5a}
html[data-theme="light"] .entry-content :not(pre)>code{background:#e0ebf8;color:#254969}
html[data-theme="light"] .code-copy{background:#dcebf9;color:#214f79;border-color:#a4c4e2}
html[data-theme="light"] .entry-content blockquote{background:linear-gradient(90deg,#e0eefc,#f1f7fe)}
html[data-theme="light"] .entry-content blockquote p{color:#1d446a}
html[data-theme="light"] .entry-content th{background:#dfeaf8;color:#173c61}
html[data-theme="light"] .entry-content td,html[data-theme="light"] .entry-content th{border-color:#c4d5e8}
html[data-theme="light"] .article-track{background:#d6e3f1}
html[data-theme="light"] .article-toc a{color:#486580;border-color:#c8d8e9}
html[data-theme="light"] .article-toc a.is-active,html[data-theme="light"] .article-toc a:hover{color:#0058ac;border-color:#0058ac}
html[data-theme="light"] .article-tags a{background:#e8f2ff;color:#205581}
html[data-theme="light"] .post-navigation .nav-links a{color:#2d5b83}
html[data-theme="light"] .comment-respond input:not([type="checkbox"]),html[data-theme="light"] .comment-respond textarea{background:#fff;border-color:#bed1e5;color:#183c5d}
html[data-theme="light"] .contact-premium.contact-card{background:radial-gradient(ellipse at top left,#c4dffd80,transparent 65%),linear-gradient(140deg,#fff,#eaf3ff);border-color:#bcd3ea;box-shadow:0 18px 48px #24507710}
html[data-theme="light"] .contact-route{background:#ffffffc7;border-color:#c2d7eb}
html[data-theme="light"] .contact-route:hover{background:#e0efff;border-color:#729fc6;color:#153d60}
html[data-theme="light"] .contact-route small{color:#4c657e}
html[data-theme="light"] .contact-premium .contact-copy>.contact-tagline,html[data-theme="light"] .route-icon{color:#185a98}
html[data-theme="light"] .footer-column h2,html[data-theme="light"] .footer-bottom p{color:#536b83}
html[data-theme="light"] .footer-column>a,html[data-theme="light"] .social-links>a{color:#315879}
html[data-theme="light"] .footer-signoff>p{color:#234969}
html[data-theme="light"] .site-footer{border-color:#cbd9e7}
/* Keep all controls reachable on smaller screens. */
@media(max-width:980px){
 .header-inner{gap:18px}
 .primary-nav{position:absolute;top:100%;left:0;right:0;background:#0d1723;border-bottom:1px solid var(--line);padding:12px 24px 22px}
 .primary-nav .nav-links{flex-direction:column;align-items:stretch;gap:0}
 .primary-nav .nav-links a{display:block;padding:11px 5px;font-size:14px}
 .js-ready .primary-nav{display:none}.js-ready .primary-nav.is-open{display:block}.js-ready .menu-toggle{display:flex}
 .primary-nav a[aria-current="page"]:after{display:none}
 html[data-theme="light"] .primary-nav{background:#f3f8ff}
 body:not(.js-ready) .site-header{height:auto}body:not(.js-ready) .header-inner{flex-wrap:wrap;padding-block:20px}
 body:not(.js-ready) .primary-nav{position:static;flex-basis:100%;padding:0;border:0;background:transparent}
 body:not(.js-ready) .primary-nav .nav-links{flex-direction:row;flex-wrap:wrap;gap:15px}
}
@media(max-width:600px){.theme-toggle-label,.motion-toggle>span{display:none}.theme-toggle,.motion-toggle{width:40px;min-height:40px;padding:8px;justify-content:center}.motion-toggle .icon{width:16px;height:16px}.header-actions{gap:7px}.header-inner{gap:12px}}
@media print{.theme-toggle{display:none!important}}
