/* Aeonavis Flagship (aeonavis.com) — Obsidian Cinema + Azurio Sticky Stack + Pixora Display Type
 * Zero purple/indigo anywhere. Uses staged Pixora Thunder display WOFF2 fonts & Azurio WebM media.
 */

@font-face {
  font-family: 'ThunderDisplay';
  src: url('/static/fonts/Thunder-BoldLC.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ThunderDisplay';
  src: url('/static/fonts/Thunder-MediumLC.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ax-bg: #040609;
  --ax-surface: #0b0f17;
  --ax-surface-2: #111827;
  --ax-text: #f5f3ee;
  --ax-muted: #9aa6b8;
  --ax-border: rgba(255, 255, 255, 0.11);
  --ax-gold: #e2bc7e;
  --ax-cyan: #38bdf8;
  --ax-emerald: #10b981;
  --ax-display: 'ThunderDisplay', 'Bahnschrift', 'Oswald', Impact, sans-serif;
  --ax-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ax-serif: 'Instrument Serif', Georgia, serif;
  --ax-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.ax-body {
  margin: 0;
  background: var(--ax-bg);
  color: var(--ax-text);
  font-family: var(--ax-sans);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Floating Capsule Navigation Dock */
.ax-dock-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.ax-dock {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1140px, 100%);
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  background: rgba(11, 15, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.ax-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
}

.ax-crest {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(226, 188, 126, 0.12);
  border: 1px solid rgba(226, 188, 126, 0.35);
  display: grid;
  place-items: center;
}

.ax-dock-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--ax-mono);
  font-size: 0.74rem;
  color: var(--ax-muted);
  letter-spacing: 0.05em;
}

.ax-dock-nav a:hover {
  color: var(--ax-text);
}

.ax-dock-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ax-lang {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--ax-border);
  background: rgba(255, 255, 255, 0.04);
}

.ax-lang-btn {
  border: none;
  background: transparent;
  color: var(--ax-muted);
  font-family: var(--ax-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.ax-lang-btn.is-active {
  background: var(--ax-text);
  color: var(--ax-bg);
}

.ax-dock-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ax-gold);
  color: #0b0e14;
  font-family: var(--ax-mono);
  font-size: 0.75rem;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease;
}

.ax-dock-cta:hover {
  transform: translateY(-1px);
  background: #f2cf92;
}

/* 100vh Fullscreen Cinema Hero */
.ax-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 108px 24px 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--ax-border);
}

#webgl-shader-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.ax-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 44%, transparent 15%, rgba(4, 6, 9, 0.88) 78%),
    linear-gradient(to bottom, rgba(4, 6, 9, 0.45), rgba(4, 6, 9, 0.92));
  pointer-events: none;
}

.ax-hero-stage {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ax-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.08);
  color: var(--ax-cyan);
  font-family: var(--ax-mono);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  margin-bottom: 24px;
}

.ax-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ax-cyan);
  box-shadow: 0 0 12px var(--ax-cyan);
  animation: axPulse 2s infinite;
}

@keyframes axPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.ax-display-h1 {
  margin: 0;
  font-family: var(--ax-display);
  font-weight: 700;
  font-size: clamp(3.6rem, 9.6vw, 8.9rem);
  line-height: 0.9;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ax-line {
  display: block;
}

.ax-line-media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

.ax-inline-pill {
  display: inline-block;
  width: clamp(110px, 16vw, 220px);
  height: clamp(54px, 7.2vw, 98px);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(226, 188, 126, 0.55);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  vertical-align: middle;
  background: #0a0f18;
}

.ax-inline-pill video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ax-line-gold {
  color: var(--ax-gold);
}

.ax-hero-sub {
  margin: 26px auto 0;
  max-width: 64ch;
  color: var(--ax-muted);
  font-size: 1.05rem;
}

.ax-corner-link {
  position: absolute;
  bottom: 64px;
  z-index: 3;
  font-family: var(--ax-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ax-muted);
  padding: 7px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ax-corner-link:hover {
  color: var(--ax-gold);
  border-color: var(--ax-gold);
}

.ax-corner-left {
  left: 32px;
}

.ax-corner-right {
  right: 32px;
}

.ax-hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 6, 9, 0.68);
  font-family: var(--ax-mono);
  font-size: 0.72rem;
  color: var(--ax-muted);
}

/* Dual-Row Velocity Marquee */
.ax-marquee-band {
  border-bottom: 1px solid var(--ax-border);
  background: #070a10;
  padding: 18px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ax-marquee-track {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.ax-marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-family: var(--ax-display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  color: rgba(245, 243, 238, 0.88);
  animation: axMarqueeFwd 26s linear infinite;
}

.ax-track-rev .ax-marquee-inner {
  color: var(--ax-gold);
  animation: axMarqueeRev 28s linear infinite;
}

.ax-marquee-inner i {
  font-style: normal;
  color: var(--ax-cyan);
}

@keyframes axMarqueeFwd {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes axMarqueeRev {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Common Layout */
.ax-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

.ax-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--ax-border);
}

.ax-section-tight {
  padding: 84px 0 110px;
}

.ax-kicker {
  display: inline-block;
  font-family: var(--ax-mono);
  font-size: 0.75rem;
  color: var(--ax-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.ax-section-h2 {
  margin: 0;
  font-family: var(--ax-display);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  max-width: 18ch;
}

/* A/01 Split Manifesto + Ruled StatisticsLines */
.ax-split-grid {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 48px;
  align-items: start;
}

.ax-big-idx {
  font-family: var(--ax-display);
  font-size: 4.5rem;
  line-height: 0.9;
  color: var(--ax-gold);
}

.ax-idx-note {
  margin: 12px 0 0;
  font-family: var(--ax-mono);
  font-size: 0.75rem;
  color: var(--ax-muted);
  max-width: 24ch;
}

.ax-manifest-lead {
  margin: 0 0 42px;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.ax-manifest-lead em {
  font-family: var(--ax-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ax-gold);
}

.ax-stat-lines {
  display: flex;
  flex-direction: column;
}

.ax-stat-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--ax-border);
}

.ax-stat-row:last-child {
  border-bottom: 1px solid var(--ax-border);
}

.ax-stat-num {
  font-family: var(--ax-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--ax-text);
}

.ax-stat-cap {
  color: var(--ax-muted);
  font-size: 0.96rem;
}

/* A/02 Sticky Overlapping Venture Cards */
.ax-stack-intro {
  margin-bottom: 40px;
}

.ax-stack-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ax-stack-card {
  position: sticky;
  top: calc(86px + var(--card-i, 0) * 24px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  min-height: 410px;
  padding: 36px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #0d121c 0%, #070a10 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.ax-card-chamfer {
  background: linear-gradient(135deg, #0a1626 0%, #050b14 100%);
  border-color: rgba(56, 189, 248, 0.28);
}

.ax-card-rowrift {
  background: linear-gradient(135deg, #13161d 0%, #090b10 100%);
  border-color: rgba(16, 185, 129, 0.28);
}

.ax-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--ax-mono);
  font-size: 0.76rem;
}

.ax-card-num {
  color: var(--ax-gold);
  font-weight: 700;
}

.ax-card-chamfer .ax-card-num {
  color: var(--ax-cyan);
}

.ax-card-rowrift .ax-card-num {
  color: var(--ax-emerald);
}

.ax-card-domain {
  color: var(--ax-muted);
}

.ax-card-title {
  margin: 0 0 12px;
  font-family: var(--ax-display);
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.ax-card-desc {
  margin: 0 0 20px;
  color: var(--ax-muted);
  font-size: 0.96rem;
}

.ax-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.ax-tags-grid span {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--ax-border);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--ax-mono);
  font-size: 0.74rem;
  color: var(--ax-text);
}

.ax-btn-gold,
.ax-btn-cyan,
.ax-btn-light {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.16s ease;
}

.ax-btn-gold:hover,
.ax-btn-cyan:hover,
.ax-btn-light:hover {
  transform: translateY(-2px);
}

.ax-btn-gold {
  background: var(--ax-gold);
  color: #080b10;
}

.ax-btn-cyan {
  background: var(--ax-cyan);
  color: #06101b;
}

.ax-btn-light {
  background: #f5f3ee;
  color: #090b10;
}

.ax-stack-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 16 / 10;
  background: #040609;
}

.ax-stack-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ax-media-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(4, 6, 9, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--ax-mono);
  font-size: 0.7rem;
  color: var(--ax-text);
}

/* A/03 Verification Theatre + React Bits SpotlightCards */
.ax-orch-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  margin-bottom: 28px;
}

.ax-stage-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ax-stage-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--ax-border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--ax-text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ax-stage-btn span {
  font-family: var(--ax-mono);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ax-muted);
}

.ax-stage-btn strong {
  display: block;
  font-size: 0.96rem;
}

.ax-stage-btn small {
  display: block;
  color: var(--ax-muted);
  font-size: 0.82rem;
}

.ax-stage-btn.is-active {
  border-color: var(--ax-cyan);
  background: rgba(56, 189, 248, 0.09);
}

.ax-stage-btn.is-active span {
  color: var(--ax-cyan);
}

.ax-trace-box {
  border-radius: 18px;
  border: 1px solid var(--ax-border);
  background: #070b12;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}

.ax-trace-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ax-border);
  font-family: var(--ax-mono);
  font-size: 0.76rem;
  color: var(--ax-gold);
}

.ax-trace-badge {
  color: var(--ax-emerald);
}

.ax-trace-code {
  margin: 14px 0 0;
  font-family: var(--ax-mono);
  font-size: 0.8rem;
  line-height: 1.65;
  color: #dbeafe;
  white-space: pre-wrap;
  overflow-x: auto;
}

.ax-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ax-spotlight-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--ax-border);
  background: #090d15;
  padding: 24px;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.ax-spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x) var(--mouse-y),
    rgba(226, 188, 126, 0.14),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.ax-spotlight-card:hover::before {
  opacity: 1;
}

.ax-sp-kicker {
  font-family: var(--ax-mono);
  font-size: 0.72rem;
  color: var(--ax-cyan);
}

.ax-spotlight-card h3 {
  margin: 8px 0;
  font-size: 1.06rem;
}

.ax-spotlight-card p {
  margin: 0;
  color: var(--ax-muted);
  font-size: 0.9rem;
}

/* Azurio Footer2 Architectural Colophon */
.ax-footer {
  padding: 64px 0 92px;
  background: #030508;
}

.ax-footer-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--ax-border);
}

.ax-footer-wordmark {
  font-family: var(--ax-display);
  font-size: 3rem;
  letter-spacing: 0.04em;
  color: var(--ax-gold);
}

.ax-footer-tag {
  margin: 10px 0 0;
  color: var(--ax-muted);
  font-size: 0.92rem;
  max-width: 38ch;
}

.ax-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ax-footer-cols h4 {
  margin: 0 0 12px;
  font-family: var(--ax-mono);
  font-size: 0.78rem;
  color: var(--ax-cyan);
  font-weight: 700;
}

.ax-footer-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ax-muted);
}

.ax-footer-cols a:hover {
  color: var(--ax-text);
}

.ax-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  font-family: var(--ax-mono);
  font-size: 0.76rem;
  color: var(--ax-muted);
}

.ax-back-top {
  color: var(--ax-gold);
  font-weight: 700;
}

/* Cookie Chip — Slim Centered Capsule above bottom bar (zero overlap with corners or Back-To-Top) */
.ax-cookie-chip {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 52px;
  z-index: 55;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(226, 188, 126, 0.28);
  background: rgba(11, 15, 23, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 14px;
}

.ax-cookie-chip.hidden {
  display: none !important;
}

.ax-cookie-chip p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ax-muted);
}

.ax-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ax-cookie-actions a {
  font-size: 0.78rem;
  color: var(--ax-cyan);
  white-space: nowrap;
}

.ax-cookie-actions button {
  padding: 5px 13px;
  border: none;
  border-radius: 999px;
  background: var(--ax-gold);
  color: #080b10;
  font-weight: 700;
  font-size: 0.76rem;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .ax-dock-nav {
    display: none;
  }
  .ax-split-grid,
  .ax-stack-card,
  .ax-orch-grid,
  .ax-spotlight-grid,
  .ax-footer-top,
  .ax-footer-cols {
    grid-template-columns: 1fr;
  }
  .ax-stack-card {
    position: relative;
    top: 0;
  }
  .ax-stat-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ax-corner-link,
  .ax-hide-sm {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-marquee-inner,
  .ax-pulse-dot {
    animation: none;
  }
}
