/* Shared inset header; existing navigation and appearance behavior stay intact. */
:root { --cover-width: 1440px; scroll-padding-top: 112px; }
:root .site-header.wrap {
  width: min(var(--cover-width), calc(100% - clamp(40px, 8vw, 144px)));
  min-height: 72px; top: 12px; margin: 14px auto 0; padding: 10px 20px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper); gap: 24px;
}
:root .site-header .wordmark { font-size: 32px; }
:root .site-header .brand-role { font-size: 9px; }
:root .site-header .desktop-nav { gap: clamp(18px, 2vw, 30px); }
:root .site-header .desktop-nav > a,
:root .site-header .services-toggle { font-size: 13px; }
:root .services-toggle::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
:root .site-header .header-contact { min-height: 42px; padding: 9px 16px; font-size: 12px; border-radius: 8px; }
:root .theme-toggle { border: 0; border-radius: 8px; }
:root .site-header .mobile-nav { inset-inline: 0; border-radius: 0 0 12px 12px; }
@media (max-width: 1150px) and (min-width: 981px) {
:root .site-header.wrap { gap: 16px; padding-inline: 16px; }
:root .site-header .desktop-nav { gap: 15px; }
:root .site-header .desktop-nav > a,
:root .site-header .services-toggle { font-size: 11px; }
}
@media (max-width: 700px) {
:root { scroll-padding-top: 90px; }
:root .site-header.wrap { width: calc(100% - 24px); min-height: 62px; top: 6px; margin: 8px auto 0; padding: 8px 12px; gap: 10px; }
:root .site-header .wordmark { font-size: 28px; }
:root .site-header .brand-role { font-size: 8px; }
:root .site-header .header-contact { min-height: 38px; padding: 7px 10px; font-size: 11px; }
:root .site-header .contact-mobile { display: inline; }
:root .site-header .contact-compact { display: none; }
:root .site-header .contact-desktop { display: none; }
:root .site-header .menu-toggle { flex-shrink: 0; width: 38px; height: 38px; min-width: 38px; border-radius: 7px; }
}
@media (max-width: 360px) {
html:root .site-header .header-contact { width: auto; min-width: 76px; padding-inline: 9px; }
}
/* Slightly larger navigation, as approved for the working orange version. */
:root .site-header .desktop-nav > a,
:root .site-header .services-toggle { font-size: 15px; }
:root .site-header .header-contact { font-size: 14px; }
:root .site-header .services-dropdown a { font-size: 14px; }
@media (min-width: 981px) and (max-width: 1150px) {
  :root .site-header .desktop-nav > a,
  :root .site-header .services-toggle { font-size: 13px; }
  :root .site-header .header-contact { font-size: 13px; }
}
@media (max-width: 980px) {
  :root .site-header .mobile-nav > a { font-size: 17px; }
  :root .site-header .mobile-services a { font-size: 14px; }
}
@media (max-width: 700px) {
  :root .site-header .header-contact { font-size: 12px; }
}
