/* ════════════════════════════════════════════════════════════════
 * LYDIAN Corporate Footer Stylesheet
 * Source-of-truth at /var/www/lydian-brand/lydian-footer.css
 * Served on every ailydian.com domain via nginx brand snippet.
 *
 * Mobile-first responsive — 1 column <480px, 2-3 cols mid, 4 cols desktop.
 * Uses Warm Clay tokens from /lydian-tokens.css (single source of truth).
 * No hardcoded brand colors. No font names changed.
 * ════════════════════════════════════════════════════════════════ */

#lydian-corporate-footer {
  background: var(--bg-primary, #1F1F1E);
  color: var(--text-secondary, #a3a3a3);
  padding: 48px 24px 24px;
  border-top: 1px solid var(--border-dark, #3A3A37);
  font: 14px/1.7 var(--font-body, "Plus Jakarta Sans", "Inter", system-ui, sans-serif);
  margin-top: auto;
  box-sizing: border-box;
}
#lydian-corporate-footer * { box-sizing: border-box; }

.lcf-container { max-width: 1280px; margin: 0 auto; }

.lcf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.lcf-brand h2 {
  font: 700 20px/1.3 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: var(--tracking-heading, -0.02em);
  color: var(--text-primary, #fafafa);
  margin: 0 0 12px;
}
.lcf-brand p { margin: 0 0 16px; font-size: 13px; line-height: 1.7; }

.lcf-section h3 {
  font: 600 11px/1.4 var(--font-display, "Space Grotesk", system-ui, sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-400, #F08A5D);
  margin: 0 0 14px;
}

.lcf-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13px; }
.lcf-list li { color: var(--text-secondary, #a3a3a3); position: relative; padding-left: 14px; }
.lcf-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-500, #E97451);
}
.lcf-list a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lcf-list a:hover { color: var(--brand-300, #F5A47C); }

.lcf-constellation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 13px;
}
.lcf-constellation a {
  color: var(--text-secondary, #a3a3a3);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: var(--radius-sm, 6px);
  transition: background var(--motion-fast, 150ms), color var(--motion-fast, 150ms);
}
.lcf-constellation a:hover {
  color: var(--brand-300, #F5A47C);
  background: var(--brand-glow-soft, rgba(233,116,81,0.15));
}

.lcf-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark, #3A3A37);
  font-size: 12px;
  color: var(--text-muted, #737373);
  font-family: var(--font-mono, "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace);
}
.lcf-bottom a { color: var(--text-muted, #737373); text-decoration: none; }
.lcf-bottom a:hover { color: var(--brand-400, #F08A5D); }

.lcf-langs { display: flex; flex-wrap: wrap; gap: 10px; }
.lcf-langs a { padding: 2px 6px; border-radius: var(--radius-sm, 6px); }
.lcf-langs a:hover { background: var(--brand-glow-soft, rgba(233,116,81,0.15)); }

@media (max-width: 768px) {
  #lydian-corporate-footer { padding: 32px 16px 20px; }
  .lcf-grid { gap: 24px; margin-bottom: 24px; }
  .lcf-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lcf-langs { justify-content: flex-start; }
}

@media (max-width: 480px) {
  #lydian-corporate-footer { padding: 24px 14px 18px; font-size: 13px; }
  .lcf-grid { grid-template-columns: 1fr; gap: 20px; }
  .lcf-constellation { grid-template-columns: 1fr; }
}

/* Page-level layout fix to push footer to bottom across SPAs */
html, body { display: flex; flex-direction: column; min-height: 100vh; }
body > * { flex-shrink: 0; }
body > #lydian-corporate-footer { order: 9999; margin-top: auto; }
