/* Shared public contact/footer presentation for public_footer.html, loaded by
   branding_head.html. All selectors stay inside .site-footer, so the focused
   practice room and private admin layouts do not change. Real text, local SVG
   shapes and a few CSS circles supply the visuals without third-party assets. */
.site-footer { width: min(1180px, calc(100% - 96px)); margin: 32px auto 0; padding-bottom: 24px; font-family: var(--sans); }
.site-footer, .site-footer * { box-sizing: border-box; }
/* A dark editorial panel closes the cream reading surface. The extra specificity
   protects its light text from landing-page heading/link rules. */
.site-footer .footer-connect { position: relative; isolation: isolate; overflow: hidden; padding: 48px; border-radius: 12px; background: #101521; color: #F5F1E6; }
.site-footer .footer-introduction { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 56px; align-items: center; }
.site-footer .footer-invitation { min-width: 0; }
.site-footer .footer-eyebrow { margin: 0 0 16px; color: #A8D8CC; font: 600 10px/1.5 var(--sans); letter-spacing: 2px; }
.site-footer .footer-heading { margin: 0; color: #F5F1E6; font: 400 clamp(40px, 4.4vw, 60px)/1.03 var(--serif); letter-spacing: -1.8px; }
.site-footer .footer-heading em { color: #A8D8CC; font-weight: 400; }
.site-footer .footer-description { max-width: 350px; margin: 20px 0 0; color: #C1C9CC; font: 400 14px/1.75 var(--sans); }
/* Email is the primary contact action. A full-width hit area and wrapping keep
   it usable at 320px and when a browser enlarges the reader's font. */
.site-footer .footer-contact { position: relative; display: grid; gap: 12px; min-width: 0; min-height: 100px; padding: 22px 56px 22px 0; border-block: 1px solid #49545D; color: #F5F1E6; text-decoration: none; }
.site-footer .footer-contact-label { color: #A8D8CC; font-size: 10px; font-weight: 600; letter-spacing: 1.6px; }
.site-footer .footer-contact-address { font-size: clamp(16px, 1.6vw, 22px); line-height: 1.5; letter-spacing: -.4px; overflow-wrap: anywhere; }
.site-footer .footer-contact-arrow { position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border: 1px solid #6F938E; border-radius: 50%; color: #A8D8CC; font-size: 24px; transition: background .18s ease, color .18s ease; }
.site-footer .footer-contact:hover { color: #A8D8CC; }
.site-footer .footer-contact:hover .footer-contact-arrow { color: #101521; background: #A8D8CC; }
/* Low-contrast decoration sits behind the content. Nothing moves automatically;
   only a small hover transition responds to the visitor's deliberate action. */
.site-footer .footer-orbits { position: absolute; z-index: -1; pointer-events: none; width: 480px; height: 480px; right: -165px; top: -290px; }
.site-footer .footer-orbits i { position: absolute; inset: 0; border: 1px solid #A8D8CC22; border-radius: 50%; }
.site-footer .footer-orbits i + i { inset: 66px; }
.site-footer .footer-orbits b { position: absolute; bottom: 58px; left: 55px; width: 15px; height: 15px; border-radius: 50%; background: #009D94; }
/* Five equal social links read like a quiet navigation strip. The actual names
   are the accessible labels; icons and arrows are decorative. */
.site-footer .footer-social-heading { display: flex; justify-content: space-between; gap: 16px; margin: 38px 0 14px; color: #C1C9CC; font-size: 11px; line-height: 1.5; }
.site-footer .footer-social-heading span:last-child { color: #A8D8CC; font-style: italic; }
.site-footer .footer-social { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.site-footer .footer-social a { display: flex; align-items: center; gap: 10px; min-height: 54px; min-width: 0; padding: 12px 14px; border: 1px solid #49545D; border-radius: 4px; color: #F5F1E6; text-decoration: none; font-size: 12px; transition: background .18s ease, border-color .18s ease; }
.site-footer .footer-social a:hover { background: #1D3439; border-color: #A8D8CC; }
.site-footer .footer-social-icon { display: inline-flex; justify-content: center; align-items: center; flex: none; width: 20px; height: 20px; font: 500 20px/1 Arial, sans-serif; }
.site-footer .footer-linkedin { font-size: 19px; font-weight: 700; letter-spacing: -1px; }
.site-footer .footer-facebook { font-size: 25px; font-weight: 700; }
.site-footer .footer-social-arrow { margin-left: auto; color: #A8D8CC; font-size: 16px; }
.site-footer .footer-connect a:focus-visible { outline: 2px solid #A8D8CC; outline-offset: 4px; }
/* The original wordmark returns to cream paper below the contact panel. Existing
   product and licence links stay visible, and wrap rather than scrolling. */
.site-footer .footer-base { display: flex; justify-content: space-between; align-items: center; gap: 26px; padding: 28px 0; }
.site-footer .footer-brand { flex: none; }
.site-footer .footer-brand .brand { font-size: 22px; }
.site-footer .footer-brand p { margin: 5px 0 0; color: var(--muted); font: italic 13px/1.5 var(--serif); }
.site-footer .footer-navigation { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 22px; max-width: 650px; }
.site-footer .footer-navigation a { display: inline-flex; align-items: center; min-height: 44px; color: var(--body-text); font-size: 12px; text-decoration: none; }
.site-footer .footer-navigation a:hover { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-navigation a:focus-visible { outline: 2px solid var(--teal-strong); outline-offset: 3px; }
/* Sign-in and subscription forms get a shorter version below the main action.
   Its markup adds no form fields, analytics loaders or social network requests. */
.site-footer-compact .footer-heading { font-size: 38px; letter-spacing: -1px; }
.site-footer-compact .footer-connect { padding-block: 32px; }
.site-footer-compact .footer-social-heading { margin-top: 24px; }
@media (max-width: 1000px) {
  .site-footer { width: calc(100% - 64px); }
  .site-footer .footer-connect { padding: 32px; }
  .site-footer .footer-introduction { gap: 28px; }
  .site-footer .footer-social a { padding-inline: 10px; gap: 7px; }
  .site-footer .footer-social-arrow { display: none; }
  .site-footer .footer-base { align-items: flex-start; }
}
@media (max-width: 700px) {
  .site-footer { width: calc(100% - 32px); margin-top: 28px; }
  .site-footer .footer-connect { padding: 28px 22px; }
  .site-footer .footer-introduction { grid-template-columns: 1fr; gap: 26px; }
  .site-footer .footer-contact { min-height: 88px; padding: 18px 0; }
  /* Move the arrow alongside the small label so the email gets the full row. */
  .site-footer .footer-contact-arrow { top: 14px; margin-top: 0; width: 28px; height: 28px; font-size: 18px; }
  .site-footer .footer-contact-address { font-size: clamp(16px, 4.2vw, 18px); }
  .site-footer .footer-social-heading { margin-top: 26px; }
  .site-footer .footer-social-heading span:last-child { display: none; }
  .site-footer .footer-social { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-social a { padding-inline: 12px; }
  .site-footer .footer-social a:last-child { grid-column: 1 / -1; }
  .site-footer .footer-social-arrow { display: inline; }
  .site-footer .footer-base { flex-direction: column; gap: 14px; padding: 24px 6px; }
  .site-footer .footer-navigation { justify-content: flex-start; gap: 0 18px; }
  .site-footer-compact .footer-heading { font-size: 32px; }
}
/* At the narrowest phone width, keep the full social name legible; its icon
   and bordered card already communicate the action without an extra arrow. */
@media (max-width: 380px) {
  .site-footer .footer-social-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-contact-arrow, .site-footer .footer-social a { transition: none; }
}
