/* Shared day/night controls. */
.display-controls{position:fixed;z-index:5;top:28px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;color:#f1f3f1}
.display-controls .languages{position:static;transform:none}
.metal-header .display-controls,.section-header .display-controls{position:static;transform:none;flex-shrink:0}
.metal-header .display-controls{color:var(--ink)}
.theme-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:44px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;padding:9px}
.theme-toggle svg{width:22px;height:22px;pointer-events:none}
.theme-toggle:hover{background:#80808020}.theme-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.theme-sun{display:none}[data-theme="dark"] .theme-sun{display:block}[data-theme="dark"] .theme-moon{display:none}
/* A neutral daytime canvas and a charcoal nighttime canvas. */
html[data-theme="light"] body.metal-studio{background-color:#dde0e1;background-image:radial-gradient(ellipse at 8% 10%,#ba2b301a,transparent 55%),radial-gradient(ellipse at 94% 90%,#20232315,transparent 55%)}
html[data-theme="dark"] body.metal-studio{--ink:#eef0ef;--muted:#b9bfbd;--line:#414749;--accent:#ed777a;background-color:#202426;background-image:radial-gradient(ellipse at 5% 8%,#a5263033,transparent 50%),radial-gradient(ellipse at 95% 80%,#080a0c55,transparent 60%);color:var(--ink)}
[data-theme="dark"] .metal-studio .languages button{color:#e9eeec}
[data-theme="dark"] .metal-studio .detail-card,[data-theme="dark"] .metal-studio .form-panel{background:#2c3234b3;border-color:#485052;color:var(--ink);box-shadow:none}
[data-theme="dark"] .metal-studio .form-panel{border-top-color:var(--accent)}
[data-theme="dark"] .metal-studio .email-card:hover{background:#343c3e;border-color:#697674}
[data-theme="dark"] .metal-studio .email-contact{color:var(--ink)}
[data-theme="dark"] .metal-studio .message-form input,[data-theme="dark"] .metal-studio .message-form textarea{background:#1d2325aa;border-color:#54605d;color:var(--ink)}
[data-theme="dark"] .metal-studio .message-form input:focus,[data-theme="dark"] .metal-studio .message-form textarea:focus{background:#262e30;border-color:#b47b7f}
[data-theme="dark"] .metal-studio .message-form button{background:#92363d;color:#fff}
[data-theme="dark"] .metal-studio .message-form button:hover:not(:disabled){background:#a34249}
[data-theme="dark"] .legal-content,[data-theme="dark"] .contact-link-help{background:#2a3133;border-color:#485052}
[data-theme="dark"] .rights-notice p,[data-theme="dark"] .rights-notice p:first-child,[data-theme="dark"] .legal-disclosure summary,[data-theme="dark"] .legal-content p,[data-theme="dark"] .contact-link-help p,[data-theme="dark"] .contact-link-help button{color:#c9d0cd}
[data-theme="dark"] .contact-link-help input{background:#202729;color:#eee;border-color:#53605b}
[data-theme="dark"] .metal-studio .registered-mark{color:#e9eceb}
/* Adapt dark lettering and white mattes without adding boxes behind logos. */
[data-theme="dark"] .metal-studio .metal-identity img,[data-theme="dark"] .reference-logo img,[data-theme="dark"] .municipal-logo{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen;opacity:1}
[data-theme="dark"] .reference-logo img[src="references/teknopest.png"]{mix-blend-mode:screen}
[data-theme="dark"] .reference-logo img[src="references/netelsan-footer.webp"],[data-theme="dark"] .reference-logo img[src="references/dap.png"]{filter:none;mix-blend-mode:screen}
[data-theme="dark"] .brand-opening .panel-background{filter:brightness(.72)}
[data-theme="dark"] .ravnor-coming-soon{background-image:linear-gradient(180deg,#03120bcc,#03120b99),url("mountain-sketch.png")}
@media(max-width:700px){.display-controls{top:20px;gap:4px}.metal-header .display-controls{margin-left:auto}.metal-header{column-gap:12px}.metal-header .display-controls .languages button{min-width:36px}.theme-toggle{flex-basis:36px;width:36px}}

/* Keep the entry landscape luminous in both display modes. */
[data-theme="dark"] .brand-opening .mountain-background{filter:brightness(1.65) contrast(.9) saturate(.85)}

[data-theme="dark"] .brand-opening .laser-background{filter:saturate(.4) brightness(.92)}
