@font-face {
  font-family: 'Aeon Footer';
  src: url('/assets/brand/cormorant-brand.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

footer.aeon-footer {
  --footer-ink: #f4f7ee;
  --footer-muted: #c6e5d9;
  --footer-rule: #426764;
  display: block;
  margin: 0;
  padding: 0;
  border-top: 1px solid #426764;
  background: #0b3333;
  color: var(--footer-ink);
  font-size: 1rem;
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.aeon-footer-inner {
  max-width: 94rem;
  margin-inline: auto;
  padding: clamp(2.4rem, 6vw, 5.25rem) clamp(1.25rem, 5vw, 4.5rem) 0;
}

.aeon-footer-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: end;
  padding-bottom: clamp(1.75rem, 4vw, 3.2rem);
  border-bottom: 1px solid var(--footer-rule);
}

.aeon-footer .aeon-footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: clamp(.55rem, 2vw, 1.55rem);
  min-height: 44px;
  color: inherit;
  font: 700 clamp(2.55rem, 7vw, 6.4rem)/.93 'Aeon Footer', Georgia, serif;
  letter-spacing: -.028em;
  text-decoration: none;
}

.aeon-footer-wordmark img {
  width: clamp(1.8rem, 5vw, 4.7rem);
  height: auto;
  aspect-ratio: 11 / 14;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.aeon-footer-wordmark span {
  padding-inline-start: clamp(.58rem, 2vw, 1.7rem);
  border-inline-start: 1px solid var(--footer-rule);
}

.aeon-footer-masthead p {
  max-width: 40ch;
  margin: .9rem 0 0;
  color: var(--footer-muted);
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
}

.aeon-footer .aeon-footer-demo {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 48px;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: #e1efe4;
  color: #083a36;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.aeon-footer .aeon-footer-demo:hover { background: #fff; }

.aeon-footer-demo::after,
.aeon-footer-top::after {
  content: '';
  flex: none;
  width: .5em;
  height: .5em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.aeon-footer .aeon-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem clamp(1.5rem, 7vw, 7rem);
  align-items: start;
  padding-block: clamp(1.45rem, 3vw, 2.45rem);
}

.aeon-footer-links h2 {
  margin: 0 0 .45rem;
  color: var(--footer-muted);
  font: 600 1rem/1.4 Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

.aeon-footer-links ul { padding: 0; margin: 0; list-style: none; }
.aeon-footer-links li { margin: 0; }

.aeon-footer .aeon-footer-links a,
.aeon-footer .aeon-footer-colophon a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: .22rem;
  color: var(--footer-ink);
  text-decoration: none;
}

.aeon-footer .aeon-footer-links a:hover,
.aeon-footer .aeon-footer-colophon a:hover { text-decoration: underline; text-underline-offset: .2em; }
.aeon-footer a:focus-visible { outline: 2px solid #e1efe4; outline-offset: 4px; }

.aeon-footer-colophon {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  min-height: 4rem;
  border-top: 1px solid var(--footer-rule);
  padding-block: .5rem;
  font-size: .875rem;
}

.aeon-footer-colophon p {
  margin: 0;
  width: auto;
  color: var(--footer-muted);
  font-size: inherit;
  order: 0;
}

.aeon-footer .aeon-footer-colophon a { color: var(--footer-muted); }
.aeon-footer .aeon-footer-top { gap: .65rem; margin-inline-start: auto; }
.aeon-footer-top::after { transform: rotate(-45deg); }

@media (max-width: 640px) {
  .aeon-footer-masthead { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .aeon-footer .aeon-footer-demo { justify-self: start; max-width: 100%; }
  .aeon-footer .aeon-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.1rem; }
}

@media (max-width: 365px) {
  .aeon-footer-colophon p { flex-basis: 100%; margin-top: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .aeon-footer .aeon-footer-demo { transition: none; }
}

.aeon-footer .aeon-footer-uc {
  display: inline-flex;
  margin-top: 1.25rem;
  border-radius: 4px;
}

.aeon-footer-uc img {
  display: block;
  width: clamp(11rem, 16vw, 14.75rem);
  height: auto;
}
