/* Shared footer only: existing brand palette, type, container and breakpoints. */
/* Reuse the marketing heroes' self-hosted premium font on every public footer. */
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display/playfair-display-500-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
body > footer {
  --footer-curve-height: 56px;
  padding: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  border: 0;
  font-family: var(--font-body);
  pointer-events: none;
}
/* Overlay only closing CTA bands; other pages keep their content clearance. */
body > .cta-band + footer,
body > main:has(> .cta-band:last-child) + footer {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--footer-curve-height));
}
.footer-curve {
  display: block;
  width: 100%;
  height: var(--footer-curve-height);
}
.footer-curve-fill { fill: var(--light-gray); }
.footer-curve-edge { fill: none; stroke: var(--teal); stroke-width: 2; opacity: .45; }
.footer-surface { pointer-events: auto; background: var(--light-gray); padding: 24px 40px 16px; }
.footer-surface .footer-content {
  max-width: 1200px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .65fr);
  gap: 40px;
  margin: 0 auto 24px;
}
.footer-surface .footer-col { min-width: 0; }
.footer-surface .footer-nav {
  position: static;
  display: block;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  border-left: 1px solid rgba(11, 61, 92, .1);
  padding: 0 0 0 24px;
  z-index: auto;
}
.footer-surface .footer-col h3 {
  color: var(--navy);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 16px;
}
.footer-surface .footer-col h3::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--teal);
  margin-top: 12px;
}
.footer-surface .footer-col p,
.footer-surface .footer-col a {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.8;
}
.footer-surface .footer-col a { margin-bottom: 8px; }
.footer-surface .footer-col a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: .2em; }
.footer-surface .footer-brand .logo-container:hover { text-decoration: none; }
.footer-surface a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 3px; }
.footer-surface .footer-brand .logo-container {
  display: inline-flex;
  max-width: 100%;
  padding: 0;
  margin-bottom: 16px;
  background: transparent;
  font-family: var(--font-stack);
}
.footer-surface .footer-brand .wordmark { font-size: 22px; }
.footer-surface .footer-brand p { margin-bottom: 16px; max-width: 350px; }
.footer-surface .footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.footer-surface .footer-legal a { display: inline-block; margin-bottom: 0; font-size: 12px; }
.footer-legal > span { color: var(--teal); }
.footer-surface .footer-divider { border-color: rgba(11, 61, 92, .1); max-width: 1200px; margin: 0 auto; padding-top: 16px; }
.footer-surface .footer-copyright { color: var(--navy); font-size: 12px; line-height: 1.8; }
@media (max-width: 1024px) {
  .footer-surface { padding: 24px 24px 16px; }
  .footer-surface .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
  .footer-surface .footer-nav { border-left: 0; padding: 0; }
  body > footer { --footer-curve-height: 48px; }
}
@media (max-width: 768px) {
  .footer-surface { padding: 16px; }
  .footer-surface .footer-content { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-surface .footer-col h3 { margin-bottom: 12px; }
  body > footer { --footer-curve-height: 32px; }
}
@media (max-width: 480px) {
  .footer-surface { padding: 16px 12px; }
}
