/* The site footer. Self-contained, because it also sits on older layouts that
   do not define the --bn-* colours; every selector starts at .site-foot. */
.site-foot { --ink: #172333; --copy: #475463; --muted: #68736f; --line: #d8dbd2; --paper: #f4f3ec; --building: #d9a529; --draft: #d53a36; --product: #36a66a; --standard: #2c79c7; flex: 0 0 auto; width: 100%; background: var(--paper); color: var(--ink); font: 14px/1.55 Inter, "Aptos", "Segoe UI", system-ui, sans-serif; text-align: left; }
.site-foot *, .site-foot *::before, .site-foot *::after { box-sizing: border-box; }
.site-foot .foot-wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.site-foot a { color: var(--ink); text-decoration: none; text-underline-offset: 4px; border: 0; background: none; }
.site-foot a:hover { color: #a94f34; text-decoration: underline; }
.site-foot a:focus-visible { outline: 3px solid #a94f34; outline-offset: 3px; }
.site-foot ul { margin: 0; padding: 0; list-style: none; }
.site-foot h2 { margin: 0; color: var(--ink); font: 400 19px/1.3 Georgia, "Times New Roman", serif; letter-spacing: -.02em; text-transform: none; border: 0; padding: 0; }
.site-foot p { margin: 0; }

.site-foot .foot-latest { border-block: 1px solid var(--line); background: #fbfaf6; padding: 26px 0; }
.site-foot .foot-latest-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 14px; }
.site-foot .foot-latest ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.site-foot .foot-note { display: flex; border-top: 2px solid var(--ink); }
.site-foot .foot-note a { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 10px; padding: 10px 0 2px; }
.site-foot .foot-note a:hover { text-decoration: none; }
.site-foot .foot-note strong { font: 400 17px/1.4 Georgia, "Times New Roman", serif; }
.site-foot .foot-note a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; }
.site-foot .foot-note a > span { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--muted); font-size: 12.5px; }
.site-foot .foot-from { display: inline-flex; align-items: center; gap: 6px; }
.site-foot .foot-from::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.site-foot .foot-from.is-product::before { background: var(--product); }
.site-foot .foot-from.is-standard::before { background: var(--standard); }

/* The mill is the backdrop: sky fading into the paper behind the links, with
   the works and grass clear beneath them. */
.site-foot .foot-scene { position: relative; isolation: isolate; overflow: hidden; }
.site-foot .foot-photo { position: absolute; z-index: -1; inset: auto 0 0; height: min(100%, clamp(480px, 46vw, 640px)); }
.site-foot .foot-photo img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; object-position: center bottom; filter: brightness(1.06) saturate(1.08); }
/* z-index: the photo's filter would otherwise paint it over the fade. */
.site-foot .foot-photo::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(to bottom, var(--paper), rgba(244, 243, 236, .88) 22%, rgba(244, 243, 236, .4) 48%, rgba(244, 243, 236, .08) 74%, transparent); }
.site-foot .foot-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 56px; padding-top: 56px; padding-bottom: clamp(190px, 21vw, 290px); }
.site-foot .foot-brand .babb-logo { display: block; width: 104px; height: auto; }
.site-foot .foot-brand p { max-width: 340px; margin-top: 14px; color: var(--copy); font-size: 15px; }
.site-foot .foot-brand .foot-key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 22px; color: var(--muted); font-size: 12.5px; }
.site-foot .foot-key span { display: inline-flex; align-items: center; }
.site-foot .foot-key .foot-dot { margin: 0 7px 0 0; }
.site-foot .foot-dot { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; vertical-align: 1px; }
.site-foot .foot-dot.is-building { background: var(--building); }
.site-foot .foot-dot.is-draft { background: var(--draft); }
.site-foot .foot-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-foot .foot-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.site-foot .foot-columns h2 { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.site-foot .foot-columns li { margin: 6px 0; overflow-wrap: break-word; }
.site-foot .foot-columns a[aria-current="true"] { font-weight: 750; }
.site-foot .foot-focus a { font: 400 20px/1.35 Georgia, "Times New Roman", serif; }

.site-foot .foot-base { position: absolute; inset: auto 0 0; padding: 34px 0 14px; background: linear-gradient(to top, rgba(14, 22, 32, .82), rgba(14, 22, 32, .45) 55%, transparent); color: #fff; font-size: 13px; }
.site-foot .foot-base .foot-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; }

@media (max-width: 900px) {
  .site-foot .foot-main { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 250px; }
  .site-foot .foot-photo { height: 440px; }
  .site-foot .foot-photo img { object-position: 55% bottom; }
}
@media (max-width: 700px) {
  .site-foot .foot-latest ul { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .site-foot .foot-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print { .site-foot .foot-latest, .site-foot .foot-photo { display: none; } .site-foot .foot-main { padding-bottom: 20px; } .site-foot .foot-base { position: static; background: none; color: inherit; } }
