/* ============================================================================
   otherAI · shared site footer (every page): the 3D pencil band, then the
   columns, legal line and colophon. Self-contained: own tokens, own font stacks,
   namespaced .oa-foot classes, so it renders the same whatever the page's CSS.
   ============================================================================ */
.oa-foot {
  --of-ink: #0B0B0C; --of-paper: #FFFFFF; --of-soft: #C6C6CC; --of-muted: #9B9BA3; --of-rule: rgba(255,255,255,.14);
  --of-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;   /* no named "SF Pro": some pages self-host it, which would split the footer off Apple devices */
  --of-display: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --of-mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
  position: relative; display: block; margin: 0; padding: clamp(20px, 3vw, 44px) 0 96px;
  background: var(--of-ink); color: var(--of-paper);
  font-family: var(--of-sans); font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: normal; text-align: left;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.oa-foot *, .oa-foot *::before, .oa-foot *::after { box-sizing: border-box; }
.oa-foot p, .oa-foot address { margin: 0; }

/* the pencil: a full-bleed WebGL band (pitch + yaw only) mounted by site-footer.js */
.oa-foot .oa-foot__pencil { position: relative; display: block; width: 100%; height: clamp(112px, 21vw, 380px); margin: 0 0 clamp(20px, 4vw, 60px); cursor: grab; outline: none; -webkit-tap-highlight-color: transparent; }
.oa-foot .oa-foot__pencil:active { cursor: grabbing; }
.oa-foot .oa-foot__pencil:focus-visible { box-shadow: inset 0 0 0 2px var(--of-paper); border-radius: 16px; }
.oa-foot .oa-foot__pencil canvas { display: block; width: 100%; height: 100%; }
.oa-foot .oa-foot__pencil.is-fallback { display: none; }

.oa-foot .oa-foot__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.oa-foot .oa-foot__cols { display: grid; grid-template-columns: 2fr 1.2fr 1.3fr 1fr; gap: 32px; }
.oa-foot .oa-foot__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.oa-foot .oa-foot__wordmark { font-family: var(--of-display); font-size: 22px; letter-spacing: -0.02em; font-weight: 400; color: var(--of-paper); text-decoration: none; line-height: 1.1; }
.oa-foot .oa-foot__wordmark b { font-weight: 700; }
.oa-foot .oa-foot__mission { color: var(--of-muted); font-size: 14px; max-width: 320px; }
.oa-foot .oa-foot__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.oa-foot .oa-foot__head { display: block; font-family: var(--of-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--of-muted); margin: 0 0 4px; }
.oa-foot a { color: var(--of-soft); font-size: 14px; font-weight: 400; text-decoration: none; background: none; border: 0; }
.oa-foot a:hover { color: var(--of-paper); text-decoration: underline; text-underline-offset: 3px; }
.oa-foot a:focus-visible { outline: 2px solid var(--of-paper); outline-offset: 3px; border-radius: 4px; }
.oa-foot .oa-foot__wordmark:hover { text-decoration: none; color: var(--of-paper); }
.oa-foot .oa-foot__addr { color: var(--of-muted); font-size: 14px; font-style: normal; line-height: 1.6; }
.oa-foot .oa-foot__social a { display: inline-flex; align-items: center; gap: 8px; }
.oa-foot .oa-foot__social svg { width: 16px; height: 16px; flex: none; }
.oa-foot .oa-foot__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--of-rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--of-muted); }
.oa-foot .oa-foot__colophon { margin-top: 14px; font-family: var(--of-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--of-muted); }

@media (max-width: 960px) { .oa-foot .oa-foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .oa-foot .oa-foot__cols { grid-template-columns: 1fr; } }
