/* COMPANYOS brand — Syne display + refined lockup */

:root {
  --brand-display: "Syne", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --brand-mono: "IBM Plex Mono", ui-monospace, monospace;
}

.logo-name,
[data-brand-name] {
  font-family: var(--brand-display) !important;
  font-weight: 750 !important;
  letter-spacing: 0.045em !important;
  text-transform: uppercase !important;
  font-feature-settings: "ss01" on, "kern" on;
}

.logo-by,
[data-brand-by] {
  font-family: var(--brand-mono) !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
}

.logo-mark {
  border-radius: 12px !important;
  box-shadow: 0 1px 0 rgba(17, 17, 15, 0.06), 0 8px 20px rgba(27, 73, 216, 0.12);
}

/* Unpacked showcase/tour/marketing header lockups */
span[style*="letter-spacing: 0.1em"][style*="text-transform: uppercase"] {
  font-family: "Syne", ui-sans-serif, system-ui, sans-serif !important;
  font-weight: 750 !important;
  letter-spacing: 0.045em !important;
}

.wa-fab {
  position: fixed;
  z-index: 80;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #11110F;
  color: #FFFDF8;
  font: 500 11px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(17, 17, 15, 0.18);
}
.wa-fab:hover,
.wa-fab:focus-visible {
  background: #1B49D8;
  color: #FFFDF8;
}
.wa-fab svg { display: block; flex-shrink: 0; }

@media (max-width: 560px) {
  .wa-fab span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .wa-fab { padding: 14px; }
}

/* Default Company Brain motion — CSS only.
   IONOS is shared hosting; canvas overlay still runs in the browser.
   This layer stays on if brain-fx.js / canvas 2d is missing. */
@keyframes coBrainGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(27, 73, 216, 0)); }
  50% { filter: drop-shadow(0 0 10px rgba(27, 73, 216, .45)); }
}
@keyframes coBrainDash {
  to { stroke-dashoffset: -120; }
}
@keyframes coBrainFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes coBrainPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

[data-brain-stage="0"] > span:not(:first-child) {
  animation: coBrainFloat 4.8s ease-in-out infinite;
}
[data-brain-stage="1"] svg line {
  stroke-dasharray: 8 6;
  animation: coBrainDash 4s linear infinite;
}
[data-brain-stage="1"] svg circle,
[data-brain-stage="1"] svg rect {
  animation: coBrainGlow 2.4s ease-in-out infinite;
}
svg[data-lucide="brain-circuit"] {
  animation: coBrainGlow 2.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  [data-brain-stage="0"] > span:not(:first-child),
  [data-brain-stage="1"] svg line,
  [data-brain-stage="1"] svg circle,
  [data-brain-stage="1"] svg rect,
  svg[data-lucide="brain-circuit"] {
    animation: none !important;
  }
}

