/* Final COMMODO v2. Exact artwork and source tokens live in /brand/commodo. */
[data-palette="commodo"] { --navy:#100B28; --ink:var(--text); --muted:var(--text-muted); --light:var(--page); --line:var(--border-subtle); --green:var(--logo-primary); --green-dark:var(--support-deep-sea); --cyan:var(--logo-secondary); }
body { font-family:var(--font-body); color:var(--text); background:var(--surface); }
h1,h2,h3,h4 { font-family:var(--font-display); font-weight:650; letter-spacing:-.04em; }
button,.button { font-weight:600; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:var(--focus-width) solid var(--focus-ring); outline-offset:var(--focus-offset); }
.site-header { background:var(--surface); color:var(--text); border-color:var(--border-subtle); }
.header-inner { min-height:112px; }
.brand { padding:14px; margin-left:-14px; }
.brand .brand-wordmark { width:264px; height:auto; max-width:none; object-fit:contain; background:transparent; padding:0; border:0; border-radius:0; }
.brand-wordmark-dark { display:none; }
[data-mode="dark"] .brand-wordmark-light { display:none; }
[data-mode="dark"] .brand-wordmark-dark { display:block; }
.brand small { color:var(--text-muted); letter-spacing:.04em; margin:3px 0 0 78px; }
.button-primary,.site-header .button-primary,.final-cta .button-primary,.contact-card .button-primary { background:var(--primary-bg); color:var(--primary-fg); border-color:var(--primary-border); }
.button-primary:hover,.site-header .button-primary:hover,.final-cta .button-primary:hover,.contact-card .button-primary:hover { background:var(--primary-hover); color:var(--primary-fg); }
.button-primary:active,.site-header .button-primary:active,.final-cta .button-primary:active,.contact-card .button-primary:active { background:var(--primary-pressed); }
.button-outline,.hero .button-outline { background:var(--secondary-bg); color:var(--secondary-fg); border-color:var(--secondary-border); }
.button-outline:hover,.hero .button-outline:hover { background:var(--secondary-hover); color:var(--secondary-fg); }
.button-outline:active,.hero .button-outline:active { background:var(--secondary-pressed); }
button:disabled { background:var(--disabled-bg); color:var(--disabled-fg); border-color:var(--disabled-border); opacity:1; cursor:not-allowed; }
.menu-toggle { color:var(--text); border-color:var(--border-control); }
.hero,.about-section { background:radial-gradient(ellipse at 85% 25%,#5C438530,transparent 55%),var(--page); color:var(--text); }
.hero h1 span,.corporate-hero h1 span { background:none; color:var(--logo-primary); }
.hero .eyebrow,.section-navy .eyebrow { color:var(--logo-secondary); }
.hero-description,.hero-note,.hero .visual-note,.hero .visual-caption,.scene-caption,.system-node small,.system-hub small,.about-section .problem-grid > div > p:not(.eyebrow),.section-navy .problem-grid p:last-child { color:var(--text-muted); }
.section-navy .section-lead { color:var(--text); }
.eyebrow { color:var(--support-violet); }
.eyebrow::before { background:var(--support-violet); }
.hero .eyebrow::before,.section-navy .eyebrow::before { background:var(--logo-primary); }
.value-strip,.site-footer { background:var(--page); color:var(--text-muted); }
.system-node { background:var(--surface); border-color:var(--border-subtle); }
.system-hub { background:var(--surface-raised); border-color:var(--border-subtle); box-shadow:0 0 60px #03E1F915,0 25px 40px #0004; }
.system-hub .hub-logo { width:65px; height:65px; padding:8px; background:none; }
.node-symbol { color:var(--logo-primary); background:#FBD42412; }
.node-symbol.cyan { color:var(--logo-secondary); background:#03E1F912; }
.scene-orbit { border-color:#8A80A840; }
.connection-lines { stroke:var(--border-subtle); }
.connection-lines .signal-path { stroke:var(--logo-secondary); }
.system-hub::after { border-color:var(--logo-secondary); }
.motion-toggle { color:var(--text-muted); background:var(--surface); border-color:var(--border-control); }
.section-tinted,.contact-section { background:var(--page); }
.product-card { background:var(--support-cyan-mist); border-color:var(--border-subtle); }
.product-category:nth-of-type(even) .product-card { background:var(--support-soft-yellow); }
.services-grid .feature-card,.steps li { border-color:var(--border-subtle); }
.services-grid .feature-symbol,.step-number { color:var(--support-violet); background:var(--support-lilac); }
.services-grid .service-example,.catalogue-note a,.email-address,.prose a { color:var(--support-deep-sea); }
.final-cta { background:var(--support-soft-yellow); }
.contact-card { background:var(--surface); border-color:var(--border-subtle); }
.footer-grid p,.brand-footer small { color:var(--text-muted); }
.footer-grid h2 { color:var(--text); }
.footer-bottom { border-color:var(--border-subtle); }
.skip-link { background:var(--surface); color:var(--text); }
@media(max-width:600px) {
 .brand .brand-wordmark { width:196px; height:auto; }
 .brand { padding:11px; margin-left:-11px; }
 .brand small { margin-left:58px; font-size:.55rem; }
 .header-inner { min-height:94px; }
 .system-hub .hub-logo { width:52px; height:52px; padding:6px; }
}
@media(max-width:360px) { .brand .brand-wordmark { width:180px; }.brand small { margin-left:54px; } }

/* Approved dark-logo default v1.0: local backing, unchanged page theme. */
.brand-header { padding:0; margin-left:0; }
.header-logo-backing { display:block; padding:16px; background:#161D36; border-radius:12px; }
.brand-header small { margin-left:16px; }
.product-logo-backing { width:83.2px; padding:16px; margin-bottom:20px; background:#161D36; border-radius:16px; }
.product-logo { display:block; width:51.2px; height:51.2px; object-fit:contain; }
@media(max-width:600px) {
 .brand-header .brand-wordmark { width:180px; }
 .header-logo-backing { padding:12px; }
 .brand-header small { margin-left:12px; }
}

/* Compact header: exact approved symbol and its backing colour. */
.site-header { background:#161D36; }
.header-inner { min-height:88px; }
.brand-header .brand-symbol { display:block; width:64px; height:64px; }
.header-brand-name { color:#fff; font-family:var(--font-display); font-size:1.75rem; font-weight:650; line-height:1.1; }
.header-logo-backing { padding:12px; }
.brand-header small { margin-left:12px; }
.product-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr)); }
.product-availability { font-weight:700; }
.upcoming-products { margin-top:28px; padding-top:24px; border-top:1px solid var(--border-subtle); }
.upcoming-products h4 { font-size:1.25rem; margin-bottom:8px; }
.upcoming-product-list { display:flex; flex-wrap:wrap; gap:16px 32px; list-style:none; padding:0; margin:20px 0 0; }
.upcoming-product-list li { display:flex; align-items:center; gap:12px; }
.upcoming-product-list img { width:40px; height:40px; object-fit:contain; flex-shrink:0; }
/* Let enlarged text wrap instead of forcing grid tracks wider than the viewport. */
.hero-grid > *, .problem-grid > *, .header-inner > * { min-width:0; }
.hero h1, .section h2, .upcoming-product-list strong { overflow-wrap:anywhere; }
.button { white-space:normal; text-align:center; }
#primary-navigation { min-width:0; }
@media(max-width:900px) {
 #primary-navigation .button { width:100%; min-width:0; }
 .js #primary-navigation.is-open { max-height:none; }
}
.product-heading { display:flex; align-items:center; gap:20px; width:100%; margin-bottom:20px; }
.product-heading .product-logo-backing { flex-shrink:0; margin-bottom:0; }
.product-heading h4 { min-width:0; margin:0; font-size:2.5rem; overflow-wrap:normal; }
.product-link-pending { margin-top:auto; }
@media(max-width:600px) {
 .header-inner { min-height:80px; padding-top:8px; padding-bottom:8px; }
 .brand-header .brand-symbol { width:48px; height:48px; }
 .header-brand-name { font-size:1.4rem; }
 .header-logo-backing { padding:8px; }
 .product-heading { gap:12px; }
 .product-heading .product-logo-backing { width:68.8px; padding:12px; }
 .product-heading .product-logo { width:44.8px; height:44.8px; }
 .product-heading h4 { font-size:1.5rem; }
}
