.site-header .site-nav > a.is-current:not(.site-nav__cta) { color:var(--color-primary); position:relative; }
@media (min-width:1200px) {
  .site-header .site-nav > a.is-current:not(.site-nav__cta)::after { content:""; position:absolute; left:0; right:0; bottom:-8px; height:2px; border-radius:2px; background:var(--color-primary); }
}
@media (max-width:1199px) {
  .site-header .site-nav > a.is-current:not(.site-nav__cta) { color:var(--color-primary); background:var(--color-secondary); border-radius:6px; }
}

/* Shared navigation sizes and a wider breakpoint for the larger labels. */
.site-header .site-nav > a:not(.site-nav__cta),
.site-header .site-nav > a.site-nav__cta { font-size:16px; }
@media (max-width:1199px) {
  .site-header .menu-toggle { display:block; }
  .site-header .site-nav { display:none; position:absolute; left:0; right:0; top:100%; padding:20px 24px; background:#fff; box-shadow:0 15px 20px #24212b20; flex-direction:column; align-items:stretch; gap:0; max-height:calc(100vh - 90px); overflow-y:auto; }
  .site-header .site-nav.is-open { display:flex; }
  .site-header .site-nav > a:not(.site-nav__cta) { padding:10px 0; border-bottom:1px solid #e4e0e8; }
  .site-header .site-nav > a.site-nav__cta { margin-top:15px; text-align:center; }
}

@media (min-width:1200px) {
  .site-header .menu-toggle { display:none; }
  .site-header .site-nav { display:flex; }
}
@media (min-width:1200px) and (max-width:1450px) {
  .site-header .site-nav { gap:10px; }
  .site-header .site-header__main { gap:12px; }
  .site-header .site-nav > a.site-nav__cta { padding-left:12px; padding-right:12px; }
}

/* Navigation text: only the current page is emphasized. */
.site-header .site-nav > a:not(.site-nav__cta) { font-size:14px; font-weight:400; }
.site-header .site-nav > a.is-current:not(.site-nav__cta) { font-weight:600; }
.site-header .site-nav > a.site-nav__cta { font-size:14px; font-weight:600; }

/* Navigation emphasis and spacing. */
.site-header .site-nav > a:not(.site-nav__cta) { font-weight:500; }
@media (min-width:1200px) { .site-header .site-nav { gap:18px; } }
@media (min-width:1451px) { .site-header .site-nav { gap:27px; } }

/* Keep social glyphs centered despite legacy page link and icon styles. */
.site-header__utility .site-header__social-links > a.site-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  text-align: center;
}
.site-header__utility .site-header__social-links > a.site-header__social-link > i {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  line-height: 1;
}

/* Layered tooth shape: dark border and a light centre. */
#toTop.site-scroll-top {
  position:fixed; bottom:30px; right:30px; z-index:999; display:none;
  width:50px; height:57px; overflow:visible; text-indent:0; background:none;
  text-decoration:none;
}
#toTop.site-scroll-top::before,
#toTop.site-scroll-top .site-scroll-top__shape {
  content:""; position:absolute; inset:0; background:var(--color-primary);
  -webkit-mask:url("../../images/totop.png") center / contain no-repeat;
  mask:url("../../images/totop.png") center / contain no-repeat;
}
#toTop.site-scroll-top .site-scroll-top__shape {
  inset:3px; background:var(--color-secondary);
}
#toTop.site-scroll-top .site-scroll-top__label {
  position:absolute; inset:0; text-align:center; color:var(--color-primary);
  font:600 13px/48px var(--font-body);
}
#toTop.site-scroll-top .site-scroll-top__sr {
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0);
}
#toTop.site-scroll-top:focus-visible { outline:2px solid var(--color-primary); outline-offset:3px; }
