/* The header and footer every site shares (the platform's and each organization's), set in the
   on-screen editor (apps/landing/chrome.py) and written as data-h-* / data-f-* attributes.
   Built on the site's tokens (landing.css), so the brand's colours, fonts and the global page
   styles apply, light and dark alike. Behaviours while scrolling: static/js/chrome.js. */

/* --- The header: one grid, five layouts ------------------------------------------------------ */
.h-head { --h-h: 76px; --h-ink: var(--ink); --h-bg: color-mix(in srgb, var(--paper) 88%, transparent); background: var(--h-bg); color: var(--h-ink); transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .3s ease; }
.h-head .h-row { display: grid; align-items: center; gap: 10px 20px; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav actions"; min-height: var(--h-h); transition: min-height .25s ease; flex-wrap: nowrap; padding-block: 0; }
.h-head .h-brand { grid-area: brand; display: inline-flex; align-items: center; min-width: 0; }
.h-head .h-brand img { height: var(--h-logo, 48px); width: auto; max-width: min(240px, 46vw); object-fit: contain; transition: height .25s ease; }
.h-head .h-nav { grid-area: nav; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 2px 4px; margin: 0; width: auto; min-width: 0; }
.h-head .h-actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.h-head .h-actions .btn { white-space: nowrap; }
.h-head .h-in-menu { display: none; }
.h-head[data-h-layout="center"] .h-nav { justify-content: center; }
.h-head[data-h-layout="left"] .h-nav { justify-content: flex-start; }
.h-head[data-h-layout="stacked"] .h-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: ". brand actions" "nav nav nav"; padding-block: 10px 6px; }
.h-head[data-h-layout="stacked"] .h-brand { justify-self: center; }
.h-head[data-h-layout="stacked"] .h-nav { justify-content: center; }
.h-head[data-h-layout="split"] .h-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "nav brand actions"; }
.h-head[data-h-layout="split"] .h-nav { justify-content: flex-start; }
.h-head[data-h-layout="minimal"] .h-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand . actions"; }

/* Sizes. */
.h-head[data-h-height="compact"] { --h-h: 60px; }
.h-head[data-h-height="tall"] { --h-h: 96px; }
.h-head[data-h-width="full"] .h-row { width: 100%; max-width: none; padding-inline: clamp(16px, 3vw, 44px); }

/* Backgrounds and edges. */
.h-head[data-h-bg="glass"] { backdrop-filter: saturate(1.2) blur(12px); }
.h-head[data-h-bg="paper"] { --h-bg: var(--paper); backdrop-filter: none; }
.h-head[data-h-bg="card"] { --h-bg: var(--card); backdrop-filter: none; }
.h-head[data-h-bg="dark"] { --h-bg: var(--night, #1d1714); --h-ink: #fff; backdrop-filter: none; }
.h-head[data-h-bg="brand"] { --h-bg: var(--brand); --h-ink: var(--on-brand, #fff); backdrop-filter: none; }
.h-head[data-h-border] { border-bottom: 1px solid transparent; }
.h-head[data-h-border="line"], .h-head[data-h-border="scroll"].is-scrolled { border-bottom-color: var(--line); }
.h-head[data-h-border="shadow"] { box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 6%, transparent), 0 10px 30px -18px color-mix(in srgb, var(--ink) 40%, transparent); }
.h-head:is([data-h-bg="dark"], [data-h-bg="brand"])[data-h-border="line"], .h-head:is([data-h-bg="dark"], [data-h-bg="brand"]).is-scrolled[data-h-border="scroll"] { border-bottom-color: rgb(255 255 255 / .14); }

/* Behaviour while scrolling (static/js/chrome.js marks .is-scrolled, .is-shrunk, .is-tucked). */
.h-head[data-h-behaviour="static"] { position: relative; }
.h-head[data-h-behaviour="shrink"].is-shrunk { --h-h: 58px; }
.h-head[data-h-behaviour="shrink"].is-shrunk .h-brand img { height: calc(var(--h-logo, 48px) * .76); }
.h-head[data-h-behaviour="hide"].is-tucked { transform: translateY(-105%); }

/* See-through over the first section, solid once scrolling. */
.h-head[data-h-over] { margin-bottom: calc(-1 * var(--h-h)); }
.h-head[data-h-over]:not(.is-scrolled) { --h-bg: transparent; --h-ink: #fff; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }
.h-head[data-h-over]:not(.is-scrolled) .h-brand img:only-child { filter: brightness(0) invert(1); }
.h-head[data-h-over]:not(.is-scrolled) .h-brand .only-dark { display: inline-block; }
.h-head[data-h-over]:not(.is-scrolled) .h-brand .only-dark ~ .only-light, .h-head[data-h-over]:not(.is-scrolled) .h-brand .only-light:has(+ .only-dark) { display: none; }
.h-head[data-h-over]:not(.is-scrolled) :is(.btn-line, .btn-ghost, .btn-quiet, .btn-link) { color: #fff; border-color: rgb(255 255 255 / .55); }

/* Menu links: plain, underline or pill; capitals or as written; dropdowns with or without descriptions. */
.h-head .h-nav > a:not(.btn), .h-head .h-nav > .nav-drop > summary, .h-head .h-brand .brand-word, .h-head .h-brand .w-brand-word { color: var(--h-ink); }
.h-head .h-nav > a:not(.btn):hover, .h-head .h-nav > a:not(.btn)[aria-current="page"] { color: var(--h-ink); }
.h-head[data-h-links="pill"] .h-nav > a:not(.btn):is(:hover, [aria-current="page"]) { background: color-mix(in srgb, currentColor 10%, transparent); }
.h-head[data-h-links="plain"] .h-nav > a:not(.btn):is(:hover, [aria-current="page"]) { background: none; opacity: .72; }
.h-head[data-h-links="underline"] .h-nav > a:not(.btn) { background: none; border-radius: 0; position: relative; }
.h-head[data-h-links="underline"] .h-nav > a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.h-head[data-h-links="underline"] .h-nav > a:not(.btn):is(:hover, :focus-visible, [aria-current="page"])::after { transform: scaleX(1); }
.h-head[data-h-links="underline"] .h-nav > a:not(.btn):hover { background: none; }
.h-head[data-h-case="upper"] .h-nav > a:not(.btn), .h-head[data-h-case="upper"] .h-nav > .nav-drop > summary { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 600; }
.h-head[data-h-drop="simple"] .nav-drop-menu small { display: none; }

/* The menu button: three bars that become a cross. Hidden on computers except in Minimal. */
.h-head .h-toggle { display: none; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--h-ink) 22%, transparent); border-radius: 999px; background: transparent; color: var(--h-ink); font: inherit; font-size: .9rem; cursor: pointer; position: relative; z-index: 62; }
.h-head .h-toggle-bars { position: relative; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: background-color .2s ease; }
.h-head .h-toggle-bars::before, .h-head .h-toggle-bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, top .25s ease; }
.h-head .h-toggle-bars::before { top: -5px; } .h-head .h-toggle-bars::after { top: 5px; }
.h-head .h-toggle[aria-expanded="true"] .h-toggle-bars { background: transparent; }
.h-head .h-toggle[aria-expanded="true"] .h-toggle-bars::before { top: 0; transform: rotate(45deg); }
.h-head .h-toggle[aria-expanded="true"] .h-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.h-head[data-h-layout="minimal"] .h-toggle { display: inline-flex; }
.h-head[data-h-layout="minimal"] .h-nav { display: none; }

/* Phones (and Minimal everywhere): the menu opens below, from the side or full screen. */
@media (max-width: 900px) {
  .h-head .h-row, .h-head[data-h-layout] .h-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand . actions"; padding-block: 0; }
  .h-head[data-h-layout] .h-brand { justify-self: start; }
  .h-head .h-brand img { height: var(--h-logo-m, calc(var(--h-logo, 48px) * .82)); }
  .h-head .h-nav { display: none; }
  .h-head .h-toggle { display: inline-flex; }
  .h-head .h-actions :is(.h-cta2, .h-sign-in) { display: none; }
  .h-head .h-in-menu { display: inline-flex; justify-content: center; }
}
@media (max-width: 520px) {
  .h-head .h-toggle-word { display: none; }
  .h-head .h-actions .h-cta { padding: 8px 14px; font-size: .88rem; }
  .h-head .h-actions .h-cta .arrow { display: none; }
}
.h-head .h-nav.is-open { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; background: var(--paper); color: var(--ink); z-index: 61; }
.h-head .h-nav.is-open > a:not(.btn), .h-head .h-nav.is-open > .nav-drop > summary { color: var(--ink); padding: 12px 14px; border-radius: 10px; }
.h-head[data-h-mobile="drop"] .h-nav.is-open { position: absolute; top: 100%; left: 0; right: 0; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - var(--h-h)); overflow: auto; }
.h-head[data-h-mobile="drawer"] .h-nav.is-open { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(88vw, 380px); padding: calc(var(--h-h) + 8px) 20px 28px; box-shadow: -24px 0 60px -30px rgb(0 0 0 / .45); overflow: auto; animation: h-drawer .28s ease both; }
.h-head[data-h-mobile="full"] .h-nav.is-open { position: fixed; inset: 0; padding: calc(var(--h-h) + 20px) 24px 32px; align-items: center; overflow: auto; animation: h-fade .22s ease both; }
.h-head[data-h-mobile="full"] .h-nav.is-open > a:not(.btn), .h-head[data-h-mobile="full"] .h-nav.is-open > .nav-drop > summary { font-size: 1.3rem; }
.h-head:is([data-h-mobile="drawer"], [data-h-mobile="full"]):has(.h-nav.is-open) .h-actions { position: relative; z-index: 62; }
html.h-menu-open { overflow: hidden; }
@keyframes h-drawer { from { transform: translateX(100%); } to { transform: none; } }
@keyframes h-fade { from { opacity: 0; } to { opacity: 1; } }

/* --- The top bar ---------------------------------------------------------------------------- */
.h-topbar { font-size: .84rem; line-height: 1.3; }
.h-topbar.tone-brand { background: var(--brand); color: var(--on-brand, #fff); }
.h-topbar.tone-dark { background: var(--night, #1d1714); color: #fff; }
.h-topbar.tone-paper { background: var(--paper-deep, var(--paper)); color: var(--ink); border-bottom: 1px solid var(--line); }
.h-topbar.tone-accent { background: var(--accent); color: var(--on-accent, #fff); }
.h-topbar-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; min-height: 36px; padding-block: 4px; }
.h-topbar-msg { margin: 0; flex: 1 1 auto; min-width: 0; }
.h-topbar a { color: inherit; text-decoration: none; }
.h-topbar-msg a { font-weight: 600; }
.h-topbar-side { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.h-topbar-link { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.h-topbar-link:hover { opacity: 1; text-decoration: underline; }
.h-topbar-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h-topbar-close { border: 0; background: transparent; color: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 2px 6px; opacity: .8; }
.h-topbar-close:hover { opacity: 1; }
.h-topbar[hidden] { display: none; }
@media (max-width: 640px) { .h-topbar-link span, .h-topbar .c-social { display: none; } .h-topbar-in { justify-content: center; text-align: center; } }

/* --- Social icons --------------------------------------------------------------------------- */
.c-social { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); color: inherit; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.c-social a:hover { background: color-mix(in srgb, currentColor 12%, transparent); transform: translateY(-1px); }
.c-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.c-social.is-small { margin: 0; gap: 4px; }
.c-social.is-small a { width: 26px; height: 26px; border: 0; }
.c-social.is-small svg { width: 15px; height: 15px; }
.c-social.is-names a { width: auto; height: auto; border: 0; border-radius: 0; padding: 0 2px; }
.c-social.is-names a:hover { background: none; text-decoration: underline; }

/* --- The footer ----------------------------------------------------------------------------- */
.c-foot[data-f-space="compact"] { padding-block: 32px 22px; }
.c-foot[data-f-space="spacious"] { padding-block: 88px 44px; }
.c-foot .f-statement { margin: 0 0 40px; font-family: var(--display); font-size: clamp(2rem, 1.2rem + 3.4vw, 4.2rem); line-height: 1.05; letter-spacing: -.01em; max-width: 20ch; color: inherit; }
.c-foot .f-contact { font-style: normal; display: grid; gap: 4px; margin-top: 12px; font-size: .92rem; }
.c-foot .f-contact a { text-decoration: none; }
.c-foot .f-contact a:hover { text-decoration: underline; }
.c-foot .f-contact .is-muted { opacity: .75; }
.c-foot .f-badges { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.c-foot .f-badges img { display: block; max-height: 48px; width: auto; max-width: 140px; filter: grayscale(1); opacity: .85; transition: filter .2s ease, opacity .2s ease; }
.c-foot .f-badges a:hover img, .c-foot .f-badges img:hover { filter: none; opacity: 1; }
.c-foot .f-top { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); color: inherit; text-decoration: none; font-size: .82rem; }
.c-foot .f-top svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-foot .f-top:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.c-foot .w-legal-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.c-foot .w-legal-row .w-legal { margin: 0; }

/* Centred: everything on one axis. */
.c-foot[data-f-layout="centered"] { text-align: center; }
.c-foot[data-f-layout="centered"] :is(.foot-top, .w-foot-cols) { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.c-foot[data-f-layout="centered"] :is(.cols, .w-foot-cols) { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 36px; width: auto; }
.c-foot[data-f-layout="centered"] :is(.about, .f-about) { display: flex; flex-direction: column; align-items: center; }
.c-foot[data-f-layout="centered"] :is(.about, .f-about) p { margin-inline: auto; }
.c-foot[data-f-layout="centered"] .c-social { justify-content: center; }
.c-foot[data-f-layout="centered"] :is(.legal, .w-legal-row) { justify-content: center; text-align: center; }
.c-foot[data-f-layout="centered"] .f-top { margin-left: 0; }
.c-foot[data-f-layout="centered"] .f-badges { justify-content: center; }

/* One line: the logo, social icons and the bottom line only. */
.c-foot[data-f-layout="minimal"] :is(.cols, .f-contact) { display: none; }
.c-foot[data-f-layout="minimal"] .w-foot-cols > :not(.f-about) { display: none; }
.c-foot[data-f-layout="minimal"] :is(.foot-top, .w-foot-cols) { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.c-foot[data-f-layout="minimal"] :is(.about, .f-about) { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; flex-wrap: wrap; }
.c-foot[data-f-layout="minimal"] :is(.about, .f-about) > p { display: none; }
.c-foot[data-f-layout="minimal"] .c-social { margin: 0; }
.c-foot[data-f-layout="minimal"] :is(.legal, .w-legal-row) { margin-top: 18px; padding-top: 14px; }

/* --- The call to action band above the footer --------------------------------------------- */
.f-band { background: var(--brand); color: var(--on-brand, #fff); padding-block: clamp(40px, 6vw, 72px); }
.f-band-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; }
.f-band-title { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.1; color: inherit; }
.f-band-text { margin: 10px 0 0; max-width: 60ch; opacity: .9; }
.f-band .btn { background: #fff; color: var(--brand); border-color: #fff; box-shadow: none; }
.f-band .btn:hover { background: color-mix(in srgb, #fff 88%, var(--brand)); color: var(--brand-deep, var(--brand)); }

@media (prefers-reduced-motion: reduce) {
  .h-head, .h-head .h-row, .h-head .h-brand img, .h-head .h-toggle-bars, .h-head .h-toggle-bars::before, .h-head .h-toggle-bars::after { transition: none; }
  .h-head .h-nav.is-open { animation: none; }
}
@media print { .h-topbar, .f-band, .f-top { display: none; } }

/* Column sizes (footer settings "Columns": apps/landing/chrome.py). Nothing changes until a
   size is chosen: then the logo and contact column takes its share of the row and the link
   columns share the rest, or sit as wide as their links, placed and spaced as chosen. Written
   columns may be narrow, wide or twice as wide as the others. Layouts "Centred" and "One line"
   keep their own arrangement. */
.c-foot .f-cols:not(.cols) { display: contents; }
.c-foot[data-f-sizing]:is([data-f-layout="columns"], [data-f-layout="statement"]) {
  --f-about-share: 1fr; --f-rest-share: 3fr; --f-gap: 32px; --f-place: flex-start;
}
.c-foot[data-f-sizing][data-f-about="narrow"] { --f-rest-share: 4fr; }
.c-foot[data-f-sizing][data-f-about="wide"] { --f-rest-share: 2fr; }
.c-foot[data-f-sizing][data-f-about="half"] { --f-rest-share: 1fr; }
.c-foot[data-f-sizing][data-f-gap="tight"] { --f-gap: 16px; }
.c-foot[data-f-sizing][data-f-gap="wide"] { --f-gap: 56px; }
.c-foot[data-f-sizing][data-f-place="center"] { --f-place: center; }
.c-foot[data-f-sizing][data-f-place="end"] { --f-place: flex-end; }
.c-foot[data-f-sizing][data-f-place="spread"] { --f-place: space-between; }
.c-foot[data-f-sizing]:is([data-f-layout="columns"], [data-f-layout="statement"]) .f-main {
  display: grid; grid-template-columns: minmax(0, var(--f-about-share)) minmax(0, var(--f-rest-share));
  gap: 32px clamp(28px, 4vw, 64px); align-items: start;
}
.c-foot[data-f-sizing]:is([data-f-layout="columns"], [data-f-layout="statement"]) .f-cols {
  display: flex; flex-wrap: wrap; gap: 28px var(--f-gap); justify-content: var(--f-place);
  width: auto; max-width: none; justify-self: stretch; grid-template-columns: none;
}
.c-foot[data-f-sizing="even"] .f-cols > .f-col { flex: var(--f-w, 1) 1 0; min-width: 8.5rem; }
.c-foot[data-f-sizing="even"] .f-cols > .f-col[data-w="narrow"] { --f-w: 0.7; }
.c-foot[data-f-sizing="even"] .f-cols > .f-col[data-w="wide"] { --f-w: 1.5; }
.c-foot[data-f-sizing="even"] .f-cols > .f-col[data-w="wider"] { --f-w: 2; }
.c-foot[data-f-sizing="fit"] .f-cols > .f-col { flex: 0 1 auto; min-width: 0; max-width: 20rem; }
@media (max-width: 900px) {
  .c-foot[data-f-sizing]:is([data-f-layout="columns"], [data-f-layout="statement"]) .f-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .c-foot[data-f-sizing] .f-cols { justify-content: flex-start; }
  .c-foot[data-f-sizing][data-f-phone="2"] .f-cols > .f-col { flex: 1 1 calc(50% - var(--f-gap)); min-width: 0; max-width: none; }
  .c-foot[data-f-sizing][data-f-phone="1"] .f-cols > .f-col { flex: 1 1 100%; min-width: 0; max-width: none; }
}

/* Social profiles in the footer (settings "Social"): side by side or one under another,
   icons, names or both, small to large, circle to no frame; under the contact, in a column
   of their own or in the bottom line. Stronger than the footers' own list rules (which lay
   every list out as one item per row). */
.c-social-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-foot .c-social { --s-size: 38px; --s-radius: 50%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; grid-template-columns: none; }
.c-foot .c-social[data-dir="column"] { flex-direction: column; align-items: flex-start; gap: 6px; }
.c-foot .c-social[data-size="small"] { --s-size: 30px; }
.c-foot .c-social[data-size="large"] { --s-size: 46px; }
.c-foot .c-social[data-shape="rounded"] { --s-radius: 10px; }
.c-foot .c-social[data-shape="square"] { --s-radius: 3px; }
.c-foot .c-social a { width: var(--s-size); height: var(--s-size); border-radius: var(--s-radius); }
.c-foot .c-social svg { width: calc(var(--s-size) * .47); height: calc(var(--s-size) * .47); }
.c-foot .c-social[data-shape="plain"] a { border-color: transparent; width: auto; min-width: var(--s-size); }
.c-foot .c-social.is-both a { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 0 14px 0 calc(var(--s-size) * .26); border-radius: max(var(--s-radius), 0px); }
.c-foot .c-social.is-both[data-shape=""], .c-foot .c-social.is-both[data-shape="circle"] { --s-radius: 999px; }
.c-foot .c-social.is-both .c-social-name { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .88rem; }
.c-foot .c-social.is-names a { width: auto; height: auto; min-width: 0; }
.c-foot .c-social a::after { content: none !important; }
.c-foot .f-col-social .c-social { margin-top: 0; }
.c-foot :is(.legal, .w-legal-row) > .c-social { margin: 0; }
.c-foot[data-f-layout="centered"] .c-social[data-dir="column"] { align-items: center; }

/* The footer's logo follows the footer's own background: on a dark or brand-coloured footer
   the dark-theme logo shows whatever the page's theme (a light-ink version of a logo
   without one). */
.c-foot[data-f-ink="light"] .only-dark { display: inline-block !important; }
.c-foot[data-f-ink="light"] .only-light:has(+ .only-dark) { display: none !important; }
.c-foot[data-f-ink="light"] :is(.brand, .w-brand) img:only-child { filter: brightness(0) invert(1); }
