/* Srijan Robotics · site styles
   Layout idea: ink on ceramic. One hairline (the shirorekha, the headline of Devanagari) carries every heading,
   and Srijan stands at eye level with it. Light follows the sun over Pratapgarh. */

@font-face { font-family: "Martel"; src: url("../fonts/martel-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Martel"; src: url("../fonts/martel-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Dev"; src: url("../fonts/plex-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Dev"; src: url("../fonts/plex-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Dev"; src: url("../fonts/plex-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* palette */
  --ceramic: #EDEFF2;
  --porcelain: #F7F8FA;
  --ink: #07080A;
  --graphite: #1E2024;
  --amaltas: #F2B632;
  --visor: #0C0D10;

  /* roles (day) */
  --bg: var(--ceramic);
  --surface: var(--porcelain);
  --sunk: #E4E7EB;
  --text: var(--ink);
  --text-2: #353A42;
  --text-3: #5A616C;
  --rule: rgba(7, 8, 10, .30);
  --hair: rgba(7, 8, 10, .12);
  --accent: var(--amaltas);
  --accent-text: #7A5200;
  --on-accent: var(--ink);
  --invert-bg: var(--ink);
  --invert-text: var(--ceramic);
  --glow: rgba(242, 182, 50, 0);
  --shadow: 0 1px 0 rgba(7,8,10,.04), 0 18px 40px -24px rgba(7,8,10,.28);
  color-scheme: light;

  /* type */
  --f-display: "Martel", "Noto Serif Devanagari", "Iowan Old Style", Georgia, serif;
  --f-text: "Plex Dev", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", sans-serif;
  --t-hero: clamp(84px, 10.5vw, 172px);
  --t-1: clamp(40px, 5vw, 70px);
  --t-2: clamp(30px, 3.3vw, 46px);
  --t-3: clamp(21px, 2vw, 27px);
  --t-body: 17px;
  --t-small: 14.5px;
  --t-micro: 12.5px;

  /* layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --edge: max(var(--gutter), calc((100vw - var(--sbw, 0px) - var(--max)) / 2)); /* the content edge on every screen width */
  --hdr: 64px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-ink: cubic-bezier(.65, 0, .25, 1);

  /* shirorekha geometry for Martel (measured from the font: bar top 0.634 em, thickness ≈ 0.044 em,
     cap top 0.758 em, ascent 1.125, descent 0.562). With line-height 1.35 the bar top sits 0.3225 em below the line box top. */
  --lh-hang: 1.35;
  --bar-hi: .3225em;
  --bar-en: .1985em;
  --bar-h: .044em;
}

/* Pratapgarh light. JS sets data-light from the sun's height over Pratapgarh. */
:root[data-light="dawn"], :root[data-light="dusk"] {
  --bg: #EEEDEB;
  --surface: #F8F7F5;
  --sunk: #E6E3DF;
  --glow: rgba(242, 182, 50, .16);
}
:root[data-light="night"] {
  --bg: #0C0D10;
  --surface: #14161A;
  --sunk: #191C21;
  --text: #EDEFF2;
  --text-2: #C3C8D0;
  --text-3: #8F96A1;
  --rule: rgba(237, 239, 242, .34);
  --hair: rgba(237, 239, 242, .13);
  --accent-text: var(--amaltas);
  --invert-bg: #EDEFF2;
  --invert-text: #07080A;
  --glow: rgba(242, 182, 50, .07);
  --shadow: 0 1px 0 rgba(0,0,0,.4), 0 18px 44px -24px rgba(0,0,0,.8);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-light]) {
    --bg: #0C0D10; --surface: #14161A; --sunk: #191C21; --text: #EDEFF2; --text-2: #C3C8D0; --text-3: #8F96A1;
    --rule: rgba(237,239,242,.34); --hair: rgba(237,239,242,.13); --accent-text: var(--amaltas);
    --invert-bg: #EDEFF2; --invert-text: #07080A; color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--t-body)/1.6 var(--f-text);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  transition: background-color 1.6s var(--ease), color 1.6s var(--ease);
  overflow-x: hidden;
}
body::before { /* the sun's warmth at dawn and dusk */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 80% at var(--sun-x, 85%) -10%, var(--glow), transparent 60%);
  transition: background 2s var(--ease);
}
body::after { /* paper grain: a plain overlay, no blend mode, so the live 3D canvas is not re-blended every frame */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: url("../img/grain.webp"); background-size: 120px 120px;
  opacity: .04; contain: strict;
}
:root[data-light="night"] body::after { opacity: .025; }
img, svg, canvas, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
::selection { background: var(--amaltas); color: var(--ink); }
[lang="hi"] { line-height: 1.75; }
.hang [lang="hi"], .hero-title [lang="hi"], .price [lang="hi"], .brand-name [lang="hi"], .lang [lang="hi"] { line-height: inherit; }
p { margin: 0 0 1em; max-width: 64ch; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
.num, .price, td, .tabnum { font-variant-numeric: tabular-nums lining-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* language: both languages live in the page; one is shown */
:root:not([data-lang="hi"]) [data-l="hi"] { display: none !important; }
:root[data-lang="hi"] [data-l="en"] { display: none !important; }

.wrap { position: relative; z-index: 1; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- the shirorekha heading ---------- */
.hang {
  position: relative;
  font-family: var(--f-display);
  font-weight: 300;
  line-height: var(--lh-hang) !important;
  letter-spacing: -.005em;
}
.hang::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: var(--bar-en); height: max(1px, calc(var(--bar-h) * .55));
  background: var(--rule);
  transform-origin: left center;
}
:root[data-lang="hi"] .hang::before { top: var(--bar-hi); }
.hang.full::before { left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); }
.hang.solid::before { background: var(--text); height: max(1px, var(--bar-h)); }
.h1 { font-size: var(--t-1); }
.h2 { font-size: var(--t-2); }
.h3 { font-size: var(--t-3); font-family: var(--f-display); font-weight: 400; line-height: 1.3; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); max-width: 46ch; }
.muted { color: var(--text-3); }
.small { font-size: var(--t-small); }
.micro { font-size: var(--t-micro); color: var(--text-3); }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--text); --b-fg: var(--bg);
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 46px; padding: 0 22px;
  border: 1px solid var(--b-bg); border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  font: 500 15px/1 var(--f-text); text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --b-bg: var(--graphite); }
:root[data-light="night"] .btn:hover { --b-bg: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { --b-bg: transparent; --b-fg: var(--text); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--text); background: transparent; }
.btn.gold { --b-bg: var(--amaltas); --b-fg: var(--ink); border-color: var(--amaltas); }
.btn.gold:hover { --b-bg: #F5C24F; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amaltas); flex: none; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; color: inherit; }

/* status chip: form carries state */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--text-2); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.status[data-tone="done"]::before { background: var(--text); border-color: var(--text); }
.status[data-tone="progress"]::before { background: linear-gradient(90deg, var(--amaltas) 50%, transparent 50%); border-color: var(--accent-text); }
.status[data-tone="design"]::before { background: linear-gradient(90deg, var(--text) 50%, transparent 50%); }
.status[data-tone="planned"]::before { border-style: dashed; }
.status[data-tone="concept"]::before { border-style: dotted; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  height: var(--hdr);
  display: flex; align-items: center; gap: 24px;
  padding-inline: var(--edge);
  background: color-mix(in srgb, var(--bg) 95%, transparent); /* no backdrop blur: it re-blurs the live 3D canvas every frame */
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color 1.6s var(--ease);
}
.hdr.scrolled { border-bottom-color: var(--hair); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font: 500 16px/1 var(--f-text); letter-spacing: .01em; }
.brand-name [data-l="hi"] { font-family: var(--f-display); font-weight: 400; font-size: 18px; line-height: 1; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: 999px;
  text-decoration: none; font-size: 15px; color: var(--text-2);
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: 4px; height: 1px; background: var(--text);
}
.tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid transparent; background: transparent; color: var(--text);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--hair); background: var(--surface); }
.icon-btn svg { width: 20px; height: 20px; }
.count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--amaltas); color: var(--ink);
  font: 600 11px/18px var(--f-text); text-align: center;
}
.count[data-n="0"] { display: none; }
.lang {
  display: inline-flex; align-items: center; height: 36px; padding: 3px; gap: 2px;
  border: 1px solid var(--hair); border-radius: 999px; background: transparent;
}
.lang span { padding: 0 10px; height: 28px; display: grid; place-items: center; border-radius: 999px; font-size: 13.5px; color: var(--text-3); transition: background-color .3s var(--ease), color .3s var(--ease); }
.lang span[lang="hi"] { font-size: 15px; line-height: 1; }
:root:not([data-lang="hi"]) .lang span[data-v="en"], :root[data-lang="hi"] .lang span[data-v="hi"] { background: var(--text); color: var(--bg); }
.menu-btn { display: none; }

.mnav { display: none; }

/* ---------- views ---------- */
main { position: relative; z-index: 1; }
.view { display: none; }
.view.on { display: block; animation: viewIn .5s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; } to { opacity: 1; } }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section.tight { padding-block: clamp(40px, 6vw, 80px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 52px); }
.page-top { padding-top: clamp(40px, 6vw, 88px); }

/* ---------- home: hero + head-to-toe run ---------- */
.run { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.run-text { grid-column: 1; grid-row: 1; position: relative; z-index: 3; padding-left: var(--edge); }
.run-stage { grid-column: 2; grid-row: 1; position: relative; }
.stage {
  position: sticky; top: var(--hdr);
  height: calc(100svh - var(--hdr)); min-height: 560px; max-height: 1100px;
}
.stage .stage-inner { position: absolute; inset: 0; }
.stage .poster, .stage .gl-slot, .stage .overlay { position: absolute; inset: 0; }
.stage .poster img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.gl-slot canvas { width: 100% !important; height: 100% !important; display: block; outline: none; touch-action: pan-y; }
.stage .poster { transition: opacity .9s var(--ease); }
.stage.live .poster { opacity: 0; }
.overlay { pointer-events: none; overflow: visible; }
.overlay svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.overlay .lead-line { stroke: var(--text); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.overlay .lead-dot { fill: var(--text); }
.overlay .lead-ring { fill: none; stroke: var(--amaltas); stroke-width: 1.5; }
.label-chip {
  position: absolute; transform: translateY(-50%);
  font-size: 13px; line-height: 1.35; color: var(--text); white-space: nowrap;
  padding: 2px 0; transition: opacity .4s var(--ease);
}
.label-chip[data-side="l"] { transform: translate(-100%, -50%); text-align: right; }
.label-chip b { display: block; font-weight: 500; }
.label-chip span { color: var(--text-3); }
/* labels sit on a soft chip of page colour so a part behind them never crosses the text */
.label-chip { background: color-mix(in srgb, var(--bg) 94%, transparent); padding: 3px 8px; border-radius: 7px; }

.hero { position: relative; min-height: calc(100svh - var(--hdr)); max-height: 1100px; display: flex; flex-direction: column; }
.hero-rule {
  position: absolute; left: 0; z-index: 2; pointer-events: none;
  top: calc(var(--eye-y, 30%) - var(--rule-h, 2px) / 2); width: var(--eye-x, 60%);
  height: var(--rule-h, 2px); background: var(--text);
  transform-origin: left center;
}
.hero-rule::after { /* the line becomes the eye strip */
  content: ""; position: absolute; right: -2px; top: 50%; width: 72px; height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--amaltas));
  opacity: 0;
}
.hero-title {
  position: absolute; left: 0; z-index: 3;
  top: calc(var(--eye-y, 30%) - var(--bar-top-px, 40px) - var(--bar-h-px, 6px) / 2);
  font: 300 var(--t-hero)/var(--lh-hang) var(--f-display);
  letter-spacing: -.01em; margin: 0;
}
.hero-title .glyphs { display: block; white-space: nowrap; }
.hero-title .g { display: inline-block; vertical-align: top; }
.hero-copy {
  position: absolute; left: 0; right: 0; z-index: 3;
  top: calc(var(--eye-y, 30%) + var(--t-hero) * 1.12);
  display: grid; gap: 22px; align-content: start; max-width: 520px;
}
.hero-copy .lead { margin: 0; font-size: clamp(18px, 1.55vw, 22px); max-width: 30ch; color: var(--text); }
.tagline { font: 300 clamp(20px, 1.8vw, 26px)/1.3 var(--f-display); color: var(--text-2); margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sunpath {
  position: absolute; left: 0; bottom: 28px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: none; border: 0; padding: 4px 0; text-align: left;
  font-size: 13px; color: var(--text-3);
}
.sunpath svg { width: 64px; height: 30px; overflow: visible; }
.sunpath .arc { fill: none; stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 3; }
.sunpath .hz { stroke: var(--rule); stroke-width: 1; }
.sunpath .sun { fill: var(--amaltas); }
.sunpath .moon { fill: none; stroke: var(--text-3); stroke-width: 1.2; }
.sunpath b { font-weight: 500; color: var(--text-2); }

/* story panels */
.story-intro { padding-top: clamp(80px, 12vh, 160px); padding-bottom: 6vh; max-width: 520px; display: grid; gap: 18px; }
.panel { min-height: 82svh; display: grid; align-content: center; gap: 16px; max-width: 470px; padding-block: 8vh; }
.panel .idx { font: 400 15px/1 var(--f-text); color: var(--text-3); display: flex; align-items: center; gap: 10px; }
.panel .idx i { font-style: normal; color: var(--text); }
.panel h3 { font-size: var(--t-2); }
.panel p { color: var(--text-2); margin: 0; }
.panel .facts { display: grid; gap: 6px; margin-top: 6px; list-style: none; font-size: var(--t-small); color: var(--text-2); }
.panel .facts li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.panel .facts li::before { content: ""; width: 14px; height: 1px; background: var(--text); margin-top: .85em; }
.panel .pimg { display: none; }
.story-end { padding-block: 10vh 14vh; max-width: 520px; display: grid; gap: 18px; }
/* desktop: the last screen is exactly as tall as the sticky stage, so the stage stays pinned
   and Srijan ends in full view, head to feet, with the closing line centred beside him */
@media (min-width: 961px) {
  .story-end { min-height: min(max(calc(100svh - var(--hdr)), 560px), 1100px); padding-block: 0; align-content: center; }
}

/* spec ledger */
.ledger { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 12px 0; border-top: 1px solid var(--hair); }
.ledger th { font-weight: 400; color: var(--text-3); width: 38%; padding-right: 18px; }
.ledger tr:last-child th, .ledger tr:last-child td { border-bottom: 1px solid var(--hair); }

/* ---------- Prajna teaser / yantra ---------- */
.prajna-band { position: relative; }
.prajna-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.yantra-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; }
.yantra { width: 100%; height: 100%; overflow: visible; }
.yantra .frame { fill: none; stroke: var(--text); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.yantra .ring { fill: none; stroke: var(--text); stroke-width: 1; vector-effect: non-scaling-stroke; }
.yantra .tri { fill: none; stroke: var(--amaltas); stroke-width: 2.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.yantra .bindu { fill: var(--amaltas); }
.yantra .node circle { fill: var(--bg); stroke: var(--text); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .35s var(--ease), stroke .35s var(--ease); }
.yantra .node.lit circle { fill: var(--amaltas); stroke: var(--amaltas); }
.yantra .node.held circle { fill: var(--bg); stroke: var(--text); stroke-dasharray: 2 2; }
.yantra .node text { font: 500 19px var(--f-text); fill: var(--text); }
.yantra .node text[lang="hi"] { font-size: 21px; }
.yantra .gate text { font: 400 18px var(--f-text); fill: var(--text-3); }
.yantra .gate text[lang="hi"] { font-size: 20px; }
.yantra .trail { fill: none; stroke: var(--amaltas); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.yantra .spark { fill: var(--amaltas); }
.demo { display: grid; gap: 18px; }
.demo-form { display: flex; gap: 8px; }
.demo-form input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--surface);
}
.demo-form input:focus-visible { outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--hair); background: transparent; border-radius: 999px;
  padding: 7px 14px; font-size: 14px; color: var(--text-2);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip[lang="hi"] { font-size: 15px; line-height: 1.4; }
.reply { border-top: 1px solid var(--hair); padding-top: 18px; display: grid; gap: 12px; min-height: 150px; }
.reply .says { font: 300 clamp(20px, 1.8vw, 25px)/1.45 var(--f-display); margin: 0; max-width: 34ch; }
.reply ol { list-style: none; display: grid; gap: 6px; counter-reset: step; font-size: var(--t-small); color: var(--text-2); }
.reply ol li { counter-increment: step; display: grid; grid-template-columns: 26px 1fr; }
.reply ol li::before { content: counter(step); color: var(--text-3); font-variant-numeric: tabular-nums; }
.reply ol li.held { color: var(--text); }
.note-demo { font-size: var(--t-micro); color: var(--text-3); margin: 0; }

/* ---------- product plates ---------- */
.plates { display: grid; gap: 0; }
.plate {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px);
  align-items: center; padding-block: clamp(28px, 4vw, 56px); border-top: 1px solid var(--hair);
}
.plate:last-child { border-bottom: 1px solid var(--hair); }
.plate:nth-child(even) .plate-img { order: 2; }
.plate-img { position: relative; aspect-ratio: 4 / 3; max-height: 560px; display: block; overflow: hidden; }
.plate-img .yantra-art { position: absolute; inset: 0; padding: 7% 0; }
.plate-img picture, .plate-img img { width: 100%; height: 100%; }
.plate-img img { object-fit: contain; }
.plate-img .badge { position: absolute; left: 0; bottom: 0; font-size: var(--t-micro); color: var(--text-3); }
.plate-body { display: grid; gap: 14px; align-content: start; }
.plate-body h3 { font-size: var(--t-2); }
.plate-body .line { color: var(--text-2); margin: 0; max-width: 40ch; }
.price-block { display: grid; gap: 4px; margin-top: 6px; }
.price { font: 300 clamp(34px, 3.4vw, 50px)/1.15 var(--f-display); letter-spacing: -.01em; }
.price-sub { font-size: var(--t-small); color: var(--text-2); }
.price-note { font-size: var(--t-micro); color: var(--text-3); }
.plate .cta-row { margin-top: 8px; }

/* ---------- parts ledger ---------- */
.parts { list-style: none; display: grid; border-top: 1px solid var(--hair); }
.part-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--hair);
}
.part-row .thumb { width: 96px; height: 96px; border-radius: 12px; background: var(--sunk); overflow: hidden; }
.part-row .thumb img { width: 100%; height: 100%; object-fit: contain; }
.part-row .thumb svg { width: 100%; height: 100%; }
.part-row h4 { font: 400 20px/1.3 var(--f-display); }
.part-row p { margin: 4px 0 0; font-size: var(--t-small); color: var(--text-2); }
.part-row .acts { display: flex; gap: 8px; align-items: center; }
.part-row details { grid-column: 2 / -1; }
.part-row summary { cursor: pointer; font-size: var(--t-small); color: var(--text-3); width: max-content; }
.part-row summary::marker { color: var(--text-3); }
.part-row details ul { list-style: none; display: grid; gap: 5px; margin-top: 10px; font-size: var(--t-small); color: var(--text-2); }
.part-row details li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.part-row details li::before { content: ""; width: 14px; height: 1px; background: var(--text-3); margin-top: .85em; }

/* mini */
.mini-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.mini-img { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-list { list-style: none; display: grid; border-top: 1px solid var(--hair); }
.mini-list li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.mini-list h4 { font: 400 18px/1.35 var(--f-display); }
.mini-list p { margin: 2px 0 0; font-size: var(--t-small); color: var(--text-2); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--hair); background: transparent; border-radius: 999px; padding: 8px 16px; font-size: 14.5px; color: var(--text-2); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- product view ---------- */
.pv-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.pv-img { aspect-ratio: 16 / 10; }
.pv-img img { width: 100%; height: 100%; object-fit: contain; }
.pv-body { display: grid; gap: 16px; }
.pv-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--text-2); }
.ticks li::before { content: ""; width: 18px; height: 1px; background: var(--text); margin-top: .9em; }
.box-note { border-left: 2px solid var(--amaltas); padding: 4px 0 4px 16px; color: var(--text-2); max-width: 60ch; }

/* ---------- robot explorer ---------- */
.explorer { display: grid; grid-template-columns: 240px minmax(0, 1fr) 320px; gap: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); min-height: min(82svh, 860px); }
.ex-index { list-style: none; display: grid; align-content: center; gap: 2px; padding: 24px 0; }
.ex-index button {
  width: 100%; display: grid; grid-template-columns: 28px 1fr; align-items: baseline; text-align: left;
  border: 0; background: transparent; padding: 10px 8px; border-radius: 10px; color: var(--text-2);
  font: 400 19px/1.3 var(--f-display);
}
.ex-index button i { font: 400 13px var(--f-text); font-style: normal; color: var(--text-3); }
.ex-index button[aria-pressed="true"] { color: var(--text); background: var(--surface); }
.ex-stage { position: relative; min-height: 520px; }
.ex-stage .gl-slot, .ex-stage .poster, .ex-stage .overlay { position: absolute; inset: 0; }
.ex-stage .poster img { width: 100%; height: 100%; object-fit: contain; }
.ex-stage.live .poster { opacity: 0; transition: opacity .8s var(--ease); }
.ex-tools { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.ex-tools .chip { background: color-mix(in srgb, var(--bg) 80%, transparent); }
.ex-tools .chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.ex-tools .sep { width: 1px; background: var(--hair); margin: 4px 4px; }
.ex-hint { position: absolute; left: 14px; top: 12px; font-size: var(--t-micro); color: var(--text-3); z-index: 2; background: color-mix(in srgb, var(--bg) 84%, transparent); padding: 2px 8px; border-radius: 7px; }
.ex-info { padding: 28px 0 28px 28px; border-left: 1px solid var(--hair); display: grid; align-content: start; gap: 14px; }
.ex-info h3 { font-size: var(--t-3); }
.ex-info ul { list-style: none; display: grid; gap: 8px; font-size: var(--t-small); color: var(--text-2); }
.ex-info li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.ex-info li::before { content: ""; width: 14px; height: 1px; background: var(--text); margin-top: .85em; }

/* ---------- roadmap ---------- */
.road { list-style: none; display: grid; border-top: 1px solid var(--hair); }
.road li { display: grid; grid-template-columns: 56px minmax(0, 4fr) minmax(0, 6fr) minmax(0, 3fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.road .n { font: 300 28px/1 var(--f-display); color: var(--text-3); }
.road h3 { font: 400 22px/1.3 var(--f-display); }
.road p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); }
.principles { list-style: none; display: grid; gap: 22px; }
.principles h3 { font: 400 21px/1.3 var(--f-display); margin-bottom: 4px; }
.principles p { margin: 0; color: var(--text-2); }
.quote { font: 300 clamp(26px, 2.6vw, 38px)/1.4 var(--f-display); margin: 0; max-width: 22ch; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: var(--t-small); color: var(--text-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--surface);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .err { font-size: var(--t-micro); color: #B42318; display: none; }
:root[data-light="night"] .field .err { color: #FF8A80; }
.field.bad .err { display: block; }
.field.bad input, .field.bad textarea { border-color: #B42318; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: var(--t-small); color: var(--text-2); }
.field input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 3px 0 0; border-radius: 4px; accent-color: var(--text); flex: none; }
.check input { width: 18px; height: 18px; margin-top: 3px; }
.interest-list { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-list label { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--hair); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.interest-list input[type="checkbox"] { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.result { border: 1px solid var(--hair); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); display: grid; gap: 12px; }
.result pre { margin: 0; white-space: pre-wrap; font: 400 14px/1.6 var(--f-text); background: var(--sunk); border-radius: 10px; padding: 12px 14px; max-height: 260px; overflow: auto; }
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--text-2); }
.steps li::before { content: counter(s); font: 300 24px/1 var(--f-display); color: var(--text); }

/* ---------- prose (policies) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font: 400 24px/1.3 var(--f-display); margin: 36px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; margin-bottom: 1em; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); padding: 16px 0; }
.faq summary { cursor: pointer; font: 400 19px/1.4 var(--f-display); list-style: none; display: grid; grid-template-columns: 1fr 24px; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 24px/1 var(--f-text); color: var(--text-3); text-align: right; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--text-2); }

/* ---------- drawer (enquiry list) ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; display: grid; justify-items: end; }
.drawer[hidden] { display: none !important; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(7, 8, 10, .32); animation: fadeIn .3s var(--ease); }
.drawer .sheet {
  position: relative; width: min(440px, 100%); height: 100%; background: var(--bg); color: var(--text);
  padding: 22px var(--gutter) 28px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
  box-shadow: -30px 0 60px -30px rgba(0,0,0,.4); animation: slideIn .45s var(--ease);
}
.drawer .sheet-head { display: flex; justify-content: space-between; align-items: center; }
.drawer ul { list-style: none; display: grid; align-content: start; gap: 0; overflow: auto; }
.drawer li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); align-items: center; }
.drawer li .k { font-size: var(--t-micro); color: var(--text-3); }
.empty { color: var(--text-3); font-size: var(--t-small); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px);
  background: var(--invert-bg); color: var(--invert-text); padding: 12px 18px; border-radius: 999px;
  font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.ftr { position: relative; z-index: 1; background: var(--invert-bg); color: var(--invert-text); margin-top: clamp(48px, 7vw, 96px); }
:root[data-light="night"] .ftr { background: var(--surface); color: var(--text); }
.ftr .wrap { display: grid; gap: 40px; padding-block: 64px 36px; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.ftr .mark { width: 64px; height: 64px; }
.ftr h4 { font: 500 13px/1.4 var(--f-text); color: color-mix(in srgb, currentColor 60%, transparent); margin-bottom: 10px; }
.ftr ul { list-style: none; display: grid; gap: 6px; font-size: 15px; }
.ftr a { text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr .tag { font: 300 26px/1.3 var(--f-display); margin: 14px 0 6px; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13px; color: color-mix(in srgb, currentColor 62%, transparent); border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); padding-top: 20px; }
.ftr .light-ctl { display: inline-flex; gap: 4px; }
.ftr .light-ctl button { background: transparent; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: inherit; }
.ftr .light-ctl button[aria-pressed="true"] { background: currentColor; }
.ftr .light-ctl button[aria-pressed="true"] span { color: var(--invert-bg); }
:root[data-light="night"] .ftr .light-ctl button[aria-pressed="true"] span { color: var(--surface); }

/* ---------- bindu cursor (fine pointers only) ---------- */
.bindu-cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; width: 0; height: 0; display: none; }
.bindu-cursor i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--amaltas); box-shadow: 0 0 0 1px var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.bindu-cursor b { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--text); opacity: 0; transform: scale(.4); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.bindu-cursor.on-link b { opacity: .5; transform: scale(1); }
.bindu-cursor.down i { transform: scale(.7); }
@media (hover: hover) and (pointer: fine) {
  html.has-bindu, html.has-bindu a, html.has-bindu button, html.has-bindu summary, html.has-bindu label { cursor: none; }
  html.has-bindu input, html.has-bindu textarea, html.has-bindu select { cursor: auto; }
  html.has-bindu .bindu-cursor { display: block; }
}

/* ---------- intro: the ink line draws, सृजन hangs from it, the line becomes the eye strip ---------- */
html.intro .hdr, html.intro .hero-copy, html.intro .sunpath, html.intro .stage .poster, html.intro .stage .gl-slot { opacity: 0; }
html.intro .hero-rule { transform: scaleX(0); }
html.intro .hero-title .g { clip-path: inset(0 0 100% 0); }
html.intro-run .hero-rule { animation: inkLine 1.05s var(--ease-ink) .15s forwards; }
html.intro-run .hero-title .g { animation: hangDown .9s var(--ease) forwards; animation-delay: calc(.75s + var(--i) * .16s); }
html.intro-run .hero-rule::after { animation: eyeLight 1.4s var(--ease) 1.65s forwards; }
html.intro-run .stage .poster, html.intro-run .stage .gl-slot { animation: fadeUp 1.2s var(--ease) 1.7s forwards; }
html.intro-run .hero-copy { animation: fadeUp .9s var(--ease) 2.05s forwards; }
html.intro-run .hdr, html.intro-run .sunpath { animation: fadeUp .9s var(--ease) 2.25s forwards; }
@keyframes inkLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hangDown { from { clip-path: inset(0 0 100% 0); transform: translateY(-.04em); } to { clip-path: inset(0 0 -20% 0); transform: none; } }
@keyframes eyeLight { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.skip-intro { position: fixed; right: 18px; bottom: 18px; z-index: 130; display: none; }
html.intro .skip-intro { display: inline-flex; }

/* ---------- language switch: the line redraws, words hang again ---------- */
html.lang-out .hang::before { transition: transform .26s var(--ease-ink); transform: scaleX(0); transform-origin: right center; }
html.lang-out .hang > * { transition: clip-path .24s var(--ease-ink); clip-path: inset(0 0 100% 0); }
html.lang-out main p, html.lang-out main li, html.lang-out .nav, html.lang-out .lead { transition: opacity .2s; opacity: 0; }
html.lang-in .hang::before { animation: inkLine .5s var(--ease-ink) both; }
html.lang-in .hang > * { animation: hangDown .55s var(--ease) .12s both; }
html.lang-in main p, html.lang-in main li, html.lang-in .nav, html.lang-in .lead { animation: fadeIn .35s var(--ease) .1s both; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav a { padding: 8px 9px; font-size: 14.5px; }
  .explorer { grid-template-columns: 200px minmax(0, 1fr); }
  .ex-info { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--hair); padding: 24px 0; }
}
@media (max-width: 960px) {
  :root { --hdr: 58px; }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .tools { margin-left: auto; }
  .mnav { display: block; position: fixed; inset: var(--hdr) 0 auto 0; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--hair); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .mnav.open { opacity: 1; transform: none; pointer-events: auto; }
  .mnav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font: 400 22px/1.3 var(--f-display); }

  .run { grid-template-columns: 1fr; }
  .run-stage { grid-column: 1; grid-row: 1; }
  .run-text { grid-column: 1; grid-row: 2; padding-right: var(--gutter); }
  .stage { position: relative; top: 0; height: min(118vw, 74svh); min-height: 420px; overflow: hidden; }
  .stage .stage-inner { transform: translateX(16%); }
  .hero { position: static; }
  .run-text { position: static; }
  .hero-title { left: var(--gutter); font-size: clamp(60px, 16vw, 96px); }
  .stage .gl-slot canvas { touch-action: pan-y; }
  .hero { min-height: 0; max-height: none; }
  .hero-rule, .hero-title { position: absolute; }
  .hero-copy { position: static; padding: 24px 0 8px; max-width: none; }
  .sunpath { position: static; padding: 18px 0 0; }
  .story-intro { padding-top: 64px; }
  .panel { min-height: 0; padding-block: 28px; border-top: 1px solid var(--hair); max-width: none; }
  .panel .pimg { display: block; width: 100%; aspect-ratio: 1; max-width: 420px; justify-self: center; }
  .panel .pimg img { width: 100%; height: 100%; object-fit: contain; }
  .prajna-grid, .plate, .pv-hero, .mini-grid, .about-grid, .pv-cols { grid-template-columns: 1fr; }
  .plate:nth-child(even) .plate-img { order: 0; }
  .explorer { grid-template-columns: 1fr; }
  .ex-index { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding: 10px 0; gap: 4px; }
  .ex-index button { font-size: 17px; padding: 8px 12px; grid-template-columns: auto 1fr; gap: 6px; }
  .ex-stage { min-height: 70svh; }
  .ex-tools .sep { display: none; }
  .road li { grid-template-columns: 44px 1fr; }
  .road li > :nth-child(3), .road li > :nth-child(4) { grid-column: 2; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .brand-name { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .part-row { grid-template-columns: 72px 1fr; }
  .part-row .thumb { width: 72px; height: 72px; }
  .part-row .acts { grid-column: 1 / -1; }
  .ledger th { width: 44%; }
  .demo-form { flex-direction: column; }
  .demo-form .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  html.intro .hdr, html.intro .hero-copy, html.intro .sunpath, html.intro .stage .poster, html.intro .stage .gl-slot { opacity: 1; }
  html.intro .hero-rule { transform: none; }
  html.intro .hero-title .g { clip-path: none; }
}
@media print {
  .hdr, .ftr, .stage, .bindu-cursor, .drawer, body::before, body::after { display: none !important; }
  .view { display: block !important; }
}

/* yantra art (Prajna Brain Kit picture and small yantras) */
.yantra-art { width: 100%; height: 100%; }
.yantra-art svg { width: 100%; height: 100%; }
.yantra-art.big { aspect-ratio: 1; max-width: 560px; margin-inline: auto; height: auto; }
.yantra-art.big svg { width: 100%; height: 100%; }
.small-yantra { max-width: 460px; }
.yantra .bindu { transform-box: fill-box; transform-origin: center; animation: binduPulse 4.2s ease-in-out infinite; }
@keyframes binduPulse { 0%, 100% { opacity: .75; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.12); } }
.pv-img .yantra-art { height: 100%; }

/* =====================================================================
   v2 · depth, light and motion
   Everything here is progressive: without support the page is the same, flat and complete.
   ===================================================================== */
:root { --shx: 0px; --shy: 8px; --shb: 14px; --shc: rgba(7, 8, 10, .16); --sheen: rgba(255, 255, 255, .34); }
:root[data-light="dawn"], :root[data-light="dusk"] { --shc: rgba(70, 40, 10, .20); --sheen: rgba(255, 236, 200, .38); }
:root[data-light="night"] { --shc: rgba(0, 0, 0, .55); --sheen: rgba(242, 182, 50, .16); }
/* one shadow for raised things, cast away from the sun over Pratapgarh */
.sun-shadow, .inv-stats li, .inv-why li, .result, .compare-wrap, .log li::before { box-shadow: var(--shx) var(--shy) var(--shb) -6px var(--shc); transition: box-shadow 1.2s var(--ease); }

/* ---------- page changes: the old page sinks back, the new one comes forward ---------- */
.hdr { view-transition-name: site-header; }
.ftr { view-transition-name: site-footer; }
::view-transition-group(site-header), ::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }
::view-transition-old(root) { animation: vtOut .32s var(--ease-ink) both; }
::view-transition-new(root) { animation: vtIn .6s var(--ease) .06s both; }
::view-transition-old(site-footer) { animation: vtOut .32s var(--ease-ink) both; }
::view-transition-new(site-footer) { animation: vtIn .6s var(--ease) .06s both; }
@keyframes vtOut { to { opacity: 0; transform: perspective(1600px) translateZ(-70px); } }
@keyframes vtIn { from { opacity: 0; transform: perspective(1600px) translateZ(46px) translateY(10px); } }
@supports (view-transition-name: a) { .view.on { animation: none; } }

/* ---------- headings: the line draws in as the heading comes into view (text always visible) ---------- */
.hang.reveal::before { transform: scaleX(0); transition: transform 1.1s var(--ease-ink) .05s; }
.hang.reveal.seen::before { transform: scaleX(1); }

/* ---------- tilt with a sheen that follows the pointer ---------- */
[data-tilt] { position: relative; transform: perspective(1000px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .7s var(--ease); }
[data-tilt].tilting { transition: transform .14s linear; }
[data-tilt]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 2;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), var(--sheen), transparent 42%);
  opacity: 0; transition: opacity .5s var(--ease); mix-blend-mode: soft-light;
}
[data-tilt].tilting::after { opacity: 1; }
.pv-img { position: relative; }
.panel .pimg[data-tilt] { transform: none; }

/* ---------- scroll depth: rows rise out of the page as they enter (Chromium; others stay still) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .plate, .part-row, .road li, .log li, .inv-stats li, .inv-why li, .inv-path li, .mini-list li, .faq details, .ticks li {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
    @keyframes rise { from { opacity: 0; transform: perspective(900px) translateY(26px) rotateX(9deg); } to { opacity: 1; transform: none; } }
  }
}

/* ---------- the Prajna yantra in three layers ---------- */
.y3d { perspective: 1300px; }
.yantra-stack {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s linear;
}
.yantra-stack > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* each layer is scaled so the three line up exactly when flat: scale = (P - z) / P */
.yantra-stack .y-back { transform: translateZ(-26px) scale(1.02); opacity: .92; }
.yantra-stack .y-mid { transform: translateZ(0); }
.yantra-stack .y-front { transform: translateZ(26px) scale(.98); filter: drop-shadow(var(--shx) var(--shy) calc(var(--shb) * .5) var(--shc)); }
.yantra-art .yantra-stack .y-front { filter: none; }

/* ---------- 3D loading ring ---------- */
.gl-progress { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); }
.gl-progress.on { opacity: 1; }
.gl-progress.done { opacity: 0; transition-delay: .3s; }
.gl-progress svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gl-progress circle { fill: none; stroke-width: 2; }
.gl-progress .tr { stroke: var(--hair); }
.gl-progress .ar { stroke: var(--amaltas); stroke-linecap: round; stroke-dasharray: var(--p, 0) 100; transition: stroke-dasharray .3s linear; }
.ex-stage .gl-progress { top: 12px; right: 12px; }

/* ---------- the mark in 3D ---------- */
[data-logo3d] { position: relative; display: grid; place-items: center; }
[data-logo3d] canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: pointer; opacity: 0; transition: opacity .8s var(--ease); }
[data-logo3d].live canvas { opacity: 1; }
[data-logo3d] .mark-flat { width: 62%; height: 62%; transition: opacity .6s var(--ease); }
[data-logo3d].live .mark-flat { opacity: 0; }
.ftr-mark { width: 92px; height: 92px; margin-left: -10px; }
.inv-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.inv-top .sec-head { margin-bottom: 0; }
.inv-mark { aspect-ratio: 1; width: 100%; max-width: 420px; justify-self: center; }
.inv-mark-cap { position: absolute; left: 0; right: 0; bottom: -4px; text-align: center; }

/* ---------- investors ---------- */
.inv-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(20px, 3vw, 36px); }
.inv-stats li { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px 22px 24px; display: grid; gap: 4px; align-content: start; }
.inv-stats b { font: 300 clamp(36px, 3.6vw, 54px)/1.1 var(--f-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.inv-stats .u { font-size: var(--t-small); color: var(--text); font-weight: 500; }
.inv-stats p { margin: 8px 0 0; font-size: var(--t-small); color: var(--text-2); }
.inv-path { list-style: none; display: grid; border-top: 1px solid var(--hair); }
.inv-path li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--hair); position: relative; }
.inv-path time { font: 300 24px/1.25 var(--f-display); color: var(--text-3); }
.inv-path li.now time { color: var(--text); }
.inv-path li.now::before { content: ""; position: absolute; left: -14px; top: 30px; width: 7px; height: 7px; border-radius: 50%; background: var(--amaltas); }
.inv-path h3 { font: 400 21px/1.3 var(--f-display); margin-bottom: 4px; }
.inv-path p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.inv-why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(20px, 3vw, 36px); }
.inv-why li { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px 24px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(20px, 3vw, 30px); }
.tags li { border: 1px solid var(--rule); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.disclaimer { font-size: var(--t-micro); color: var(--text-3); border-left: 2px solid var(--hair); padding: 2px 0 2px 14px; margin-top: 22px; max-width: 52ch; }
fieldset.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.fs legend { padding: 0; margin-bottom: 8px; }
.interest-list input[type="radio"] { margin: 0; width: 15px; height: 15px; min-height: 0; padding: 0; accent-color: var(--text); flex: none; }
.interest-list label:has(input:checked) { border-color: var(--text); color: var(--text); background: var(--surface); }

/* ---------- compare ---------- */
.compare-wrap { margin-top: clamp(20px, 3vw, 32px); overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--hair); background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--hair); overflow-wrap: anywhere; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font: 400 20px/1.3 var(--f-display); }
.compare thead th a { text-decoration: none; }
.compare thead th:first-child, .compare tbody th { width: 24%; }
.compare tbody th { font-weight: 400; color: var(--text-3); }
.compare td { color: var(--text-2); }
.compare td .status { margin: 0; }

/* ---------- build log ---------- */
.log { list-style: none; display: grid; border-left: 1px solid var(--hair); margin-left: 6px; }
.log li { display: grid; gap: 2px; padding: 0 0 22px 24px; position: relative; }
.log li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--text); }
.log li:first-child::before { background: var(--amaltas); border-color: var(--amaltas); }
.log time { font-size: var(--t-micro); color: var(--text-3); font-variant-numeric: tabular-nums; }
.log p { margin: 0; color: var(--text); max-width: 56ch; }

/* ---------- Prajna demo: speak toggle ---------- */
.demo-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; justify-content: space-between; }
.demo-bar .chips { flex: 1 1 280px; }
.chip.speak { display: inline-flex; gap: 6px; align-items: center; flex: none; }
.chip.speak svg { width: 16px; height: 16px; fill: currentColor; }
.chip.speak svg .w { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; opacity: .35; }
.chip.speak[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.speak[aria-pressed="true"] svg .w { opacity: 1; }

/* ---------- share + back to top ---------- */
.btn.share { gap: 6px; }
.btn.share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--rule); background: color-mix(in srgb, var(--bg) 96%, transparent); color: var(--text);
  display: grid; place-items: center; opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease); box-shadow: var(--shx) var(--shy) var(--shb) -6px var(--shc);
}
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html.intro .to-top { display: none; }

/* ---------- v2 responsive ---------- */
@media (max-width: 1120px) {
  .inv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .inv-top { grid-template-columns: 1fr; }
  .inv-mark { max-width: 300px; order: -1; }
  .inv-why { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .inv-stats { grid-template-columns: 1fr; }
  .inv-path li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .inv-path time { font-size: 20px; }
  .inv-path li.now::before { left: -10px; }
  .to-top { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-tilt] { transform: none !important; }
  .hang.reveal::before { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.yantra .leader { fill: none; stroke: var(--rule); stroke-width: 1; stroke-dasharray: 1.5 3; vector-effect: non-scaling-stroke; transition: stroke .35s var(--ease); }
.yantra .node.lit .leader { stroke: var(--amaltas); stroke-dasharray: none; }
@media (max-width: 700px) {
  .yantra .node text { font-size: 25px; }
  .yantra .node text[lang="hi"] { font-size: 27px; }
  .yantra .gate text { font-size: 23px; }
  .yantra .gate text[lang="hi"] { font-size: 25px; }
}
/* the footer's last line stays clear of the back-to-top button */
.ftr .wrap { padding-bottom: 84px; }

/* ---------- v5.1: depth, motion and touch ---------- */
/* a faint dotted floor that recedes to the horizon and turns a little with the pointer: one composited layer, no repaint */
.depth-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; perspective: 900px; perspective-origin: 50% 30%; overflow: hidden; contain: strict; }
.depth-plane {
  position: absolute; left: -60%; right: -60%; top: 46%; height: 160%;
  transform-origin: 50% 0;
  transform: rotateX(calc(70deg + var(--fy, 0) * 3deg)) rotateZ(calc(var(--fx, 0) * 4deg));
  transition: transform 1.2s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 46%, transparent 82%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 46%, transparent 82%);
  opacity: .7;
}
.depth-plane::before {
  content: ""; position: absolute; inset: -44px 0 0 0;
  background-image: radial-gradient(circle, var(--hair) 1.15px, transparent 1.45px);
  background-size: 44px 44px;
  animation: fieldDrift 14s linear infinite;
  will-change: transform;
}
@keyframes fieldDrift { to { transform: translate3d(0, 44px, 0); } }
main, .ftr { position: relative; z-index: 1; }

/* headings fold up into place as they arrive */
.hang.reveal { opacity: 0; transform: perspective(900px) rotateX(22deg); transform-origin: 50% 100%; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.hang.reveal.seen { opacity: 1; transform: none; }

/* the hero robot can be turned by hand */
#homeStage .gl-slot canvas { cursor: grab; }
#homeStage .gl-slot canvas.spinning { cursor: grabbing; }
.spin-hint {
  position: absolute; right: 18px; bottom: 22px; z-index: 4; margin: 0; pointer-events: none;
  font-size: 12px; letter-spacing: .02em; color: var(--text-3, var(--text-2));
  padding: 4px 10px; border: 1px solid var(--hair); border-radius: 999px; background: color-mix(in srgb, var(--bg) 92%, transparent);
  opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
#homeStage.live .spin-hint { opacity: 1; transform: none; transition-delay: 3.2s; }
#homeStage.turned .spin-hint { opacity: 0; transition-delay: 0s; }

/* tablets held upright: a shorter stage so the words and buttons fit the first screen */
@media (min-width: 561px) and (max-width: 960px) {
  .stage { height: min(60svh, 680px); min-height: 440px; }
  .stage .stage-inner { transform: translateX(10%); }
}
@media (prefers-reduced-motion: reduce) {
  .depth-plane::before { animation: none; }
  .depth-plane { transition: none; }
  .hang.reveal { opacity: 1; transform: none; }
  .spin-hint { display: none; }
}
@media print { .depth-field { display: none; } }

/* ======================= v6: Priy's page-by-page changes ======================= */
/* header: the 3D mark and name on the left, the tabs in the middle, the language on the right */
.hdr { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; }
.brand { justify-self: start; gap: 13px; }
.brand-mark { width: 41px; height: 41px; flex: none; }
.brand-mark.live canvas, .brand-mark canvas { cursor: inherit; }
[data-logo3d].brand-mark .mark-flat { width: 100%; height: 100%; }
.brand-name { font-size: 19px; }
.brand-name [data-l="hi"] { font-size: 21.5px; }
.nav { margin-left: 0; justify-self: center; }
.tools { justify-self: end; }
@media (max-width: 1240px) { .brand-name { font-size: 18px; } .brand-name [data-l="hi"] { font-size: 20.5px; } .nav a { padding: 8px 8px; font-size: 14.5px; } }
@media (max-width: 560px) { .brand-name { display: inline; font-size: 17px; } .brand-name [data-l="hi"] { font-size: 19.5px; } }
@media (max-width: 960px) {
  :root { --hdr: 104px; }
  .hdr { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 58px 46px; row-gap: 0; align-items: center; }
  .nav { display: flex; grid-column: 1 / -1; grid-row: 2; justify-self: stretch; overflow-x: auto; gap: 2px; scrollbar-width: none;
         margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); border-top: 1px solid var(--hair); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; white-space: nowrap; font-size: 14.5px; padding: 8px 10px; }
  .nav a:first-child { margin-left: auto; } .nav a:last-child { margin-right: auto; }
}

/* no long ink rules beside names and headings */
.hang::before { display: none !important; }

/* hero */
.nw { white-space: nowrap; }
.hero-copy .lead { max-width: 36ch; }
.hero-title .glyphs.latin { letter-spacing: -.02em; }
.ptr-coarse { display: none; }
@media (pointer: coarse) { .ptr-fine { display: none; } .ptr-coarse { display: inline; } }
.spin-hint { white-space: normal; max-width: min(78%, 420px); text-align: right; }

/* Prajña: the yantra in 3D, with a light path through it (sun by day, moon by night) */
:root { --beam: rgba(242, 182, 50, .13); --beam-core: rgba(255, 212, 110, .42); --yshadow: rgba(7, 8, 10, .22); }
:root[data-light="night"] { --beam: rgba(150, 178, 255, .10); --beam-core: rgba(205, 218, 255, .34); --yshadow: rgba(0, 0, 0, .55); }
.ycta { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding-right: 8px; text-decoration: none; color: var(--text); }
.ycta-art { position: relative; width: 48px; height: 48px; display: block; perspective: 240px; }
.ycta-beam { position: absolute; left: 50%; top: 50%; width: 240px; height: 30px; margin: -15px 0 0 -120px; z-index: -1; pointer-events: none;
  transform: rotate(var(--lgt-ang, 38deg));
  background: linear-gradient(90deg, transparent 0, var(--beam) 22%, var(--beam-core) 47%, transparent 52%, var(--beam) 60%, transparent 92%);
  -webkit-mask-image: linear-gradient(0deg, transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(0deg, transparent, #000 35%, #000 65%, transparent);
  transition: transform 1.6s var(--ease); }
.ycta-shadow { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--yshadow);
  transform: translate(calc(var(--lgt-dx, 6px) * 1.4), calc(var(--lgt-dy, 6px) * 1.4)) scale(1.04); transition: transform 1.6s var(--ease); }
.ycta-shadow svg { width: 100%; height: 100%; overflow: visible; filter: blur(1.6px); }
.ycta-3d { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--yx, 16deg)) rotateY(var(--yy, -20deg)); transition: transform .9s var(--ease); }
.ycta-3d svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ycta-3d .l1 { transform: translateZ(0); } .ycta-3d .l2 { transform: translateZ(8px); } .ycta-3d .l3 { transform: translateZ(16px); }
.ycta:hover .ycta-3d, .ycta:focus-visible .ycta-3d { --yy: 22deg; --yx: -8deg; }
.ycta-name { font: 400 23px/1 var(--f-display); }
.ycta-name [lang="hi"] { font-size: 25px; }
@media (prefers-reduced-motion: no-preference) { .ycta-3d { animation: yDrift 11s ease-in-out infinite; } .ycta:hover .ycta-3d { animation-play-state: paused; } }
@keyframes yDrift { 0%, 100% { transform: rotateX(16deg) rotateY(-20deg); } 50% { transform: rotateX(10deg) rotateY(14deg); } }

/* the sun switch: the only day/night control, with a sun or a moon at its corner */
.sunpath { cursor: pointer; }
.sp-art { position: relative; display: inline-block; width: 64px; height: 30px; flex: none; }
.sp-icon { position: absolute; right: -10px; top: -10px; width: 15px; height: 15px; color: var(--amaltas); transition: color .6s var(--ease), transform .6s var(--ease); }
.sunpath[data-night="1"] .sp-icon { color: var(--text-2); transform: rotate(-12deg); }
.sunpath:hover .sp-art { transform: translateY(-1px); }
.ftr .sunpath { position: static; padding: 0; color: inherit; font-size: 13px; }
.ftr .sunpath .arc, .ftr .sunpath .hz { stroke: currentColor; opacity: .45; }
.ftr .sunpath b { color: inherit; }
.ftr .sunpath[data-night="1"] .sp-icon { color: currentColor; }

/* pop-ups: the safety key (robot) and the i button (Prajña) */
.explorer { position: relative; }
.pop { position: absolute; z-index: 30; width: min(460px, calc(100vw - 2 * var(--gutter))); max-height: min(70svh, 640px); overflow: auto;
  background: var(--surface); color: var(--text); border: 1px solid var(--hair); border-radius: 18px; padding: 16px 20px 20px;
  box-shadow: var(--shx, 6px) var(--shy, 8px) calc(var(--shb, 10px) * 3) rgba(7, 8, 10, .14);
  opacity: 0; transform: translateY(10px) scale(.97); transform-origin: top right; transition: opacity .28s var(--ease), transform .38s var(--ease); }
.pop.in { opacity: 1; transform: none; }
.pop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.pop-head .h3 { margin: 0; }
.pop-x { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--hair); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.pop-x svg { width: 14px; height: 14px; }
.pop .ticks { margin: 0; }
.pop .ticks li { font-size: 15px; }
#safetyPop { right: 0; top: 96px; }
.demo { position: relative; }
.pop-inline { left: 0; top: 46px; transform-origin: top left; }
@media (max-width: 960px) { .pop { position: fixed; left: var(--gutter); right: var(--gutter); top: auto; bottom: 14px; width: auto; transform-origin: bottom center; } #safetyPop { right: var(--gutter); top: auto; } }

.key-btn { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 18px; padding: 12px 16px 12px 12px; border-radius: 16px; border: 1px solid var(--hair); background: var(--surface); color: var(--text); text-align: left; cursor: pointer; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.key-btn:hover { border-color: var(--text-3); transform: translateY(-1px); }
.key-art { flex: none; width: 60px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #07080A; color: var(--amaltas); }
.key-art svg { width: 44px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; transform-origin: 11px 12px; transition: transform .55s var(--ease); }
.key-art svg .h { fill: currentColor; stroke: none; }
.key-btn[aria-expanded="true"] .key-art svg { transform: rotate(90deg); }
.key-btn b { display: block; font-weight: 500; }
.key-btn small { display: block; color: var(--text-3); font-size: 13px; line-height: 1.4; margin-top: 2px; }

.demo-title { display: flex; align-items: center; gap: 10px; }
.demo-title .h3 { margin: 0; }
.info-btn { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; font: italic 500 14px/1 Georgia, 'Times New Roman', serif; transition: background-color .2s var(--ease), color .2s var(--ease); }
.info-btn:hover { color: var(--text); border-color: var(--text-3); }
.info-btn[aria-expanded="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.section.prajna-main { padding-top: 0; }
.prajna-main .prajna-grid { align-items: center; }
[data-view="prajna"] .page-top .sec-head { margin-bottom: clamp(12px, 2vw, 24px); }

/* roadmap: one thin line, ten dots, HUD tabs in grey, black and yellow */
.road.road-hud { list-style: none; position: relative; display: grid; gap: 16px; padding: 4px 0 4px 40px; border: 0; max-width: 900px; }
.road.road-hud::before { content: ""; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 1px; background: var(--text-3); opacity: .55; }
.road.road-hud li { display: block; position: relative; padding: 0; border: 0; }
.road.road-hud .hud-dot { position: absolute; left: -34px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--text); }
.road.road-hud li[data-tone="done"] .hud-dot { background: var(--text); }
.road.road-hud li[data-tone="progress"] .hud-dot { background: var(--amaltas); border-color: var(--amaltas); box-shadow: 0 0 0 5px color-mix(in srgb, var(--amaltas) 24%, transparent); }
.road.road-hud li[data-tone="concept"] .hud-dot { border-style: dashed; }
.hud { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 13px 18px 13px 16px;
  background: color-mix(in srgb, var(--text) 6%, var(--bg));
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.hud::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 2px; background: var(--amaltas); }
.hud::after { content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 2px; background: var(--text); opacity: .7; }
.hud-n { font: 500 12px/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .14em; color: var(--text-3); }
.hud h3 { margin: 0; font: 400 19px/1.3 var(--f-display); }
.hud-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; font: 500 11.5px/1.2 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.hud-meta [lang="hi"] { font-family: var(--f-text); letter-spacing: 0; font-size: 13px; }
.hud-meta b { font-weight: 500; padding: 3px 8px; }
.hud-meta > span { color: var(--text-3); }
.road.road-hud li[data-tone="done"] .hud-meta b { background: #07080A; color: #EDEFF2; }
.road.road-hud li[data-tone="progress"] .hud-meta b { background: var(--amaltas); color: #07080A; }
.road.road-hud li[data-tone="planned"] .hud-meta b, .road.road-hud li[data-tone="concept"] .hud-meta b { color: var(--text-2); box-shadow: inset 0 0 0 1px var(--rule); }
:root[data-light="night"] .road.road-hud li[data-tone="done"] .hud-meta b { background: #EDEFF2; color: #07080A; }
@media (max-width: 560px) {
  .road.road-hud { padding-left: 32px; }
  .road.road-hud .hud-dot { left: -27px; }
  .road.road-hud::before { left: 9px; }
  .hud { grid-template-columns: auto minmax(0, 1fr); }
  .hud-meta { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; white-space: normal; }
}

/* about: the two meanings held between thin arcs, the factory of light below */
.about-left { display: grid; gap: 22px; align-content: start; }
.meanings { position: relative; width: fit-content; max-width: 100%; padding: 16px 40px; display: grid; gap: 4px; }
.mean { margin: 0; font: 300 clamp(26px, 2.5vw, 38px)/1.45 var(--f-display); white-space: nowrap; }
.mean b { font-weight: 400; }
.mean-arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mean-arcs path { fill: none; stroke: var(--text); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.mean-arcs .r { stroke: var(--amaltas); stroke-width: 1.5; }
[data-view="about"].on .mean-arcs path { animation: arcIn 1.6s var(--ease) both .2s; }
[data-view="about"].on .mean-arcs .r { animation-delay: .5s; }
@keyframes arcIn { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.factory { position: relative; width: 100%; aspect-ratio: 1 / 1.08; max-height: 720px; border-radius: 22px; overflow: hidden; }
.factory .poster { position: absolute; inset: 12% 30%; opacity: .5; transition: opacity .8s var(--ease); }
.factory .poster img { width: 100%; height: 100%; object-fit: contain; }
.factory.live .poster { opacity: 0; }
.factory .gl-slot { position: absolute; inset: 0; }
.factory .gl-slot canvas { width: 100% !important; height: 100% !important; display: block; touch-action: pan-y; }
.factory-cap { margin: -8px 0 0; }
.about-h { margin: 0 0 12px; }
.about-grid p + .about-h { margin-top: 30px; }
@media (max-width: 560px) { .mean { white-space: normal; } .meanings { padding: 14px 30px; } }

/* investors: Srijan at the desk */
.inv-coder { margin: 28px 0 0; }
.inv-coder img { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--surface); }
.inv-coder figcaption { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .ycta-3d, .mean-arcs path { animation: none !important; } }

/* ======================= v7 ======================= */
/* Prajña yantra: a solid 3D object you can turn, with current running along the path */
.y3d { perspective: 1100px; touch-action: pan-y; cursor: grab; }
.y3d.turning { cursor: grabbing; }
.yantra-stack { transition: none; will-change: transform; }
.yantra-stack .y-back { transform: translateZ(-46px) scale(1.035); opacity: 1; }
.yantra-stack .y-front { transform: translateZ(46px) scale(.965); filter: none; }
.yantra-stack .y-slab { pointer-events: none; }
.yantra-stack .y-slab .tri { stroke-width: 2.2; }
.yantra-stack::after { /* its shadow on the page, thrown by the sun or the moon */
  content: ""; position: absolute; inset: 14% 12%; border-radius: 50%; transform: translateZ(-120px) translate(var(--shx, 8px), calc(var(--shy, 10px) + 26px));
  background: radial-gradient(closest-side, rgba(7, 8, 10, .16), transparent 72%); pointer-events: none;
}
.yantra .trail { stroke-width: 1.6; opacity: .55; }
.yantra .trail-glow { fill: none; stroke: var(--amaltas); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-opacity: .16; }
.yantra .trail-flow { fill: none; stroke: #FFD978; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 9 15; }
:root[data-light="day"] .yantra .trail-flow, :root:not([data-light="night"]) .yantra .trail-flow { stroke: #E39A00; }
.yantra .charge { fill: #fff; stroke: var(--amaltas); stroke-width: 2; vector-effect: non-scaling-stroke; }
.yantra-stack.live .trail-flow { animation: currentFlow .9s linear infinite; }
.yantra-stack.live .trail-glow { animation: currentPulse 1.2s ease-in-out infinite; }
@keyframes currentFlow { to { stroke-dashoffset: -24; } }
@keyframes currentPulse { 50% { stroke-opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .yantra-stack.live .trail-flow, .yantra-stack.live .trail-glow { animation: none; } }

/* roadmap: lines 06 onward have not started, so they are grey from dot to badge */
.road.road-hud li[data-later] .hud-dot { background: var(--bg); border: 1.5px solid var(--text-3); border-style: solid; box-shadow: none; }
.road.road-hud li[data-later] .hud::before, .road.road-hud li[data-later] .hud::after { background: var(--text-3); opacity: .5; }
.road.road-hud li[data-later] .hud { background: color-mix(in srgb, var(--text) 4%, var(--bg)); }
.road.road-hud li[data-later] h3, .road.road-hud li[data-later] .hud-n { color: var(--text-3); }
.road.road-hud li[data-later] .hud-meta b { background: transparent; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--hair); }
.road.road-hud li[data-later] .hud-meta > span { color: var(--text-3); }

/* about: the assembly line render */
.line-fig { margin: 0; }
.line-fig img { display: block; width: 100%; height: auto; border-radius: 18px; }
.line-fig figcaption { margin-top: 12px; max-width: 60ch; }

/* pictures that follow the light: sun version by day, moon version by night */
.only-night { display: none; }
:root[data-light="night"] .only-night { display: block; }
:root[data-light="night"] .only-day { display: none; }
.inv-coder img { background: transparent; }

/* newsroom */
.newsroom { border-top: 1px solid var(--hair); }
.eyebrow { margin: 0 0 10px; font: 500 12px/1.2 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.eyebrow [lang="hi"] { font-family: var(--f-text); letter-spacing: 0; font-size: 14px; text-transform: none; }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.news-head .h2 { margin: 0; }
.news-sub { margin: 10px 0 0; max-width: 46ch; }
.news-tabs { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 4px; border: 1px solid var(--hair); border-radius: 999px; }
.news-tabs::-webkit-scrollbar { display: none; }
.news-tabs button { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease); }
.news-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.news-item { display: grid; gap: 10px; align-content: start; padding: 20px 22px 22px; border: 1px solid var(--hair); border-radius: 18px; background: var(--surface); }
.news-item .h3, .news-item p { margin: 0; }
.news-item p { color: var(--text-2); font-size: 15.5px; }
.news-meta { display: flex; gap: 12px; align-items: center; font: 500 11.5px/1.2 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3) !important; }
.news-meta b { font-weight: 500; padding: 3px 8px; background: var(--amaltas); color: #07080A; }
.news-meta [lang="hi"] { font-family: var(--f-text); letter-spacing: 0; font-size: 13px; }
.news-link { justify-self: start; color: var(--text); text-underline-offset: 4px; font-size: 15px; }
.news-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; text-align: center; padding: clamp(36px, 7vw, 72px) 20px; border: 1px dashed var(--rule); border-radius: 22px; }
.news-empty .h3, .news-empty p { margin: 0; }
.news-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--amaltas); box-shadow: 0 0 0 0 color-mix(in srgb, var(--amaltas) 50%, transparent); animation: newsPulse 2.4s ease-out infinite; margin-bottom: 8px; }
@keyframes newsPulse { to { box-shadow: 0 0 0 16px transparent; } }
@media (prefers-reduced-motion: reduce) { .news-pulse { animation: none; } }

/* effects the studio can switch off */
.fx-no-floor .depth-field { display: none; }
.fx-no-grain body::after { display: none; }
.fx-no-fold .hang.reveal { opacity: 1; transform: none; transition: none; }
.fx-no-tilt [data-tilt] { transform: none !important; }

/* phones and tablets: fewer moving layers, lighter paint */
@media (max-width: 960px), (pointer: coarse) {
  .depth-plane { transition: none; transform: rotateX(70deg); }
  .depth-plane::before { animation: none; will-change: auto; }
  .ycta-3d { animation: none !important; }
  .yantra-stack { will-change: auto; }
}
@media (max-width: 560px) { .depth-field { display: none; } body::after { display: none; } }
/* phones and tablets: the header slides away while reading down and returns on the way up */
@media (max-width: 960px) {
  .hdr { transition: transform .32s var(--ease); will-change: transform; }
  .hdr.away { transform: translateY(-101%); }
}

.ftr .wrap { padding-bottom: 104px; }

/* Internships (Contact page) */
.intern-sub { max-width: 60ch; margin-top: 6px; }
.intern-list li { display: grid; align-content: start; gap: 2px; }
.intern-apply { justify-self: start; margin-top: 12px; color: var(--text); text-underline-offset: 3px; }
.intern-how { max-width: 64ch; margin-top: 18px; }
@media (min-width: 1100px) { .intern-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Explorer: camera views, turntable, full view, spread */
.ex-view { position: absolute; right: 12px; top: 12px; z-index: 3; display: grid; gap: 4px; justify-items: end; }
.ex-ic { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 64px; height: 30px; padding: 0 12px; border: 1px solid var(--hair); border-radius: 999px; background: color-mix(in srgb, var(--bg) 82%, transparent); color: var(--text-2); font: 500 13px/1 var(--f-text, inherit); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease); }
.ex-ic[lang="hi"], .ex-ic span[lang="hi"] { font-size: 13.5px; }
.ex-ic:hover { border-color: var(--text); color: var(--text); }
.ex-ic.sq { min-width: 0; width: 34px; height: 34px; padding: 0; margin-top: 4px; }
.ex-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ex-ic[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.ex-ic .c { display: none; }
.ex-ic[aria-pressed="true"] .o { display: none; }
.ex-ic[aria-pressed="true"] .c { display: inline; }
.ex-hint { max-width: calc(100% - 110px); }
.ex-stage .gl-progress { right: 92px; }
.ex-spread { display: inline-flex; align-items: center; padding: 0 10px; height: 36px; border: 1px solid var(--hair); border-radius: 999px; background: color-mix(in srgb, var(--bg) 82%, transparent); }
.ex-spread[hidden] { display: none; }
.ex-spread input { width: 110px; accent-color: var(--amaltas); }
html.ex-lock, html.ex-lock body { overflow: hidden; }
html.ex-lock main { z-index: 110; }
.explorer.is-full { position: fixed; inset: 0; z-index: 140; margin: 0; height: 100svh; min-height: 0; border: 0; background: var(--bg); overflow: auto; overscroll-behavior: contain; }
.explorer:fullscreen { background: var(--bg); }
.explorer.is-full .ex-stage { min-height: 0; height: 100svh; }
@media (max-width: 1180px) { .explorer.is-full .ex-info { display: none; } }
@media (max-width: 960px) {
  .explorer.is-full { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .explorer.is-full .ex-stage { height: auto; min-height: 0; }
  .explorer.is-full .ex-index { padding-inline: 12px; }
}
@media (max-width: 600px) { .ex-spread input { width: 84px; } }
.explorer.is-full .ex-index { padding-left: var(--gutter); }
.explorer.is-full .ex-info { padding-right: var(--gutter); }

/* Newsroom: post links and sharing */
.news-item { position: relative; scroll-margin-top: calc(var(--hdr, 64px) + 24px); }
.news-item.is-target { border-color: var(--amaltas); box-shadow: 0 0 0 1px var(--amaltas); }
.news-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.news-share { position: relative; }
.news-share-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--hair); border-radius: 999px; background: transparent; color: var(--text-2); font-size: 14px; cursor: pointer; }
.news-share-btn:hover, .news-share-btn[aria-expanded="true"] { border-color: var(--text); color: var(--text); }
.news-share-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.share-pop { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 5; display: grid; min-width: 180px; padding: 6px; border: 1px solid var(--hair); border-radius: 14px; background: var(--bg); box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .28); }
.share-pop a, .share-pop button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: var(--text); font: inherit; font-size: 15px; text-align: left; text-decoration: none; cursor: pointer; }
.share-pop a:hover, .share-pop button:hover, .share-pop a:focus-visible, .share-pop button:focus-visible { background: var(--surface); }

/* The studio floor: a fine grid that fades into the dark (by day, ink on ceramic). No class needed: it is the default. */
:root { --grid-major: rgba(7, 8, 10, .085); --grid-minor: rgba(7, 8, 10, .035); --grid-glow: rgba(255, 255, 255, .55); }
:root[data-light="night"] { --grid-major: rgba(220, 226, 236, .17); --grid-minor: rgba(220, 226, 236, .06); --grid-glow: rgba(205, 214, 230, .07); }
:root[data-light="night"] body { background: radial-gradient(ellipse 70% 55% at 50% 38%, #17191d 0%, #0b0c0f 62%, #060708 100%) fixed, #08090b; }
:root:not([data-light="night"]) body { background: radial-gradient(ellipse 70% 55% at 50% 38%, color-mix(in srgb, var(--bg) 70%, #fff) 0%, var(--bg) 62%, color-mix(in srgb, var(--bg) 94%, #000) 100%) fixed, var(--bg); }
.depth-plane { top: 44%; opacity: 1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 55%, transparent 92%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 55%, transparent 92%); }
.depth-plane::before { inset: -80px 0 0 0;
  background-image: linear-gradient(var(--grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--grid-major) 1px, transparent 1px), linear-gradient(var(--grid-minor) 1px, transparent 1px), linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; animation: fieldDriftGrid 40s linear infinite; }
@keyframes fieldDriftGrid { to { transform: translate3d(0, 80px, 0); } }
.depth-field::after { content: ""; position: absolute; left: 10%; right: 10%; top: 38%; height: 30%; background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--grid-glow), transparent 70%); }
html.floor-plain .depth-plane::before { background-image: none; }

/* ---------- Prajña in 3D: the yantra as an object, with its neural lattice; labels are real text over the canvas */
.y3d.y3-live { perspective: none; }
.y3 { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; --y3-fs: 14px; }
.y3d.turning .y3 { cursor: grabbing; }
.y3 .y3-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.y3 .y3-lead { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.y3 .y3-lead line { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 1.5 3.5; }
.y3 .y3-labels { position: absolute; inset: 0; pointer-events: none; }
.y3-l { position: absolute; left: 0; top: 0; white-space: nowrap; font: 500 var(--y3-fs)/1.25 var(--f-text); color: var(--text); letter-spacing: .005em;
  transition: color .35s var(--ease), opacity .35s var(--ease); will-change: transform; }
.y3-l[lang="hi"] { font-size: calc(var(--y3-fs) * 1.08); line-height: 1.35; }
.y3-l.t { translate: -50% -100%; text-align: center; }
.y3-l.b { translate: -50% 0; text-align: center; }
.y3-l.l { translate: -100% -50%; text-align: right; padding-right: 2px; }
.y3-l.r { translate: 0 -50%; text-align: left; padding-left: 2px; }
.y3-l.c { translate: -50% -50%; text-align: center; }
.y3-l.gate { font-weight: 400; color: var(--text-3); font-size: calc(var(--y3-fs) * .94); text-transform: none; }
.y3-l.action { color: var(--accent-text); }
.y3-l.hot { color: var(--amaltas); }
@media (min-width: 961px) {
  .prajna-main .prajna-grid { align-items: start; }
  .prajna-main .yantra-wrap { position: sticky; top: calc(var(--hdr) + 28px); }
}
.y3-l { text-shadow: 0 0 3px var(--bg), 0 0 6px var(--bg), 0 0 10px var(--bg); }
.y3::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--amaltas) 9%, transparent), transparent 72%); opacity: 0; transition: opacity 1.2s var(--ease); }
:root[data-light="night"] .y3::before { opacity: 1; }

/* ---------- explorer lab: joints, balance, measure ---------- */
.ex-vsep { display: block; width: 22px; height: 1px; background: var(--hair); margin: 6px 6px 2px auto; }
.ex-ic.lab { gap: 7px; min-width: 0; padding: 0 12px 0 9px; }
.ex-ic.lab svg { width: 16px; height: 16px; }
.ex-ic.lab[aria-pressed="true"] svg { stroke: var(--amaltas); }
.ex-hud { position: absolute; left: 14px; bottom: 70px; z-index: 3; width: 210px; padding: 12px 14px 12px; border: 1px solid var(--hair); border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 90%, transparent); font-size: 13px; line-height: 1.35; display: grid; gap: 2px; }
.ex-hud[hidden] { display: none; }
.ex-hud p { margin: 0; max-width: none; }
.ex-hud .hud-k { font: 500 10.5px/1.3 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }
.ex-hud .hud-k:first-child { margin-top: 0; }
:root[data-lang="hi"] .ex-hud .hud-k { font-family: var(--f-text); font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.ex-hud .hud-v { color: var(--text-2); }
.ex-hud .hud-v b { font: 400 20px/1.2 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.ex-hud .hud-v b.bad, .ex-hud .hud-s.bad { color: #E0483E; }
.ex-hud .hud-s { margin-top: 6px; font-size: 12.5px; color: var(--accent-text); }
.ex-hud .hud-s.ok::before, .ex-hud .hud-s.bad::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 1px; }
.ex-hud .hud-n { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.ex-hud .hud-bar { display: block; height: 2px; margin-top: 8px; background: var(--hair); border-radius: 2px; overflow: hidden; }
.ex-hud .hud-bar i { display: block; height: 100%; background: var(--amaltas); transition: width .12s linear; }
.ex-dims { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.ex-dims > span { position: absolute; left: 0; top: 0; translate: -50% -50%; padding: 3px 8px; border-radius: 7px; white-space: nowrap;
  background: color-mix(in srgb, var(--bg) 88%, transparent); border: 1px solid var(--hair); font: 500 12.5px/1.2 var(--f-text); font-variant-numeric: tabular-nums; }
.ex-dims > span i { font-style: normal; color: var(--text-3); margin-right: 6px; font-weight: 400; }
.ex-jtip { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; translate: 16px -50%; display: grid; gap: 1px; padding: 7px 10px; border-radius: 9px;
  background: var(--text); color: var(--bg); font-size: 12.5px; line-height: 1.3; white-space: nowrap; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .5); }
.ex-jtip[hidden] { display: none; }
.ex-jtip b { font-weight: 500; }
.ex-jtip span { opacity: .78; font-variant-numeric: tabular-nums; }
.ex-jtip i { font-style: normal; color: var(--amaltas); font-size: 11.5px; }
:root:not([data-light="night"]) .ex-jtip i { color: #8A5D00; }
.ex-hint.ok { color: var(--accent-text); }
.ex-hint.ok > span { display: none; }
.ex-hint.ok::after { content: attr(data-ok); }
/* the joint-control panel */
.jog { display: grid; gap: 10px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--hair); }
.jog h4 { margin: 0; font: 500 11px/1.3 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
:root[data-lang="hi"] .jog h4 { font-family: var(--f-text); font-size: 13px; letter-spacing: 0; text-transform: none; }
.jog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jog-head .chip { min-height: 30px; padding: 0 12px; font-size: 13px; white-space: nowrap; flex: none; }
.jog-head h4 { min-width: 0; }
.ex-info ul.jog-dof { gap: 0; }
.ex-info ul.jog-dof li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--hair); }
.ex-info ul.jog-dof li::before { display: none; }
.jog-dof b { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; font-size: 13px; }
.jog-dof .linkish { font-size: var(--t-small); color: var(--text-2); }
.jog-list { list-style: none; display: grid; gap: 12px; max-height: min(52vh, 460px); overflow: auto; padding-right: 6px; margin-right: -6px; overscroll-behavior: contain; scrollbar-width: thin; }
.ex-info .jog-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.ex-info .jog-list li::before { display: none; }
.jog-list label { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--text); }
.jog-list output { font-variant-numeric: tabular-nums; color: var(--accent-text); font-size: 13px; }
.jog-list .jr { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.jog-list input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; cursor: pointer; }
.jog-list input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--rule); border-radius: 2px; }
.jog-list input[type="range"]::-moz-range-track { height: 2px; background: var(--rule); border-radius: 2px; }
.jog-list input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text); }
.jog-list input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text); }
.jog-list input[type="range"]:focus-visible { outline: none; }
.jog-list input[type="range"]:focus-visible::-webkit-slider-thumb { border-color: var(--amaltas); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amaltas) 30%, transparent); }
.jog-list input[type="range"]:active::-webkit-slider-thumb { background: var(--amaltas); border-color: var(--amaltas); }
@media (max-width: 960px) {
  .ex-hud { top: 10px; bottom: auto; left: 10px; width: auto; max-width: calc(100% - 132px); padding: 8px 11px; gap: 0; }
  .ex-hud .hud-n { display: none; }
  .ex-hud .hud-v b { font-size: 16px; }
  .ex-hud .hud-k { margin-top: 4px; font-size: 9.5px; }
  .ex-hud .hud-s { margin-top: 3px; font-size: 12px; }
  .jog-list { max-height: none; }
}

.ex-hud .hud-v, .ex-hud .hud-s, .ex-hud .hud-n { font-family: var(--f-text); letter-spacing: 0; text-transform: none; }
.explorer.lab-on .ex-hint { opacity: 0; pointer-events: none; }
.explorer.lab-on .ex-hint.ok { opacity: 1; }
.jog-head h4 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jog-head h4 em { font-style: normal; color: var(--text); }
@media (prefers-reduced-motion: reduce), (max-width: 960px), (pointer: coarse) { .depth-plane::before { animation: none; } }

/* keyboard users: the skip link appears when focused */
#skipLink:focus, #skipLink:focus-visible { position: fixed !important; left: var(--edge); top: 10px; z-index: 200; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; text-decoration: none; outline: 2px solid var(--amaltas); outline-offset: 2px; }
.demo-form input { min-height: 48px; }
@media (max-width: 560px) { .demo-form input { flex: none; width: 100%; } }
@media (max-width: 960px) { .hdr { background: var(--bg); } }

.ex-hud .hud-line { display: none; }
@media (max-width: 960px) {
  .ex-hud > :not(.hud-line):not(.hud-bar) { display: none; }
  .ex-hud:not(:has(.hud-line)) > .hud-k, .ex-hud:not(:has(.hud-line)) > .hud-v { display: block; }
  .ex-hud .hud-line { display: block; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
  .ex-hud .hud-line b { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
  .ex-hud .hud-line::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--amaltas); }
  .ex-hud .hud-line.bad::before { background: #E0483E; }
  .ex-hud { padding: 6px 10px; border-radius: 999px; }
}
/* review fixes: the Balance box sits top-left, clear of the pose buttons; joint control scrolls inside the panel */
@media (min-width: 961px) { .ex-hud { top: 12px; bottom: auto; } }
@media (min-width: 1121px) { .ex-info { max-height: min(82svh, 860px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; } .jog-list { max-height: none; overflow: visible; } }

/* ---------- one background grid for the whole site (source/bggrid.js): the old CSS plane retires ---------- */
.depth-plane, .depth-field::after { display: none; }
.depth-field .bg-grid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 560px) { .depth-field { display: block; } }
.fx-no-floor .depth-field { display: none; }
/* no CSS mask (or filter) on a WebGL canvas, ever: iPhone browsers then keep a stale frame behind the live one.
   The shadow fades out in its own shader instead (robot3d.js). */
/* full view: the grid canvas moves into the explorer (it works in real full screen too) */
:root[data-light="night"] { --page-bg: radial-gradient(ellipse 70% 55% at 50% 38%, #17191d 0%, #0b0c0f 62%, #060708 100%); }
:root:not([data-light="night"]) { --page-bg: radial-gradient(ellipse 70% 55% at 50% 38%, color-mix(in srgb, var(--bg) 70%, #fff) 0%, var(--bg) 62%, color-mix(in srgb, var(--bg) 94%, #000) 100%); }
.explorer.is-full { isolation: isolate; background: var(--page-bg), var(--bg); }
.explorer.is-full > .bg-grid { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }

/* Studio: things Priy hides from the site (content.js). The studio's edit view shows them faded instead. */
.sr-hide, .sr-pageoff { display: none !important; }
/* full screen: the bindu pointer moves into the explorer (app.js setFull), so it still shows */

/* ======================= v9: the studio (source/stage.js) ======================= */
/* An endless polished floor drawn with Srijan's own camera. The strip (.depth-field) is sticky, so the browser carries it
   with his stage: pinned while the stage is pinned, scrolling while it scrolls, pinned again after. .bg-wrap spans the
   body and clips the strip, so it never adds scroll room. Tile A covers what travels with the stage (--bg-x tall),
   tile B the next screen. No mask or filter on it, ever. */
body { position: relative; }
.bg-wrap.gl { position: absolute; inset: 0; z-index: 0; overflow: clip; contain: paint; pointer-events: none; }
.bg-run { display: none; }
.bg-wrap.gl > .bg-run { display: block; height: var(--bg-run, 0px); } /* places the strip; a margin would count against the sticky range */
.depth-field.bg-gl {
  position: sticky; inset: auto; left: 0; right: 0; top: calc(-1 * var(--bg-x, 0px));
  height: calc(100vh + var(--bg-x, 0px));
  perspective: none; background: var(--bg); opacity: 0; transition: opacity 1.4s var(--ease); contain: strict;
}
.depth-field.bg-gl.on { opacity: 1; }
/* desktop home: pinned at the top until the story ends (dvh keeps it right while a browser bar moves) */
.depth-field.bg-gl.is-run { bottom: calc(-1 * var(--bg-x, 0px)); }
@supports (height: 100lvh) {
  .depth-field.bg-gl { height: calc(100lvh + var(--bg-x, 0px)); }
  .depth-field.bg-gl.is-run { bottom: calc(100dvh - 100lvh - var(--bg-x, 0px)); }
  .depth-field .bg-b { height: 100lvh; }
}
.depth-field .bg-stage { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; }
.depth-field .bg-a { top: 0; height: var(--bg-x, 0px); }
.depth-field .bg-b { top: var(--bg-x, 0px); height: 100vh; }
.explorer.is-full > .bg-stage.is-full { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
@media (max-width: 560px) { .depth-field.bg-gl { display: block; } }
.fx-no-floor .bg-wrap { display: none; }
@media print { .bg-wrap { display: none; } }
/* the sun's glow and the paper grain retire: the studio carries the light */
body::before { display: none; }

/* English only, dark only (v9): the switches go; the Hindi text and the day colours stay in the code for later */
.lang, [data-sunpath] { display: none !important; }
/* a fully opaque surface on its own compositing layer (the footer holds a 3D logo) can make Chrome cull the studio
   canvas under it too eagerly; a whisper of transparency keeps it out of that path */
:root[data-light="night"] .ftr { background: color-mix(in srgb, var(--surface) 99.6%, transparent); }

/* ======================= v9: rhythm and type (re-aligned) ======================= */
/* one scale (≈1.25 on a 17px body), one rhythm: sections breathe the same everywhere, nothing floats in empty space */
:root {
  --t-1: clamp(40px, 4.6vw, 66px);
  --t-2: clamp(28px, 2.9vw, 40px);
  --t-3: clamp(20px, 1.7vw, 24px);
  --t-small: 14px;
}
h1, h2, h3, .h1, .h2 { text-wrap: balance; letter-spacing: -0.012em; }
p, li { text-wrap: pretty; }
.section { padding-block: clamp(44px, 5.6vw, 88px); }
.section.tight { padding-block: clamp(28px, 4vw, 56px); }
.page-top { padding-top: clamp(28px, 4vw, 60px); }
.ftr { margin-top: clamp(28px, 3.5vw, 56px); }
/* the scroll story: each chapter is a quiet stop, its number set large, its words small */
.story-intro { padding-top: clamp(40px, 7vh, 96px); padding-bottom: 2vh; gap: 14px; }
.panel { min-height: 64svh; padding-block: 4vh; gap: 12px; }
.panel .idx { align-items: baseline; gap: 12px; font-size: 13px; letter-spacing: .02em; }
.panel .idx i { font: 300 clamp(52px, 5.2vw, 88px)/.9 var(--f-display); letter-spacing: -0.03em; }
.panel p { font-size: 17px; line-height: 1.65; max-width: 40ch; }
.story-end { padding-block: 6vh 8vh; }
/* labels in sentence case, small and quiet (no shouting capitals) */
.eyebrow { font: 500 13px/1.3 var(--f-text); letter-spacing: .01em; text-transform: none; color: var(--text-3); }
.news-meta { font: 500 12.5px/1.3 var(--f-text); letter-spacing: .01em; text-transform: none; }
@media (max-width: 960px) {
  .panel { min-height: 0; padding-block: 24px; }
  .panel .idx i { font-size: 44px; }
  .story-intro { padding-top: 40px; }
}
