/* Shared brand primitives for the introduction and creator workspace. */
@font-face {
  font-family: Geist;
  src: url('/_assets/fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwcGFU.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Glegoo;
  src: url('/_assets/fonts.gstatic.com/s/glegoo/v17/_Xmt-HQyrTKWaw25jKOY.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/_assets/fonts.gstatic.com/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --bg: #000;
  --surface: #080808;
  --fg: #f0f0ed;
  --muted: #aaa;
  --line: #252525;
  --body: Geist, 'Microsoft YaHei', sans-serif;
  --display: Glegoo, 'SimSun', serif;
  --mono: 'Geist Mono', monospace;
  color-scheme: dark;
}

/* The original wordmark and the shared Agent's established CRT portrait. */
a.aion-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}
.aion-brand .brand-emblem {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  position: relative;
  background: #000;
}
a.aion-brand .brand-emblem > img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  max-width: none;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 180ms ease;
}
.aion-brand .brand-wordmark { width: 82px; height: 36px; object-fit: contain; }
.aion-brand:hover .brand-emblem > img,
.aion-brand:focus-visible .brand-emblem > img { filter: grayscale(1) brightness(1.2); }
.aion-brand .brand-emblem::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: #f0f0ed;
  opacity: 0;
  pointer-events: none;
}
.aion-brand:hover .brand-emblem::after,
.aion-brand:focus-visible .brand-emblem::after { animation: brand-scan 650ms cubic-bezier(.16,1,.3,1); }
@keyframes brand-scan {
  0% { opacity: 0; transform: translateY(4px); }
  20% { opacity: .55; }
  100% { opacity: 0; transform: translateY(40px); }
}
@media (max-width: 480px) {
  a.aion-brand { gap: 4px; }
  .aion-brand .brand-emblem { width: 32px; height: 36px; }
  a.aion-brand .brand-emblem > img { width: 60px; height: 60px; }
  .aion-brand .brand-wordmark { width: 58px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .aion-brand .brand-emblem > img { transition: none; }
  .aion-brand .brand-emblem::after { animation: none !important; }
}
