/* ============================================================================
 * af-footer.css — Alythia public site footer (namespace: af-)
 * Ink palette to match the landing: closing call to action, brand block with
 * the prism mark, grouped links, and a large quiet wordmark at the very end.
 * Self-scoped under .af-footer so it cannot leak into the app shell.
 * ==========================================================================*/
.af-footer {
  --af-bg: #08090D;
  --af-surface: #12151C;
  --af-hairline: rgba(236, 223, 210, .12);
  --af-ink: #ECDFD2;
  --af-ink-2: #A9A49C;
  --af-ink-3: #6E6A64;
  --af-signal: #0474C4;
  --af-blue: #A8C4EC;
  --af-font: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --af-serif: 'Instrument Serif', Georgia, serif;
  --af-mono: 'Geist Mono', ui-monospace, Menlo, monospace;

  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--af-bg);
  color: var(--af-ink-2);
  border-top: 1px solid var(--af-hairline);
  font-family: var(--af-font);
}
.af-footer *,
.af-footer *::before,
.af-footer *::after { box-sizing: border-box; }

.af-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px max(5vw, 20px) 28px;
}

/* ---- closing call to action ---- */
.af-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--af-hairline);
}
.af-cta-title {
  margin: 0;
  max-width: 13ch;
  font: 400 clamp(2.2rem, 4.6vw, 3.8rem)/1 var(--af-font);
  letter-spacing: -.04em;
  color: var(--af-ink);
}
.af-cta-title em {
  font-family: var(--af-serif);
  font-style: italic;
  font-size: 1.08em;
  letter-spacing: -.01em;
  color: var(--af-blue);
}
.af-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.af-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 20px;
  border: 1px solid rgba(236, 223, 210, .3);
  border-radius: 4px;
  font: 500 .9rem/1 var(--af-font);
  color: var(--af-ink);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.af-btn:hover { border-color: var(--af-ink); }
.af-btn--primary { background: var(--af-signal); border-color: var(--af-signal); color: #fff; }
.af-btn--primary:hover { background: #1B86D4; border-color: #1B86D4; }

/* ---- brand + links ---- */
.af-main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 64px;
  padding: 56px 0 64px;
}
.af-brand-mark { display: block; width: 132px; height: auto; margin-bottom: 22px; color: var(--af-ink); }
.af-brand-mark .af-beam { stroke: var(--af-signal); }
.af-footer .af-brand-line { font-family: var(--af-font); margin: 0 0 18px; max-width: 34ch; font-size: .95rem; line-height: 1.6; color: var(--af-ink-2); }
.af-regions { margin: 0; font: 400 .74rem/1 var(--af-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--af-ink-3); }

.af-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.af-h {
  margin: 0 0 18px;
  font: 400 .72rem/1 var(--af-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--af-ink-3);
}
.af-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.af-link {
  font-size: .95rem;
  color: var(--af-ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s ease, color .18s ease;
}
.af-link:hover { background-size: 100% 1px; }

/* ---- bottom bar ---- */
.af-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--af-hairline);
  font-size: .82rem;
  color: var(--af-ink-3);
}
.af-copy { margin-right: auto; }
.af-lang select {
  appearance: none;
  padding: 6px 26px 6px 10px;
  border: 1px solid var(--af-hairline);
  border-radius: 4px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23A9A49C' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 9px center;
  color: var(--af-ink-2);
  font: 400 .82rem/1 var(--af-font);
  cursor: pointer;
}
.af-lang select option { background: var(--af-surface); color: var(--af-ink); }
.af-top { color: var(--af-ink-2); text-decoration: none; }
.af-client { color: var(--af-ink-3); text-decoration: none; }
.af-client:hover { color: var(--af-ink-2); }
.af-top:hover { color: var(--af-ink); }
.af-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- large wordmark ---- */
.af-wordmark {
  margin: 0;
  padding: 0 max(3vw, 12px);
  font: 500 clamp(4rem, 19vw, 17rem)/.8 var(--af-font);
  letter-spacing: .06em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 223, 210, .13);
  transform: translateY(12%);
  user-select: none;
  pointer-events: none;
}

@media (max-width: 860px) {
  .af-main { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .af-inner { padding-top: 64px; }
  .af-cols { grid-template-columns: 1fr 1fr; }
  .af-cta { padding-bottom: 48px; }
}

/* A legacy global rule (style.css: @media (max-width:768px) h2 { font-size:1.6rem !important })
   would inflate the column headings on phones. */
.af-footer .af-h { font-size: .72rem !important; }

/* Social brand marks (LinkedIn "in"): monochrome in the text colour, quiet
   until hovered. Shared by the footer, Contact page and founder cards. */
.li-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: #ECDFD2;
  opacity: .62;
  transition: opacity .18s ease, background .18s ease;
}
.li-link:hover, .li-link:focus-visible { opacity: 1; background: rgba(236, 223, 210, .08); outline: none; }
.li-icon { width: 20px; height: 20px; display: block; }
.af-social { display: flex; gap: 4px; margin: 18px 0 0 -8px; }
