/* =========================================================
   Hero redesign — darker, grainier, the mark lives in the background.
   Loaded after styles.css; overrides the shared tokens it needs.
   ========================================================= */
:root {
  --bg: #030205;
  --violet: #761cf4;
  --violet-hi: #a370ff;
  --violet-glow: rgba(118, 28, 244, .55);
  --ivory: #faeed7;
}
body { background: var(--bg); }
#bg { background: radial-gradient(60% 50% at 50% 40%, rgba(118, 28, 244, .22), transparent 70%), var(--bg); }
.grain { opacity: .11; mix-blend-mode: overlay; }

/* brand: new mark */
.brand .mark { width: 30px; height: 26px; color: var(--ivory); filter: drop-shadow(0 0 10px rgba(118, 28, 244, .6)); transition: transform .5s var(--ease-out); }
.brand:hover .mark { transform: translateY(-1px) scale(1.06); }
/* ---------- navbar: compact floating liquid glass ---------- */
.nav-wrap, .scrolled .nav-wrap {
  top: 18px; left: 0; right: 0; padding: 0 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  pointer-events: none;
}
.nav.container {
  pointer-events: auto; position: relative;
  width: auto; max-width: 100%; margin: 0; height: 56px;
  padding: 0 7px 0 18px; gap: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(16px) saturate(190%) brightness(1.08); backdrop-filter: blur(16px) saturate(190%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(255, 255, 255, .05),
    inset 0 0 14px rgba(255, 255, 255, .035),
    0 12px 40px -14px rgba(0, 0, 0, .7),
    0 0 50px -22px rgba(118, 28, 244, .7);
  transition: background .4s, box-shadow .4s;
}
/* specular sheen across the top */
.nav.container::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(90% 160% at 25% -60%, rgba(255, 255, 255, .2), transparent 55%),
              radial-gradient(60% 120% at 90% 140%, rgba(163, 112, 255, .16), transparent 60%);
}
/* refracted rim: bright at the top-left, violet at the bottom-right */
.nav.container::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .06) 35%, rgba(255, 255, 255, .03) 60%, rgba(163, 112, 255, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.scrolled .nav.container { background: linear-gradient(180deg, rgba(20, 12, 34, .55), rgba(8, 5, 14, .45)); }
.nav.container > * { position: relative; z-index: 1; }
.nav-links { gap: 0; }
.nav-links a { padding: 8px 13px; border-radius: 999px; font-size: 13.5px; }
.nav-links a:hover, .nav-links a.active { background: rgba(255, 255, 255, .08); }
.nav .btn-sm { height: 42px; padding: 0 18px; border-radius: 999px; }
.nav .burger { border-radius: 999px; }
.mobile-menu {
  pointer-events: auto; width: min(420px, 100%); padding: 10px 14px 14px; border: 0; border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 12, 34, .72), rgba(8, 5, 14, .7));
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.mobile-menu a:not(.btn) { border-bottom-color: rgba(255, 255, 255, .06); }
.mobile-menu .btn { border-radius: 999px; }
@media (max-width: 1080px) {
  .nav.container { width: min(420px, 100%); justify-content: space-between; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 56px;
  isolation: isolate;
}
/* the eye sits in the right half, the copy in the left */
.hero-mark {
  position: absolute; left: 73%; top: 52%;
  width: min(62vh, 40vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  cursor: crosshair;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner > * { max-width: min(640px, 54%); }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-2);
}
.pulse { position: relative; width: 6px; height: 6px; background: var(--violet-hi); box-shadow: 0 0 10px var(--violet-hi); }
.pulse::after { content: ""; position: absolute; inset: -4px; border: 1px solid var(--violet-hi); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }

.hero-row { display: grid; grid-template-columns: 1fr; gap: 30px; }
.hero-title {
  margin: 0; font-weight: 700; letter-spacing: -.062em; line-height: .88;
  font-size: clamp(44px, 6vw, 100px);
  color: var(--ivory);
  text-shadow: 0 0 60px rgba(3, 2, 5, .85);
}
.hero-title .dim { color: transparent; -webkit-text-stroke: 1px rgba(250, 238, 215, .55); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.js .hero-title .line:nth-child(1) > span { transition-delay: .9s; }
.js .hero-title .line:nth-child(2) > span { transition-delay: 1.02s; }
.ready .hero-title .line > span { transform: none; }

.hero-side { max-width: 460px; }
.hero-sub { margin: 0 0 24px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; color: var(--ivory-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn-primary { background: var(--violet); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 1px rgba(163,112,255,.55), 0 12px 40px -10px var(--violet-glow); }
.hero .btn-primary:hover { background: #8a3cff; }
.hero .btn-ghost { background: rgba(3, 2, 5, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.js .hero-tag, .js .hero-side { opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.ready .hero-tag, .ready .hero-side { opacity: 1; transform: none; }
.ready .hero-tag { transition-delay: .8s; }
.ready .hero-side { transition-delay: 1.25s; }

/* without WebGL, show the mark as an image */
.no-webgl .hero-mark { background: url("assets/argus-mark.svg") center / 72% no-repeat; filter: drop-shadow(0 0 40px rgba(118, 28, 244, .6)); }

/* the cursor-trailing eye, in the new palette */
.eye-cursor { filter: drop-shadow(0 0 7px rgba(118, 28, 244, .8)); }

/* narrow screens: eye on top, copy underneath */
@media (max-width: 900px) {
  .hero { justify-content: flex-end; padding: 0 0 32px; }
  .hero-mark { left: 50%; top: 33%; width: min(52vh, 74vw); }
  .hero-inner > * { max-width: none; }
  .hero-row { gap: 22px; }
}
@media (max-width: 680px) {
  .hero { padding-bottom: 24px; }
  .hero-mark { top: 28%; width: 74vw; }
  .hero-title { font-size: clamp(42px, 12.5vw, 64px); }
}

/* =========================================================
   Type: Chakra Petch + Share Tech Mono
   ========================================================= */
:root {
  --font: "Chakra Petch", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Chakra Petch", -apple-system, sans-serif;
  --mono: "Share Tech Mono", ui-monospace, Menlo, monospace;
}
.hero-title, .wordmark { font-family: var(--display); font-weight: 700; }
.hero-title { letter-spacing: -.04em; }

/* =========================================================
   Buttons: ivory slab + underlined text link
   ========================================================= */
:is(.hero, .nav) .btn { transition: background .25s, box-shadow .25s, color .25s, transform .2s var(--ease); }
:is(.hero, .nav) .btn-primary {
  border-radius: 2px; background: var(--ivory); color: #0b0811;
  box-shadow: 0 0 0 1px var(--ivory), 0 0 44px -12px rgba(250, 238, 215, .55);
}
:is(.hero, .nav) .btn-primary:hover { background: #fff; box-shadow: 0 0 0 1px #fff, 0 0 60px -10px rgba(250, 238, 215, .7); }
.nav .btn-sm { border-radius: 999px; }
.hero .btn-ghost {
  height: auto; align-self: center; padding: 0 4px 6px; border-radius: 0;
  background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ivory);
  box-shadow: inset 0 -1px 0 rgba(250, 238, 215, .35);
}
.hero .btn-ghost::after { content: "→"; margin-left: 8px; transition: transform .25s var(--ease); }
.hero .btn-ghost:hover { background: none; box-shadow: inset 0 -1px 0 var(--ivory); }
.hero .btn-ghost:hover::after { transform: translateX(3px); }
