/* Normal document flow: fill short pages, follow long content, never overlay it. */
html body.has-site-footer { min-height:100svh; display:flex; flex-direction:column; }
body.has-site-footer > main { flex:1 0 auto; }
body.has-site-footer > .section-nav { flex-shrink:0; }
site-footer { display:block; flex:0 0 auto; width:100%; margin-top:auto; }
.site-footer { border-top:1px solid var(--rule,#ffffff30); padding:36px var(--page-pad,var(--mx)) 28px; background:var(--bg,#000); color:var(--ink,#eeeae0); }
.site-footer-top,.site-footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:20px 36px; }
.site-footer-brand { font:400 28px/1.15 var(--display); letter-spacing:-.025em; }
.site-footer nav { display:flex; flex-wrap:wrap; gap:4px 26px; }
.site-footer a { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; }
.site-footer nav a { font:400 16px/1.4 var(--sans); }
.site-footer a:is(:hover,:focus-visible) { color:var(--footer-link-color,var(--accent,var(--fg))); text-decoration:underline; text-underline-offset:5px; }
.site-footer-bottom { margin-top:20px; color:var(--tertiary,#aaa); }
.site-footer-bottom p { margin:0; font:400 14px/1.5 var(--sans); }
.site-footer-bottom nav a { font-size:14px; }
@media(max-width:620px) {
 .site-footer { padding-top:26px; padding-bottom:22px; }
 .site-footer-top,.site-footer-bottom { align-items:flex-start; flex-direction:column; gap:12px; }
 .site-footer nav { column-gap:22px; }
 .site-footer-brand { font-size:26px; }
 .site-footer-bottom { margin-top:18px; }
}

/* Link highlights identify their destination section in each visual theme. */
.site-footer [data-footer-section="commons"] { --footer-link-color:var(--section-commons,#fff); }
.site-footer [data-footer-section="research"] { --footer-link-color:var(--section-research,#00aaff); }
.site-footer [data-footer-section="creation"] { --footer-link-color:var(--section-creation,#ff4a60); }
.site-footer [data-footer-section="broadcast"] { --footer-link-color:var(--section-broadcast,#e1ff00); }
.site-footer [data-footer-section="dialogue"] { --footer-link-color:var(--section-dialogue,#ffc800); }
:root[data-visual-style="garamond"] .site-footer { --section-commons:#cf9d8b; --section-research:#90b9c9; --section-creation:#e6a496; --section-broadcast:#c9cf91; --section-dialogue:#d8bd83; }
.site-footer a[data-footer-section]:focus-visible { outline-color:var(--footer-link-color); }

/* The bottom strip groups social destinations and the supplied partner logos. */
.site-footer-bottom { justify-content:flex-end; }
.site-footer-credits { display:grid; grid-template-columns:minmax(280px,1fr) minmax(0,2.6fr); align-items:center; gap:32px 48px; margin-top:30px; padding-top:30px; border-top:1px solid var(--rule,#ffffff30); }
.site-footer-social-column { min-width:0; }
.site-footer .site-footer-socials { display:flex; flex-wrap:wrap; gap:16px; margin:0 0 16px; }
.site-footer .site-footer-social { display:inline-flex; align-items:center; justify-content:center; flex:0 0 40px; width:40px; height:40px; min-height:40px; padding:0; border-radius:50%; background:#fff; color:#000; transition:background-color .15s ease; }
.site-footer .site-footer-social:is(:hover,:focus-visible) { background:var(--accent,var(--fg)); color:#000; text-decoration:none; }
.site-footer-social img,.site-footer-social svg { display:block; width:22px; height:22px; }
.site-footer-social-column > p { margin:0; color:var(--tertiary,#aaa); font:400 14px/1.5 var(--sans); }
.site-footer .site-footer-partners { display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:24px; min-width:0; }
.site-footer .site-footer-partner { display:flex; flex:0 1 auto; align-items:center; justify-content:center; min-width:0; min-height:64px; padding:0; }
.site-footer-partner img { display:block; width:100%; height:auto; max-height:64px; object-fit:contain; }
.site-footer-partner-nea { width:190px; }
.site-footer-partner-dcarts { width:225px; }
.site-footer-partner-marin { width:98px; }
.site-footer-partner-aws { width:90px; }
.site-footer-partner-elevenlabs { width:105px; }
.site-footer-dcarts-crop { display:block; position:relative; width:225px; height:60px; overflow:hidden; flex-shrink:0; }
.site-footer-dcarts-crop img { position:absolute; width:1453px; height:79px; max-width:none; max-height:none; left:-748px; top:-8px; }
@media(max-width:1250px) {
 .site-footer-credits { grid-template-columns:1fr; gap:28px; }
 .site-footer .site-footer-partners { justify-content:flex-start; flex-wrap:wrap; gap:24px 36px; }
 .site-footer .site-footer-partner { flex-shrink:0; }
}
@media(max-width:620px) {
 .site-footer-bottom { align-items:flex-start; }
 .site-footer-credits { margin-top:22px; padding-top:24px; gap:26px; }
 .site-footer .site-footer-socials { gap:16px; }
 .site-footer .site-footer-partners { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 24px; justify-items:start; }
 .site-footer .site-footer-partner { width:100%; max-width:190px; min-height:58px; }
 .site-footer .site-footer-partner-nea { max-width:175px; }
 .site-footer .site-footer-partner-marin { max-width:98px; }
 .site-footer .site-footer-partner-aws { max-width:90px; }
 .site-footer .site-footer-partner-elevenlabs { max-width:105px; }
 .site-footer-dcarts-crop { transform:scale(.78); transform-origin:left center; margin-right:-49.5px; }
}
@media(max-width:380px) {
 .site-footer .site-footer-partners { grid-template-columns:1fr; }
 .site-footer-dcarts-crop { transform:none; margin-right:0; }
}
@media(prefers-reduced-motion:reduce) { .site-footer .site-footer-social { transition:none; } }
