/* Shared navigation and footer. Page structure and content remain unchanged. */
.site-header { gap:14px; }
.site-header > a:first-child { flex:0 0 auto; }
.site-header #navigation { gap:clamp(14px,1.65vw,26px); }
.header-actions { display:flex; align-items:center; gap:8px; flex:none; }
.site-header .menu-toggle { display:none; flex:none; min-width:44px; min-height:44px; }
.site-header .menu-toggle svg { width:22px; height:22px; }
.site-header #navigation a { min-height:44px; display:inline-flex; align-items:center; }

footer.section { background:#080d0e; color:#fffff7; }
footer .footer-contact { min-width:0; }
footer .footer-contact a[href^="mailto:"] { white-space:nowrap; overflow-wrap:normal; word-break:normal; }
footer .footer-links a,footer .footer-contact a { min-height:36px; display:inline-flex; align-items:center; }
footer .legal { align-items:center; }
footer .footer-socials { align-items:center; margin-left:auto; }
footer .footer-socials a { width:44px; height:44px; flex:none; }

@media (min-width:1001px) and (max-width:1199px) {
}

@media (max-width:1100px) and (min-width:1001px) {
  .site-header { gap:10px; padding-left:18px; }
  .site-header img { width:145px; }
  .site-header #navigation { gap:14px; font-size:.9375rem; }
  .site-header > .button { font-size:.875rem; gap:8px; padding-left:12px; }
}

@media (max-width:1000px) {
  .site-header { min-height:64px; gap:12px; padding:8px 10px 8px 20px; flex-wrap:nowrap; }
  .site-header > a:first-child { margin-right:auto; min-width:0; }
  .site-header img { width:clamp(104px,17vw,155px); max-height:42px; }
  .site-header > .button { display:none; }
  .site-header.is-enhanced .menu-toggle { display:inline-flex; align-items:center; justify-content:center; padding:0; }
  .site-header.is-enhanced #navigation { position:absolute; top:calc(100% + 10px); inset-inline:0; display:none; flex:none; flex-direction:column; flex-wrap:nowrap; gap:3px; padding:10px; max-height:calc(100svh - 112px); overflow-y:auto; overscroll-behavior:contain; border:1px solid var(--nav-border,var(--ink)); border-radius:20px; background:var(--nav-bg,var(--white)); color:var(--nav-text,var(--ink)); box-shadow:0 12px 28px rgb(0 0 0 / .13); }
  .site-header.is-enhanced #navigation.is-open { display:flex; }
  .site-header #navigation a { display:flex; width:100%; min-height:48px; padding:12px 16px; line-height:1.4; border-radius:11px; font-size:1rem; text-decoration:none; }
  .site-header #navigation a[aria-current] { background:var(--accent,var(--lime)); color:var(--on-accent,#080d0e); text-decoration:none; }
  .site-header #navigation a:focus-visible { outline:2px solid var(--nav-text,var(--ink)); outline-offset:-3px; }
  .site-header:not(.is-enhanced) { flex-wrap:wrap; }
  .site-header:not(.is-enhanced) #navigation { display:flex; flex:1 0 100%; flex-wrap:wrap; gap:4px; }
  .site-header:not(.is-enhanced) #navigation a { width:auto; }
  .header-actions { gap:8px; }
  footer .footer-top { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:36px; row-gap:30px; }
  footer .footer-top > div:first-child { grid-column:1/-1; }
  footer .footer-contact a[href^="mailto:"] { font-size:.9375rem; }
}

@media (max-width:600px) {
  footer .footer-top { grid-template-columns:minmax(0,1fr); gap:30px; text-align:center; }
  footer .footer-top > div:first-child { grid-column:auto; }
  footer .footer-top > div:first-child .tag { margin-inline:auto; }
  footer .footer-top h2 { max-width:20ch; margin-inline:auto; }
  footer .footer-top .button { margin-inline:auto; }
  footer .footer-links { display:grid; justify-items:center; gap:4px; }
  footer .footer-links h3 { margin:0 0 6px; }
  footer .footer-links a { min-height:40px; }
  footer .footer-contact { grid-column:1/-1; justify-items:center; gap:4px; }
  footer .footer-contact h3 { margin-bottom:6px; }
  footer .footer-contact a { min-height:40px; }
  footer .footer-contact a[href^="mailto:"] { font-size:1rem; max-width:100%; }
  footer .footer-wordmark { margin-top:36px; }
  footer .footer-wordmark .footer-logo { width:min(78%,460px); }
  footer .legal { justify-content:center; gap:2px 18px; padding-top:22px; text-align:center; }
  footer .legal > span { flex:1 0 100%; margin:0 0 8px; }
  footer .legal > a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; }
  footer .footer-socials { flex:1 0 100%; justify-content:center; gap:8px; margin:8px 0 0; }
}

@media (max-width:374px) {
  .site-header { gap:8px; padding-left:14px; }
  .site-header img { width:104px; }
  .header-actions { gap:6px; }
}



/* Reference nav labels use4px vertical/10px horizontal inset and4px corners.
   Keep a44px click target while the green surface stays inset around the text. */
@media(min-width:1001px){
 .site-header #navigation a{position:relative;isolation:isolate;padding-inline:10px;min-height:44px;border-radius:4px;}
 .site-header #navigation a::before{content:"";position:absolute;inset:6px 0;z-index:-1;border-radius:4px;background:transparent;pointer-events:none;transition:background-color .16s ease;}
 .site-header #navigation a:focus-visible{background:transparent;color:var(--on-accent);text-decoration:none;}
 .site-header #navigation a:focus-visible::before{background:var(--accent);}
}
@media(min-width:1001px) and (hover:hover){
 .site-header #navigation a:hover{background:transparent;color:var(--on-accent);text-decoration:none;}
 .site-header #navigation a:hover::before{background:var(--accent);}
}
@media(max-width:1000px) and (hover:hover){.site-header #navigation a:hover{background:var(--accent);color:var(--on-accent);}}
