/* THE SITE FOOTER, ONE SOURCE.
   Markup: scripts/site-footer/partial.html, written into every public page by
   scripts/site-footer/sync.mjs. Style: this file, linked in <head> on every
   page that carries the footer, so no page keeps footer rules of its own.

   Howard, 2 Oct 2026: centred company line, the "Legal" link as the only link
   (the header and its menu already carry the rest), and the copyright under it.
   The registered office stays: regulation 25(2)(c) of SI 2015/17 requires a
   company's website to show it.

   Every rule carries `body` and a class so the old bare `footer { ... }` and
   reset rules pasted into some pages cannot reach it. */
body .site-footer {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid rgba(154, 123, 79, 0.2);
  text-align: center;
  font-family: inherit;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #5C5449;
}
body .site-footer p { max-width: 52rem; margin: 0 auto; padding: 0; text-wrap: balance; color: inherit; font-size: inherit; letter-spacing: normal; text-transform: none; }
/* Each phrase of the company line stays whole, so a phone breaks it between
   phrases ("Flat 9 Dennis / House" never happens) and the rows come out even. */
body .site-footer .sf-chunk { display: inline-block; }
body .site-footer .sf-base { display: flex; justify-content: center; align-items: center; gap: 0.3rem; margin-top: 0.25rem; }
body .site-footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(154, 123, 79, 0.55);
  text-underline-offset: 3px;
  border: 0;
  /* 44px tap target round the small link (U-049), no extra visible height */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.35rem;
  transition: color 0.18s ease;
}
body .site-footer .sf-company a { min-height: 0; padding: 0; display: inline; }
body .site-footer a:hover { color: #7A5C2E; }
body .site-footer a:focus-visible { outline: 3px solid #1A1714; outline-offset: 2px; border-radius: 3px; }
/* The fixed chat bubble sits bottom-right on phones: leave it clear space
   beneath the text rather than shifting the centred line (U-024). */
@media (max-width: 480px) {
  body .site-footer { padding-bottom: 5.5rem; }
}
@media print {
  body .site-footer { color: #252322 !important; }
}
