/* Vyoma Group — site chrome v2 (Nov 2026): header, mobile sheet, footer + light site-wide motion.
   Loaded on EVERY page next to that page's own stylesheet. Every class is prefixed vg- and every rule is scoped to .vg
   so nothing leaks into vyoma.css / style.css pages, and nothing from them leaks in. Light mode only, site-wide. */

html { color-scheme: light only; }
.vg {
  --vg-bg: #FAF8F5; --vg-bg2: #F2EDE7; --vg-bg3: #EAE3DA; --vg-card: #FFFDFA;
  --vg-ink: #1A1714; --vg-ink2: #4A4540; --vg-muted: #6B6560; --vg-line: #E0DDD8; --vg-line2: #D2CCC4;
  --vg-acc: #E8622A; --vg-acc-ink: #B4461A; --vg-on-acc: #FFFFFF;
  --vg-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --vg-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --vg-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --vg-ease: cubic-bezier(.2, .7, .2, 1);
  --vg-shadow: 0 2px 4px rgba(26, 23, 20, .05), 0 40px 80px -40px rgba(26, 23, 20, .45);
  font-family: var(--vg-sans); color: var(--vg-ink); letter-spacing: normal; text-transform: none; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.vg *, .vg *::before, .vg *::after { box-sizing: border-box; }
.vg a { color: inherit; text-decoration: none; background: none; }
.vg ul, .vg ol { list-style: none; margin: 0; padding: 0; }
.vg li { margin: 0; padding: 0; }
.vg p, .vg h4, .vg figure { margin: 0; }
.vg img, .vg svg { display: block; max-width: none; }
.vg button { font: inherit; color: inherit; margin: 0; }
.vg :focus-visible { outline: 2px solid var(--vg-acc); outline-offset: 3px; border-radius: 6px; }

.vg-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: #1A1714; color: #FAF8F5 !important; padding: 10px 16px; border-radius: 8px; font: 500 15px/1 "Instrument Sans", system-ui, sans-serif; transition: top .2s; text-decoration: none; }
.vg-skip:focus { top: 12px; }
.vg-w { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* buttons */
.vg .vg-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--vg-sans); border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s var(--vg-ease); white-space: nowrap; cursor: pointer; }
.vg .vg-btn-ink { background: var(--vg-ink); color: var(--vg-bg); }
.vg .vg-btn-ink:hover { background: var(--vg-acc); color: var(--vg-on-acc); }
.vg .vg-btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.vg .vg-arr { display: inline-block; transition: transform .25s var(--vg-ease); }
.vg a:hover .vg-arr { transform: translateX(3px); }
.vg .vg-tl { display: inline-flex; align-self: flex-start; gap: 8px; font-weight: 500; font-size: 15px; color: var(--vg-ink); border-bottom: 1px solid var(--vg-line2); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.vg .vg-tl:hover { border-color: var(--vg-acc); color: var(--vg-acc-ink); }

/* header */
.vg-hd { position: sticky; top: 0; z-index: 900; background: color-mix(in srgb, var(--vg-bg) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; margin: 0; padding: 0; width: auto; height: auto; box-shadow: none; }
.vg-hd.vg-scrolled { border-color: var(--vg-line); }
.vg-prog { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--vg-acc); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.vg-hd-in { display: flex; align-items: center; gap: 28px; height: 72px; transition: height .3s var(--vg-ease); }
.vg-hd.vg-scrolled .vg-hd-in { height: 62px; }
.vg .vg-brand { display: inline-flex; align-items: center; gap: 10px; font: 500 21px/1 var(--vg-serif); letter-spacing: -.01em; color: var(--vg-ink); }
.vg .vg-brand svg { width: 26px; height: 26px; }
.vg .vg-brand .brand-mark { display: block; width: auto; height: 28px; flex-shrink: 0; transition: transform .6s var(--vg-ease); }
.vg .vg-brand:hover .brand-mark { transform: translateY(-2px) rotate(-6deg); }
.vg .vg-brand small { font: 500 11px/1 var(--vg-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--vg-muted); padding-left: 10px; border-left: 1px solid var(--vg-line2); max-width: 80px; overflow: hidden; white-space: nowrap; transition: opacity .3s, max-width .4s var(--vg-ease), padding .4s; }
.vg-hd.vg-scrolled .vg-brand small { opacity: 0; max-width: 0; padding-left: 0; border-left-color: transparent; }
.vg-nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.vg .vg-l { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 8px; font: 400 15px/1 var(--vg-sans); color: var(--vg-ink2); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.vg .vg-l:hover, .vg .vg-dd.vg-open > .vg-l { color: var(--vg-ink); background: var(--vg-bg2); }
.vg .vg-l.vg-on { color: var(--vg-ink); font-weight: 500; }
.vg-dd { position: relative; }
.vg-dd > .vg-l svg { transition: transform .25s var(--vg-ease); }
.vg-dd.vg-open > .vg-l svg { transform: rotate(180deg); }
.vg-ddp { position: absolute; left: -12px; top: calc(100% + 10px); width: 640px; padding: 12px; border-radius: 16px; background: var(--vg-card); border: 1px solid var(--vg-line); box-shadow: var(--vg-shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--vg-ease), visibility .2s; }
.vg-dd.vg-open .vg-ddp { opacity: 1; visibility: visible; transform: none; }
.vg-ddp > a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: center; padding: 12px; border-radius: 10px; transition: background .2s; }
.vg-ddp > a:hover { background: var(--vg-bg2); }
.vg-ddp img, .vg-ddp > a > svg { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; }
.vg-ddp b { font: 500 15px/1.2 var(--vg-sans); color: var(--vg-ink); display: flex; gap: 8px; align-items: center; }
.vg-ddp b i { font: 500 10px/1 var(--vg-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--vg-muted); }
.vg-ddp span { font-size: 13px; color: var(--vg-muted); line-height: 1.35; }
.vg-ddp .vg-all { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid var(--vg-line); border-radius: 0; margin-top: 4px; padding: 14px 12px 6px; font: 500 14px/1 var(--vg-sans); color: var(--vg-ink); }
.vg-ddp .vg-all:hover { background: none; color: var(--vg-acc-ink); }
.vg-hd-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.vg .vg-ghost { font: 400 15px/1 var(--vg-sans); color: var(--vg-ink2); padding: 0 12px; height: 38px; display: inline-flex; align-items: center; border-radius: 8px; }
.vg .vg-ghost:hover { background: var(--vg-bg2); color: var(--vg-ink); }
.vg .vg-menu { display: none; width: 42px; height: 42px; padding: 0; border-radius: 10px; border: 1px solid var(--vg-line); background: var(--vg-card); cursor: pointer; position: relative; }
.vg-menu span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--vg-ink); border-radius: 2px; transition: transform .3s var(--vg-ease), top .3s var(--vg-ease); }
.vg-menu span:first-child { top: 16px; }
.vg-menu span:last-child { top: 24px; }
.vg-menu[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.vg-menu[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.vg-sheet { display: none; }
@media (max-width: 1020px) {
  .vg-nav, .vg .vg-ghost { display: none; }
  .vg .vg-menu { display: block; }
  .vg-sheet { display: block; position: fixed; inset: 62px 0 0; z-index: 899; background: var(--vg-bg); padding: 12px clamp(16px, 4vw, 40px) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--vg-ease), visibility .25s; }
  .vg-sheet.vg-open { opacity: 1; visibility: visible; transform: none; }
  .vg-grp { padding: 18px 0; border-bottom: 1px solid var(--vg-line); }
  .vg-eb { font: 500 12px/1.4 var(--vg-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--vg-muted); margin-bottom: 8px !important; }
  .vg-grp a { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 18px; color: var(--vg-ink); }
  .vg-grp img, .vg-grp a > svg { width: 34px; height: 34px; border-radius: 9px; }
  .vg-grp small { display: block; font-size: 13px; color: var(--vg-muted); }
  .vg-sheet .vg-btn { width: 100%; justify-content: center; margin-top: 24px; }
  body.vg-locked { overflow: hidden; }
}
@media (max-width: 520px) { .vg-hd-r .vg-btn-sm, .vg .vg-brand small { display: none; } }

/* footer */
.vg-ft { padding: clamp(64px, 8vw, 96px) 0 40px; border-top: 1px solid var(--vg-line); margin: clamp(64px, 8vw, 120px) 0 0; background: var(--vg-bg); color: var(--vg-ink); position: relative; overflow: hidden; text-align: left; }
.vg-ft-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 32px; }
.vg-ft-brand { display: flex; flex-direction: column; gap: 16px; max-width: 300px; }
.vg-ft-brand p { font-size: 15px; color: var(--vg-muted); line-height: 1.55; }
.vg-ft h4 { font: 500 12px/1.4 var(--vg-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--vg-muted); margin: 0 0 16px; }
.vg-ft li + li { margin-top: 10px; }
.vg-ft li a { font: 400 15px/1.4 var(--vg-sans); color: var(--vg-ink2); transition: color .2s; }
.vg-ft li a:hover { color: var(--vg-acc-ink); }
.vg-ft-base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--vg-line); display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; color: var(--vg-muted); }
.vg-r { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.vg-ft-base a:hover { color: var(--vg-ink); }
.vg-status { display: inline-flex; align-items: center; gap: 8px; }
.vg-status i { width: 7px; height: 7px; border-radius: 50%; background: #2F9E5B; }
.vg-legal { margin-top: 14px !important; font-size: 12.5px; color: var(--vg-muted); opacity: .85; max-width: 760px; line-height: 1.5; }
.vg-word { margin-top: 56px; font: 380 clamp(80px, 21vw, 300px)/.8 var(--vg-serif); letter-spacing: -.05em; color: var(--vg-bg3); user-select: none; text-align: center; white-space: nowrap; overflow: hidden; }
.vg .vg-top { position: fixed; right: 20px; bottom: 20px; z-index: 800; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--vg-card); color: var(--vg-ink); border: 1px solid var(--vg-line); box-shadow: var(--vg-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--vg-ease), visibility .25s; }
.vg .vg-top.vg-on { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 1020px) { .vg-ft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .vg-ft-brand { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 560px) { .vg-ft-grid { grid-template-columns: 1fr 1fr; } }

/* older inherited pages were laid out around a fixed 72px navbar (hero padding, sticky sidebars): keep that geometry */
body.vg-legacy .vg-hd { position: fixed; left: 0; right: 0; top: 0; }
body.vg-legacy .vg-hd.vg-scrolled .vg-hd-in { height: 72px; }
/* the previous header's back-to-top button is replaced by the chrome's */
body.v .to-top { display: none !important; }

/* ── site-wide motion (added by chrome.js; no JS = everything visible) ── */
.vg-split .vg-wd { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.vg-split .vg-wi { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--vg-i, 0s); }
.vg-split.vg-in .vg-wi { transform: none; }
.vg-rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.vg-rv.vg-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .vg-split .vg-wi, .vg-rv { transform: none !important; opacity: 1 !important; transition: none !important; }
  .vg *, .vg *::before, .vg *::after { transition-duration: .01ms !important; }
}
@media print { .vg-hd, .vg-sheet, .vg-top { display: none !important; } }
