/* Site header groups and footer. Brand tokens from styles.css :root. */

/* Header: site pages first, then "on this page" links, quietly separated. */
.header nav{align-items:center;gap:0}
.header .nav-site,.header .nav-local{display:flex;gap:32px;flex-shrink:0}
.header .nav-local{margin-left:28px;padding-left:28px;border-left:1px solid var(--hairline)}
.header .nav-local a{color:var(--muted)}
.header .nav-local a:hover{color:var(--lime)}

/* Tablet: the bar keeps wordmark + Let's talk; all links move to one row under it. */
@media(max-width:1100px) and (min-width:601px){
  .header{height:auto;flex-wrap:wrap;row-gap:0;padding-top:18px}
  .header nav{order:3;width:100%;padding:6px 0 14px}
  .header .nav-site,.header .nav-local{gap:24px}
  .header .nav-local{margin-left:22px;padding-left:22px}
}

/* Phone: one horizontally scrollable row under the bar; site pages come first. */
@media(max-width:600px){
  .header nav{justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;
    padding:7px;margin:-7px;width:calc(100% + 14px);
    -webkit-mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 28px),transparent)}
  .header nav::-webkit-scrollbar{display:none}
  .header .nav-site,.header .nav-local{gap:20px}
  .header .nav-local{margin-left:18px;padding-left:18px;padding-right:28px}
  .header nav a{white-space:nowrap}
}

/* Footer */
footer.site-footer{display:block;padding:48px 0 128px;font-size:12px;color:var(--muted)}
.site-footer .footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.site-footer .footer-topics{display:flex;gap:12px;flex-wrap:wrap}
.site-footer .footer-topics .button{color:var(--text);background:none}
.site-footer .footer-topics .button span{color:var(--lime)}
.site-footer .footer-row{display:flex;align-items:center;justify-content:space-between;gap:12px 32px;flex-wrap:wrap;margin-top:40px}
.site-footer .footer-links,.site-footer .footer-legal{display:flex;flex-wrap:wrap;gap:0 32px}
.site-footer .footer-links a,.site-footer .footer-email{color:var(--text);padding:12px 0}
.site-footer .footer-legal a{padding:12px 0}
.site-footer a:not(.button):not(.wordmark):hover{color:var(--lime)}
.site-footer .footer-base{margin-top:28px;padding-top:20px;border-top:1px solid var(--hairline)}
.site-footer .footer-company{font-size:11px;line-height:1.7;max-width:760px}
/* Company block (2026-11-18, owner: "company information place properly"): name, number, registration, then the
   registered office as an address that breaks only between its comma groups (no word left alone on a line). Desktop:
   the legal links top-aligned on the right (their 12px padding taken back so the text tops line up). */
.site-footer .footer-base:has(.footer-company-block){align-items:flex-start}
.site-footer .footer-company-block{font-size:11px;line-height:1.7;max-width:760px}
.site-footer .footer-company-block p,.site-footer .footer-company-block address{margin:0;font-style:normal}
.site-footer .footer-company-name{color:var(--text);font-weight:var(--rd-w,600)}
.site-footer .footer-company-block address span{white-space:nowrap}
.site-footer .footer-company-block~.footer-legal{margin-top:-12px}

@media(max-width:600px){
  footer.site-footer{padding:36px 0 112px;font-size:12px}
  .site-footer .footer-top{flex-direction:column;align-items:flex-start;gap:20px}
  .site-footer .footer-topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;width:100%}
  .site-footer .footer-topics .button{min-height:48px;padding:12px;gap:10px;justify-content:center}
  .site-footer .footer-row{flex-direction:column;align-items:flex-start;gap:4px;margin-top:28px}
  .site-footer .footer-links{gap:0 24px}
  .site-footer .footer-links a,.site-footer .footer-email,.site-footer .footer-legal a{min-height:44px;display:inline-flex;align-items:center;padding:0}
  .site-footer .footer-base{margin-top:20px;gap:12px}
  .site-footer .footer-base:has(.footer-company-block){gap:16px}
  .site-footer .footer-company-block~.footer-legal{margin-top:0}
}
/* The arrow as inline SVG (2026-11-18): the text arrow U+2197 may become a colour emoji on a phone. Same span, .72em. */
.arrow-icon{display:inline-flex;align-items:center}.arrow-icon svg{display:block;width:.72em;height:.72em}
