/* =========================================================
   Vishnoi Sunil & Associates — Chartered Accountants
   Version 5 · scroll-driven, product-page style design
   Scenes read a scroll progress value (--p, 0 → 1) set by script.js
   ========================================================= */

/* Colour tokens are registered so they can be animated: the whole page
   fades between a light and a dark palette as you scroll from section to section */
@property --bg { syntax: "<color>"; inherits: true; initial-value: #fbfbfd; }
@property --fg { syntax: "<color>"; inherits: true; initial-value: #1d1d1f; }
@property --fg2 { syntax: "<color>"; inherits: true; initial-value: #6e6e73; }
@property --fg3 { syntax: "<color>"; inherits: true; initial-value: #86868b; }
@property --card { syntax: "<color>"; inherits: true; initial-value: #fff; }
@property --field { syntax: "<color>"; inherits: true; initial-value: #f2f2f5; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(0, 0, 0, .1); }
@property --link { syntax: "<color>"; inherits: true; initial-value: #0a5fc8; }
@property --nav-bg { syntax: "<color>"; inherits: true; initial-value: rgba(251, 251, 253, .72); }

:root {
  --pill: #0a5fc8;
  --pill-hover: #0b6fe6;
  --navy: #0b4a8e;
  --saffron: #f47920;
  --green: #3aaa35;
  --tricolor: linear-gradient(90deg, var(--saffron), var(--navy) 50%, var(--green));
  --grad: linear-gradient(90deg, #0b4a8e 0%, #1a7ae6 42%, #f47920 100%);
  --shadow: 0 2px 8px rgba(0, 0, 0, .04), 0 24px 60px -24px rgba(0, 0, 0, .2);
  /* One motion language for the whole site */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.35, .64, 1);
  --dur: 1.1s;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --wrap: min(1180px, 100% - 44px);
}
[data-theme="dark"] { color-scheme: dark; --pill: #1a6fe0; --pill-hover: #2f80ee; }

/* Light palette */
body {
  --bg: #fbfbfd; --fg: #1d1d1f; --fg2: #6e6e73; --fg3: #86868b; --card: #fff; --field: #f2f2f5;
  --line: rgba(0, 0, 0, .1); --link: #0a5fc8; --nav-bg: rgba(251, 251, 253, .72);
  transition: --bg 1s var(--ease-io), --fg 1s var(--ease-io), --fg2 1s var(--ease-io), --fg3 1s var(--ease-io), --card 1s var(--ease-io),
              --field 1s var(--ease-io), --line 1s var(--ease-io), --link 1s var(--ease-io), --nav-bg 1s var(--ease-io);
}
/* Dark palette: dark sections in light mode, and the whole page in dark mode */
body[data-tone="dark"], [data-theme="dark"] body {
  --bg: #000; --fg: #f5f5f7; --fg2: #a1a1a6; --fg3: #86868b; --card: #1c1c1e; --field: #2c2c2e;
  --line: rgba(255, 255, 255, .14); --link: #4d9bff; --nav-bg: rgba(10, 10, 12, .72);
  --grad: linear-gradient(90deg, #5aa2ff 0%, #9cc4ff 38%, #ffa463 72%, #7fd67a 100%);
  --shadow: 0 2px 8px rgba(0, 0, 0, .3), 0 24px 60px -24px rgba(0, 0, 0, .7);
}
[data-theme="dark"] body:not([data-tone="dark"]) { --bg: #0a0a0c; }
/* Cards that are always dark */
.dark {
  --bg: #000; --fg: #f5f5f7; --fg2: #a1a1a6; --fg3: #86868b; --card: #1c1c1e; --field: #2c2c2e;
  --line: rgba(255, 255, 255, .14); --link: #4d9bff;
  --grad: linear-gradient(90deg, #5aa2ff 0%, #9cc4ff 38%, #ffa463 72%, #7fd67a 100%);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 52px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.012em;
  color: var(--fg); background: var(--bg); overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.028em; line-height: 1.07; color: var(--fg); }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(26, 122, 230, .25); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 8px; }

section { position: relative; color: var(--fg); }
.wrap { width: var(--wrap); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }

/* ---------- Type ---------- */
.eyebrow { font-size: 19px; font-weight: 600; color: var(--saffron); margin-bottom: 14px; letter-spacing: -.01em; }
.eyebrow.center { text-align: center; }
.h-big { font-size: clamp(48px, 8vw, 96px); line-height: 1.02; letter-spacing: -.045em; }
.h-sec { font-size: clamp(34px, 4.8vw, 56px); letter-spacing: -.035em; }
.lede { margin-top: 26px; max-width: 720px; font-size: clamp(19px, 2vw, 24px); line-height: 1.38; font-weight: 500; color: var(--fg2); letter-spacing: -.018em; }
.fine { margin-top: 22px; max-width: 900px; font-size: 13px; line-height: 1.5; color: var(--fg3); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 22px; border-radius: 980px; white-space: nowrap;
  font-size: 17px; font-weight: 500; color: #fff; background: var(--pill);
  transition: background .25s, transform .4s var(--ease), box-shadow .3s;
}
.pill:hover { background: var(--pill-hover); }
.pill:active { transform: scale(.97); }
.pill-ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.pill-ghost:hover { background: color-mix(in srgb, var(--link) 10%, transparent); }
.pill-sm { height: 30px; padding: 0 14px; font-size: 13px; }
.pill-lg { height: 54px; padding: 0 30px; font-size: 17px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.icon-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--fg); transition: background .25s, transform .4s var(--ease); }
.icon-btn:hover { background: var(--line); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Global nav ---------- */
.gnav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 52px;
  background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .3s, background .3s;
}
.gnav.scrolled { box-shadow: 0 1px 0 var(--line); }
.gnav-inner { width: min(1180px, 100% - 32px); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.gnav-logo img { height: 36px; width: auto; border-radius: 6px; }
.gnav-links { display: flex; gap: 30px; margin: 0 auto; }
.gnav-links a { font-size: 13px; color: var(--fg); opacity: .8; transition: opacity .2s; }
.gnav-links a:hover, .gnav-links a.active { opacity: 1; }

.gnav-tools { display: flex; align-items: center; gap: 10px; }
.theme-toggle svg { grid-area: 1 / 1; transition: transform .6s var(--ease), opacity .35s; }
.theme-toggle .ic-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="dark"] .theme-toggle .ic-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
[data-theme="dark"] .theme-toggle .ic-sun { opacity: 1; transform: none; }
.menu-btn { display: none; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease); }
.menu-btn span:first-child { top: 13px; }
.menu-btn span:last-child { top: 20px; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 52px 0 0; z-index: 99; padding: 26px 32px; background: var(--bg); overflow-y: auto; }
.menu nav { display: grid; gap: 4px; }
.menu a { font-size: 30px; font-weight: 700; letter-spacing: -.03em; padding: 8px 0; opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .5s var(--ease); }
.menu.show a { opacity: 1; transform: none; }
.menu.show a:nth-child(2) { transition-delay: .03s; } .menu.show a:nth-child(3) { transition-delay: .06s; }
.menu.show a:nth-child(4) { transition-delay: .09s; } .menu.show a:nth-child(5) { transition-delay: .12s; }
.menu.show a:nth-child(6) { transition-delay: .15s; }
.menu-open { overflow: hidden; }

/* ---------- Reveal (one timing for the whole site; JS staggers --d) ---------- */
.js .rv { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity var(--dur) var(--ease), transform calc(var(--dur) * 1.25) var(--ease), filter var(--dur) var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .zoom { opacity: 0; transform: translateY(46px) scale(.94); transition: opacity var(--dur) var(--ease), transform calc(var(--dur) * 1.35) var(--ease); transition-delay: var(--d, 0s); }
.js .zoom.in { opacity: 1; transform: none; }

/* Headings rise in word by word from behind a mask */
.m { display: inline-block; overflow: clip; vertical-align: top; padding: .1em .03em .14em; margin: -.1em -.03em -.14em; }
.mi { display: inline-block; transform: translateY(108%) rotate(3deg); transform-origin: 0 100%; transition: transform calc(var(--dur) * 1.15) var(--ease); transition-delay: calc(var(--i, 0) * 34ms + var(--d, 0s)); }
.split-in .mi { transform: none; }

/* =========================================================
   1. Hero
   ========================================================= */
.hero {
  height: 320vh;
  --a: clamp(0, calc(var(--p, 0) * 3.6), 1);
  --b: clamp(0, calc((var(--p, 0) - .1) * 2.4), 1);
  --c: clamp(0, calc((var(--p, 0) - .56) * 3.2), 1);
}
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-glow {
  position: absolute; left: 50%; top: 50%; width: 120vmax; height: 120vmax; margin: -60vmax 0 0 -60vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(26, 122, 230, .22), rgba(244, 121, 32, .12) 45%, rgba(58, 170, 53, .06) 65%, transparent 75%);
  opacity: calc(.25 + var(--b) * .75); transform: scale(calc(.5 + var(--b) * .5));
}
.hero-head {
  position: absolute; left: 0; right: 0; top: calc(52px + 9vh); padding: 0 20px; text-align: center;
  opacity: calc(1 - var(--a)); transform: translateY(calc(var(--a) * -90px)) scale(calc(1 - var(--a) * .08));
}
.hero-eyebrow { font-size: clamp(15px, 1.6vw, 21px); font-weight: 600; color: var(--fg2); margin-bottom: 14px; }
.hero-title { font-size: clamp(46px, 8.4vw, 112px); line-height: 1; letter-spacing: -.05em; }
.js .hero-eyebrow { opacity: 0; transform: translateY(20px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); }
.loaded .hero-eyebrow { opacity: 1; transform: none; filter: none; }

.hero-logo {
  position: absolute; left: 50%; top: 50%; width: min(400px, 64vw); z-index: 2;
  transform: translate(-50%, calc(-50% + 15vh - var(--b) * 15vh - var(--c) * 11vh)) scale(calc(1 - var(--b) * .32 - var(--c) * .16));
}
.hero-logo img { width: 100%; height: auto; border-radius: 30px; box-shadow: 0 30px 80px -30px rgba(11, 74, 142, .45), 0 0 0 1px rgba(0, 0, 0, .04); }
.js .hero-logo img { opacity: 0; transform: translateY(40px) scale(.94); transition: opacity 1.2s var(--ease) .25s, transform 1.4s var(--ease) .25s; }
.loaded .hero-logo img { opacity: 1; transform: none; }

.orbs { position: absolute; inset: 0; pointer-events: none; --sx: 1vw; --sy: 1vh; }
.orbs li {
  position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 10px 18px 10px 10px; border-radius: 980px; font-size: 15px; font-weight: 600; color: var(--fg);
  background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  opacity: calc(var(--b) - var(--c) * .9);
  transform: translate(-50%, -50%) translate(calc(var(--x) * var(--sx) * (var(--b) + var(--c) * .35)), calc(var(--y) * var(--sy) * (var(--b) + var(--c) * .35))) scale(calc(.3 + var(--b) * .7));
}
.orbs i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 14px; color: #fff; background: var(--oc); }

.hero-final {
  position: absolute; left: 0; right: 0; top: calc(50% + 4vh); padding: 0 22px; text-align: center; pointer-events: none;
  opacity: var(--c); transform: translateY(calc((1 - var(--c)) * 50px));
}
.hero.done .hero-final { pointer-events: auto; }
.hero-final p { max-width: 860px; margin: 0 auto 30px; font-size: clamp(28px, 4.4vw, 56px); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.6px var(--fg3); opacity: calc(1 - var(--a) * 3); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--fg3); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   2. Highlights gallery
   ========================================================= */
.highlights { padding: 130px 0 90px; }
.highlights .h-sec { margin-bottom: 48px; }
.gallery {
  --pad: max(22px, calc((100vw - 1180px) / 2));
  position: relative; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none;
}
.gallery::-webkit-scrollbar { display: none; }
.g-track { display: flex; gap: 20px; width: max-content; padding: 0 var(--pad); }
.g-card {
  position: relative; flex: 0 0 min(880px, 84vw); height: clamp(520px, 58vw, 680px); padding: 46px; border-radius: 30px; overflow: hidden;
  display: flex; flex-direction: column; scroll-snap-align: start; color: #fff;
  transform: scale(.97); opacity: .6; transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.g-card.is-active { transform: none; opacity: 1; }
.g-copy { position: relative; z-index: 1; max-width: 560px; }
.g-kicker { font-size: 17px; font-weight: 600; opacity: .75; margin-bottom: 10px; }
.g-copy h3 { color: inherit; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -.035em; }
.gc-blue { background: radial-gradient(90% 80% at 80% 100%, #1a7ae6, transparent 60%), linear-gradient(160deg, #071a38, #0b4a8e); }
.gc-dark { background: radial-gradient(70% 60% at 50% 110%, rgba(244, 121, 32, .35), transparent 60%), #0a0a0c; }
.gc-navy { background: radial-gradient(80% 70% at 50% 80%, #13407f, #071a38 70%); }
.gc-light { background: var(--field); color: var(--fg); }
[data-theme="dark"] .gc-light { background: var(--card); }
.gc-warm { background: linear-gradient(160deg, #fff6ef, #ffe2c9); color: #1d1d1f; }
[data-theme="dark"] .gc-warm { background: linear-gradient(160deg, #2b1a0e, #3b220f); color: #f5f5f7; }
.g-vis { position: relative; margin-top: auto; }

.v-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v-chips span { padding: 7px 14px; border-radius: 980px; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .14); }
.gc-light .v-chips span { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

/* chart */
.v-chart-label span { display: block; font-size: 14px; opacity: .7; }
.v-chart-label b { font-size: clamp(48px, 6vw, 76px); letter-spacing: -.05em; line-height: 1; }
.v-chart svg { width: 100%; height: 170px; margin: 16px 0 22px; overflow: visible; }
.v-line { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) .2s; }
.v-area { fill: rgba(255, 255, 255, .12); opacity: 0; transition: opacity 1.2s .8s; }
.is-active .v-line { stroke-dashoffset: 0; }
.is-active .v-area { opacity: 1; }

/* documents */
.v-docs { height: 330px; }
.sheet {
  position: absolute; left: 50%; bottom: -30px; width: 240px; height: 310px; margin-left: -120px; padding: 24px; border-radius: 18px;
  background: #fff; color: #1d1d1f; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  transition: transform 1.1s var(--spring);
}
.sheet b { display: block; font-size: 17px; margin-bottom: 18px; }
.sheet i { display: block; height: 9px; margin-bottom: 12px; border-radius: 5px; background: #e8e8ed; }
.sheet i:nth-of-type(2) { width: 80%; } .sheet i:nth-of-type(3) { width: 60%; } .sheet i:nth-of-type(4) { width: 72%; }
.s2 { background: #f1f4fa; } .s3 { background: #e9eef7; }
.is-active .s2 { transform: translateX(-130px) rotate(-9deg); transition-delay: .1s; }
.is-active .s3 { transform: translateX(130px) rotate(9deg); transition-delay: .2s; }
.stamp { position: absolute; left: 20px; right: 20px; bottom: 60px; padding: 9px; border-radius: 10px; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); transform: rotate(-6deg) scale(0); transition: transform .8s var(--spring) .7s; }
.is-active .stamp { transform: rotate(-6deg) scale(1); }

/* lenders */
.v-lenders { height: 330px; }
.ln-core { position: absolute; left: 50%; top: 50%; width: 140px; transform: translate(-50%, -50%); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 14px rgba(255, 255, 255, .06), 0 0 0 30px rgba(255, 255, 255, .03); }
.ln {
  position: absolute; padding: 9px 16px; border-radius: 980px; font-size: 14px; font-weight: 600; white-space: nowrap;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translate(-50%, -50%) scale(.4); opacity: 0; transition: transform .9s var(--spring), opacity .5s;
}
.l1 { left: 18%; top: 14%; } .l2 { left: 82%; top: 16%; } .l3 { left: 14%; top: 80%; } .l4 { left: 84%; top: 82%; } .l5 { left: 50%; top: 100%; }
.ln.win { background: var(--green); box-shadow: 0 10px 30px -8px rgba(58, 170, 53, .8); }
.is-active .ln { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.is-active .l2 { transition-delay: .1s; } .is-active .l3 { transition-delay: .2s; } .is-active .l4 { transition-delay: .3s; } .is-active .l5 { transition-delay: .6s; }

/* trademark */
.v-tm { height: 340px; display: grid; place-items: center; }
.v-tm b { font-size: 220px; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transform: scale(.6); opacity: 0; transition: transform 1.2s var(--spring), opacity .8s; }
.is-active .v-tm b { transform: none; opacity: 1; }
.tm-ring { position: absolute; left: 50%; top: 42%; width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); animation: ring 3.2s var(--ease) infinite; }
.tm-ring.r2 { animation-delay: 1.6s; }
@keyframes ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.v-tm .v-chips { position: absolute; bottom: 0; left: 0; }

/* reconciliation */
.v-recon { display: grid; gap: 12px; max-width: 560px; }
.rc { display: grid; grid-template-columns: 90px 1fr 26px; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .7); font-weight: 600; }
[data-theme="dark"] .rc { background: rgba(255, 255, 255, .08); }
.rc i { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--navy), #1a7ae6); transform-origin: left; transform: scaleX(0); transition: transform 1.5s var(--ease); }
.rc:nth-child(2) i { transition-delay: .15s; } .rc:nth-child(3) i { transition-delay: .3s; }
.is-active .rc i { transform: scaleX(var(--w)); }
.rc em { font-style: normal; color: var(--green); }
.rc-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; opacity: .7; }

/* notifications */
.v-notify { display: grid; gap: 10px; max-width: 460px; }
.nt { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .6s, transform .9s var(--spring); }
.nt b { display: block; font-size: 15.5px; }
.nt small { font-size: 13px; opacity: .65; }
.nt em { font-style: normal; font-size: 12.5px; opacity: .55; align-self: start; }
.nt-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--c); }
.is-active .nt { opacity: 1; transform: none; }
.is-active .nt:nth-child(2) { transition-delay: .25s; } .is-active .nt:nth-child(3) { transition-delay: .5s; }

.g-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.g-dots { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px; border-radius: 28px; background: var(--field); }
.g-dots button { position: relative; width: 8px; height: 8px; border-radius: 8px; overflow: hidden; background: var(--fg3); opacity: .5; transition: width .5s var(--ease), opacity .3s; }
.g-dots button.on { width: 46px; opacity: 1; background: color-mix(in srgb, var(--fg3) 45%, transparent); }
.g-dots button.on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--fg); transform-origin: left; transform: scaleX(var(--gp, 0)); }
.g-play { width: 56px; height: 56px; background: var(--field); }
.g-play svg { width: 20px; height: 20px; fill: currentColor; }
.g-play .ic-pause { fill: none; stroke-width: 2.6; }
.g-play .ic-play, .g-play.paused .ic-pause { display: none; }
.g-play.paused .ic-play { display: block; }

/* =========================================================
   3. Statement
   ========================================================= */
.statement { height: 260vh; }
.statement-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
.scrub { width: var(--wrap); max-width: 1080px; font-size: clamp(32px, 5vw, 64px); font-weight: 700; line-height: 1.14; letter-spacing: -.035em; }
.js .scrub .w { color: color-mix(in srgb, var(--fg) 16%, transparent); transition: color .5s var(--ease); }
.js .scrub .w.on { color: var(--fg); }
.js .scrub .w.hl.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   4. Project finance story
   ========================================================= */
.finance { padding: 150px 0 120px; }
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; margin-top: 70px; }
.story-vis { position: sticky; top: calc(50vh - 250px); height: 500px; order: 2; }
.screen {
  position: relative; height: 100%; border-radius: 40px; overflow: hidden; color: #f5f5f7;
  background: radial-gradient(80% 60% at 100% 0%, rgba(26, 122, 230, .35), transparent 60%), #0c0c0f;
  box-shadow: 0 0 0 10px #1d1d1f, 0 0 0 11px #3a3a3c, 0 50px 100px -40px rgba(0, 0, 0, .55);
}
.sc-bar { display: flex; align-items: center; gap: 7px; height: 52px; padding: 0 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #a1a1a6; }
.sc-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-bar i { flex-shrink: 0; width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.sc-bar i:nth-child(2) { background: #febc2e; } .sc-bar i:nth-child(3) { background: #28c840; margin-right: 10px; }
.sc-pane { position: absolute; inset: 52px 0 0; padding: 34px 34px 30px; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease), transform .9s var(--ease); pointer-events: none; }
.screen[data-step="0"] [data-pane="0"], .screen[data-step="1"] [data-pane="1"], .screen[data-step="2"] [data-pane="2"], .screen[data-step="3"] [data-pane="3"] { opacity: 1; transform: none; transition-delay: .12s; }
.sc-pane > small { display: block; font-size: 14px; color: #a1a1a6; margin-bottom: 8px; }
.sc-big { display: block; font-size: clamp(44px, 5vw, 64px); letter-spacing: -.05em; line-height: 1.05; }
.sc-big.center, .sc-note.center { text-align: center; }
.sc-split { display: flex; gap: 4px; margin: 26px 0; height: 46px; }
.sc-split span { flex: var(--w); display: flex; align-items: center; padding: 0 14px; border-radius: 10px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; background: #1a6fe0; }
.sc-split span + span { background: var(--saffron); }
.sc-list li { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 15px; color: #d2d2d7; }
.sc-list b { color: #fff; }
.sc-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; font-variant-numeric: tabular-nums; }
.sc-table th { text-align: right; font-weight: 600; color: #a1a1a6; padding: 10px 0; font-size: 13px; }
.sc-table td { text-align: right; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.sc-table td:first-child { text-align: left; color: #a1a1a6; }
.sc-table tr:nth-child(4) td:not(:first-child) { color: #7fd67a; font-weight: 700; }
.sc-stamp { display: inline-block; margin-top: 24px; padding: 9px 16px; border-radius: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7fd67a; box-shadow: inset 0 0 0 2px #3aaa35; transform: rotate(-3deg); }
.sc-lenders { display: grid; gap: 10px; margin-top: 18px; }
.sc-lenders li { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); font-size: 16px; }
.sc-lenders b { font-size: 20px; font-variant-numeric: tabular-nums; }
.sc-lenders .best { background: rgba(58, 170, 53, .16); box-shadow: inset 0 0 0 1.5px #3aaa35; }
.sc-lenders em { position: absolute; top: -10px; right: 18px; padding: 3px 10px; border-radius: 980px; font-size: 11.5px; font-style: normal; font-weight: 700; background: #3aaa35; }
.sc-note { margin-top: 20px; font-size: 14px; color: #a1a1a6; }
.sc-done { width: 120px; height: 120px; margin: 30px auto 24px; }
.sc-done circle { fill: none; stroke: #3aaa35; stroke-width: 2.5; }
.sc-done path { fill: none; stroke: #7fd67a; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .8s var(--ease) .5s; }
.screen[data-step="3"] .sc-done path { stroke-dashoffset: 0; }

.story-steps { order: 1; }
.st { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .6s var(--ease); }
.st.on { opacity: 1; }
.st span { font-size: 17px; font-weight: 600; color: var(--saffron); }
.st h3 { font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -.04em; margin: 8px 0 14px; }
.st p { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; font-weight: 500; color: var(--fg2); max-width: 500px; }
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 60px; }
.tag-cloud li { padding: 10px 18px; border-radius: 980px; font-size: 15px; font-weight: 500; background: var(--field); }

/* =========================================================
   5. CMA lab
   ========================================================= */
.lab { padding: 150px 0 120px; }
.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 64px; }
.lab-result, .lab-controls { padding: 40px; border-radius: 32px; background: var(--card); box-shadow: var(--shadow); }
.lab-grid { --zone: #3aaa35; }
.lab-grid[data-zone="mid"] { --zone: #f4a340; }
.lab-grid[data-zone="low"] { --zone: #e0574a; }
.ring { position: relative; width: min(270px, 100%); aspect-ratio: 1; margin: 0 auto 30px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 13; }
.ring-track { stroke: var(--line); }
.ring-fill { stroke: var(--zone); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s var(--spring), stroke .5s; }
.ring-copy { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-copy small { font-size: 14px; color: var(--fg2); font-weight: 500; }
.ring-copy strong { font-size: clamp(54px, 6vw, 70px); line-height: 1.05; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ring-copy em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--zone); max-width: 190px; margin: 4px auto 0; line-height: 1.3; transition: color .5s; }
.lab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lab-stats div { padding: 14px 16px; border-radius: 16px; background: var(--field); }
[data-theme="dark"] .lab-stats div, [data-theme="dark"] .lab-bar, [data-theme="dark"] .lab-wc { background: var(--field); }
.lab-stats dt { font-size: 12.5px; color: var(--fg2); line-height: 1.3; }
.lab-stats dd { margin-top: 4px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lab-bar, .lab-wc { margin-top: 10px; padding: 16px 18px; border-radius: 16px; background: var(--field); }
.lab-bar-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--fg2); margin-bottom: 10px; }
.lab-bar-head b { color: var(--fg); }
.bar { display: flex; gap: 3px; height: 10px; border-radius: 10px; overflow: hidden; background: var(--line); }
.bar i { height: 100%; border-radius: 3px; transition: width .8s var(--ease); }
.b-ds, .k-ds { background: var(--saffron); }
.b-sur, .k-sur { background: var(--green); }
.bar-key { display: flex; gap: 18px; margin-top: 10px; font-size: 12.5px; color: var(--fg2); }
.bar-key i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.lab-wc { display: grid; gap: 2px; }
.lab-wc span { font-size: 13.5px; color: var(--fg2); }
.lab-wc b { font-size: 24px; letter-spacing: -.03em; }
.lab-wc small { font-size: 12.5px; color: var(--fg3); line-height: 1.45; margin-top: 4px; }

.lab-controls { display: grid; gap: 34px; align-content: center; }
.ctl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ctl-head label { font-size: 17px; font-weight: 600; }
.ctl-head output { font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--link); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ctl-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--fg3); }
.lab input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.lab input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(var(--link), var(--link)) 0 / var(--p, 50%) 100% no-repeat, var(--line); }
.lab input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.lab input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--link); }
.lab input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 4px 14px rgba(0, 0, 0, .22); transition: transform .3s var(--ease); }
.lab input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); }
.lab input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.lab input[type="range"]:focus-visible { outline: none; }
.lab input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--link); }

.blueprint {
  display: grid; grid-template-columns: 1.4fr auto; gap: 44px; align-items: center; margin-top: 22px; padding: 50px; border-radius: 32px;
  background: radial-gradient(70% 90% at 100% 0%, rgba(26, 122, 230, .45), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(244, 121, 32, .22), transparent 60%), #000;
  box-shadow: inset 0 0 0 1px var(--line);
}
.blueprint h3 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.035em; margin-bottom: 14px; }
.blueprint p:not(.eyebrow) { color: var(--fg2); font-size: 17px; max-width: 640px; }
.bp-actions { display: grid; gap: 12px; min-width: 290px; }
.bp-actions small { font-size: 12.5px; color: var(--fg3); text-align: center; }

/* =========================================================
   6. Intellectual property
   ========================================================= */
.ip { padding: 150px 0 130px; overflow: clip; }
.seg { position: relative; display: flex; width: fit-content; max-width: 100%; margin: 60px auto 0; padding: 4px; border-radius: 980px; background: var(--card); overflow-x: auto; scrollbar-width: none; }
.seg button { position: relative; z-index: 1; height: 42px; padding: 0 24px; border-radius: 980px; font-size: 15px; font-weight: 600; color: #a1a1a6; white-space: nowrap; transition: color .35s; }
.seg button[aria-selected="true"] { color: #1d1d1f; }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 980px; background: #f5f5f7; transition: transform .55s var(--ease), width .55s var(--ease); }
.ip-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 56px; min-height: 440px; }
.ip-stage { --ac: #f47920; }
.ip-stage[data-ip="1"] { --ac: #1a7ae6; }
.ip-stage[data-ip="2"] { --ac: #3aaa35; }
.ip-stage[data-ip="3"] { --ac: #a77bff; }
.ip-symbol { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.ip-halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ac) 55%, transparent), transparent 72%); filter: blur(20px); transition: background .8s; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .75; } }
.ip-symbol b { grid-area: 1 / 1; position: relative; font-size: clamp(170px, 22vw, 290px); line-height: 1; letter-spacing: -.05em; background: linear-gradient(160deg, #fff 20%, var(--ac)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: scale(.6) rotate(-12deg); filter: blur(12px); transition: opacity .6s, transform 1s var(--spring), filter .6s; }
.ip-stage[data-ip="0"] .ip-symbol b[data-ip="0"], .ip-stage[data-ip="1"] .ip-symbol b[data-ip="1"],
.ip-stage[data-ip="2"] .ip-symbol b[data-ip="2"], .ip-stage[data-ip="3"] .ip-symbol b[data-ip="3"] { opacity: 1; transform: none; filter: none; }
.ip-panels { display: grid; }
.ip-panel { grid-area: 1 / 1; opacity: 0; transform: translateX(40px); visibility: hidden; transition: opacity .5s, transform .8s var(--ease), visibility 0s .5s; }
.ip-stage[data-ip="0"] .ip-panel[data-ip="0"], .ip-stage[data-ip="1"] .ip-panel[data-ip="1"],
.ip-stage[data-ip="2"] .ip-panel[data-ip="2"], .ip-stage[data-ip="3"] .ip-panel[data-ip="3"] { opacity: 1; transform: none; visibility: visible; transition-delay: .1s, .1s, 0s; }
.ip-panel h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.035em; margin-bottom: 26px; }
.ip-panel li { position: relative; padding: 15px 0 15px 34px; border-top: 1px solid var(--line); font-size: 19px; color: var(--fg2); }
.ip-panel li::before { content: ""; position: absolute; left: 0; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--ac) 30%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; transition: background-color .6s; }
.ip-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 60px; }
.ip-flow li { padding: 22px; border-radius: 22px; background: var(--card); font-size: 17px; font-weight: 600; }
.ip-flow span { display: block; font-size: 13px; color: var(--saffron); margin-bottom: 6px; }
.ip-flow li:last-child { background: rgba(58, 170, 53, .18); }

/* =========================================================
   7. Compliance bento
   ========================================================= */
.compliance { padding: 150px 0 120px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.tile { position: relative; padding: 36px; border-radius: 30px; overflow: hidden; background: var(--field); }
[data-theme="dark"] .tile:not(.t-due) { background: var(--card); }
.t-gst { grid-column: span 2; }
.t-due { grid-column: 3; grid-row: span 2; }
.t-wide { grid-column: span 2; }
.tile::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c, #1a7ae6) 22%, transparent), transparent); pointer-events: none; transition: transform 1s var(--ease); }
.tile:hover::after { transform: scale(1.4); }
.t-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; font-weight: 700; color: #fff; background: var(--c); }
.tile h3 { font-size: 28px; letter-spacing: -.03em; margin: 24px 0 8px; }
.tile > p { color: var(--fg2); margin-bottom: 14px; }
.tile ul { display: grid; gap: 8px; margin-top: 14px; }
.t-gst ul, .t-wide ul { grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.tile li { position: relative; padding-left: 18px; font-size: 16px; color: var(--fg2); }
.tile li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.t-due { background: radial-gradient(90% 60% at 100% 0%, rgba(26, 122, 230, .45), transparent 60%), #000; display: flex; flex-direction: column; }
.t-label { font-size: 15px; font-weight: 600; color: var(--saffron); }
.due-main { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.due-days { font-size: 104px; line-height: .95; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.due-unit { font-size: 19px; color: var(--fg2); font-weight: 600; }
.t-due .due-title { font-size: 26px; margin: 16px 0 6px; }
.due-desc { color: var(--fg2); font-size: 15.5px; }
.due-date { align-self: flex-start; margin-top: 14px; padding: 6px 13px; border-radius: 980px; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .1); }
.due-list { margin-top: auto !important; padding-top: 26px; gap: 0 !important; }
.t-due .due-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--fg); }
.t-due .due-list li::before { display: none; }
.due-list small { display: block; color: var(--fg3); font-size: 12.5px; }

/* =========================================================
   7b. Statutory updates
   ========================================================= */
.updates { padding: 150px 0 120px; }
.rates { margin-top: 60px; padding: 30px 34px; border-radius: 30px; background: var(--card); box-shadow: var(--shadow); }
.rates-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.rates-head b { font-size: 17px; }
.rates-head small { margin-left: auto; font-size: 13px; color: var(--fg3); }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--green); animation: livePulse 2.4s var(--ease) infinite; }
@keyframes livePulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.rates-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.rates-grid div { padding: 16px 18px; border-radius: 18px; background: var(--field); }
.rates-grid dt { font-size: 13px; color: var(--fg2); line-height: 1.3; min-height: 2.6em; }
.rates-grid dd { margin-top: 6px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rates-grid div:first-child { background: color-mix(in srgb, var(--link) 12%, var(--field)); }
.rates-grid div:first-child dd { color: var(--link); }
.rates-empty { grid-column: 1 / -1; font-size: 15px; color: var(--fg2); }

.upd-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 48px 0 18px; }
.filters { position: relative; display: flex; padding: 4px; border-radius: 980px; background: var(--field); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.filters::-webkit-scrollbar { display: none; }
.filters button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 18px; border-radius: 980px; font-size: 14.5px; font-weight: 600; color: var(--fg2); white-space: nowrap; transition: color .35s var(--ease); }
.filters button em { font-style: normal; font-size: 11.5px; font-weight: 600; opacity: .6; font-variant-numeric: tabular-nums; }
.filters button[aria-selected="true"] { color: var(--bg); }
.filters-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 980px; background: var(--fg); transition: transform .6s var(--ease), width .6s var(--ease); }
.upd-status { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fg3); }

.upd-list { display: grid; gap: 0; border-top: 1px solid var(--line); transition: opacity .35s var(--ease); }
.upd-list.swap { opacity: 0; }
.upd { display: grid; grid-template-columns: 108px 1fr auto; gap: 22px; align-items: start; padding: 22px 6px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); animation: updIn .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes updIn { to { opacity: 1; transform: none; } }
.upd-src { justify-self: start; padding: 5px 11px; border-radius: 980px; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.upd[data-src="gst"] { --c: #e06b12; }
.upd[data-src="it"] { --c: #1a6fd6; }
.upd[data-src="mca"] { --c: #2f9a2b; }
.upd[data-src="rbi"] { --c: #7a5af5; }
[data-theme="dark"] .upd[data-src="gst"], body[data-tone="dark"] .upd[data-src="gst"] { --c: #ffa463; }
[data-theme="dark"] .upd[data-src="it"], body[data-tone="dark"] .upd[data-src="it"] { --c: #6aaeff; }
[data-theme="dark"] .upd[data-src="mca"], body[data-tone="dark"] .upd[data-src="mca"] { --c: #7fd67a; }
[data-theme="dark"] .upd[data-src="rbi"], body[data-tone="dark"] .upd[data-src="rbi"] { --c: #b19cff; }
.upd-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 13px; color: var(--fg3); margin-bottom: 4px; }
.upd-meta b { font-weight: 600; color: var(--fg2); }
.upd-new { padding: 2px 8px; border-radius: 980px; font-size: 11px; font-weight: 700; color: #fff; background: var(--green); }
.upd-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--fg); transition: color .3s; }
.upd-title:hover { color: var(--link); }
.upd-title::after { content: " ↗"; color: var(--fg3); }
.upd-date { font-size: 14px; font-weight: 600; color: var(--fg2); white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 2px; }
.upd-empty { padding: 40px 6px; color: var(--fg2); }
.upd-more { display: flex; justify-content: center; margin-top: 30px; }
.upd-more .pill[hidden] { display: none; }
.upd-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 44px; }
.upd-sources span { font-size: 13.5px; font-weight: 600; color: var(--fg2); margin-right: 6px; }
.upd-sources a { padding: 8px 15px; border-radius: 980px; font-size: 14px; font-weight: 500; background: var(--field); transition: background .3s, color .3s; }
.upd-sources a:hover { background: var(--fg); color: var(--bg); }
.fine a { color: var(--link); }

@media (max-width: 1068px) { .rates-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .updates { padding-top: 96px; padding-bottom: 90px; }
  .rates { padding: 24px 18px; border-radius: 26px; }
  .rates-head small { margin-left: 0; width: 100%; }
  .rates-grid { grid-template-columns: 1fr 1fr; }
  .rates-grid dt { min-height: 0; }
  .filters button { padding: 0 10px; font-size: 13.5px; }
  .filters button em { display: none; }
  .upd { grid-template-columns: 1fr auto; gap: 8px 14px; padding: 18px 2px; }
  .upd-src { grid-column: 1; grid-row: 1; }
  .upd-date { grid-column: 2; grid-row: 1; }
  .upd-body { grid-column: 1 / -1; }
  .upd-title { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .upd { opacity: 1; transform: none; animation: none; } }

/* =========================================================
   8. Leadership
   ========================================================= */
.leadership { padding: 150px 0 130px; text-align: center; }
.leader { max-width: 1000px; margin: 34px auto 0; }
.leader-mono { width: 180px; aspect-ratio: 1; margin: 0 auto 34px; padding: 5px; border-radius: 50%; background: conic-gradient(from 210deg, var(--saffron), var(--navy), var(--green), var(--saffron)); animation: spinSlow 14s linear infinite; }
.leader-mono span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; font-size: 66px; font-weight: 700; letter-spacing: -.04em; color: #fff; background: linear-gradient(150deg, #071a38, #0b4a8e); box-shadow: inset 0 0 0 5px var(--bg); animation: spinSlow 14s linear infinite reverse; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.leader-name { font-size: clamp(46px, 7.4vw, 92px); letter-spacing: -.05em; }
.leader-role { margin-top: 12px; font-size: clamp(17px, 1.8vw, 21px); color: var(--fg2); font-weight: 500; }
.leader-bio { margin: 52px auto 0; max-width: 960px; font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; }
.js .leader-bio .w { color: color-mix(in srgb, var(--fg) 18%, transparent); transition: color .4s; }
.js .leader-bio .w.on { color: var(--fg); }
.leader-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px auto 0; max-width: 820px; }
.leader-facts div { padding: 6px 20px; }
.leader-facts div + div { border-left: 1px solid var(--line); }
.leader-facts small { display: block; font-size: 14px; color: var(--fg2); }
.leader-facts b { display: block; margin-top: 4px; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.035em; }
.leader-spec { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; }
.leader-spec li { padding: 10px 18px; border-radius: 980px; font-size: 15px; font-weight: 600; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.leader-panel { margin-top: 30px; font-size: 16px; color: var(--fg2); }

/* =========================================================
   9. Process
   ========================================================= */
.process { padding: 130px 0 140px; }
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.proc li { padding: 32px 28px; border-radius: 26px; background: var(--field); }
[data-theme="dark"] .proc li { background: var(--card); }
.proc span { display: block; font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 26px; }
.proc h3 { font-size: 22px; margin-bottom: 8px; }
.proc p { color: var(--fg2); font-size: 16px; }

/* =========================================================
   10. Closing
   ========================================================= */
.closing { height: 220vh; --k: clamp(0, calc(var(--p, 0) * 1.7), 1); }
.closing-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-content: center; justify-items: center; gap: 44px; text-align: center; overflow: hidden; padding: 0 22px; }
.closing-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 90vmax; height: 90vmax; margin: -45vmax 0 0 -45vmax; border-radius: 50%; background: conic-gradient(from 0deg, rgba(244, 121, 32, .5), rgba(11, 74, 142, .55), rgba(58, 170, 53, .45), rgba(26, 122, 230, .5), rgba(244, 121, 32, .5)); filter: blur(100px); opacity: calc(var(--k) * .45); animation: spinSlow 24s linear infinite; }
.closing-title { position: relative; font-size: clamp(58px, 11vw, 168px); line-height: .96; letter-spacing: -.06em; transform: scale(calc(.72 + var(--k) * .28)); opacity: calc(.15 + var(--k) * .85); }
.closing .cta-row { position: relative; opacity: var(--k); transform: translateY(calc((1 - var(--k)) * 40px)); }

/* =========================================================
   11. Contact
   ========================================================= */
.contact { padding: 140px 0; background: var(--field); }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.contact-list { margin-top: 40px; }
.contact-list li { display: grid; gap: 2px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list small { font-size: 13.5px; color: var(--fg2); }
.contact-list a { font-size: 21px; font-weight: 600; color: var(--link); letter-spacing: -.02em; }
.contact-list address, .contact-list span { font-style: normal; font-size: 18px; }
.form { display: grid; gap: 14px; padding: 40px; border-radius: 32px; background: var(--card); box-shadow: var(--shadow); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 28px 18px 10px; border: 0; border-radius: 14px; font: inherit; font-size: 17px; color: var(--fg); background: var(--field);
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--link); }
.field label { position: absolute; left: 18px; top: 19px; font-size: 17px; color: var(--fg3); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.74); color: var(--link); }
.field.invalid input { box-shadow: inset 0 0 0 2px #e0574a; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { border: 0; margin: 0; padding: 4px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--fg2); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 980px; font-size: 14.5px; font-weight: 500; background: var(--field); cursor: pointer; transition: background .25s, color .25s, transform .3s var(--ease); }
.chips label:active span { transform: scale(.95); }
.chips input:checked + span { background: var(--pill); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-status { min-height: 1.4em; font-size: 14.5px; color: var(--link); }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 40px; background: var(--field); border-top: 1px solid var(--line); font-size: 13px; color: var(--fg2); }
.foot-top { display: grid; grid-template-columns: auto 1fr; gap: 70px; align-items: start; }
.foot-logo img { height: 80px; width: auto; border-radius: 10px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.foot-cols h4 { font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 10px; letter-spacing: -.01em; }
.foot-cols a { display: block; padding: 4px 0; }
.foot-cols a:hover { color: var(--fg); text-decoration: underline; }
.tricolor { display: flex; gap: 5px; margin: 40px 0 22px; }
.tricolor i { flex: 1; height: 3px; border-radius: 3px; background: var(--saffron); }
.tricolor i:nth-child(2) { background: var(--navy); } .tricolor i:nth-child(3) { background: var(--green); }
.foot-disc { max-width: 920px; line-height: 1.55; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 22px; padding: 16px 70px 0 0; border-top: 1px solid var(--line); }
.foot-bottom a:hover { color: var(--fg); }

/* ---------- Disclaimer sheet ---------- */
.sheet-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: fade .4s var(--ease); }
.sheet-modal[hidden] { display: none; }
.sheet-modal.closing { opacity: 0; transition: opacity .35s; }
.sheet-card { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 36px; border-radius: 30px; text-align: center; background: var(--card); color: var(--fg); box-shadow: var(--shadow); animation: rise .6s var(--ease); }
.sheet-logo { height: 84px; width: auto; margin: 0 auto 18px; border-radius: 10px; }
.sheet-card h2 { font-size: 26px; margin-bottom: 12px; }
.sheet-card p { font-size: 15px; color: var(--fg2); text-align: left; margin-bottom: 12px; }
.sheet-card .pill { width: 100%; margin-top: 10px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.96); } }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); transform: scale(0); transition: transform .6s var(--spring); }
.wa-float.show { transform: scale(1); }
.wa-float svg { width: 28px; height: 28px; }

.theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .5s, color .5s, box-shadow .5s, border-color .5s !important; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1068px) {
  .gnav-links, .gnav-cta { display: none; }
  .menu-btn { display: grid; }
  .gnav-tools { margin-left: auto; }
  .lab-grid { grid-template-columns: 1fr; }
  .blueprint { grid-template-columns: 1fr; gap: 28px; }
  .bp-actions { min-width: 0; grid-template-columns: 1fr 1fr; }
  .bp-actions small { grid-column: span 2; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-gst, .t-wide { grid-column: span 2; }
  .t-due { grid-column: span 2; grid-row: auto; }
  .proc { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .story-vis { order: 0; top: 60px; height: 410px; z-index: 2; padding-bottom: 18px; background: var(--bg); }
  .sc-stamp { margin-top: 12px; }
  .st { justify-content: flex-end; }
  .screen { border-radius: 30px; box-shadow: 0 0 0 7px #1d1d1f, 0 0 0 8px #3a3a3c, 0 30px 60px -30px rgba(0, 0, 0, .5); }
  .sc-pane { padding: 22px 22px 20px; }
  .sc-split { margin: 16px 0; height: 40px; }
  .sc-list li, .sc-table td { padding: 9px 0; }
  .sc-lenders li { padding: 15px 18px; }
  .sc-done { width: 80px; height: 80px; margin: 14px auto 16px; }
  .st { min-height: 62vh; padding: 40px 4px; }
  .ip-stage { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
  .ip-symbol { max-width: 280px; }
  .ip-flow { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --wrap: calc(100% - 40px); }
  body { font-size: 16px; }
  .hero { height: 280vh; }
  .hero-head { top: calc(52px + 8vh); }
  .orbs { --sx: .72vw; }
  .orbs li { padding: 6px 12px 6px 6px; font-size: 12px; gap: 7px; }
  .orbs i { width: 22px; height: 22px; font-size: 11px; }
  /* The middle pair moves above and below the logo so nothing runs off a narrow screen */
  .orbs li:nth-child(3) { --x: -22 !important; --y: -14 !important; }
  .orbs li:nth-child(4) { --x: 22 !important; --y: 16 !important; }
  .hero-logo { transform: translate(-50%, calc(-50% + 15vh - var(--b) * 15vh - var(--c) * 11vh)) scale(calc(1 - var(--b) * .42 - var(--c) * .1)); }
  .highlights, .finance, .lab, .ip, .compliance, .leadership, .process, .contact { padding-top: 96px; padding-bottom: 90px; }
  .g-card { flex-basis: 86vw; height: 540px; padding: 30px 26px; border-radius: 26px; }
  .sheet { width: 180px; height: 240px; margin-left: -90px; padding: 18px; }
  .is-active .s2 { transform: translateX(-80px) rotate(-9deg); }
  .is-active .s3 { transform: translateX(80px) rotate(9deg); }
  .stamp { font-size: 10.5px; bottom: 50px; }
  .v-docs, .v-lenders { height: 290px; }
  .ln { font-size: 12px; padding: 7px 11px; }
  .ln-core { width: 110px; }
  .l1 { left: 26%; } .l2 { left: 74%; } .l3 { left: 24%; } .l4 { left: 74%; }
  .v-tm b { font-size: 160px; }
  .rc { grid-template-columns: 74px 1fr 20px; padding: 13px 14px; font-size: 15px; }
  .g-dots { height: 48px; padding: 0 18px; gap: 10px; }
  .g-play { width: 48px; height: 48px; }
  .lab-result, .lab-controls { padding: 26px 20px; border-radius: 26px; }
  .lab-controls { gap: 28px; }
  .ctl-head { flex-wrap: wrap; gap: 2px 10px; }
  .ctl-head label { font-size: 15.5px; }
  .ctl-head output { font-size: 21px; }
  .lab-stats { grid-template-columns: 1fr 1fr; }
  .lab-stats dd { font-size: 17px; }
  .blueprint { padding: 32px 22px; border-radius: 26px; }
  .bp-actions { grid-template-columns: 1fr; }
  .bp-actions small { grid-column: auto; }
  .bp-actions .pill { white-space: normal; }
  .seg button { padding: 0 12px; font-size: 13.5px; height: 38px; }
  .ip-symbol { max-width: 220px; }
  .ip-panel li { font-size: 17px; }
  .ip-flow { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .t-gst, .t-wide, .t-due { grid-column: auto; }
  .t-gst ul, .t-wide ul { grid-template-columns: 1fr; }
  .tile { padding: 28px 24px; border-radius: 26px; }
  .due-days { font-size: 88px; }
  .leader-mono { width: 140px; }
  .leader-mono span { font-size: 50px; }
  .leader-facts { grid-template-columns: 1fr; gap: 18px; }
  .leader-facts div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .proc { grid-template-columns: 1fr; }
  .closing { height: 180vh; }
  .form { padding: 24px 18px; border-radius: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .form-actions .pill { width: 100%; }
  .foot-bottom { padding-right: 0; padding-bottom: 60px; }
}

/* ---------- Reduced motion: every scene shows its finished state ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero-stage { position: relative; height: auto; display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 120px 0 90px; }
  .hero-head, .hero-logo, .hero-final, .orbs, .orbs li { position: relative; inset: auto; left: auto; top: auto; transform: none !important; opacity: 1 !important; pointer-events: auto; }
  .orbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 20px; }
  .scroll-hint, .hero-glow { display: none; }
  .statement, .closing { height: auto; }
  .statement-stage, .closing-stage { position: relative; height: auto; padding: 120px 0; }
  .js .scrub .w, .js .leader-bio .w { color: inherit; }
  .closing-title, .closing .cta-row { transform: none; opacity: 1; }
  .js .rv, .js .zoom { opacity: 1; transform: none; }
}

/* =========================================================
   Motion layer
   ========================================================= */

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 300; display: none; place-content: center; justify-items: center; gap: 30px; background: var(--bg); clip-path: inset(0 0 0 0); transition: clip-path 1.15s var(--ease-io); }
.intro-on .intro { display: grid; }
.intro.lift { clip-path: inset(0 0 100% 0); }
.intro-mark { width: 150px; opacity: 0; transform: scale(.92); filter: blur(12px); animation: introIn 1.1s var(--ease) .1s forwards; }
.intro-mark img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.intro-line { width: 150px; height: 2px; border-radius: 2px; overflow: hidden; background: var(--line); }
.intro-line i { display: block; height: 100%; background: var(--tricolor); transform-origin: left; transform: scaleX(var(--ip, 0)); transition: transform .5s var(--ease); }
@keyframes introIn { to { opacity: 1; transform: none; filter: none; } }

/* ---------- Ambient light ---------- */
.ambient { position: fixed; inset: -10vh 0; z-index: -1; pointer-events: none; overflow: hidden; transform: translate3d(0, calc(var(--amb, 0) * -10vh), 0); }
.ambient i { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; filter: blur(80px); opacity: .34; transition: opacity 1s var(--ease-io); }
.a1 { left: -22vmax; top: -18vmax; background: radial-gradient(closest-side, rgba(26, 122, 230, .55), transparent); animation: drift1 30s ease-in-out infinite alternate; }
.a2 { right: -24vmax; top: 18vh; background: radial-gradient(closest-side, rgba(244, 121, 32, .42), transparent); animation: drift2 36s ease-in-out infinite alternate; }
.a3 { left: 18vw; bottom: -34vmax; background: radial-gradient(closest-side, rgba(58, 170, 53, .36), transparent); animation: drift3 42s ease-in-out infinite alternate; }
body[data-tone="dark"] .ambient i, [data-theme="dark"] .ambient i { opacity: .2; }
@keyframes drift1 { to { transform: translate(16vw, 18vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-18vw, 24vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-12vw, -20vh) scale(1.2); } }

/* ---------- Nav: hides on the way down, progress line, sliding indicator ---------- */
.gnav { transition: transform .8s var(--ease), box-shadow .3s; }
.gnav.hide { transform: translateY(-101%); }
.gnav-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; pointer-events: none; }
.gnav-progress i { display: block; height: 100%; background: var(--tricolor); transform-origin: left; transform: scaleX(var(--sp, 0)); opacity: .9; }
.gnav-links { position: relative; }
.gnav-ind { position: absolute; left: 0; bottom: -17px; width: var(--iw, 0); height: 2px; border-radius: 2px; background: var(--fg); opacity: var(--io, 0); transform: translateX(var(--ix, 0)); transition: transform .7s var(--ease), width .7s var(--ease), opacity .4s; }
.js .gnav-inner { opacity: 0; transform: translateY(-12px); transition: opacity 1s var(--ease) .5s, transform 1.2s var(--ease) .5s; }
.loaded .gnav-inner { opacity: 1; transform: none; }

/* ---------- Hero depth: follows the cursor slightly ---------- */
.hero-head { translate: calc(var(--mx, 0) * -8px) calc(var(--my, 0) * -6px); }
.hero-logo { translate: calc(var(--mx, 0) * -16px) calc(var(--my, 0) * -12px); }
.orbs li { translate: calc(var(--mx, 0) * var(--z, 24px)) calc(var(--my, 0) * var(--z, 24px)); }
.orbs li:nth-child(2n) { --z: 38px; }
.orbs li:nth-child(3n) { --z: 14px; }

/* ---------- Gallery: depth while sliding, drag on desktop ---------- */
.g-card { transform: scale(.96); opacity: .5; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.g-copy { translate: calc(var(--gx, 0) * -18px) 0; }
.g-vis { translate: calc(var(--gx, 0) * -56px) 0; }
@media (hover: hover) and (pointer: fine) {
  .gallery { cursor: grab; }
  .gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
  .gallery.dragging .g-card { user-select: none; }
}

/* ---------- Story: rail and softer screen changes ---------- */
.story-rail { display: none; }
@media (min-width: 1101px) {
  .story-rail { display: block; position: absolute; left: -26px; top: 8vh; bottom: 8vh; width: 2px; border-radius: 2px; background: var(--line); }
  .story-rail i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(var(--saffron), var(--navy), var(--green)); transform-origin: top; transform: scaleY(var(--sp, 0)); }
}
.sc-pane { filter: blur(10px); transition: opacity .7s var(--ease), transform 1s var(--ease), filter .7s var(--ease); }
.screen[data-step="0"] [data-pane="0"], .screen[data-step="1"] [data-pane="1"], .screen[data-step="2"] [data-pane="2"], .screen[data-step="3"] [data-pane="3"] { filter: none; }
.st { transition: opacity .8s var(--ease), translate .8s var(--ease); translate: 0 12px; }
.st.on { translate: 0 0; }

/* ---------- IP: progress inside the active tab ---------- */
.seg-pill { background: linear-gradient(90deg, rgba(10, 95, 200, .16) var(--ipp, 0%), transparent var(--ipp, 0%)), #f5f5f7; }

/* ---------- Tiles tilt toward the cursor, with a soft spotlight ---------- */
.bento { perspective: 1400px; }
.tile { rotate: var(--rx, 0) var(--ry, 0) 0 var(--ra, 0deg); transition: rotate .8s var(--ease), box-shadow .5s; }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in srgb, var(--fg) 7%, transparent), transparent 45%); }
.tile:hover::before { opacity: 1; }
.tile:hover { box-shadow: var(--shadow); }

/* ---------- Buttons drift toward the cursor ---------- */
.pill { transition: background .25s, transform .4s var(--ease), translate .6s var(--ease), box-shadow .3s; }

/* ---------- Footer wordmark ---------- */
.foot-word { margin: 46px 0 0; overflow: clip; font-size: min(5.6vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.foot-word span { display: inline-block; padding-bottom: .1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; transform: translateY(105%); transition: transform 1.4s var(--ease); }
.foot-word.in span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  .mi, .foot-word span { transform: none !important; }
  .js .gnav-inner, .js .hero-eyebrow { opacity: 1; transform: none; filter: none; }
  .ambient { transform: none; }
  .tile, .g-copy, .g-vis, .orbs li, .hero-logo, .hero-head { rotate: none; translate: none; }
}

/* Smooth-scroll library hooks */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
