/* Shared header. Dimensions and colours are taken from the original August homepage. */
.hm-site-header, .hm-contact-bar {
  --hm-head-navy: #102a43;
  --hm-head-ink: #183042;
  --hm-head-orange: #f58220;
  --hm-head-dark-orange: #934006;
  --hm-head-line: #dde5eb;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  font: 400 1rem/1.6 Arial, Helvetica, sans-serif;
  font-synthesis: weight style;
  letter-spacing: normal;
  text-align: left;
}
.hm-site-header *, .hm-contact-bar *, .hm-site-header, .hm-contact-bar { box-sizing: border-box; }
.hm-contact-bar { background: var(--hm-head-navy); color: #fff; font-size: .9rem; }
.hm-contact-inner { width: 100%; max-width: none; margin: auto; padding: 8px 40px; display: flex; justify-content: flex-end; gap: 22px; flex-wrap: wrap; }
.hm-contact-bar a { color: inherit; font: inherit; text-decoration: none; }
.hm-contact-bar a:hover { color: #ffd0a6; }
header.hm-site-header { position: sticky; top: 0; z-index: 50; background: #fff; color: var(--hm-head-ink); box-shadow: 0 2px 14px rgba(16,42,67,.1); }
.hm-head-inner { width: 100%; max-width: none; min-height: 86px; margin: auto; padding: 10px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hm-head-brand { display: block; padding: 0; }
.hm-head-brand img { display: block; max-width: 100%; height: 62px; width: auto; }
.hm-site-header #siteNav { position: static; display: flex; min-height: 0; padding: 0; align-items: center; gap: 2px; border: 0; background: transparent; box-shadow: none; }
.hm-site-header #siteNav a { color: inherit; padding: 10px 9px; text-decoration: none; font: 700 .9rem/1.6 Arial, Helvetica, sans-serif; border-radius: 5px; transition: color .2s, background-color .2s, box-shadow .2s; }
.hm-site-header #siteNav a:hover, .hm-site-header #siteNav a:focus { color: var(--hm-head-dark-orange); background: #fff5ec; }
.hm-site-header #siteNav > a[aria-current], .hm-site-header .hm-head-media > summary.is-current { color: var(--hm-head-dark-orange); background: #fff5ec; box-shadow: inset 0 -3px 0 var(--hm-head-orange); }
.hm-site-header #siteNav .hm-head-quote { background: var(--hm-head-orange); color: var(--hm-head-navy); padding: 10px 14px; }
.hm-site-header #siteNav .hm-head-quote:is(:hover,:focus-visible) { background: #ffad60; }
.hm-head-menu { display: none; margin: 0; }
.hm-head-menu > summary, .hm-head-media > summary { display: block; list-style: none; cursor: pointer; }
.hm-head-menu > summary::-webkit-details-marker, .hm-head-media > summary::-webkit-details-marker { display: none; }
.hm-head-menu > summary { border: 1px solid var(--hm-head-line); background: #fff; border-radius: 6px; padding: 9px 12px; font: 400 1.1rem/normal Arial; color: var(--hm-head-navy); }
.hm-head-media { position: relative; display: block; margin: 0; padding: 0; border: 0; }
.hm-head-media > summary { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: inherit; font: 700 1rem/1.6 Arial, Helvetica, sans-serif; padding: 10px 9px; border-radius: 5px; white-space: nowrap; }
.hm-head-media > summary::after { content: " ▾"; font-size: .72em; }
.hm-head-media > summary:hover, .hm-head-media > summary:focus { color: var(--hm-head-dark-orange); background: #fff5ec; }
.hm-site-header :is(a,summary):focus-visible { outline: 3px solid #1a6293; outline-offset: 3px; }
.hm-site-header .hm-media-menu { position: absolute; top: calc(100% + 2px); left: 0; min-width: 190px; background: #fff; border: 1px solid rgba(16,42,67,.14); border-radius: 8px; padding: 7px; box-shadow: 0 12px 28px rgba(16,42,67,.16); z-index: 120; display: flex; flex-direction: column; gap: 2px; }
.hm-site-header #siteNav .hm-media-menu a { display: block; padding: 10px 12px; white-space: nowrap; text-align: left; }
.hm-site-header #siteNav .hm-media-menu a[aria-current] { color: var(--hm-head-dark-orange); background: #fff5ec; }
@media (max-width:1180px) {
  .hm-head-inner { min-height: 68px; padding: 8px 16px; }
  .hm-head-brand img { height: 50px; }
  .hm-head-menu { display: block; }
  .hm-site-header #siteNav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 10px 16px 16px; border-top: 1px solid var(--hm-head-line); box-shadow: 0 12px 20px rgba(16,42,67,.12); flex-direction: column; align-items: stretch; max-height: calc(100vh - 75px); max-height: calc(100dvh - 75px); overflow-y: auto; overscroll-behavior: contain; }
  .hm-head-menu[open] + #siteNav { display: flex; }
  .hm-site-header #siteNav a { padding: 11px; }
  .hm-site-header #siteNav > a[aria-current], .hm-site-header .hm-head-media > summary.is-current { box-shadow: inset 4px 0 0 var(--hm-head-orange); }
  .hm-site-header .hm-media-menu { position: static; min-width: 0; margin: 3px 0 3px 12px; border: 0; border-left: 3px solid var(--hm-head-orange); border-radius: 0; box-shadow: none; padding: 2px 0 2px 8px; }
}
@media (max-width:700px) {
  .hm-contact-inner { justify-content: center; gap: 8px 14px; padding: 7px 16px; }
  .hm-head-brand img { height: 45px; }
}
@media (prefers-reduced-motion:reduce) { .hm-site-header #siteNav a { transition: none; } }

