/* ExergyStudio — shared identity, navigation and accessible controls. */
:root {
  --ink: #f3f4ef; --muted: #a0a59c; --line: #2a2e27;
  --paper: #090b0a; --wash: #141713; --accent: #d6fa72;
  --accent-deep: #e5ff9c; --focus: #d6fa72; --radius: 8px; --shadow: none;
  --brand-paper: #090b0a; --brand-ink: #f3f4ef; --brand-muted: #a0a59c;
  --brand-lime: #d6fa72; --brand-line: #2a2e27;
  color-scheme: dark;
}
html { scroll-padding-top: 96px; }
body { background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
body .container { width: min(100% - 96px, 1328px); }
::selection { background: var(--brand-lime); color: #090b0a; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.skip-link { z-index: 50; background: var(--accent); color: #090b0a; }
body .site-header { z-index: 20; background: rgba(9,11,10,.9); border-color: var(--line); backdrop-filter: blur(20px); }
body .nav-wrap { min-height: 86px; gap: 28px; }
body .brand { gap: 13px; color: var(--ink); font-size: 19px; font-weight: 750; letter-spacing: -.055em; }
body .brand-mark { width: 38px; height: 30px; padding: 0; border-radius: 0; background-color: transparent; filter: brightness(0) invert(1); }
body .site-nav { gap: 29px; color: #b2b6ad; font-size: 12px; }
body .site-nav a { font-weight: 550; }
body .site-nav a:hover, body .site-nav a[aria-current="page"] { color: var(--accent); }
body .site-nav .nav-contact { padding: 8px 17px; border: 1px solid #50564a; border-radius: 100px; background: transparent; color: var(--ink); }
body .site-nav .nav-contact:hover { border-color: var(--accent); background: var(--accent); color: #090b0a; }
body .locale-switch { gap: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
body .locale-switch button { min-width: 34px; min-height: 44px; padding: 5px 7px; border-radius: 0; color: #a0a59c; font: 600 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
body .locale-switch button + button { position: relative; margin-left: 4px; }
body .locale-switch button + button::before { position: absolute; top: 12px; left: -3px; color: #42473d; content: "/"; }
body .locale-switch button[aria-pressed="true"] { color: var(--accent); background: transparent; box-shadow: none; }
body .menu-button { min-height: 44px; padding: 8px 0 8px 16px; color: var(--ink); font-size: 12px; }
[data-locale-anchor] { scroll-margin-top: 0; }
.eyebrow, .section-index { color: var(--accent); }
body .button { min-height: 50px; gap: 18px; padding: 13px 21px; border-radius: 100px; font-size: 13px; font-weight: 650; box-shadow: none; }
body .button-primary, body .button-light { border-color: var(--accent); background: var(--accent); color: #090b0a; }
body .button-primary:hover, body .button-light:hover { background: var(--accent-deep); color: #090b0a; }
body .button-secondary { border-color: #50564a; background: transparent; color: var(--ink); }
body .button-secondary:hover { border-color: var(--accent); color: var(--accent); }
body .text-link { color: var(--accent); }
body .site-footer { padding-top: 58px; border-color: var(--line); background: var(--paper); color: var(--ink); }
body .footer-grid { gap: 48px; }
body .footer-note { max-width: 300px; margin-top: 18px; color: var(--muted); font-size: 12px; }
body .footer-links { grid-template-columns: repeat(3,minmax(100px,1fr)); gap: 14px 40px; font-size: 11px; }
body .footer-links a { color: #b9bdb3; text-decoration: none; }
body .footer-links a:hover { color: var(--accent); }
body .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 55px; padding: 22px 0; border-color: var(--line); color: #a0a59c; font: 10px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace; }
.footer-bottom > span { letter-spacing: .07em; }
@media (max-width: 1050px) {
  body .container { width: calc(100% - 64px); }
  body .menu-button { display: block; }
  body .site-nav { display: none; position: absolute; top: 86px; right: 32px; left: 32px; align-items: stretch; gap: 0; padding: 14px; border: 1px solid #41473b; border-radius: 10px; background: #141713; color: var(--ink); box-shadow: 0 16px 40px #0005; }
  body .site-nav.is-open { display: flex; flex-direction: column; }
  body .site-nav a { padding: 14px; }
  body .site-nav .nav-contact { align-self: flex-start; margin: 10px 13px; padding: 9px 22px; }
  body .locale-switch { align-self: flex-start; margin: 3px 7px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 82px; }
  body .container { width: calc(100% - 40px); }
  body .nav-wrap { min-height: 72px; }
  body .brand { gap: 10px; font-size: 17px; }
  body .brand-mark { width: 31px; height: 26px; }
  body .site-nav { top: 72px; right: 20px; left: 20px; }
  body .footer-grid { flex-direction: column; gap: 36px; }
  body .footer-links { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 24px; }
  body .footer-bottom { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
