


  html,
  body {
    margin: 0;
    padding: 0;
    background: var(--surface, #efefea);
  }


  .ay-site-footer {
    --footer-platform-copy-size: 13px;
    --footer-profile-heading-size: clamp(26px, 2.2vw, 34px);
    --footer-text: var(--muted, #695e58);
    --footer-line: var(--rule, #b8b1a8);
    --footer-bg: var(--surface, #efefea);
    --footer-hover: var(--surface, #efefea);
    --footer-blue: var(--ui-accent, #064cff);

    width: 100%;
    margin: 0;
    padding: 0;

    color: var(--footer-text);
    background: var(--footer-bg);

    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;

    box-sizing: border-box;

    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }


  .ay-site-footer *,
  .ay-site-footer *::before,
  .ay-site-footer *::after {
    box-sizing: border-box;
  }


  /* TOP BAR */


  .ay-site-footer__bar {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 11px 20px 10px;

    border-top: 1px solid var(--footer-line);
    border-bottom: 1px solid var(--footer-line);

    font-family: 'PT Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.025em;
    text-transform: uppercase;
  }


  /* MAIN GRID */


  .ay-site-footer__grid {
    display: grid;
    grid-template-columns:
      minmax(230px, 3fr)
      minmax(330px, 4fr)
      minmax(220px, 2.5fr)
      minmax(210px, 2.5fr);

    align-items: stretch;

    width: 100%;

    border-left: 1px solid var(--footer-line);
  }


  .ay-site-footer__brand,
  .ay-site-footer__about,
  .ay-site-footer__column {
    min-width: 0;
    min-height: 365px;
    padding: 18px;

    border-right: 1px solid var(--footer-line);
    border-bottom: 1px solid var(--footer-line);
  }


  .ay-site-footer__brand {
    grid-column: 1;
    grid-row: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }


  .ay-site-footer__about {
    grid-column: 2;
    grid-row: 1;

    display: flex;
    flex-direction: column;
  }


  .ay-site-footer__topics {
    grid-column: 3;
    grid-row: 1;
  }


  .ay-site-footer__explore {
    grid-column: 4;
    grid-row: 1;
  }


  /* LOGO */


  .ay-site-footer__logo {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 74px;
    height: 74px;
    padding: 10px;

    color: var(--surface, #efefea) !important;
    background: var(--footer-blue);
    border-radius: 7px;
    outline: 1px solid var(--surface, #efefea);
    outline-offset: -6px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.035em;
    text-decoration: none !important;

    transition:
      transform 180ms ease,
      background-color 180ms ease;
  }


  .ay-site-footer__logo:hover {
    transform: translateY(-2px);
    background: var(--footer-blue);
  }


  /* SOCIAL LINKS */


  .ay-site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    width: 100%;
    margin-top: 42px;
  }


  .ay-site-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 28px;
    padding: 0 8px;

    color: var(--footer-text) !important;
    background: transparent;
    border: 1px solid var(--footer-line);

    font-family: 'PT Mono', monospace;
    font-size: 8px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;

    transition:
      color 160ms ease,
      background-color 160ms ease,
      border-color 160ms ease,
      transform 160ms ease;
  }


  .ay-site-footer__socials a:hover {
    color: var(--surface, #efefea) !important;
    background: var(--footer-blue);
    border-color: var(--footer-blue);
    transform: translateY(-2px);
  }


  .ay-site-footer__brand-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    width: 100%;
    margin-top: auto;
    padding-top: 11px;

    border-top: 1px solid var(--footer-line);

    font-family: 'PT Mono', monospace;
    font-size: 8px;
    font-weight: 500;
    line-height: 1.2;
  }


  /* LABELS */


  .ay-site-footer__label {
    margin-bottom: 34px;

    font-family: 'PT Mono', monospace;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.025em;
    text-transform: uppercase;
  }


  /* ABOUT */


  .ay-site-footer__about h2 {
    max-width: 11ch;
    margin: 0 0 23px;

    font-size: clamp(30px, 3vw, 47px);
    font-weight: 400;
    line-height: 0.91;
    letter-spacing: -0.05em;
  }


  .ay-site-footer__about p {
    max-width: 39ch;
    margin: 0 0 17px;

    font-size: 15px;
    line-height: 1.39;
    letter-spacing: -0.012em;
  }


  .ay-site-footer__inline-link {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    width: 100%;
    margin-top: auto;
    padding-top: 11px;

    color: var(--footer-text) !important;
    border-top: 1px solid var(--footer-line);

    font-family: 'PT Mono', monospace;
    font-size: 9px;
    font-weight: 500;
    text-decoration: none !important;
    text-transform: uppercase;
  }


  .ay-site-footer__inline-link span:last-child {
    font-size: 16px;

    transition: transform 180ms ease;
  }


  .ay-site-footer__inline-link:hover span:last-child {
    transform: translate(3px, -3px);
  }


  /* NAVIGATION COLUMNS */


  .ay-site-footer__column {
    display: flex;
    flex-direction: column;
  }


  .ay-site-footer__column > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;

    padding: 13px 0;

    color: var(--footer-text) !important;
    border-top: 1px solid var(--footer-line);

    font-size: 16px;
    line-height: 1.22;
    letter-spacing: -0.018em;
    text-decoration: none !important;

    transition:
      color 160ms ease,
      background-color 160ms ease,
      padding 160ms ease;
  }


  .ay-site-footer__column > a:last-child {
    border-bottom: 1px solid var(--footer-line);
  }


  .ay-site-footer__column > a span:last-child {
    font-family: 'PT Mono', monospace;
    font-size: 8px;
    font-weight: 500;
  }


  .ay-site-footer__column > a:hover {
    color: var(--footer-blue) !important;
    padding-right: 6px;
    padding-left: 6px;
    background: var(--footer-hover);
  }


  /* BOTTOM BAR */


  .ay-site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding: 12px 20px;

    border-right: 1px solid var(--footer-line);
    border-bottom: 1px solid var(--footer-line);
    border-left: 1px solid var(--footer-line);

    font-family: 'PT Mono', monospace;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
  }


  .ay-site-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 25px;
  }


  .ay-site-footer__bottom a {
    color: var(--footer-text) !important;
    text-decoration: none !important;
  }


  .ay-site-footer__bottom a:hover {
    color: var(--footer-blue) !important;
  }


  /* REMOVE ACCIDENTAL ELEMENTS */


  .ay-site-footer > :not(.ay-site-footer__bar):not(.ay-site-footer__grid):not(.ay-site-footer__bottom),
  .ay-site-footer__grid > :not(.ay-site-footer__brand):not(.ay-site-footer__about):not(.ay-site-footer__topics):not(.ay-site-footer__explore) {
    display: none !important;
  }


  /* ACCESSIBILITY */


  .ay-site-footer a:focus-visible {
    position: relative;
    z-index: 4;

    outline: 2px solid var(--footer-blue);
    outline-offset: 3px;
  }


  /* TABLET */


  @media screen and (max-width: 959px) {

    .ay-site-footer__grid {
      grid-template-columns:
        minmax(220px, 1fr)
        minmax(320px, 1.35fr);
    }


    .ay-site-footer__brand {
      grid-column: 1;
      grid-row: 1;
    }


    .ay-site-footer__about {
      grid-column: 2;
      grid-row: 1;
    }


    .ay-site-footer__topics {
      grid-column: 1;
      grid-row: 2;
    }


    .ay-site-footer__explore {
      grid-column: 2;
      grid-row: 2;
    }


    .ay-site-footer__brand,
    .ay-site-footer__about,
    .ay-site-footer__column {
      min-height: 300px;
    }

  }


  /* MOBILE */


  @media screen and (max-width: 639px) {

    .ay-site-footer__bar {
      flex-direction: column;
      gap: 5px;

      padding: 9px 8px 8px;

      font-size: 8px;
    }


    .ay-site-footer__grid {
      display: block;
    }


    .ay-site-footer__brand,
    .ay-site-footer__about,
    .ay-site-footer__column {
      width: 100%;
      min-height: 0;
      padding: 18px 11px 20px;
    }


    .ay-site-footer__brand {
      min-height: 280px;
    }


    .ay-site-footer__about h2 {
      max-width: 100%;

      font-size: clamp(32px, 11vw, 46px);
    }


    .ay-site-footer__about p {
      max-width: 34ch;

      font-size: 14px;
    }


    .ay-site-footer__column > a {
      font-size: 15px;
    }


    .ay-site-footer__bottom {
      flex-direction: column;
      gap: 8px;

      padding: 11px 8px;

      font-size: 8px;
    }


    .ay-site-footer__bottom-links {
      justify-content: flex-start;
    }

  }


  /* PRINT */


  @media print {

    .ay-site-footer__socials {
      display: none;
    }


    .ay-site-footer__brand,
    .ay-site-footer__about,
    .ay-site-footer__column {
      min-height: 240px;
    }

  }


  @media (prefers-reduced-motion: reduce) {

    .ay-site-footer a,
    .ay-site-footer span {
      transition: none;
    }

  }

/* V6 compact footer contract — 2026-08-15 */
@media screen and (min-width: 960px) {
  .ay-site-footer__brand,
  .ay-site-footer__about,
  .ay-site-footer__column {
    min-height: 250px;
    padding: 14px;
  }
  .ay-site-footer__logo {
    width: 56px;
    height: 56px;
    padding: 8px;
    border-radius: 6px;
    outline-offset: -5px;
    font-size: 11px;
  }
  .ay-site-footer__socials {
    gap: 6px;
    margin-top: 24px;
  }
  .ay-site-footer__socials a {
    min-width: 30px;
    height: 24px;
    padding: 0 6px;
    font-size: 7px;
  }
  .ay-site-footer__label {
    margin-bottom: 20px;
  }
  .ay-site-footer__about h2 {
    max-width: 13ch;
    margin-bottom: 14px;
    font-size: clamp(26px, 2.2vw, 34px);
    line-height: .96;
    letter-spacing: -.04em;
  }
  .ay-site-footer__about p {
    max-width: 43ch;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.38;
  }
  .ay-site-footer__column > a {
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.25;
  }
}

/* Unified footer IA — content-specific refinements within the existing grid. */
.ay-site-footer .ay-site-footer__platform-copy,
#allrecords .ay-site-footer .ay-site-footer__platform-copy {
  max-width: 30ch;
  margin: 18px 0 0;
  color: var(--footer-text) !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: var(--footer-platform-copy-size) !important;
  font-weight: 400 !important;
  line-height: 1.38 !important;
  letter-spacing: -0.012em !important;
}

.ay-site-footer .ay-site-footer__profile h2,
#allrecords .ay-site-footer .ay-site-footer__profile h2 {
  max-width: 13ch;
  margin: 0 0 14px;
  color: var(--footer-text) !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: var(--footer-profile-heading-size) !important;
  font-weight: 400 !important;
  line-height: .96 !important;
  letter-spacing: -.04em !important;
}

.ay-site-footer .ay-site-footer__profile p,
#allrecords .ay-site-footer .ay-site-footer__profile p {
  max-width: 30ch;
  margin: 0 0 12px;
  color: var(--footer-text) !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.38 !important;
  letter-spacing: -0.012em !important;
}

.ay-site-footer__contact-email {
  display: block;
  padding: 0 0 11px !important;
  color: var(--footer-text) !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--footer-line);
  font-size: 14px !important;
  line-height: 1.25;
  letter-spacing: -.018em;
  text-decoration: none !important;
}

.ay-site-footer__contact .ay-site-footer__socials {
  margin-top: 18px;
}

.ay-site-footer__profile .ay-site-footer__inline-link {
  font-size: 13px;
  line-height: 18px;
  text-transform: none;
}

.ay-site-footer__profile .ay-site-footer__inline-link span {
  font-size: inherit;
}

.ay-site-footer__navigation > a {
  padding: 5px 0;
  font-size: 12px;
  line-height: 17px;
}

.ay-site-footer__navigation > a span:last-child {
  font-family: 'Source Sans 3', sans-serif;
  font-size: inherit;
  font-weight: 400;
}

@media screen and (max-width: 639px) {
  .ay-site-footer {
    --footer-platform-copy-size: 14px;
    --footer-profile-heading-size: clamp(32px, 11vw, 46px);
  }
  .ay-site-footer__platform-copy { max-width: 34ch; }
  .ay-site-footer__navigation > a { padding: 6px 0; font-size: 13px; line-height: 18px; }
}
