/* Site footer. Uses the --eh-* tokens from header.css (theme via [data-theme] on <html>). */
.ef { background: var(--eh-bg-soft); border-top: 1px solid var(--eh-border); font-family: var(--eh-font); color: var(--eh-text); font-size: 15px; line-height: 1.5; }
.ef, .ef * { box-sizing: border-box; }
.ef a { color: inherit; text-decoration: none; }
.ef ul { list-style: none; margin: 0; padding: 0; }
.ef :focus-visible { outline: 2px solid var(--eh-accent); outline-offset: 2px; border-radius: 6px; }

.ef-wrap { max-width: 1400px; margin: 0 auto; padding: 64px 20px 28px; }
.ef-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }

.ef-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.ef-brand img { height: 34px; width: auto; display: block; }
.ef-about { margin: 16px 0 0; max-width: 38ch; color: var(--eh-muted); }
.ef-social { display: flex; gap: 8px; margin-top: 24px; }
.ef-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--eh-border); background: var(--eh-bg); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--eh-muted); transition: color .15s ease, border-color .15s ease, transform .1s ease; }
.ef-social a:hover { color: var(--eh-accent); border-color: var(--eh-accent); }
.ef-social a:active { transform: scale(.96); }

.ef-col h3 { margin: 0 0 16px; font-size: 14px; font-weight: 700; color: var(--eh-text); }
.ef-col li + li { margin-top: 10px; }
.ef-col a { color: var(--eh-muted); transition: color .15s ease; }
.ef-col a:hover { color: var(--eh-accent); }

.ef-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--eh-border); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; color: var(--eh-muted); font-size: 13.5px; }
.ef-bottom nav { display: flex; gap: 20px; }
.ef-bottom a:hover { color: var(--eh-accent); }

@media (max-width: 900px) {
  .ef-wrap { padding-top: 48px; }
  .ef-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .ef-brandcol { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .ef-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ef * { transition: none !important; } }
