/* Base footer styles needed by reading pages; V6 layout is appended by the generator. */
.legal-page .footer {
  --surface: #e5e5e2;
  --closing: #636361;
  padding-inline: var(--gutter);
  padding-bottom: 0;
  background: var(--surface);
  color: var(--closing);
  font-variation-settings: 'opsz' 14, 'wdth' 100;
}
:root[data-theme='dark'] .legal-page .footer { --surface: #282828; --closing: #bdbdb8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .legal-page .footer { --surface: #282828; --closing: #bdbdb8; }
}
.legal-page .footer-bottom { margin: 0; font-size: 16px; line-height: 20px; }
.legal-page .footer p { margin: 0; }
.legal-page .footer-legal { display: flex; flex-wrap: wrap; margin: 0; }
.legal-page .footer-legal a { text-decoration: none; text-underline-offset: .22em; }
.legal-page .footer-legal a:hover { text-decoration: underline; }
.legal-page .footer-profile {
  display: block;
  color: rgb(99 99 97 / .12);
  font-weight: 400;
  text-decoration: none;
  transition: color .25s ease;
}
.legal-page .footer-profile:is(:hover, :focus-visible) { color: rgb(99 99 97 / .28); }
.legal-page .footer-profile:focus-visible { outline-offset: -6px; }
.legal-page.motion-paused .footer-profile,
.legal-page.motion-paused .footer-sponsorship svg { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .legal-page .footer-profile { transition: none; }
}

/* Responsive family contact footer; preserve the profile reveal and theme hovers. */
.footer--v6 { height: auto; overflow: clip; padding-top: clamp(60px, 6.35vw, 130px); }
.footer--v6 .footer-bottom {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: start; min-height: 0; border-bottom: 0;
  padding-bottom: 8px; gap: clamp(96px, 12.7vw, 260px) 40px;
}
.footer--v6 .footer-information { grid-column: 1; grid-row: 1; min-width: 0; max-width: 36ch; line-height: 1.3; letter-spacing: -.03em; }
.footer--v6 .footer-information p + p { margin-top: 1.5em; }
.footer--v6 .footer-rights { grid-column: 2; grid-row: 2; margin: 0; align-self: center; text-align: right; letter-spacing: -.03em; }
.footer--v6 .footer-legal { grid-column: 2; grid-row: 1; flex-direction: column; align-items: flex-end; gap: 8px; font-weight: 700; }
.footer--v6 .footer-legal a { padding-block: 0; line-height: 1.3; }
.footer--v6 .footer-sponsorship { grid-column: 1; grid-row: 2; display: inline-flex; align-items: center; justify-self: start; gap: 16px; min-height: 44px; color: inherit; font-weight: 700; letter-spacing: -.03em; text-decoration: none; text-underline-offset: .22em; }
.footer-sponsorship svg { width: 22px; height: 22px; flex: none; transition: transform .25s ease; }
.footer-sponsorship:is(:hover, :focus-visible) { text-decoration: underline; }
.footer-sponsorship:is(:hover, :focus-visible) svg { transform: translate(2px, -2px); }
.footer--v6 .footer-profile {
  width: calc(100% + 2 * var(--gutter)); max-width: none;
  margin-inline: calc(-1 * var(--gutter)); margin-top: 15px;
  height: .52em; overflow: clip; margin-bottom: 0;
  font-size: 18vw; letter-spacing: -.042em;
  line-height: .937; white-space: nowrap;
}
.footer-profile-text { position: relative; top: -.05em; display: inline-block; width: max-content; white-space: nowrap; vertical-align: bottom; letter-spacing: -.042em; }
.footer-profile-char { display: inline-block; overflow: visible clip; vertical-align: bottom; }
.footer-profile-char-inner { display: inline-block; }
.section-label svg.section-star { transform-box: fill-box; transform-origin: center; }
@media (max-width:700px) {
  .footer--v6 { padding-top: 120px; }
  .footer--v6 .footer-bottom { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer--v6 .footer-information { max-width: 40ch; }
  .footer--v6 .footer-sponsorship { grid-column: 1; grid-row: 2; margin-top: 20px; gap: 12px; }
  .footer--v6 .footer-legal { grid-column: 1; grid-row: 3; flex-direction: column; align-items: flex-start; gap: 0; margin-top: 72px; }
  .footer--v6 .footer-legal a { display: inline-flex; align-items: center; min-height: 32px; }
  .footer--v6 .footer-rights { grid-column: 1; grid-row: 4; margin-top: 96px; text-align: center; line-height: 1.3; }
  .footer--v6 .footer-profile { margin-top: 32px; }
}
@media (prefers-reduced-motion:reduce) {
  .footer-sponsorship svg { transition: none; }
}
