/* Simple, full-width footer. The monochrome transition continues the black page. */
.site-shell>footer.site-footer {
  display:block; position:relative; width:100%; max-width:none; margin:0;
  padding:40px var(--page-inset) 24px; border:0; gap:0;
  background:linear-gradient(180deg,#000 0%,#090909 40%,#0d0d0d 100%);
  color:var(--ui-text); font-family:var(--body);
}
/* One aligned boundary on Home and every subpage. */
.site-shell>footer.site-footer::before {
  content:''; position:absolute; top:0; left:var(--page-inset); right:var(--page-inset);
  height:1px; background:var(--ui-line); pointer-events:none;
}
.site-footer .site-footer-content { display:block; min-width:0; width:100%; margin:0; font:400 14px/1.6 var(--body); color:var(--ui-muted); }
.site-footer .site-footer-top { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.65fr) minmax(0,1fr); gap:clamp(32px,5vw,80px); }
.site-footer .site-footer-brand { min-width:0; }
.site-footer .site-footer-brand>a { display:inline-flex; align-items:center; min-height:60px; max-width:100%; }
.site-footer .site-footer-brand img { display:block; width:clamp(248px,22vw,320px); max-width:100%; height:auto; object-fit:contain; object-position:left center; border-radius:0; }
.site-footer .site-footer-brand>p { margin:14px 0 0; font:400 14px/1.6 var(--body); color:#a6a6a6; }
.site-footer .site-footer-links { display:flex; flex-direction:column; align-items:flex-start; min-width:0; gap:0; }
.site-footer .site-footer-links h2 { margin:8px 0 16px; color:#e8e8e8; font:500 15px/22px var(--body); letter-spacing:0; }
.site-footer .site-footer-links>a { display:inline-flex; align-items:center; gap:12px; min-height:44px; max-width:100%; color:#aeaeae; font:400 14px/22px var(--body); text-decoration:none; transition:color 150ms ease-out; }
.site-footer .site-footer-email { padding-block:10px; }
.site-footer .site-footer-email>span { min-width:0; overflow-wrap:anywhere; }
.site-footer .site-footer-links .ui-direction-icon { width:15px; height:15px; flex:none; color:#9fb4c7; }
.site-footer .site-footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:60px; margin-top:36px; padding-top:16px; border-top:1px solid #ffffff12; color:#909090; font:400 12px/20px var(--body); }
.site-footer .site-footer-bottom>a { display:inline-flex; align-items:center; gap:12px; min-height:44px; color:#b5b5b5; }
.site-footer .site-footer-bottom .ui-direction-icon { width:15px; height:15px; }
.site-footer a:focus-visible { outline:2px solid var(--ui-accent); outline-offset:5px; border-radius:2px; }
@media(hover:hover) and (pointer:fine) {
 .site-footer .site-footer-links>a:hover,.site-footer .site-footer-bottom>a:hover { color:#fff; text-decoration:underline; text-underline-offset:5px; text-decoration-color:#ffffff40; }
}
@media(max-width:1000px) {
 .site-footer .site-footer-top { grid-template-columns:minmax(0,1fr) minmax(0,.6fr) minmax(0,1.1fr); gap:28px; }
}
@media(max-width:760px) {
 .site-shell>footer.site-footer { padding-top:32px; padding-bottom:20px; }
 .site-footer .site-footer-top { grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:28px 24px; }
 .site-footer .site-footer-brand { grid-column:1/-1; }
 .site-footer .site-footer-brand img { width:256px; }
 .site-footer .site-footer-brand>p { margin-top:8px; font-size:13px; }
 .site-footer .site-footer-links h2 { margin:0 0 8px; font-size:14px; }
 .site-footer .site-footer-links>a { gap:8px; }
 .site-footer .site-footer-email { flex-wrap:wrap; row-gap:0; }
 .site-footer .site-footer-email>span { flex-basis:100%; }
 .site-footer .site-footer-email>.ui-direction-icon { display:none; }
 .site-footer .site-footer-bottom { margin-top:24px; padding-top:12px; font-size:12px; }
}
@media(max-width:360px) {
 .site-footer .site-footer-top { gap:24px 16px; }
 .site-footer .site-footer-links>a { font-size:13px; }
}
@media(prefers-reduced-motion:reduce) { .site-footer * { transition:none!important; } }
