/* ============================================================
   AURALVO — a software brand designed & maintained by NexVant L.L.C.
   Palette + type derived from the AURALVO logo: a ribbon "A" with a
   spark, in a royal-blue → azure gradient.
   ============================================================ */

:root {
  --void: #070d1c;
  --navy: #0b1526;
  --surface: #101d38;
  --surface-2: #15243f;
  --line: rgba(143, 163, 196, 0.16);
  --line-strong: rgba(143, 163, 196, 0.30);

  --royal: #0b57d6;
  --blue: #0e88f9;
  --sky: #4fa8ff;
  --blue-soft: rgba(14, 136, 249, 0.13);

  --ice: #eaf1ff;
  --slate: #8fa2c2;
  --slate-dim: #62748f;

  --stroke: linear-gradient(118deg, #0b57d6 0%, #0e88f9 55%, #4fa8ff 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ice);
  background: var(--void);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(14, 136, 249, 0.18), transparent 62%),
    radial-gradient(700px 500px at 8% 4%, rgba(11, 87, 214, 0.10), transparent 60%),
    var(--void);
}

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

::selection { background: rgba(14, 136, 249, 0.35); color: #fff; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* Mono utility label */
.kicker {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
}

/* Hairline divider */
.trajectory {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--blue) 50%, var(--line-strong) 82%, transparent);
  opacity: 0.6;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 13, 28, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ice); }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; filter: drop-shadow(0 4px 16px rgba(14, 136, 249, 0.5)); }
.brand .wordmark {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 1.24rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding-left: 0.26em; /* optical: balance the tracking */
}

.header-nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--slate); font-size: 0.92rem; font-weight: 500; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--ice); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--stroke);
  color: #f3f8ff;
  box-shadow: 0 10px 30px rgba(14, 136, 249, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover { box-shadow: 0 16px 44px rgba(14, 136, 249, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ice);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--blue); background: rgba(14, 136, 249, 0.08); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 92px 0 76px; overflow: hidden; }
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero .kicker { display: block; margin-bottom: 22px; }
.hero h1 {
  font-family: "Jost", sans-serif;
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero h1 .grad {
  background: var(--stroke);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p { font-size: 1.14rem; color: var(--slate); margin: 0 0 34px; max-width: 540px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.signals span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--slate-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.signals span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

/* Hero signature: the mark, haloed by an "aura" ring + drawn spark-trail */
.hero-visual { position: relative; z-index: 1; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero-visual .mark {
  width: 60%;
  filter: drop-shadow(0 24px 64px rgba(14, 136, 249, 0.5));
  animation: float 7s var(--ease) infinite;
}
.hero-visual .orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .trail {
  fill: none;
  stroke: url(#avGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(79, 168, 255, 0.7));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.8s var(--ease) forwards 0.3s;
}
.orbit .ring { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 3 7; opacity: 0.5; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Sections ---------- */
section.block { padding: 76px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 0 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker { display: block; margin-bottom: 14px; }
.section-head h2 {
  font-family: "Jost", sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.section-head p { color: var(--slate); margin: 0; font-size: 1.05rem; }

/* ---------- Ethos: the acronym, keyed letter -> value ---------- */
.ethos-band {
  background: linear-gradient(180deg, var(--surface) 0%, var(--navy) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
}
.ethos-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.ethos-grid .val { text-align: center; padding: 8px 4px; }
.ethos-grid .let {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  background: var(--stroke);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ethos-grid .word {
  display: block;
  margin-top: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- Capability grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--navy) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--stroke);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card .cap-index { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.72rem; color: var(--slate-dim); letter-spacing: 0.1em; }
.card .icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin: 14px 0 18px;
}
.card h3 { font-family: "Jost", sans-serif; font-weight: 600; margin: 0 0 8px; font-size: 1.16rem; }
.card p { margin: 0; color: var(--slate); font-size: 0.96rem; }

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 34px 40px; }
.principle { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.principle .no { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.8rem; color: var(--blue); letter-spacing: 0.1em; }
.principle h3 { font-family: "Jost", sans-serif; font-weight: 600; font-size: 1.22rem; margin: 10px 0 8px; }
.principle p { margin: 0; color: var(--slate); font-size: 0.98rem; }

/* ---------- About + Company split ---------- */
.split { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: start; }
.split .lead { font-size: 1.22rem; line-height: 1.55; color: var(--ice); margin: 0 0 20px; }
.split .lead .em { color: var(--sky); }
.split .body-copy { color: var(--slate); margin: 0; }

.factsheet {
  background: linear-gradient(180deg, var(--surface) 0%, var(--navy) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 26px;
}
.fact { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-dim); white-space: nowrap; padding-top: 2px; }
.fact dd { margin: 0; text-align: right; font-size: 0.95rem; color: var(--ice); }
.fact dd .sub { color: var(--slate); font-size: 0.86rem; }

/* ---------- Contact band ---------- */
.band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(14, 136, 249, 0.24), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--navy) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: 64px 48px;
  text-align: center;
}
.band .kicker { display: block; margin-bottom: 16px; }
.band h2 { font-family: "Jost", sans-serif; font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.01em; margin: 0 0 14px; }
.band p { color: var(--slate); margin: 0 auto 30px; max-width: 460px; font-size: 1.06rem; }

/* ---------- Legal / content pages ---------- */
.doc { max-width: 760px; margin: 64px auto; }
.doc .kicker { display: block; margin-bottom: 14px; }
.doc h1 { font-family: "Jost", sans-serif; font-weight: 600; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.01em; margin: 0 0 8px; }
.doc .updated { color: var(--slate-dim); font-family: "JetBrains Mono", monospace; font-size: 0.8rem; margin: 0 0 34px; }
.doc h2 { font-family: "Jost", sans-serif; font-weight: 600; font-size: 1.24rem; margin: 36px 0 10px; }
.doc p { color: var(--slate); }
.doc p strong { color: var(--ice); }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 0.92rem; font-weight: 500; color: var(--slate); margin-top: 20px; }
.back-link:hover { color: var(--sky); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer .foot-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--slate); font-size: 0.86rem; }
.site-footer .foot-brand img { height: 24px; }
.site-footer .foot-brand b {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice);
}
.site-footer .foot-links { display: flex; gap: 22px; }
.site-footer .foot-links a { color: var(--slate); font-size: 0.88rem; }
.site-footer .foot-links a:hover { color: var(--sky); text-decoration: none; }
.site-footer .legal { color: var(--slate-dim); font-size: 0.8rem; width: 100%; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; margin: 8px auto 0; order: -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .ethos-grid { grid-template-columns: repeat(4, 1fr); gap: 18px 12px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .header-nav { gap: 0; }
  section.block { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .band { padding: 44px 26px; }
  .ethos-band { padding: 28px 20px; }
  .ethos-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { flex-direction: column; gap: 4px; }
  .fact dd { text-align: left; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto; }
  .orbit .trail { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
