/*
  Jamiez family footer, standard v1 (settled 2026-09-25).
  The spec is FOOTER_STANDARD.md at the repo root: change the spec first, then this file.
  Fonts: IBM Plex Sans for text, Inter Tight 600 for the small column labels and the brand name.
*/
.jf {
  --jf-bg: #0b0b0f;
  --jf-text: #ffffff;
  --jf-muted: rgba(255, 255, 255, 0.72);
  --jf-faint: rgba(255, 255, 255, 0.56);
  --jf-rule: rgba(255, 255, 255, 0.12);
  --jf-gold: #eabc6e;
  background: var(--jf-bg);
  color: var(--jf-text);
  font: 400 14px/1.55 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.jf *,
.jf *::before,
.jf *::after { box-sizing: border-box; }
.jf a { color: inherit; text-decoration: none; }
.jf a:hover { color: var(--jf-text); text-decoration: underline; text-underline-offset: 3px; }
.jf a:focus-visible { outline: 2px solid var(--jf-gold); outline-offset: 3px; border-radius: 2px; }
.jf ul { list-style: none; margin: 0; padding: 0; }
.jf p { margin: 0; }

.jf-inner { max-width: 1152px; margin: 0 auto; padding: 56px 16px 28px; }
.jf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 1.85fr);
  gap: 40px;
}

/* Brand block: name, one-line description, shared contact lines */
.jf-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 18px/1.2 "Inter Tight", "IBM Plex Sans", system-ui, sans-serif;
  color: var(--jf-text);
}
.jf-brand-name svg { width: 24px; height: 24px; flex: none; }
.jf-brand-desc { margin-top: 12px; max-width: 34ch; color: var(--jf-muted); }
.jf-contact { margin-top: 18px; display: grid; gap: 4px; color: var(--jf-muted); }

/* Column labels */
.jf-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font: 600 12px/1.3 "Inter Tight", "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jf-gold);
}
.jf-label svg { width: 10px; height: 14px; flex: none; }

/* Brand link groups (one or two, stacked) */
.jf-links { display: grid; gap: 10px; }
.jf-links a { color: var(--jf-muted); }
.jf-group + .jf-group { margin-top: 28px; }

/* The Jamiez family list: same entries and order on every site */
.jf-family { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.jf-family li { display: grid; gap: 1px; }
.jf-family a { color: var(--jf-muted); }
.jf-family .jf-here { color: var(--jf-text); font-weight: 500; }
.jf-family small { font-size: 12px; line-height: 1.4; color: var(--jf-faint); }

/* Brand disclaimer slot (optional) */
.jf-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--jf-rule);
  max-width: 92ch;
  font-size: 12px;
  line-height: 1.65;
  color: var(--jf-faint);
}

/* Bottom bar: company line + legal links */
.jf-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--jf-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 32px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--jf-faint);
}
.jf-grid + .jf-bottom { margin-top: 40px; }
.jf-bottom p { max-width: 80ch; }
.jf-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.jf-legal a { color: var(--jf-muted); }

@media (max-width: 900px) {
  .jf-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .jf-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .jf-inner { padding: 44px 16px 24px; }
  .jf-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .jf-bottom { flex-direction: column; }
}
