/* ==========================================================================
   Jain K Vrind & Co. — Design system
   Plain CSS, no build step. Tokens first; components below in page order.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --navy-950: #061226;
  --navy-900: #0a1a33;
  --navy-800: #102549;
  --navy-700: #1a355f;
  --navy-600: #2a4a7b;
  --ink: #131a25;
  --ink-2: #364253;
  --muted: #5d6979;
  --line: #e2e5ea;
  --line-2: #eef0f3;
  --paper: #ffffff;
  --off: #f7f6f2;
  --off-2: #eeece6;
  --teal: #0c7a76;
  --teal-600: #0a6763;
  --teal-400: #2aa69e;
  --teal-300: #63cfc5;
  --teal-100: #e1f3f0;
  --blue: #2f68d4;
  --blue-300: #93b4ee;
  --amber: #b7791f;
  --danger: #b42318;
  --success: #12795b;

  --on-dark: #eef2f8;
  --on-dark-muted: #a9b6cb;
  --line-dark: rgba(255, 255, 255, .12);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.25rem, 1.1rem + .55vw, 1.5rem);
  --fs-h2: clamp(2.1rem, 1.35rem + 3vw, 3.6rem);
  --fs-h1: clamp(2.9rem, 1.4rem + 6.2vw, 6.25rem);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 51, .06);
  --shadow: 0 1px 2px rgba(10, 26, 51, .05), 0 14px 34px -14px rgba(10, 26, 51, .2);
  --shadow-lg: 0 40px 80px -30px rgba(6, 18, 38, .45);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 136px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 600; letter-spacing: -.015em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--teal-300); color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: calc(var(--section-y) * .6); }
.bg-off { background: var(--off); }
.bg-dark { background: var(--navy-900); color: var(--on-dark); }
.bg-dark .lead, .bg-dark .muted { color: var(--on-dark-muted); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-xs { width: .8em; height: .8em; }
.icon-sm { width: 1em; height: 1em; }

/* ---------- 3. Typography helpers --------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 18px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker-light, .bg-dark .kicker { color: var(--teal-300); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-title { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -.025em; }
.section-title em, .page-title em, .hero-title em, .signature-cta-title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
}
.lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 64ch; }
.muted { color: var(--muted); }
.serif { font-family: var(--font-serif); font-weight: 400; }

/* ---------- 4. Buttons & links ------------------------------------------ */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-size: .9375rem; font-weight: 600; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .3s var(--ease-out), box-shadow .3s;
  will-change: transform;
}
.btn:hover { box-shadow: 0 10px 24px -10px rgba(10, 26, 51, .45); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-primary { --btn-bg: var(--teal); }
.btn-primary:hover { --btn-bg: var(--teal-600); }
.btn-dark { --btn-bg: var(--navy-900); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: rgba(10, 26, 51, .25); }
.btn-outline:hover { --btn-bd: var(--navy-900); box-shadow: none; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn-light:hover { --btn-bg: var(--teal-100); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .06); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-icon-only { --btn-bg: var(--paper); --btn-fg: var(--navy-900); --btn-bd: var(--line); padding: 0; width: 48px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); text-decoration: none; }
.link-arrow .icon { transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }
.bg-dark .link-arrow { color: var(--teal-300); }

/* ---------- 5. Badges & tags -------------------------------------------- */
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--teal-100); color: var(--teal-600); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge-demo { background: #fff4e0; color: #8a5a10; border: 1px dashed #e0b264; }
.badge-live { background: rgba(99, 207, 197, .14); color: var(--teal-300); border: 1px solid rgba(99, 207, 197, .3); }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
.meta { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- 6. Header & navigation -------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 26, 51, .3); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); margin-right: auto; min-width: 0; }
.brand-mark {
  position: relative; display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy-900); color: #fff;
  font-family: var(--font-serif); font-size: 17px; letter-spacing: .04em;
}
.brand-mark::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 9px; height: 1.5px; background: var(--teal-300); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-serif); font-size: 1.375rem; letter-spacing: -.005em; white-space: nowrap; }
.brand-sub { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand-light { color: #fff; }
.brand-light .brand-mark { background: #fff; color: var(--navy-900); }

.main-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  background: none; border: 0; cursor: pointer; text-decoration: none;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--navy-900); background: var(--line-2); }
.nav-link.is-active { color: var(--navy-900); }
.nav-link .icon { transition: transform .25s var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-item { position: relative; }
.nav-item.has-menu:not(.is-dropdown) { position: static; }

.mega, .dropdown {
  position: absolute; top: 100%; z-index: 90;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.mega { left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(10, 26, 51, .35); }
.dropdown { left: 50%; min-width: 300px; margin-left: -150px; padding-top: 8px; }
.dropdown ul { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.has-menu.is-open > .mega, .has-menu.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.dropdown a:hover { background: var(--off); }
.dd-title { font-weight: 600; color: var(--navy-900); font-size: .9375rem; }
.dd-desc { font-size: var(--fs-sm); color: var(--muted); }

.mega-inner { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding-block: 36px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 16px; list-style: none; }
.mega-area { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.mega-area:hover { background: var(--off); }
.mega-area-title { display: block; font-weight: 600; color: var(--navy-900); font-size: .9375rem; line-height: 1.3; }
.mega-area-meta { display: block; font-size: 12px; color: var(--muted); }
.mega-all { margin: 14px 0 0 12px; font-size: var(--fs-sm); }
.mega-head { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-900); text-decoration: none; margin-bottom: 10px; }
.mega-head:hover span { text-decoration: underline; }
.mega-col ul { list-style: none; display: grid; gap: 2px; padding-left: 46px; }
.mega-col a { font-size: var(--fs-sm); color: var(--ink-2); text-decoration: none; display: inline-block; padding: 3px 0; }
.mega-col a:hover { color: var(--teal); }
.mega-col a.more { color: var(--teal); font-weight: 600; }
.mega-feature {
  display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius-lg);
  background: radial-gradient(120% 100% at 100% 0%, rgba(42, 166, 158, .35), transparent 55%), var(--navy-900);
  color: #fff; text-decoration: none; min-height: 100%;
}
.mega-feature .kicker { color: var(--teal-300); margin: 0; }
.mega-feature-title { font-family: var(--font-serif); font-size: 2rem; line-height: 1.05; }
.mega-feature-text { color: var(--on-dark-muted); font-size: var(--fs-sm); margin-bottom: auto; }
.mega-feature .link-arrow { color: var(--teal-300); margin-top: 18px; }

.service-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--teal-100); color: var(--teal-600); flex: none; }
.service-icon .icon { width: 20px; height: 20px; }

.header-cta { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.menu-toggle-lines { position: relative; width: 18px; height: 10px; }
.menu-toggle-lines span { position: absolute; left: 0; right: 0; height: 1.6px; background: var(--navy-900); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle-lines span:first-child { top: 0; }
.menu-toggle-lines span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; padding: 12px 0 120px; border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 1.25rem; font-weight: 500; cursor: pointer; list-style: none; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group[open] summary .icon { transform: rotate(180deg); }
.m-group ul, .m-links { list-style: none; }
.m-group ul { padding-bottom: 14px; }
.m-group ul a { display: block; padding: 10px 0; color: var(--ink-2); text-decoration: none; }
.m-links a { display: block; padding: 18px 0; font-size: 1.25rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 28px; }
body.menu-open { overflow: hidden; }

/* Transparent header over dark heroes (homepage), until the visitor scrolls or opens the menu */
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .brand { color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .brand-mark { background: #fff; color: var(--navy-900); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .brand-sub { color: var(--on-dark-muted); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-link { color: var(--on-dark-muted); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-link:hover,
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .08); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .menu-toggle { background: transparent; border-color: var(--line-dark); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .menu-toggle-lines span { background: #fff; }

@media (min-width: 1240px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 1.15rem; }
  .brand-sub { display: none; }
}

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: var(--on-dark);
  padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 128px);
  margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px));
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(42, 166, 158, .28), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(47, 104, 212, .22), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero .kicker { color: var(--teal-300); }
.hero-title { font-size: var(--fs-h1); font-weight: 500; letter-spacing: -.035em; line-height: .98; color: #fff; margin-bottom: 28px; }
.hero-title em { color: var(--teal-300); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.is-loaded .hero-title .line > span { transform: none; }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.hero-lead { font-size: var(--fs-lg); color: var(--on-dark-muted); max-width: 54ch; margin-bottom: 36px; }
.hero-lead strong { color: #fff; font-weight: 500; }
.hero-note { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-dark-muted); font-size: var(--fs-sm); list-style: none; }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note .icon { color: var(--teal-300); }
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.is-loaded .fade-up { opacity: 1; transform: none; }
.is-loaded .fade-up.d1 { transition-delay: .25s; }
.is-loaded .fade-up.d2 { transition-delay: .4s; }
.is-loaded .fade-up.d3 { transition-delay: .55s; }

/* Hero pipeline visual */
.pipeline {
  position: relative; padding: 22px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pipeline-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 18px; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.pipeline-track { position: relative; }
.pipeline-track::before { content: ""; position: absolute; left: 27px; top: 22px; bottom: 22px; width: 1px; background: var(--line-dark); }
.pipeline-list { list-style: none; display: grid; gap: 8px; }
.pipeline-progress { position: absolute; left: 27px; top: 22px; width: 1px; height: 0; background: linear-gradient(var(--teal-300), var(--blue-300)); transition: height .9s var(--ease-out); }
.pipe-step {
  position: relative; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 14px 12px 10px; border-radius: 12px; border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), opacity .5s;
  opacity: .55;
}
.pipe-dot { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); border: 1px solid var(--line-dark); font-size: 11px; font-weight: 600; color: var(--on-dark-muted); transition: background .5s, color .5s, box-shadow .5s; }
.pipe-label { font-weight: 600; color: #fff; line-height: 1.25; }
.pipe-label small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: var(--fs-sm); }
.pipe-meter { width: 72px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pipe-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal-400), var(--teal-300)); transition: width 1s var(--ease-out); }
.pipe-step.is-done, .pipe-step.is-active { opacity: 1; }
.pipe-step.is-done .pipe-meter span { width: 100%; }
.pipe-step.is-active { background: rgba(99, 207, 197, .08); border-color: rgba(99, 207, 197, .25); }
.pipe-step.is-active .pipe-dot, .pipe-step.is-done .pipe-dot { background: var(--teal); color: #fff; border-color: transparent; }
.pipe-step.is-active .pipe-dot { box-shadow: 0 0 0 6px rgba(99, 207, 197, .15); }
.pipe-step.is-active .pipe-meter span { width: 70%; }

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
}

/* ---------- 8. "What can we help you solve?" ---------------------------- */
.solver { display: grid; gap: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer;
  font-size: .9375rem; font-weight: 500; transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--navy-900); color: var(--navy-900); transform: translateY(-1px); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.bg-dark .chip { background: transparent; border-color: var(--line-dark); color: var(--on-dark-muted); }
.bg-dark .chip:hover { border-color: #fff; color: #fff; }
.bg-dark .chip[aria-selected="true"] { background: #fff; color: var(--navy-900); border-color: #fff; }
.solver-panel {
  position: relative; display: grid; gap: 20px; align-items: end;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--off); border: 1px solid var(--off-2);
  overflow: hidden;
}
.solver-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid var(--off-2); box-shadow: 0 0 0 40px rgba(255, 255, 255, .4), 0 0 0 80px rgba(255, 255, 255, .25); pointer-events: none; }
.solver-panel[hidden] { display: none; }
.solver-panel.is-entering { animation: panelIn .55s var(--ease-out); }
.solver-label { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 0; }
.solver-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); line-height: 1.05; margin: 0; max-width: 22ch; }
.solver-text { color: var(--ink-2); max-width: 60ch; margin: 0; }
@media (min-width: 900px) { .solver-panel { grid-template-columns: 1fr auto; } .solver-panel .solver-copy { display: grid; gap: 14px; } }

/* ---------- 9. Manifesto (homepage story) -------------------------------- */
.manifesto { display: grid; gap: 4px; }
.manifesto-line {
  font-family: var(--font-serif); font-size: clamp(2rem, 1.2rem + 3.6vw, 4.25rem); line-height: 1.08; letter-spacing: -.02em;
  color: rgba(19, 26, 37, .14); transition: color .6s var(--ease);
  margin: 0;
}
.manifesto-line.is-lit { color: var(--ink); }
.manifesto-line.is-final.is-lit { color: var(--teal); }
.manifesto-line em { font-style: italic; }

/* ---------- 10. Journey: From Compliance to Intelligence ---------------- */
.journey { display: grid; gap: 40px; }
.journey-aside { position: relative; }
.journey-progress { display: none; }
.journey-steps { list-style: none; display: grid; gap: 14px; counter-reset: step; }
.journey-step {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease-out);
}
.journey-num { font-family: var(--font-serif); font-size: 2.25rem; line-height: 1; color: var(--on-dark-muted); transition: color .5s; }
.journey-step h3 { font-size: var(--fs-h3); font-weight: 500; color: #fff; margin-bottom: 6px; }
.journey-step p { color: var(--on-dark-muted); margin: 0; }
.journey-step.is-active { background: rgba(99, 207, 197, .07); border-color: rgba(99, 207, 197, .35); }
.journey-step.is-active .journey-num { color: var(--teal-300); }
.journey-arrow { display: grid; place-items: center; color: var(--teal-300); height: 0; position: relative; }
@media (min-width: 960px) {
  .journey { grid-template-columns: 5fr 7fr; gap: 72px; }
  .journey-aside { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
  .journey-progress { display: block; margin-top: 40px; }
  .journey-meter { position: relative; height: 2px; background: var(--line-dark); border-radius: 2px; overflow: hidden; }
  .journey-meter span { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--teal-300), var(--blue-300)); transition: width .5s var(--ease-out); }
  .journey-current { margin-top: 18px; display: flex; align-items: baseline; gap: 14px; }
  .journey-current-num { font-family: var(--font-serif); font-size: 4.5rem; line-height: 1; color: #fff; }
  .journey-current-label { color: var(--teal-300); font-weight: 600; letter-spacing: .04em; }
  .journey-step { padding: 34px; min-height: 30vh; align-content: center; }
}

/* ---------- 11. Cards (generic) ----------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.card-title { font-size: var(--fs-h3); font-weight: 600; margin: 0; letter-spacing: -.01em; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-text { color: var(--ink-2); margin: 0; }
.card-foot { margin: auto 0 0; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: var(--fs-sm); color: var(--muted); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ---------- 12. Pillars ("Built for the Next Decade") ------------------- */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pillar {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 340px;
  padding: clamp(28px, 3vw, 40px); background: #fff; overflow: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
.pillar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.pillar-num { font-family: var(--font-serif); font-size: 3.5rem; line-height: 1; color: var(--line); transition: color .5s, transform .6s var(--ease-out); transform-origin: left bottom; }
.pillar-name { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin: 0; }
.pillar-title { font-size: var(--fs-h3); font-weight: 500; margin: 0; }
.pillar-text { color: var(--muted); margin: 0; transition: color .5s; }
.pillar-more { margin-top: auto; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease-out); }
.pillar:hover, .pillar:focus-within { background: var(--navy-900); color: #fff; }
.pillar:hover::before, .pillar:focus-within::before { transform: scaleX(1); }
.pillar:hover .pillar-num, .pillar:focus-within .pillar-num { color: var(--teal-300); transform: scale(1.08); }
.pillar:hover .pillar-name, .pillar:focus-within .pillar-name { color: var(--teal-300); }
.pillar:hover .pillar-text, .pillar:focus-within .pillar-text { color: var(--on-dark-muted); }
.pillar:hover .pillar-more, .pillar:focus-within .pillar-more { opacity: 1; transform: none; }
.pillar .link-arrow { color: var(--teal-300); }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
@media (hover: none) { .pillar-more { opacity: 1; transform: none; } }

/* ---------- 13. Practice-area cards ------------------------------------- */
.practice-card { min-height: 300px; gap: 16px; }
.practice-card .service-icon { width: 48px; height: 48px; border-radius: 14px; }
.practice-card .service-icon .icon { width: 24px; height: 24px; }
.practice-card .card-title a { position: static; }
.practice-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.practice-list li { font-size: 12.5px; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: var(--off); }
.practice-card .link-arrow { margin-top: auto; }
.practice-card.is-feature { background: radial-gradient(120% 90% at 100% 0%, rgba(42, 166, 158, .35), transparent 55%), var(--navy-900); color: #fff; border-color: transparent; }
.practice-card.is-feature .card-text { color: var(--on-dark-muted); }
.practice-card.is-feature .service-icon { background: rgba(99, 207, 197, .15); color: var(--teal-300); }
.practice-card.is-feature .link-arrow { color: var(--teal-300); }
.practice-card.is-feature .practice-list li { background: rgba(255, 255, 255, .08); color: var(--on-dark); }

/* ---------- 14. About Jainkv teaser ------------------------------------- */
.meet { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait.is-placeholder {
  display: grid; place-items: center;
  background: radial-gradient(80% 60% at 70% 20%, rgba(42, 166, 158, .45), transparent 60%), radial-gradient(70% 60% at 10% 100%, rgba(47, 104, 212, .35), transparent 60%), var(--navy-900);
}
.portrait-mark { font-family: var(--font-serif); font-size: clamp(4rem, 10vw, 7rem); color: rgba(255, 255, 255, .9); letter-spacing: .02em; }
.portrait figcaption { position: absolute; left: 20px; bottom: 18px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.meet-name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); line-height: 1; margin-bottom: 14px; letter-spacing: -.02em; }
.meet-title { font-size: var(--fs-sm); font-weight: 600; letter-spacing: .04em; color: var(--teal); margin-bottom: 22px; }
.intersection { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 26px 0 30px; }
.intersection li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; }
.intersection li + li::before { content: "+"; color: var(--teal); font-weight: 700; margin-right: 2px; }
.portrait-wrap { position: relative; }
.portrait-wrap::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); z-index: -1; }
@media (min-width: 900px) { .meet { grid-template-columns: 5fr 7fr; } }

/* Quotes */
.quote-block { margin: 32px 0 0; padding: 26px 28px; border-left: 2px solid var(--teal); background: var(--off); border-radius: 0 var(--radius) var(--radius) 0; }
.quote-block blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.25; }
.quote-block figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- 15. Dashboard (Numbers to Decisions) ------------------------ */
.n2d-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin-bottom: 28px; }
.n2d-flow li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.n2d-flow li span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-dark); transition: all .4s var(--ease); }
.n2d-flow li.is-on span { border-color: var(--teal-300); color: #fff; background: rgba(99, 207, 197, .1); }
.n2d-flow li + li::before { content: "→"; color: var(--teal-300); opacity: .6; }

.dash {
  display: grid; gap: 1px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--line-dark); border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
  color: var(--on-dark);
}
.dash > * { background: var(--navy-800); }
.dash-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 22px; }
.dash-title { font-weight: 600; color: #fff; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-size: var(--fs-sm); color: var(--on-dark-muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy-900); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); }
.kpi {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-align: left;
  background: var(--navy-800); border: 0; color: inherit; cursor: pointer; transition: background .3s;
  position: relative;
}
.kpi::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal-300); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.kpi:hover { background: var(--navy-700); }
.kpi[aria-pressed="true"] { background: var(--navy-700); }
.kpi[aria-pressed="true"]::after { transform: scaleX(1); }
.kpi-label { font-size: 12px; color: var(--on-dark-muted); letter-spacing: .02em; }
.kpi-value { font-size: 1.35rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.kpi-delta { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.kpi-delta.up { color: var(--teal-300); }
.kpi-delta.down { color: #f2a09a; }
.dash-main { display: grid; gap: 1px; background: var(--line-dark); }
.dash-main > * { background: var(--navy-800); padding: 22px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.chart-head h3 { font-size: 1rem; font-weight: 600; color: #fff; margin: 0; }
.chart { width: 100%; height: 260px; }
.chart text { fill: var(--on-dark-muted); font-size: 11px; font-family: var(--font-sans); }
.chart .grid-line { stroke: rgba(255, 255, 255, .07); }
.chart .bar { fill: rgba(99, 207, 197, .28); transition: fill .3s; }
.chart .bar.is-last { fill: var(--teal-300); }
.chart .bar:hover { fill: var(--teal-300); }
.chart .line { fill: none; stroke: var(--blue-300); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#areaGrad); }
.chart .dot { fill: var(--navy-800); stroke: var(--blue-300); stroke-width: 2; }
.chart-draw .line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.2s var(--ease-out) forwards; }
.chart-draw .bar { transform-origin: bottom; transform-box: fill-box; animation: grow .8s var(--ease-out) both; }
.insight { display: flex; flex-direction: column; gap: 14px; }
.insight h3 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-300); margin: 0; display: flex; align-items: center; gap: 8px; }
.insight-text { color: #fff; font-size: 1.05rem; line-height: 1.55; margin: 0; min-height: 5em; }
.mini-kpis { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.mini-kpis strong { color: #fff; font-variant-numeric: tabular-nums; }
.whatif { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.whatif label { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); color: var(--on-dark-muted); margin-bottom: 10px; }
.whatif output { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.whatif-result { font-size: var(--fs-sm); color: var(--teal-300); margin: 10px 0 0; min-height: 1.5em; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal-300) var(--pct, 0%), rgba(255, 255, 255, .12) var(--pct, 0%)); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); cursor: grab; }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); cursor: grab; }
.dash-foot { padding: 12px 22px; font-size: 12px; color: var(--on-dark-muted); display: flex; align-items: center; gap: 8px; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .dash-main { grid-template-columns: 1.7fr 1fr; } .chart { height: 300px; } }

/* ---------- 16. Before / After AI --------------------------------------- */
.ba { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.ba-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.ba-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--off); border: 1px solid var(--line); }
.ba-switch button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); cursor: pointer; transition: all .3s var(--ease); }
.ba-switch button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.ba-list { list-style: none; display: grid; }
.ba-row { position: relative; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 16px; padding: 18px 26px; border-bottom: 1px solid var(--line-2); min-height: 72px; }
.ba-row:last-child { border-bottom: 0; }
.ba-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--off); color: var(--muted); transition: background .5s var(--ease), color .5s var(--ease); }
.ba-text { position: relative; display: grid; }
.ba-text > span { grid-area: 1 / 1; font-size: 1.0625rem; font-weight: 500; transition: opacity .45s var(--ease), transform .55s var(--ease-out), filter .45s; }
.ba-after { opacity: 0; transform: translateY(12px); filter: blur(4px); color: var(--navy-900); }
.ba-before { color: var(--muted); text-decoration: line-through; text-decoration-color: transparent; transition: text-decoration-color .3s; }
.ba.is-after .ba-before { opacity: 0; transform: translateY(-12px); filter: blur(4px); }
.ba.is-after .ba-after { opacity: 1; transform: none; filter: none; }
.ba.is-after .ba-icon { background: var(--teal-100); color: var(--teal-600); }
.ba-row:nth-child(2) span, .ba-row:nth-child(2) .ba-icon { transition-delay: .07s; }
.ba-row:nth-child(3) span, .ba-row:nth-child(3) .ba-icon { transition-delay: .14s; }
.ba-row:nth-child(4) span, .ba-row:nth-child(4) .ba-icon { transition-delay: .21s; }
.ba-row:nth-child(5) span, .ba-row:nth-child(5) .ba-icon { transition-delay: .28s; }
.ba-row:nth-child(6) span, .ba-row:nth-child(6) .ba-icon { transition-delay: .35s; }
.ba-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; background: var(--off); border-top: 1px solid var(--line); }

.ai-split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.ai-points { list-style: none; display: grid; gap: 14px; margin: 26px 0 32px; }
.ai-points li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.ai-points .icon { color: var(--teal); margin-top: 3px; }
.ai-points strong { color: var(--ink); }
@media (min-width: 960px) { .ai-split { grid-template-columns: 1fr 1fr; } }

.disclaimer { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 18px 0 0; max-width: 90ch; }
.disclaimer .icon { color: var(--teal); margin-top: 2px; }
.bg-dark .disclaimer { color: var(--on-dark-muted); }

/* ---------- 17. IBC section ---------------------------------------------- */
.ibc-grid { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.ibc-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3vw, 36px); background: var(--navy-900); transition: background .4s var(--ease); text-decoration: none; color: inherit; }
.ibc-card:hover { background: var(--navy-800); }
.ibc-card .ibc-num { font-size: var(--fs-xs); letter-spacing: .16em; color: var(--teal-300); font-weight: 600; }
.ibc-card h3 { font-size: var(--fs-h3); font-weight: 500; color: #fff; margin: 0; }
.ibc-card p { color: var(--on-dark-muted); margin: 0; }
.ibc-card .link-arrow { margin-top: auto; padding-top: 10px; }
@media (min-width: 760px) { .ibc-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 18. Client journey (horizontal) ----------------------------- */
.hscroll { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.hscroll > * { scroll-snap-align: start; }
.process-step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); min-height: 220px; display: flex; flex-direction: column; gap: 10px; }
.process-step::before { content: ""; position: absolute; left: 26px; right: -16px; top: 0; height: 2px; background: linear-gradient(90deg, var(--teal), transparent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.process-step.is-in::before { transform: scaleX(1); }
.process-num { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: var(--teal); }
.process-step h3 { font-size: 1.25rem; font-weight: 600; margin: 4px 0 0; }
.process-step p { color: var(--muted); margin: 0; }
@media (min-width: 1100px) { .hscroll.process { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } }

/* ---------- 19. Industries --------------------------------------------- */
.industry-panel { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; }
.industry-panel[hidden] { display: none; }
.industry-panel.is-entering { animation: panelIn .5s var(--ease-out); }
.industry-panel > * { background: #fff; padding: 24px; }
.industry-intro { background: var(--navy-900) !important; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.industry-intro h3 { font-family: var(--font-serif); font-weight: 400; font-size: 2.2rem; margin: 0; line-height: 1; }
.industry-intro p { color: var(--on-dark-muted); margin: 0; }
.industry-intro .link-arrow { margin-top: auto; color: var(--teal-300); }
.industry-col h4 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 12px; }
.industry-col ul { list-style: none; display: grid; gap: 8px; }
.industry-col li { position: relative; padding-left: 16px; font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.industry-col li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-300); }
@media (min-width: 720px) { .industry-panel { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .industry-panel { grid-template-columns: 1.3fr repeat(5, 1fr); } }

/* ---------- 20. Video ---------------------------------------------------- */
.video { display: grid; gap: 18px; align-content: start; }
.video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); cursor: pointer; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.video-frame:hover img { transform: scale(1.03); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--navy-900); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .4s var(--ease-out); }
.video-play-icon .icon { width: 26px; height: 26px; margin-left: 3px; }
.video-frame:hover .video-play-icon { transform: scale(1.08); }
.video-play-icon.is-muted { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); box-shadow: none; }
.video.is-placeholder .video-frame { cursor: default; }
.video-placeholder-art { position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 10%, rgba(42, 166, 158, .4), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(47, 104, 212, .3), transparent 60%), var(--navy-900); }
.video-placeholder-art span { position: absolute; left: 8%; right: 8%; height: 1px; background: var(--line-dark); }
.video-placeholder-art span:nth-child(1) { top: 30%; } .video-placeholder-art span:nth-child(2) { top: 50%; } .video-placeholder-art span:nth-child(3) { top: 70%; }
.video-meta h3 { font-size: var(--fs-h3); font-weight: 500; margin: 0 0 6px; }
.video-meta .kicker { margin-bottom: 8px; }
.video-meta p { margin: 0; }
.video-grid { display: grid; gap: 32px; }
.video-grid .video-side { display: grid; gap: 28px; align-content: start; }
.video-side .video-meta h3 { font-size: 1.1rem; }
@media (min-width: 960px) { .video-grid { grid-template-columns: 1.6fr 1fr; } }

/* ---------- 21. Events, articles ---------------------------------------- */
.event-card { padding: 0; overflow: hidden; }
.event-media { aspect-ratio: 16 / 10; background: var(--navy-900); overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; }
.event-art { width: 100%; height: 100%; display: grid; place-items: center; color: var(--teal-300); background: radial-gradient(70% 80% at 80% 0%, rgba(42, 166, 158, .4), transparent 60%), var(--navy-900); }
.event-art .icon { width: 40px; height: 40px; }
.event-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-card { min-height: 280px; }
.empty-state { padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); background: rgba(255, 255, 255, .5); }
.empty-title { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.bg-dark .empty-state { border-color: var(--line-dark); background: transparent; }
.bg-dark .empty-title { color: #fff; }
.section-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* ---------- 22. Trust: stats, credentials ------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 56px; }
.stat { background: #fff; padding: 30px 28px; }
.stat-value { font-family: var(--font-serif); font-size: clamp(2.8rem, 2rem + 2.5vw, 4rem); line-height: 1; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.stat-label { margin: 10px 0 0; color: var(--muted); font-size: var(--fs-sm); }

.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 16px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: all .25s; }
.carousel-nav button:hover:not(:disabled) { border-color: var(--navy-900); }
.carousel-nav button:disabled { opacity: .35; cursor: default; }
.credential { min-height: 220px; }
.credential-year { font-family: var(--font-serif); font-size: 1.6rem; color: var(--teal); line-height: 1; }
.credential-issuer { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.credential .link-arrow { margin-top: auto; font-size: var(--fs-sm); position: relative; z-index: 2; }

.testimonial { gap: 18px; }
.testimonial blockquote { margin: 0; font-size: 1.125rem; line-height: 1.55; }
.testimonial figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: auto; }
.testimonial figcaption strong { display: block; color: var(--ink); }

/* ---------- 23. Signature CTA ------------------------------------------- */
.signature-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: #fff; padding-block: clamp(80px, 11vw, 160px); text-align: center; }
.signature-cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 80% at 50% 0%, rgba(42, 166, 158, .35), transparent 60%), radial-gradient(40% 60% at 100% 100%, rgba(47, 104, 212, .25), transparent 60%); }
.signature-cta-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%); opacity: .6; }
.signature-cta-inner { max-width: 980px; }
.signature-cta .kicker { justify-content: center; }
.signature-cta-title { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.04; margin-bottom: 40px; }
.signature-cta-title em { color: var(--teal-300); }
.signature-cta .actions { justify-content: center; }

/* ---------- 24. Footer --------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); font-size: .9375rem; padding-bottom: 88px; }
.footer-top { display: grid; gap: 40px; padding-block: 64px 48px; }
.footer-head { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover, .legal-links a:hover { color: #fff; text-decoration: underline; }
.footer-descriptor { margin: 18px 0 6px; color: #fff; font-size: var(--fs-sm); letter-spacing: .02em; }
.footer-tagline { font-family: var(--font-serif); font-size: 1.5rem; color: var(--teal-300); margin: 0 0 22px; }
.footer-col address p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-col address .icon { margin-top: 4px; color: var(--teal-300); }
.footer-area { font-size: var(--fs-sm); margin: 14px 0 20px; }
.footer-map { display: inline-block; margin-top: 6px; color: var(--teal-300); font-size: var(--fs-sm); font-weight: 600; }
.social { display: flex; gap: 8px; list-style: none; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; transition: all .25s; }
.social a:hover { background: #fff; color: var(--navy-900); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: var(--fs-sm); }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; }
.legal-links a { text-decoration: none; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } .site-footer { padding-bottom: 0; } }

/* ---------- 25. Floating WhatsApp & mobile CTA -------------------------- */
.whatsapp-fab { position: fixed; right: 20px; bottom: 24px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1f9d55; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4); transition: transform .3s var(--ease-out); }
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab .icon { width: 28px; height: 28px; }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease-out); }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn-primary { flex: 1; }
@media (max-width: 899px) {
  .whatsapp-fab { bottom: 24px; right: 16px; width: 52px; height: 52px; transition: transform .3s var(--ease-out), opacity .3s; }
  /* The sticky mobile bar has its own WhatsApp button — avoid showing two */
  .mobile-cta-on .whatsapp-fab { opacity: 0; pointer-events: none; transform: scale(.8); }
}
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- 26. Inner pages --------------------------------------------- */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 104px) clamp(40px, 6vw, 80px); background: var(--off); border-bottom: 1px solid var(--off-2); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(42, 166, 158, .12), transparent 65%); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.page-title { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 22px; max-width: 18ch; }
.page-hero .lead { margin-bottom: 30px; }
.page-hero.is-dark { background: var(--navy-950); color: #fff; border-bottom: 0; }
.page-hero.is-dark .lead { color: var(--on-dark-muted); }
.page-hero.is-dark .kicker { color: var(--teal-300); }
@media (min-width: 960px) { .page-hero.has-visual .page-hero-inner { grid-template-columns: 1.2fr .8fr; } }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 26px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

.prose { max-width: 72ch; font-size: 1.0625rem; color: var(--ink-2); }
.prose h2 { font-size: 1.75rem; font-weight: 600; color: var(--ink); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.3rem; font-weight: 600; color: var(--ink); margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: .45em; }
.prose a { color: var(--teal); }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--teal); font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); }
.prose > :first-child { margin-top: 0; }

.split { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-left { grid-template-columns: 1.5fr 1fr; } }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.check-list .icon { color: var(--teal); margin-top: 3px; }

/* ---------- 27. Forms ---------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid #ccd3dc; background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42, 166, 158, .18); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: var(--fs-sm); color: var(--danger); margin: 0; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: var(--fs-sm); color: var(--ink-2); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); }
.alert { padding: 16px 18px; border-radius: 12px; font-size: .9375rem; }
.alert-success { background: #e7f6ef; color: #0e5d44; border: 1px solid #b6e3cf; }
.alert-error { background: #fdecea; color: #8e1c13; border: 1px solid #f5c2bd; }

/* ---------- 28. Reveal animations --------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: .24s; }
.js [data-reveal-stagger].is-in > *:nth-child(5) { transition-delay: .32s; }
.js [data-reveal-stagger].is-in > *:nth-child(6) { transition-delay: .4s; }
.js [data-reveal-stagger].is-in > *:nth-child(n+7) { transition-delay: .48s; }

@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- 29. Reduced motion ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal-stagger] > *, .fade-up, .hero-title .line > span { opacity: 1 !important; transform: none !important; }
  .manifesto-line { color: var(--ink); }
}

/* ---------- 30. Print ---------------------------------------------------- */
@media print {
  .site-header, .site-footer, .signature-cta, .whatsapp-fab, .mobile-cta { display: none !important; }
  .hero, .bg-dark { background: #fff !important; color: #000 !important; }
}
