/* Agent Clan's type and mark (2026-10-26, product owner: Unbounded for the logo and headings, a plain
   font for the text). Both fonts are served from assets/fonts (SIL Open Font License, see the OFL files). */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Unbounded is far wider than the text font: drawn at 82% so the headings keep their sizes and line breaks;
   Chinese in a heading falls back to the system's 黑體 at full size */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; size-adjust: 82%; src: url("assets/fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; size-adjust: 82%; src: url("assets/fonts/unbounded-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* The two big lines (the hero and the closing) were laid out for Arial's width at every screen size: there
   Unbounded is drawn smaller still, so each line stays one line */
@font-face { font-family: "Unbounded Big"; font-style: normal; font-weight: 200 900; font-display: swap; size-adjust: 68%; src: url("assets/fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ui: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --display: "Unbounded", "Geist", -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

/* The wordmark and every heading; Unbounded wants far less negative tracking than Arial did */
.brand, .window-brand, h1, h2, h3,
.aura-hero h1, .section-heading h2, .army-copy h2, .home .section-head h2, .aura-closing h2, .control-card h3 {
  font-family: var(--display); letter-spacing: -.02em;
}
.aura-hero h1, .aura-closing h2 { font-family: "Unbounded Big", var(--display); }
.aura-hero h1 { font-weight: 650; line-height: 1.04; }
.brand, .home .brand { font-weight: 600; letter-spacing: -.01em; }
h2, h3, .section-heading h2, .army-copy h2, .home .section-head h2, .aura-closing h2 { font-weight: 600; }
.control-card h3 { font-weight: 500; }
:lang(zh-Hant) .aura-hero h1 { letter-spacing: -.02em; }

/* The mark (brand.js puts it where icon.svg was): the leader with its face, its crew on sticks.
   Hover: the crew goes once round the leader, which blinks. */
.brand-mark { width: 1.45em; height: 1.45em; flex: none; overflow: visible; }
/* the crew swings far out: tucked in while it goes round, so it stays off the name beside it */
.brand-mark .member, .brand-mark .tuck { transform-box: view-box; transform-origin: 711px 335px; }
.brand-mark .eye { transform-box: fill-box; transform-origin: center; }
.brand-mark.play .member { animation: brand-orbit 1.4s cubic-bezier(.65, 0, .35, 1); }
.brand-mark.play .tuck { animation: brand-tuck 1.4s cubic-bezier(.3, 0, .3, 1.35); }
.brand-mark.play .eye { animation: brand-blink .5s ease-in-out .15s; }
@keyframes brand-orbit { to { transform: rotate(360deg); } }
@keyframes brand-tuck { 0%, 100% { transform: scale(1); } 30%, 62% { transform: scale(.7); } }
@keyframes brand-blink { 0%, 100% { transform: scaleY(1); } 45%, 55% { transform: scaleY(.12); } }
@media (prefers-reduced-motion: reduce) { .brand-mark.play .member, .brand-mark.play .tuck, .brand-mark.play .eye { animation: none; } }
