/* ============================================================================
   Akshāyvāt Machine Intelligence : akshayvat.ai
   Shared design system for the multi-page site.

   The identity is the one locked on the live placeholder and extended into
   a "modern Deco instrument" language: void grounds, one warm bronze light,
   Space Grotesk throughout, wide-tracked caps, hairline rules, banded
   readouts, corner ticks. Restraint with the ornament stripped.

   House rules enforced here: no em dashes anywhere in copy; the wordmark is
   always AKSHĀYVĀT / Akshāyvāt with macrons; mobile must read as well as
   desktop.
   ========================================================================= */

:root{
  /* ---- locked palette ---- */
  --gold:#B89968; --gold-soft:#D5C19A; --gold-bright:#E6D3AB; --gold-deep:#8A7145;
  --ink:#EDEBF3; --ink-2:#B6B2CE; --muted:#8E88A6; --faint:#5F5A78;
  --void:#07060f; --void-2:#0c0a1e; --void-3:#120d2e;
  --indigo:#4F487E;

  /* ---- surfaces + hairlines (the Deco instrument layer) ---- */
  --line:rgba(255,255,255,.10);
  --line-2:rgba(255,255,255,.055);
  --line-gold:rgba(184,153,104,.34);
  --card:rgba(13,10,32,.68);
  --card-2:rgba(20,16,48,.80);
  --glow-gold:rgba(184,153,104,.14);

  /* ---- type ---- */
  --disp:'Space Grotesk', ui-sans-serif, system-ui;
  --body:'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --script:'Space Grotesk', 'Noto Sans', system-ui, sans-serif;
  --mono:ui-monospace, 'SF Mono', 'Menlo', monospace;

  --ease:cubic-bezier(.16,1,.3,1);
  --wrap:1140px;
  --nav-h:66px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; font-family:var(--body); font-weight:500; color:var(--ink);
  overflow-x:hidden; -webkit-font-smoothing:antialiased;
  background:radial-gradient(150% 120% at 50% 116%, var(--void-3) 0%, var(--void-2) 44%, var(--void) 100%) fixed, var(--void);
}
img{max-width:100%}
a{color:inherit; text-decoration:none}
.mono{font-family:var(--mono)}

/* ---------- the thinking tapestry (fixed background, site-wide) ---------- */
.tapestry{position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none}
.tapestry::before{content:""; position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(56vw 38vw at 50% -8%, rgba(184,152,104,.10), transparent 66%),
    radial-gradient(54vw 46vh at 84% 0%, rgba(79,72,126,.22), transparent 70%);}
.tapestry canvas{position:absolute; inset:0; width:100%; height:100%; display:block}
/* a slow vignette so long pages keep their ground */
.vignette{position:fixed; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(120% 80% at 50% 50%, transparent 30%, rgba(7,6,15,.55) 100%)}

/* ---------- shell ---------- */
.page{position:relative; z-index:2}
.wrap{width:100%; max-width:var(--wrap); margin:0 auto; padding:0 34px}
.wrap.narrow{max-width:800px}

/* ---------- navigation ---------- */
.nav{position:fixed; top:0; left:0; right:0; z-index:60; height:var(--nav-h);
  display:flex; align-items:center; transition:background .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom:1px solid transparent}
.nav.stuck{background:rgba(7,6,15,.72); backdrop-filter:blur(16px) saturate(1.2); border-bottom-color:var(--line-2)}
.nav .wrap{display:flex; align-items:center; gap:26px}
.brand{display:flex; align-items:center; gap:11px; flex:0 0 auto}
.leaf{width:9px; height:9px; border-radius:50%; background:var(--gold); flex:0 0 auto;
  box-shadow:0 0 0 4px rgba(184,152,104,.12), 0 0 18px 2px rgba(184,152,104,.5)}
.brand .wordmark{font-family:var(--disp); font-weight:700; letter-spacing:.2em; font-size:13.5px; color:var(--ink); white-space:nowrap}
.brand .sub{font-size:9.5px; letter-spacing:.26em; text-transform:uppercase; color:var(--faint); font-weight:600; margin-left:2px}
.navlinks{display:flex; align-items:center; gap:24px; margin-left:auto}
.navlinks a{flex:0 0 auto; font-size:12.5px; font-weight:600; letter-spacing:.06em; color:var(--ink-2); position:relative; padding:6px 0; transition:color .22s}
.navlinks a:hover{color:var(--ink)}
.navlinks a.here{color:var(--gold-soft)}
.navlinks a.here::after{content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:var(--gold)}
/* the pill must out-specify `.navlinks a`, which otherwise strips its padding */
.navlinks a.navcta{font-family:var(--disp); font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--void);
  background:linear-gradient(180deg, var(--gold-bright), var(--gold)); border-radius:999px;
  padding:9px 18px; line-height:1.15; flex:0 0 auto; display:inline-flex; align-items:center;
  transition:transform .2s var(--ease), filter .2s; white-space:nowrap}
.navlinks a.navcta:hover{transform:translateY(-1px); filter:brightness(1.07); color:var(--void)}
.navlinks a.navcta::after{display:none}
.navtoggle{display:none; margin-left:auto; background:none; border:1px solid var(--line); border-radius:9px;
  color:var(--ink); padding:7px 11px; font-family:var(--disp); font-weight:600; font-size:11.5px; letter-spacing:.14em; cursor:pointer}

/* ---------- shared type ---------- */
.eyebrow{font-family:var(--disp); font-size:10.5px; letter-spacing:.32em; text-transform:uppercase;
  color:var(--gold-soft); font-weight:600; display:flex; align-items:center; gap:12px}
.eyebrow::before{content:""; width:26px; height:1px; background:var(--line-gold); flex:0 0 auto}
.eyebrow.plain::before{display:none}
h1.display{margin:18px 0 0; font-family:var(--disp); font-weight:600; letter-spacing:-.028em; color:#fff;
  font-size:clamp(36px,4.9vw,58px); line-height:1.06; max-width:1060px}
h1.display b{color:var(--gold-bright); font-weight:600}
h2.head{margin:0; font-family:var(--disp); font-weight:600; letter-spacing:-.022em; color:#fff;
  font-size:clamp(28px,4.2vw,46px); line-height:1.08}
h2.head b{color:var(--gold-bright); font-weight:600}
h3.sub{margin:0; font-family:var(--disp); font-weight:600; font-size:clamp(17px,2.1vw,20px); letter-spacing:-.01em; color:var(--ink)}
.lede{margin:22px 0 0; font-size:clamp(15.5px,1.55vw,18px); line-height:1.68; color:var(--ink-2); font-weight:500; max-width:62ch}
.lede b{color:var(--ink); font-weight:600}
p.body{margin:14px 0 0; font-size:14.8px; line-height:1.68; color:var(--ink-2); font-weight:500}
p.body b{color:var(--ink); font-weight:600}
.gleam{color:transparent; background-image:linear-gradient(100deg, var(--gold-soft) 0%, var(--gold) 38%, var(--gold-bright) 50%, var(--gold) 62%, var(--gold-soft) 100%);
  background-size:220% 100%; -webkit-background-clip:text; background-clip:text; animation:gleam 5s linear infinite}
@keyframes gleam{to{background-position:-120% 0}}

/* ---------- bands + hairline instrument furniture ---------- */
.band{padding:clamp(78px,9vw,132px) 0; position:relative}
.band > .wrap{position:relative}
.band > .wrap::before{content:""; position:absolute; inset:-40px 0; z-index:-1; pointer-events:none;
  background:radial-gradient(80% 70% at 50% 50%, rgba(7,6,15,.58), transparent 74%)}
.band.tight{padding:clamp(52px,6vw,84px) 0}
.band + .band{border-top:1px solid var(--line-2)}
.bandhead{display:flex; align-items:flex-end; justify-content:space-between; gap:30px; flex-wrap:wrap}
.snum{font-family:var(--mono); font-size:11px; letter-spacing:.18em; color:var(--gold-deep)}
.rule{height:1px; background:linear-gradient(90deg, var(--line-gold), var(--line-2) 42%, transparent); margin:34px 0 0}

/* the banded readout strip: the instrument tell */
.strip{display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); border:1px solid var(--line-2);
  border-radius:14px; overflow:hidden; backdrop-filter:blur(7px);
  background:linear-gradient(180deg, rgba(16,13,40,.74), rgba(9,8,22,.70))}
.strip > div{padding:20px 22px; border-right:1px solid var(--line-2)}
.strip > div:last-child{border-right:0}
.strip .k{font-family:var(--mono); font-size:9.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--faint)}
.strip .v{margin-top:9px; font-family:var(--disp); font-weight:600; font-size:15px; color:var(--ink); letter-spacing:-.01em}
.strip .v em{font-style:normal; color:var(--gold-soft)}

/* ---------- cards ---------- */
.grid{display:grid; gap:18px}
.grid.g2{grid-template-columns:repeat(2,1fr)}
.grid.g3{grid-template-columns:repeat(3,1fr)}
.card{position:relative; border:1px solid var(--line-2); border-radius:16px; padding:26px 26px 28px;
  background:var(--card); backdrop-filter:blur(7px); transition:border-color .3s var(--ease), background .3s, transform .3s var(--ease); overflow:hidden}
.card::after{content:""; position:absolute; top:0; right:0; width:34px; height:34px;
  border-top:1px solid var(--line-gold); border-right:1px solid var(--line-gold);
  border-top-right-radius:16px; opacity:.5; transition:opacity .3s}
.card:hover{border-color:var(--line); background:var(--card-2); transform:translateY(-3px)}
.card:hover::after{opacity:1}
.card .ic{width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background:rgba(184,153,104,.11); border:1px solid rgba(184,153,104,.22); color:var(--gold-soft); margin-bottom:18px}
.card .ic svg{width:17px; height:17px}
.card h3{margin:0 0 9px; font-family:var(--disp); font-weight:600; font-size:16.5px; letter-spacing:-.012em; color:var(--ink)}
.card p{margin:0; font-size:13.9px; line-height:1.66; color:var(--muted); font-weight:500}
.card p b{color:var(--ink-2); font-weight:600}

/* product cards (home) */
.pcard{display:flex; flex-direction:column; min-height:290px}
.pcard .top{display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:auto}
.pcard .name{font-family:var(--disp); font-weight:700; letter-spacing:.16em; font-size:14px; color:var(--ink); text-transform:uppercase}
.pcard .line{margin:22px 0 0; font-size:14.4px; line-height:1.62; color:var(--ink-2); font-weight:500}
.pcard .more{margin-top:22px; display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:var(--gold-soft)}
.pcard .more svg{width:13px; height:13px; transition:transform .25s var(--ease)}
.pcard:hover .more svg{transform:translateX(4px)}

/* ---------- status pill ---------- */
.pill{display:inline-flex; align-items:center; gap:7px; font-family:var(--mono); font-size:9.5px; letter-spacing:.18em;
  text-transform:uppercase; padding:5px 11px; border-radius:999px; border:1px solid var(--line); color:var(--ink-2); white-space:nowrap}
.pill .dot{width:5px; height:5px; border-radius:50%; background:var(--muted)}
.pill.live{color:var(--gold-soft); border-color:var(--line-gold)}
.pill.live .dot{background:var(--gold); box-shadow:0 0 0 0 rgba(184,152,104,.5); animation:dotpulse 2.1s ease-out infinite}
@keyframes dotpulse{0%{box-shadow:0 0 0 0 rgba(184,152,104,.5)} 100%{box-shadow:0 0 0 9px rgba(184,152,104,0)}}

/* ---------- buttons ---------- */
.btn{display:inline-flex; align-items:center; gap:9px; font-family:var(--disp); font-weight:700; font-size:13.5px;
  letter-spacing:.03em; border-radius:12px; padding:13px 22px; cursor:pointer; border:0;
  background:linear-gradient(180deg, var(--gold-bright), var(--gold)); color:#231c0a;
  transition:transform .18s var(--ease), filter .18s}
.btn:hover{transform:translateY(-1px); filter:brightness(1.07)}
.btn.ghost{background:transparent; border:1px solid var(--line); color:var(--ink)}
.btn.ghost:hover{border-color:var(--line-gold); color:var(--gold-soft); filter:none}
.btns{display:flex; gap:12px; flex-wrap:wrap; margin-top:34px}

/* ---------- the thinking indicator (signature component) ---------- */
.thinker{display:inline-flex; align-items:center; gap:clamp(12px,1.8vw,20px)}
.tdot{width:clamp(9px,1.1vw,12px); height:clamp(9px,1.1vw,12px); border-radius:50%; background:var(--gold); flex:0 0 auto;
  box-shadow:0 0 0 0 rgba(184,152,104,.5); animation:dotpulse 1.7s ease-out infinite}
.tword{display:inline-block; font-family:var(--script); font-weight:600; font-size:clamp(24px,3.6vw,42px);
  line-height:1.62; padding:.28em .08em; letter-spacing:-.01em; overflow:visible}
.tword.en{font-family:var(--disp)}

/* ---------- interest capture ---------- */
.interest{margin:36px 0 0; max-width:470px}
.interest .lead{font-family:var(--disp); font-weight:600; font-size:17px; color:var(--ink); margin:0 0 6px}
.interest .note{font-size:13px; font-weight:500; color:var(--muted); margin:0 0 18px; line-height:1.6}
.capture{display:flex; align-items:center; gap:8px; background:rgba(255,255,255,.04); border:1px solid var(--line);
  border-radius:14px; padding:7px 7px 7px 16px; transition:border-color .25s, box-shadow .25s}
.capture:focus-within{border-color:var(--gold); box-shadow:0 0 0 4px var(--glow-gold)}
.capture input{flex:1 1 auto; border:0; background:transparent; outline:none; font-family:var(--body); font-weight:500;
  font-size:14.5px; color:var(--ink); min-width:0}
.capture input::placeholder{color:var(--faint)}
.capture button{border:0; background:linear-gradient(180deg, var(--gold-bright), var(--gold)); color:#231c0a;
  font-family:var(--disp); font-weight:700; font-size:13.5px; border-radius:10px; padding:11px 18px; cursor:pointer;
  white-space:nowrap; transition:transform .18s var(--ease), filter .18s}
.capture button:hover{transform:translateY(-1px); filter:brightness(1.06)}
.thanks{display:none; align-items:center; gap:9px; font-family:var(--disp); font-weight:600; font-size:14.5px; color:var(--gold-soft)}
.thanks .tick{width:22px; height:22px; border-radius:50%; background:rgba(184,153,104,.16); color:var(--gold);
  display:flex; align-items:center; justify-content:center; flex:0 0 auto}
.interest.sent .capture, .interest.sent .lead, .interest.sent .note{display:none}
.interest.sent .thanks{display:flex}

/* ---------- footer ---------- */
.foot{border-top:1px solid var(--line-2); padding:56px 0 44px; position:relative; z-index:2}
.foot .cols{display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:34px}
.foot .fh{font-family:var(--mono); font-size:9.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--faint); margin-bottom:14px}
.foot a.fl{display:block; font-size:13.5px; font-weight:500; color:var(--ink-2); padding:5px 0; transition:color .2s}
.foot a.fl:hover{color:var(--gold-soft)}
.foot .blurb{font-size:13.2px; line-height:1.68; color:var(--muted); max-width:40ch; margin:16px 0 0; font-weight:500}
.foot .base{margin-top:44px; padding-top:22px; border-top:1px solid var(--line-2); display:flex; justify-content:space-between;
  gap:18px; flex-wrap:wrap; font-size:11px; color:var(--faint); letter-spacing:.04em}
.foot .base b{color:var(--muted); font-weight:600}

/* ---------- reveal ---------- */
.rv{opacity:0; transform:translateY(22px); transition:opacity 1s var(--ease), transform 1s var(--ease); transition-delay:var(--d,0s)}
.rv.in{opacity:1; transform:none}

/* ---------- responsive ---------- */
/* ---------- nav breakpoints ----------
   The row is brand + four links + a fixed-width pill, and none of it may
   shrink, so the drawer has to take over well before the phone width or the
   pill gets clipped at the right edge. */
@media(max-width:1040px){
  .brand .sub{display:none}
  .nav .wrap{gap:18px}
}
@media(max-width:880px){
  .brand .wordmark{font-size:12.5px; letter-spacing:.17em}
  .nav .wrap{gap:12px}
  .navlinks{position:fixed; top:var(--nav-h); left:0; right:0; flex-direction:column; align-items:stretch; gap:0;
    background:rgba(9,8,20,.97); backdrop-filter:blur(18px); border-bottom:1px solid var(--line-2);
    padding:8px 20px 18px; transform:translateY(-12px); opacity:0; pointer-events:none; transition:.28s var(--ease)}
  .navlinks.open{transform:none; opacity:1; pointer-events:auto}
  .navlinks a{padding:13px 0; border-bottom:1px solid var(--line-2); font-size:14.5px}
  .navlinks a.here::after{display:none}
  .navlinks a.navcta{align-self:flex-start; margin-top:14px; padding:11px 20px; font-size:13px}
  .navtoggle{display:block}
}

@media(max-width:960px){
  .grid.g3{grid-template-columns:1fr 1fr}
  .foot .cols{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .wrap{padding:0 20px}
  .grid.g2, .grid.g3{grid-template-columns:1fr}
  .strip > div{border-right:0; border-bottom:1px solid var(--line-2)}
  .strip > div:last-child{border-bottom:0}
  .foot .cols{grid-template-columns:1fr; gap:26px}
  .band{padding:64px 0}
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important}
  .rv{opacity:1 !important; transform:none !important}
}
