.skip { position: fixed; z-index: 30; inset: 4px auto auto 10px; transform: translateY(-150%); padding: 9px 14px; color: var(--ivory); background: var(--black); }
.skip:focus { transform: none; }
.site-header {
  --emblem-overhang: 12px;
  --header-leaf-width: clamp(56px, calc(20vw - 160px), 150px);
  --header-gradient: linear-gradient(110deg, #ffde85, var(--orange-yellow) 50%, #f7b139);
  position: sticky;
  top: 0;
  z-index: 12;
  color: var(--black);
  background: var(--orange-yellow) var(--header-gradient);
  border: 0 solid transparent;
  border-image: url("../images/header-acanthus.png") 0 17.864% fill / 0 var(--header-leaf-width) stretch;
  box-shadow: 0 2px 7px rgba(73,61,44,.18);
}
.site-header :focus-visible { outline-color: var(--black); }
.header-wrap { --wrap: 1148px; min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.header-emblem { position: relative; z-index: 1; flex: 0 0 auto; width: calc(var(--header-height) + var(--emblem-overhang) - 3px); height: var(--header-height); }
.header-emblem-image { position: absolute; top: 16px; left: 0; width: 105%; }
#site-nav { display: flex; align-items: center; justify-content: center; white-space: nowrap; font-weight: 500; font-size: 16px; }
#site-nav a { line-height: 1.1; padding: 10px 11px; }
#site-nav a:hover { text-decoration: underline; text-underline-offset: .18em; }
.header-help { color: var(--teal); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 16px; }
.phone-link { color: inherit; text-decoration: none; }
.phone-link:hover { text-decoration: underline; text-underline-offset: .18em; }
@keyframes header-phone-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .header-help { animation: header-phone-pulse 4s ease-in-out infinite; }
}
.header-cta {
  min-width: 196px;
  min-height: 39px;
}
.menu-button { display: none; border: 0; background: transparent; font-size: 25px; color: var(--black); padding: 5px; }

@media (min-width: 971px) {
  .header-wrap {
    /* Keep both ends of the navigation clear of the carved leaves. */
    max-width: calc(100% - var(--header-leaf-width) - var(--header-leaf-width) - 32px);
  }
}
@media (min-width: 971px) and (max-width: 1250px) {
  .header-cta { min-width: auto; }
}
@media (max-width: 1170px) {
  .header-help { display: none; }
  .header-wrap { gap: 10px; }
}
@media (max-width: 970px) {
  .site-header {
    border-image: url("../images/header-acanthus-mobile.png") 0 11.795% fill / 0 46px stretch;
  }
  .header-cta { min-width: auto; margin-inline-start: auto; }
  .menu-button { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; }
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding-top: var(--emblem-overhang); max-height: calc(100vh - var(--header-height)); overflow-y: auto; background: var(--orange-yellow) var(--header-gradient); box-shadow: 0 6px 14px rgba(73,61,44,.18); }
  #site-nav.open { display: grid; justify-content: stretch; }
  #site-nav a { padding: 12px max(22px,calc((100% - var(--wrap))/2)); }
}
@media (max-width: 710px) {
  :root { --header-height: 70px; }
  .site-header { --emblem-overhang: 8px; }
}
@media (max-width: 490px) {
  .header-wrap { gap: 4px; }
  .header-cta { min-height: 35px; padding: 7px 10px; font-size: 12px; }
}
@media (max-width: 370px) {
  .header-wrap { width: calc(100% - 20px); }
}

@supports not (inset: 0) {
  .header-help .icon { margin: 0 6px; }
}
