/* Aperios Design on footer.design: a quiet directory and a large closing wordmark.
   Scoped to the footer; BDI's existing type and palette stay in use. */
.ribbon-site .site-footer.footer-editorial {
  --footer-ink: #fcfefa;
  --footer-muted: #c0cfc5;
  --footer-line: #fcfefa26;
  background: #012219;
  color: var(--footer-ink);
  border: 0;
  padding: 0 0 22px;
}
.footer-editorial .footer-invitation {
  background: #f2f5ef;
  color: #012219;
  padding-block: 68px;
}
.footer-editorial .footer-invitation .site-footer-intro {
  padding: 0;
  border: 0;
  align-items: end;
  gap: 48px;
}
.footer-editorial .footer-invitation h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.04;
}
.footer-editorial .footer-invitation .site-footer-contact > p {
  font-family: var(--sans);
  color: #314d43;
  max-width: 28ch;
  margin-bottom: 20px;
}
.footer-editorial .footer-invitation .button {
  border-radius: 100px;
  padding: 7px 7px 7px 23px;
  gap: 26px;
  min-height: 56px;
  font-size: 15px;
  transition: transform 350ms cubic-bezier(.22,1,.36,1);
}
.footer-editorial .footer-invitation .button span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #012219;
  color: #fcfefa;
  width: 40px;
  height: 40px;
  font-size: 23px;
  transition: transform 350ms cubic-bezier(.22,1,.36,1);
}
.ribbon-site .footer-editorial > .ribbon-shell { padding-top: 54px; }
.ribbon-site .footer-editorial nav.site-footer-links {
  grid-template-columns: 1.3fr 1fr 1.3fr 1fr;
  gap: 48px;
  padding: 0 0 52px;
}
.ribbon-site .footer-editorial .site-footer-group h2 {
  font-family: var(--sans);
  color: var(--footer-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ribbon-site .footer-editorial .site-footer-group a {
  color: var(--footer-muted);
  font-size: 14px;
  min-height: 36px;
  padding-block: 7px;
  line-height: 1.5;
  width: fit-content;
  transition: transform 300ms cubic-bezier(.22,1,.36,1);
}
.ribbon-site .footer-editorial .site-footer-group a:hover,
.ribbon-site .footer-editorial a[aria-current="page"] {
  color: #fcfefa;
  text-decoration-color: #f3563d;
}
.footer-editorial .footer-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--footer-line);
  padding-top: 20px;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.5;
}
.footer-editorial .footer-signature p { margin: 0; }
.footer-editorial .footer-signature span { color: #fcfefa; }
.ribbon-site .footer-editorial .footer-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .12em;
  padding: 32px 0 64px;
  color: #fcfefa;
  font-family: var(--serif);
  font-size: clamp(72px, 18.8vw, 268px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .95;
  white-space: nowrap;
  text-decoration: none;
}
.footer-editorial .footer-wordmark .footer-mark {
  display: block;
  width: .58em;
  height: .48em;
  flex: 0 0 .58em;
  border: .095em solid #f3563d;
  border-bottom: 0;
  transform: translateY(.035em);
}
.ribbon-site .footer-editorial .site-footer-bottom {
  border-color: var(--footer-line);
  color: var(--footer-muted);
  font-size: 12px;
  gap: 16px 24px;
  padding-top: 12px;
}
.ribbon-site .footer-editorial .site-footer-bottom small,
.ribbon-site .footer-editorial .site-footer-bottom nav { font-size: 12px; }
.ribbon-site .footer-editorial .site-footer-bottom a { color: var(--footer-muted); }
.ribbon-site .footer-editorial .site-back-top span {
  color: #f3563d;
  transition: transform 350ms cubic-bezier(.22,1,.36,1);
}
.footer-editorial a:focus-visible { outline: 2px solid #f3563d; outline-offset: 6px; border-radius: 3px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .footer-editorial .footer-invitation .button:hover { transform: translateY(-2px); }
  .footer-editorial .footer-invitation .button:hover span { transform: rotate(45deg); }
  .ribbon-site .footer-editorial .site-footer-group a:hover { transform: translateX(4px); }
  .footer-editorial .footer-invitation .button:active { transform: scale(.98); }
}
@media (max-width:900px) {
  .footer-editorial .footer-invitation { padding-block: 48px; }
  .footer-editorial .footer-invitation .site-footer-intro { align-items: start; }
  .ribbon-site .footer-editorial nav.site-footer-links { grid-template-columns: 1fr 1fr; gap: 36px 48px; padding-bottom: 40px; }
  .ribbon-site .footer-editorial .site-footer-group a { min-height: 44px; }
  .ribbon-site .footer-editorial .footer-wordmark { font-size: clamp(72px, 19vw, 165px); padding-block: 36px 48px; }
}
@media (max-width:600px) {
  .footer-editorial .footer-invitation .site-footer-intro { flex-direction: column; gap: 28px; }
  .footer-editorial .footer-invitation .site-footer-contact > p { max-width: 28ch; }
  .ribbon-site .footer-editorial > .ribbon-shell { padding-top: 40px; }
  .ribbon-site .footer-editorial nav.site-footer-links { gap: 32px 24px; }
  .ribbon-site .footer-editorial .site-footer-group a { font-size: 13px; }
  .footer-editorial .footer-signature { flex-direction: column; align-items: start; gap: 4px; font-size: 11px; }
  .ribbon-site .footer-editorial .footer-wordmark { font-size: 19vw; padding-block: 32px 40px; }
  .ribbon-site .footer-editorial .site-footer-bottom { gap: 0 14px; }
  .ribbon-site .footer-editorial .site-footer-bottom nav { gap: 8px 18px; }
}
@media (prefers-reduced-motion:reduce) {
  .footer-editorial a, .footer-editorial a span { transition: none !important; }
}
