/* ============================================================
   Slideorado - SHARED site chrome (header lockup + footer)
   Self-contained: hardcoded El Dorado (dark) colors so the
   footer + brand lockup render IDENTICALLY whether the page
   also loads style.css (the app) or landing.css (marketing).
   Loaded on EVERY template. Does NOT depend on theme variables.
   Colors mirror landing.css / style.css [data-theme="dark"].
   ============================================================ */

:root {
  --site-gold-1: #f3d873;
  --site-gold-2: #cf9f33;
  --site-gold-3: #9c6f15;
  --site-gold: #d8b24a;
  --site-gold-grad: linear-gradient(120deg, #f3d873, #cf9f33 50%, #9c6f15);
  --site-gold-soft: rgba(216, 178, 74, 0.13);
  --site-on-gold: #1a1710;
  --site-bg-soft: #1b1a14;
  --site-ink: #efe9d8;
  --site-muted: #9a9684;
  --site-faint: #8a8674; /* lifted for WCAG AA on the dark footer bg */
  --site-line: rgba(239, 233, 216, 0.12);
  --site-line-strong: rgba(239, 233, 216, 0.24);
  --site-logo-outline: rgba(205, 164, 52, 0.55);
  --site-logo-shadow: rgba(0, 0, 0, 0.5);
  --site-head: "Outfit", system-ui, sans-serif;
}

/* ---------- shared brand lockup (wordmark) ---------- */
/* Self-contained twin of .wordmark / .wm-* so the logo is the
   SAME on every page regardless of which stylesheet is loaded. */
.site-wordmark { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.site-wm-logo { position: relative; width: 40px; height: 34px; flex: none; }
.site-wm-logo::before {
  content: ""; position: absolute; left: 15px; top: 9px;
  width: 22px; height: 22px; border-radius: 7px;
  border: 2px solid var(--site-logo-outline);
}
.site-wm-logo::after {
  content: ""; position: absolute; left: 1px; top: 0;
  width: 25px; height: 25px; border-radius: 7px;
  background: var(--site-gold-grad);
  box-shadow: 3px 3px 0 var(--site-logo-shadow);
}
.site-wm-name { font-family: var(--site-head); font-weight: 800; font-size: 24px; letter-spacing: 0.01em; color: var(--site-ink); }
.site-wm-dot { color: var(--site-gold); }

/* ============================================================
   SHARED FOOTER  (El Dorado, multi-column) - canonical source
   Moved here from landing.css so there is ONE definition used
   on every page (landing, audience, legal, app).
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 7vw, 88px);
  padding: clamp(44px, 6vw, 72px) 0 28px;
  background:
    radial-gradient(120% 140% at 50% -20%, var(--site-gold-soft), transparent 60%),
    var(--site-bg-soft);
  border-top: 1px solid var(--site-line);
}
/* gold gradient hairline divider sitting on the top border */
.site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--site-gold-grad);
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

/* width wrapper - self-contained so it works even without .lp-wrap */
.site-footer-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

.site-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

/* brand block */
.site-footer-brand { max-width: 34ch; }
.site-footer-brand .site-wordmark { margin-bottom: 14px; }
.site-footer-tag {
  color: var(--site-muted); font-size: 14.5px; line-height: 1.5; margin: 0 0 18px;
}
.site-footer-contact {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--site-head); font-weight: 600; font-size: 14px;
  color: var(--site-ink); text-decoration: none;
  border: 1px solid var(--site-line-strong); border-radius: 999px;
  padding: 8px 15px;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.site-footer-contact:hover {
  color: var(--site-gold); border-color: var(--site-gold);
  background: var(--site-gold-soft);
}
.site-footer-contact .site-footer-at { color: var(--site-gold); }

/* link columns */
.site-footer-h {
  font-family: var(--site-head); font-weight: 700;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--site-gold); margin: 4px 0 16px;
}
.site-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer-col a {
  position: relative;
  color: var(--site-muted); text-decoration: none; font-size: 14.5px;
  transition: color 0.16s ease, padding-left 0.16s ease;
}
.site-footer-col a::before {
  content: "";
  position: absolute; left: -13px; top: 50%; width: 5px; height: 5px;
  transform: translateY(-50%) scale(0);
  border-radius: 999px; background: var(--site-gold-grad);
  transition: transform 0.16s ease;
}
.site-footer-col a:hover { color: var(--site-gold); padding-left: 4px; }
.site-footer-col a:hover::before { transform: translateY(-50%) scale(1); }

/* bottom bar */
.site-footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-top: clamp(34px, 5vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--site-line);
}
.site-footer-copy { font-size: 13px; color: var(--site-muted); }
.site-footer-note { font-size: 12.5px; color: var(--site-faint); }

@media (max-width: 860px) {
  .site-footer-top { grid-template-columns: 1fr 1fr; }
  .site-footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 600px) {
  .site-footer-top { grid-template-columns: 1fr; gap: 30px; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *, .site-footer *::before, .site-footer *::after {
    transition: none !important; animation: none !important;
  }
}

/* ---------- accessibility: visible keyboard focus on footer chrome ---------- */
.site-wordmark:focus-visible,
.site-footer-contact:focus-visible,
.site-footer-col a:focus-visible {
  outline: 2px solid var(--site-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- mobile: comfortable tap targets for footer links ----------
   On touch, footer link rows sit on at least a 44px line so they are easy
   to hit without enlarging the desktop layout. */
@media (max-width: 600px) {
  .site-footer-col a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .site-footer-contact { min-height: 44px; }
}
