/* === KWM TECHNOLOGIES — DESIGN SYSTEM v5 === */

:root {
  --bg-base: #0D0B1E;
  --bg-elev-1: #181431;
  --bg-elev-2: #221E40;
  --bg-glass: rgba(34, 30, 64, 0.60);
  --bg-glass-strong: rgba(34, 30, 64, 0.85);
  --bg-warm: #F7F3EA;
  --bg-warm-soft: #EFEADD;
  --bg-warm-card: #FDFAF3;

  --ink-pure: #FFFFFF;
  --ink-100: #ECE6DA;
  --ink-200: #BFB8AC;
  --ink-300: #948D82;
  --ink-400: #66605A;
  --ink-warm: #1F1A14;
  --ink-warm-soft: #4A4339;
  --ink-warm-mute: #7A7065;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-warm: rgba(31, 26, 20, 0.10);
  --border-warm-strong: rgba(31, 26, 20, 0.18);

  --saffron: #F59736;
  --saffron-deep: #C76C18;
  --saffron-soft: #FFB35E;
  --saffron-tint: rgba(245, 151, 54, 0.10);

  --indigo: #2D2E6D;
  --indigo-deep: #1A1B4B;
  --indigo-soft: #6263B5;
  --indigo-bright: #9B9DDD;
  --indigo-glow: #C5C6F0;
  --indigo-tint: rgba(98, 99, 181, 0.12);

  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-warm: 0 8px 24px rgba(31, 26, 20, 0.06), 0 2px 6px rgba(31, 26, 20, 0.04);
  --shadow-warm-lg: 0 18px 50px rgba(31, 26, 20, 0.10), 0 6px 16px rgba(31, 26, 20, 0.06);

  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--ink-100);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 80% -10%, rgba(245, 151, 54, 0.14), transparent 60%),
    radial-gradient(ellipse 800px 600px at 0% 60%, rgba(98, 99, 181, 0.16), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 100% 100%, rgba(45, 46, 109, 0.30), transparent 60%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0px, transparent 3px, rgba(255, 255, 255, 0.015) 3px, rgba(255, 255, 255, 0.015) 4px),
    repeating-linear-gradient(-45deg, transparent 0px, transparent 3px, rgba(255, 255, 255, 0.012) 3px, rgba(255, 255, 255, 0.012) 4px);
  pointer-events: none; z-index: 1; mix-blend-mode: overlay;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* === NAV === */
.nav {
  position: sticky; top: 16px; z-index: 50;
  margin: 16px auto 0; max-width: 1200px;
  padding: 12px 16px 12px 22px;
  background: var(--bg-glass-strong);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  color: var(--ink-pure);
  letter-spacing: -0.01em; line-height: 1; text-decoration: none;
}
.logo-svg { display: block; flex-shrink: 0; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.logo-svg .arch { transition: stroke 0.3s, filter 0.3s; }
.logo:hover .logo-svg { transform: translateY(-2px); }
.logo:hover .logo-svg .arch { filter: drop-shadow(0 0 6px var(--saffron-soft)); }

.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--ink-200); font-family: 'Geist', sans-serif; }
.nav-links a { text-decoration: none; color: inherit; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink-pure); }
.nav-links a.active { color: var(--saffron-soft); }
.nav-cta {
  background: var(--ink-pure); color: var(--bg-base);
  padding: 10px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 500; font-family: 'Geist', sans-serif;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 255, 255, 0.14); }

/* Mobile nav hamburger — injected by motion.js, hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0; margin-left: 8px;
  background: transparent; border: none; cursor: pointer; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 0 auto;
  background: var(--ink-pure); border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
}
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === COMMON === */
em.italic { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  color: var(--saffron-soft); background: var(--saffron-tint);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(245, 151, 54, 0.25);
  margin-bottom: 28px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--saffron-soft);
  box-shadow: 0 0 0 4px rgba(245, 151, 54, 0.20), 0 0 12px var(--saffron-soft);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* === BUTTONS === */
.btn-primary {
  background: linear-gradient(180deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  color: #fff; padding: 14px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 24px rgba(199, 108, 24, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.10);
  cursor: pointer; font-family: 'Geist', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 12px 32px rgba(199, 108, 24, 0.50); }
.btn-ghost {
  background: var(--bg-glass); backdrop-filter: blur(12px);
  color: var(--ink-pure); padding: 13px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s; cursor: pointer; font-family: 'Geist', sans-serif;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.30); }
.arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(3px); }

/* === HERO (home only) === */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
h1.hero-headline {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(48px, 6vw, 78px); line-height: 1.02;
  letter-spacing: -0.025em; color: var(--ink-pure); margin-bottom: 26px;
}
h1.hero-headline em { font-style: italic; color: var(--saffron-soft); }
.hero-sub { font-size: 18px; color: var(--ink-200); line-height: 1.65; max-width: 520px; margin-bottom: 22px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.hero-tag {
  font-size: 12px; color: var(--ink-300);
  padding: 5px 11px; border: 1px solid var(--border-strong);
  border-radius: 999px; background: rgba(255, 255, 255, 0.02);
}
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Cinematic video showcase (Vyapar promo — homepage band + Vyapar page).
   Saffron-tinted frame + glow reads well on both dark and cream sections. */
.video-showcase {
  position: relative; max-width: 940px; margin: 4px 0 36px;
  aspect-ratio: 16 / 9; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid rgba(245, 151, 54, 0.22); background: #000;
  box-shadow: var(--shadow-md), 0 0 50px rgba(245, 151, 54, 0.10);
}
.video-showcase video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Hero visual (home) — Vyapar OS stack */
.hero-visual { position: relative; height: 540px; }
.vyapar-stack { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 380px; height: 460px; }
.stack-back {
  position: absolute; background: var(--bg-glass-strong); backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 16px 20px; width: 320px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.stack-back.s-1 { top: 0; left: 30px; transform: rotate(-4deg); opacity: 0.85; }
.stack-back.s-2 { top: 60px; left: 60px; transform: rotate(2deg); opacity: 0.9; }
.stack-mark {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.stack-mark.indigo { background: var(--indigo-tint); color: var(--indigo-bright); box-shadow: 0 0 16px rgba(98, 99, 181, 0.30); }
.stack-mark.saffron { background: var(--saffron-tint); color: var(--saffron-soft); box-shadow: 0 0 16px rgba(245, 151, 54, 0.25); }
.stack-mark svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.stack-name { font-size: 13px; font-weight: 500; color: var(--ink-100); }
.stack-meta { font-size: 11px; color: var(--ink-300); }

.vyapar-feature {
  position: absolute; top: 120px; left: 0; width: 360px;
  background: linear-gradient(180deg, rgba(45, 46, 109, 0.55) 0%, rgba(20, 16, 40, 0.95) 100%);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(245, 151, 54, 0.35);
  border-radius: var(--radius-xl); padding: 24px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(245, 151, 54, 0.20);
  animation: floatGentle 8s ease-in-out infinite;
}
@keyframes floatGentle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.vf-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.vf-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  box-shadow: 0 6px 18px rgba(245, 151, 54, 0.40);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 22px; padding-bottom: 4px;
}
.vf-name { font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--ink-pure); line-height: 1.1; }
.vf-sub { font-size: 11px; color: var(--saffron-soft); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.vf-desc { font-size: 13px; color: var(--ink-200); line-height: 1.55; margin-bottom: 18px; }
.vf-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 18px; }
.vf-mod {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--ink-200);
  padding: 6px 8px; background: rgba(255, 255, 255, 0.04); border-radius: 8px;
}
.vf-mod-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--saffron-soft); box-shadow: 0 0 6px var(--saffron-soft); flex-shrink: 0;
}
.vf-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--saffron-soft); font-weight: 500; }
.periph {
  position: absolute; background: var(--bg-glass-strong); backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 10px 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  animation: floatGentle 7s ease-in-out infinite;
}
.periph.p-1 { top: 360px; left: -20px; animation-delay: 1s; }
.periph.p-2 { top: 420px; right: -10px; animation-delay: 3s; }
.periph.p-3 { top: 40px; right: -10px; animation-delay: 2s; }

/* === PAGE HERO (inner pages) === */
.page-hero {
  position: relative; padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero-eyebrow {
  font-size: 12px; font-weight: 500;
  color: var(--saffron-soft);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero-headline {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(44px, 5.4vw, 68px); line-height: 1.02;
  letter-spacing: -0.025em; color: var(--ink-pure);
  max-width: 880px; margin-bottom: 22px;
}
.page-hero-headline em { font-style: italic; color: var(--saffron-soft); }
.page-hero-headline em.indigo { color: var(--indigo-bright); }
.page-hero-sub {
  font-size: 18px; color: var(--ink-200); line-height: 1.65;
  max-width: 640px;
}

/* === TRUST STRIP === */
.trust-strip { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-label {
  font-size: 12px; color: var(--ink-400);
  letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; margin-bottom: 36px;
}
.trust-logos { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 24px; }
.tlogo {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  font-family: 'Instrument Serif', serif; font-size: 16px;
  color: var(--ink-300); opacity: 0.75;
  transition: opacity 0.3s, color 0.3s;
  cursor: default; letter-spacing: -0.005em; white-space: nowrap;
}
.tlogo:hover { opacity: 1; color: var(--ink-100); }
.tlogo svg { flex-shrink: 0; color: var(--ink-300); transition: color 0.3s; }
.tlogo:hover svg { color: var(--saffron-soft); }

/* === SECTIONS === */
section.std { padding: 120px 0; position: relative; }
.section-eyebrow {
  font-size: 12px; font-weight: 500;
  color: var(--saffron-soft);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-headline {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--ink-pure);
  max-width: 800px; margin-bottom: 22px;
}
.section-headline em { font-style: italic; color: var(--saffron-soft); }
.section-headline em.indigo { color: var(--indigo-bright); }
.section-intro {
  font-size: 17px; color: var(--ink-200);
  max-width: 660px; margin-bottom: 64px; line-height: 1.65;
}

/* === AI ENGINE === */
.engine {
  background: linear-gradient(180deg, var(--bg-elev-1) 0%, var(--bg-base) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; overflow: hidden;
}
.engine::before {
  content: ''; position: absolute;
  top: -150px; right: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245, 151, 54, 0.20), transparent 70%);
  filter: blur(40px);
}
.engine::after {
  content: ''; position: absolute;
  bottom: -100px; left: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(98, 99, 181, 0.22), transparent 70%);
  filter: blur(40px);
}
.engine-content { position: relative; z-index: 2; }
.engine-headline { font-family: 'Instrument Serif', serif; font-size: clamp(32px, 3.8vw, 44px); line-height: 1.1; color: var(--ink-pure); margin-bottom: 18px; }
.engine-headline em { color: var(--saffron-soft); font-style: italic; }
.engine-body { font-size: 16px; color: var(--ink-200); line-height: 1.65; margin-bottom: 24px; }
.engine-list { list-style: none; }
.engine-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: 14px; color: var(--ink-100); border-bottom: 1px solid var(--border); }
.engine-list li:last-child { border-bottom: none; }
.check {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  box-shadow: 0 2px 8px rgba(245, 151, 54, 0.40);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; margin-top: 1px;
}
.engine-visual { position: relative; width: 100%; aspect-ratio: 1; max-width: 380px; margin: 0 auto; }
.engine-orbit { position: absolute; inset: 0; border: 1px dashed rgba(255, 255, 255, 0.10); border-radius: 50%; animation: rotate 30s linear infinite; }
.engine-orbit.inner { inset: 60px; animation-duration: 20s; animation-direction: reverse; }
@keyframes rotate { to { transform: rotate(360deg); } }
.engine-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--saffron-soft), var(--saffron-deep) 60%, var(--indigo-deep));
  box-shadow: 0 0 60px rgba(245, 151, 54, 0.50), inset 0 -10px 30px rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
}
.engine-core span { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 32px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.engine-satellite {
  position: absolute; width: 66px; height: 66px; border-radius: 18px;
  background: var(--bg-glass-strong); backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; text-align: center; line-height: 1.2; white-space: nowrap;
}
.sat-1 { top: 0; left: 50%; transform: translateX(-50%); color: var(--saffron-soft); }
.sat-2 { top: 50%; right: 0; transform: translateY(-50%); color: var(--indigo-bright); }
.sat-3 { bottom: 0; left: 50%; transform: translateX(-50%); color: var(--saffron-soft); }
.sat-4 { top: 50%; left: 0; transform: translateY(-50%); color: var(--indigo-bright); }

/* === CAPABILITY GRID === */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-card {
  background: linear-gradient(180deg, rgba(34, 30, 64, 0.55) 0%, rgba(13, 11, 30, 0.55) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.cap-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent); }
.cap-card:hover { transform: translateY(-4px); border-color: rgba(245, 151, 54, 0.30); box-shadow: var(--shadow-md), 0 0 30px rgba(245, 151, 54, 0.10); }
.cap-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--saffron-tint); color: var(--saffron-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.cap-icon.indigo { background: var(--indigo-tint); color: var(--indigo-bright); }
.cap-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.cap-title { font-size: 16px; font-weight: 500; color: var(--ink-pure); margin-bottom: 8px; }
.cap-body { font-size: 14px; color: var(--ink-300); line-height: 1.6; }
.cap-card.expanded { padding: 36px; }
.cap-card.expanded .cap-title { font-size: 22px; font-family: 'Instrument Serif', serif; font-weight: 400; margin-bottom: 12px; }
.cap-card.expanded .cap-body { font-size: 15px; }
.cap-details {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border);
  display: grid; gap: 8px;
}
.cap-detail { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-200); }
.cap-detail::before { content: '·'; color: var(--saffron-soft); font-weight: bold; }

/* === VYAPAR MARKET OS === */
.os-section { padding: 120px 0; position: relative; }
.os-hero-card {
  background: linear-gradient(135deg, rgba(45, 46, 109, 0.45) 0%, rgba(20, 16, 40, 0.95) 100%);
  border: 1px solid rgba(245, 151, 54, 0.25);
  border-radius: var(--radius-xl); padding: 56px;
  position: relative; overflow: hidden; margin-bottom: 32px;
}
.os-hero-card::before {
  content: ''; position: absolute; top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245, 151, 54, 0.20), transparent 70%);
  filter: blur(50px);
}
.os-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.os-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500;
  color: var(--saffron-soft); background: var(--saffron-tint);
  border: 1px solid rgba(245, 151, 54, 0.30);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 22px; letter-spacing: 0.06em; text-transform: uppercase;
}
.os-status::before { content: '●'; color: var(--saffron-soft); animation: pulse 2.5s ease-in-out infinite; }
.os-headline { font-family: 'Instrument Serif', serif; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; color: var(--ink-pure); margin-bottom: 18px; }
.os-headline em { font-style: italic; color: var(--saffron-soft); }
.os-body { font-size: 16px; color: var(--ink-200); line-height: 1.7; margin-bottom: 28px; }
.os-quote {
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: 17px;
  color: var(--ink-100); line-height: 1.55;
  padding-left: 16px; border-left: 2px solid var(--saffron); margin-bottom: 28px;
}
.os-evolution { position: relative; padding: 8px 0; }
.evo-row {
  display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 16px;
  padding: 14px 18px; margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(45, 46, 109, 0.55) 0%, rgba(26, 27, 75, 0.40) 100%);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--indigo-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: all 0.3s; position: relative;
}
.evo-row:hover { transform: translateX(4px); }
.evo-row.current {
  background: linear-gradient(90deg, rgba(245, 151, 54, 0.18) 0%, rgba(199, 108, 24, 0.08) 100%);
  border-color: rgba(245, 151, 54, 0.30); border-left-color: var(--saffron);
  box-shadow: 0 4px 20px rgba(245, 151, 54, 0.15);
}
.evo-year { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 22px; color: var(--ink-200); line-height: 1; }
.evo-row.current .evo-year { color: var(--saffron-soft); }
.evo-content { min-width: 0; }
.evo-title { font-size: 14px; font-weight: 500; color: var(--ink-pure); margin-bottom: 2px; }
.evo-meta { font-size: 12px; color: var(--ink-300); }
.evo-badge { font-size: 10px; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; }
.evo-badge.live { background: var(--saffron-tint); color: var(--saffron-soft); border: 1px solid rgba(245, 151, 54, 0.30); }
.evo-badge.next { background: var(--indigo-tint); color: var(--indigo-bright); border: 1px solid rgba(98, 99, 181, 0.30); }
.evo-badge.future { background: rgba(255, 255, 255, 0.04); color: var(--ink-400); border: 1px solid var(--border); }

.modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.module-card {
  background: rgba(34, 30, 64, 0.50);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px 20px; transition: all 0.3s;
}
.module-card:hover { border-color: rgba(245, 151, 54, 0.30); background: rgba(45, 46, 109, 0.55); transform: translateY(-2px); }
.module-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--saffron-tint); color: var(--saffron-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.module-icon.indigo { background: var(--indigo-tint); color: var(--indigo-bright); }
.module-icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.module-name { font-size: 14px; font-weight: 500; color: var(--ink-pure); margin-bottom: 4px; }
.module-desc { font-size: 12px; color: var(--ink-300); line-height: 1.5; }
.module-layer { font-size: 10px; color: var(--ink-400); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }

/* === WARM TRUST SECTION === */
.warm-section {
  background: var(--bg-warm); color: var(--ink-warm);
  padding: 120px 0; position: relative; overflow: hidden;
}
.warm-section::before { content: ''; position: absolute; top: -100px; right: -50px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(245, 151, 54, 0.10), transparent 70%); filter: blur(40px); }
.warm-section::after { content: ''; position: absolute; bottom: -100px; left: -50px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(98, 99, 181, 0.10), transparent 70%); filter: blur(40px); }
.warm-eyebrow { font-size: 12px; font-weight: 500; color: var(--saffron-deep); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.warm-headline {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--ink-warm);
  max-width: 760px; margin-bottom: 22px;
}
.warm-headline em { font-style: italic; color: var(--saffron-deep); }
.warm-intro { font-size: 17px; color: var(--ink-warm-soft); max-width: 620px; margin-bottom: 64px; line-height: 1.7; }

.founder {
  background: var(--bg-warm-card); border: 1px solid var(--border-warm);
  border-radius: var(--radius-xl); padding: 48px;
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
  margin-bottom: 32px; box-shadow: var(--shadow-warm-lg);
  position: relative; z-index: 2;
}
.founder-portrait {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 60%, #6B3408 100%);
  box-shadow: 0 0 0 6px rgba(245, 151, 54, 0.10), 0 12px 32px rgba(199, 108, 24, 0.30), inset 0 -12px 24px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; overflow: hidden;
}
.founder-portrait::after { content: ''; position: absolute; top: 18%; left: 18%; width: 30%; height: 30%; border-radius: 50%; background: rgba(255, 255, 255, 0.30); filter: blur(10px); }
.founder-initials { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 46px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.20); position: relative; z-index: 2; }
.founder-quote { font-family: 'Instrument Serif', serif; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; color: var(--ink-warm); margin-bottom: 18px; letter-spacing: -0.005em; }
.founder-quote::before { content: '“'; font-family: 'Instrument Serif', serif; font-size: 48px; color: var(--saffron-deep); line-height: 0; margin-right: 4px; vertical-align: -18px; }
.founder-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-warm-soft); }
.founder-name { font-weight: 500; color: var(--ink-warm); }
.founder-divider { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-warm-mute); }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; z-index: 2; }
.testimonial {
  background: var(--bg-warm-card); border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-warm);
  display: flex; flex-direction: column;
}
.testimonial-quote { font-size: 15px; color: var(--ink-warm); line-height: 1.6; margin-bottom: 22px; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border-warm); }
.ta-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 14px; color: #fff; flex-shrink: 0; }
.ta-avatar.s { background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%); }
.ta-avatar.i { background: linear-gradient(135deg, var(--indigo-soft) 0%, var(--indigo-deep) 100%); }
.ta-avatar.s2 { background: linear-gradient(135deg, var(--saffron-soft) 0%, var(--saffron) 100%); }
.ta-info { flex: 1; min-width: 0; }
.ta-name { font-size: 13px; font-weight: 500; color: var(--ink-warm); }
.ta-role { font-size: 12px; color: var(--ink-warm-mute); }

.warm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--border-warm); position: relative; z-index: 2; }
.stat-num { font-family: 'Instrument Serif', serif; font-size: 44px; color: var(--ink-warm); line-height: 1; margin-bottom: 6px; }
.stat-num em { color: var(--saffron-deep); font-style: italic; }
.stat-label { font-size: 13px; color: var(--ink-warm-mute); }

/* === LONG-FORM CONTENT (about, vyapar summary) === */
.prose { max-width: 780px; }
.prose h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15;
  letter-spacing: -0.015em; color: var(--ink-pure);
  margin-top: 56px; margin-bottom: 18px;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 em { font-style: italic; color: var(--saffron-soft); }
.prose h3 {
  font-size: 17px; font-weight: 500; color: var(--ink-pure);
  margin-top: 32px; margin-bottom: 10px;
}
.prose p { font-size: 17px; color: var(--ink-200); line-height: 1.75; margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { list-style: none; margin: 18px 0; }
.prose ul li {
  padding: 12px 0 12px 24px; position: relative;
  font-size: 16px; color: var(--ink-100); line-height: 1.6;
  border-bottom: 1px solid var(--border);
}
.prose ul li:last-child { border-bottom: none; }
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 21px;
  width: 12px; height: 1px; background: var(--saffron-soft);
}
.prose blockquote {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(22px, 2.6vw, 28px); line-height: 1.4;
  color: var(--ink-100); margin: 32px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(45, 46, 109, 0.30) 0%, rgba(20, 16, 40, 0.20) 100%);
  border: 1px solid rgba(245, 151, 54, 0.20);
  border-left: 3px solid var(--saffron); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.prose blockquote::before { content: '“'; color: var(--saffron-soft); font-size: 36px; line-height: 0; margin-right: 6px; vertical-align: -10px; }

/* === LEADERSHIP / TEAM GRID === */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
  background: rgba(34, 30, 64, 0.40);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; text-align: center;
  transition: all 0.3s;
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(245, 151, 54, 0.25); }
.team-portrait {
  width: 88px; height: 88px; border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: 32px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 0 0 4px rgba(245, 151, 54, 0.08), 0 8px 24px rgba(199, 108, 24, 0.25);
}
.team-portrait::after { content: ''; position: absolute; top: 18%; left: 18%; width: 30%; height: 30%; border-radius: 50%; background: rgba(255, 255, 255, 0.25); filter: blur(8px); }
.team-portrait.s { background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 60%, #6B3408 100%); }
.team-portrait.i { background: linear-gradient(135deg, var(--indigo-soft) 0%, var(--indigo) 60%, var(--indigo-deep) 100%); box-shadow: 0 0 0 4px rgba(98, 99, 181, 0.10), 0 8px 24px rgba(45, 46, 109, 0.35); }
.team-portrait.s2 { background: linear-gradient(135deg, var(--saffron-soft) 0%, var(--saffron) 60%, var(--saffron-deep) 100%); }
.team-name { font-family: 'Instrument Serif', serif; font-size: 20px; color: var(--ink-pure); margin-bottom: 4px; line-height: 1.2; }
.team-role { font-size: 13px; color: var(--saffron-soft); margin-bottom: 12px; letter-spacing: 0.02em; }
.team-bio { font-size: 13px; color: var(--ink-300); line-height: 1.6; }

/* === FORMS === */
.form-block {
  background: linear-gradient(180deg, rgba(34, 30, 64, 0.55) 0%, rgba(13, 11, 30, 0.55) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 48px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 500; color: var(--ink-100); letter-spacing: -0.005em; }
.form-label .opt { color: var(--ink-400); font-weight: 400; font-size: 12px; margin-left: 4px; }
.form-input, .form-select, .form-textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--ink-pure);
  font-size: 14px;
  font-family: 'Geist', sans-serif;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none; width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-400); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--saffron); background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(245, 151, 54, 0.15);
}
.form-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23BFB8AC' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 44px;
}
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-300); line-height: 1.5; }
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  accent-color: var(--saffron); cursor: pointer;
}
.form-submit-row { display: flex; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; gap: 10px; }

/* Honeypot — visually hidden anti-bot field (injected by motion.js) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
/* Inline form validation / status message */
.form-status { width: 100%; margin-top: 6px; font-size: 13.5px; font-family: 'Geist', sans-serif; line-height: 1.5; }
.form-status.error { color: var(--saffron-soft); }
.form-status.ok { color: var(--ink-200); }
.footer-version { color: var(--ink-400); font-size: 12px; letter-spacing: 0.04em; opacity: 0.85; font-variant-numeric: tabular-nums; }

/* === Careers — role cards === */
.careers-list { display: flex; flex-direction: column; gap: 22px; margin-top: 14px; }
.role-card { background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; transition: border-color 0.3s; }
.role-card:hover { border-color: var(--border-strong); }
.role-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.role-title { font-family: 'Instrument Serif', serif; font-size: 28px; font-weight: 400; color: var(--ink-pure); line-height: 1.1; }
.role-meta { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.role-loc, .role-type { font-size: 12.5px; font-family: 'Geist', sans-serif; color: var(--ink-300); background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 4px 12px; border-radius: 999px; }
.role-summary { font-size: 16px; color: var(--ink-200); line-height: 1.6; margin: 18px 0 24px; max-width: 760px; }
.role-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.role-cols h4 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--saffron-soft); font-family: 'Geist', sans-serif; font-weight: 500; margin-bottom: 12px; }
.role-cols ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.role-cols li { font-size: 14.5px; color: var(--ink-300); line-height: 1.55; padding-left: 18px; position: relative; }
.role-cols li::before { content: '·'; color: var(--saffron); position: absolute; left: 4px; font-weight: 700; }
@media (max-width: 700px) {
  .role-cols { grid-template-columns: 1fr; gap: 22px; }
  .role-card { padding: 24px; }
  .role-head { align-items: flex-start; }
}

/* === CONTACT/PARTNER LAYOUT === */
.split-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: flex-start; }

.contact-channels { display: grid; gap: 16px; margin-top: 32px; }
.contact-channel {
  background: rgba(34, 30, 64, 0.40);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: all 0.3s;
}
.contact-channel:hover { border-color: rgba(245, 151, 54, 0.25); background: rgba(45, 46, 109, 0.40); }
.cc-label { font-size: 11px; color: var(--saffron-soft); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; font-weight: 500; }
.cc-value { font-family: 'Instrument Serif', serif; font-size: 19px; color: var(--ink-pure); line-height: 1.3; }
.cc-meta { font-size: 13px; color: var(--ink-300); margin-top: 6px; line-height: 1.5; }

.partnership-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 36px; }
.pt-card {
  background: rgba(34, 30, 64, 0.40);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: all 0.3s;
}
.pt-card:hover { border-color: rgba(245, 151, 54, 0.25); background: rgba(45, 46, 109, 0.50); }
.pt-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--saffron-tint); color: var(--saffron-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.pt-icon.indigo { background: var(--indigo-tint); color: var(--indigo-bright); }
.pt-icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.pt-name { font-size: 15px; font-weight: 500; color: var(--ink-pure); margin-bottom: 4px; }
.pt-desc { font-size: 13px; color: var(--ink-300); line-height: 1.5; }

/* === PARTNER CTA === */
.partner-block {
  background: linear-gradient(135deg, rgba(45, 46, 109, 0.95) 0%, rgba(13, 11, 30, 0.95) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl); padding: 80px 64px;
  position: relative; overflow: hidden;
}
.partner-block::before { content: ''; position: absolute; top: -200px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(245, 151, 54, 0.30), transparent 70%); filter: blur(50px); }
.partner-block::after { content: ''; position: absolute; bottom: -200px; left: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(98, 99, 181, 0.30), transparent 70%); filter: blur(50px); }
.partner-content { position: relative; z-index: 2; max-width: 680px; }
.partner-headline {
  font-family: 'Instrument Serif', serif; font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink-pure); margin-bottom: 22px;
}
.partner-headline em { font-style: italic; color: var(--saffron-soft); }
.partner-sub { font-size: 17px; color: var(--ink-200); margin-bottom: 36px; max-width: 560px; line-height: 1.65; }
.partner-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* === FOOTER === */
footer { padding: 60px 0 40px; border-top: 1px solid var(--border); margin-top: 80px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { font-size: 14px; color: var(--ink-300); line-height: 1.7; max-width: 340px; margin-top: 16px; }
.footer-made { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-400); margin-top: 18px; padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: 999px; }
.footer-made-flag { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron-soft); box-shadow: 0 0 6px var(--saffron-soft); }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-400); margin-bottom: 18px; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-200); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--saffron-soft); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-400); }
/* Statutory imprint — Companies Act §12(3)(c) requires name, registered office, CIN on the website */
.footer-statutory { padding: 0 0 20px; font-size: 12px; line-height: 1.7; color: var(--ink-300); text-align: center; }

/* === ANIMATIONS === */
.reveal { opacity: 0; transform: translateY(24px); animation: reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.25s; }
.reveal-d3 { animation-delay: 0.4s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
.scroll-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.scroll-reveal.in-view { opacity: 1; transform: translateY(0); }
.scroll-reveal.d-1 { transition-delay: 0.05s; }
.scroll-reveal.d-2 { transition-delay: 0.12s; }
.scroll-reveal.d-3 { transition-delay: 0.18s; }
.scroll-reveal.d-4 { transition-delay: 0.24s; }
.scroll-reveal.d-5 { transition-delay: 0.30s; }
.scroll-reveal.d-6 { transition-delay: 0.36s; }
.scroll-reveal.d-7 { transition-delay: 0.42s; }
.scroll-reveal.d-8 { transition-delay: 0.48s; }

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

/* === RESPONSIVE === */
@media (max-width: 1000px) {
  .hero-grid, .engine, .os-hero-grid, .footer-grid, .split-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { height: 480px; margin-top: 20px; }
  .video-showcase { margin: 4px 0 28px; }
  .engine, .os-hero-card, .partner-block, .form-block { padding: 40px 28px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; } /* redundant with the hamburger menu; avoids the cramped wrap on phones */
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 4px;
    background: rgba(24, 20, 49, 0.98); /* near-opaque so the hero text can't bleed through the menu */
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid var(--border); border-radius: 22px;
    padding: 12px; box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav.nav-open .nav-links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 11px 14px; border-radius: 12px; font-size: 16px; color: var(--ink-100); }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.06); }
  .nav-links a.active { color: var(--saffron-soft); }
  section.std, .warm-section, .os-section { padding: 80px 0; }
  .cap-grid, .modules-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials, .warm-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .founder { grid-template-columns: 1fr; text-align: center; padding: 36px 28px; }
  .founder-portrait { margin: 0 auto; }
  .trust-logos { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
  .logo { font-size: 18px; gap: 12px; }
  .form-grid, .partnership-types { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 0 40px; }
}
@media (max-width: 600px) {
  .cap-grid, .modules-grid, .team-grid, .testimonials, .warm-stats, .footer-grid { grid-template-columns: 1fr; }
  .trust-logos { grid-template-columns: repeat(2, 1fr); }
  .container, .container-narrow { padding: 0 20px; }
}

/* ============================================ */
/* === ALIVE PASS — motion enhancements      === */
/* ============================================ */

:root {
  --ease-spring-out: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-decel: cubic-bezier(0.05, 0.7, 0.1, 1);
}

::selection { background: rgba(245, 151, 54, 0.28); color: var(--ink-pure); }
::-moz-selection { background: rgba(245, 151, 54, 0.28); color: var(--ink-pure); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(98, 99, 181, 0.28); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; transition: background-color 0.3s; }
::-webkit-scrollbar-thumb:hover { background: rgba(199, 108, 24, 0.65); background-clip: padding-box; }
html { scrollbar-color: rgba(98, 99, 181, 0.28) transparent; scrollbar-width: thin; }

/* Film grain — fractal noise overlay shifting at 8fps for tactile feel */
.grain {
  position: fixed; inset: -10%;
  pointer-events: none; z-index: 2;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.5s steps(4) infinite;
}
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-1.5%, 1%); }
  50% { transform: translate(1.5%, -1%); }
  75% { transform: translate(-1%, -1.5%); }
}

/* Cursor halo — soft saffron radial follower */
.cursor-halo {
  position: fixed; left: 0; top: 0;
  width: 480px; height: 480px;
  pointer-events: none; z-index: 3;
  background: radial-gradient(circle at center, rgba(245, 151, 54, 0.10) 0%, rgba(245, 151, 54, 0.04) 30%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.5s;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: transform, left, top;
}
.cursor-halo.active { opacity: 1; }
@media (hover: none) { .cursor-halo { display: none; } }

/* Setu arch self-draws on first paint (only logos with .draw) */
.logo-svg.draw .arch { stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawArch 1.3s var(--ease-decel) 0.3s forwards; }
.logo-svg.draw rect:nth-of-type(1), .logo-svg.draw rect:nth-of-type(2) { transform: translateY(8px); opacity: 0; transform-origin: center bottom; animation: pillarRise 0.8s var(--ease-spring-out) 0.95s forwards; }
.logo-svg.draw rect:nth-of-type(2) { animation-delay: 1.05s; }
.logo-svg.draw rect:nth-of-type(3) { transform: scaleX(0); transform-origin: center; animation: foundationSlide 0.7s var(--ease-spring-out) 1.25s forwards; }
@keyframes drawArch { to { stroke-dashoffset: 0; } }
@keyframes pillarRise { to { transform: translateY(0); opacity: 1; } }
@keyframes foundationSlide { to { transform: scaleX(1); } }

/* Word-by-word headline reveal */
.word { display: inline-block; opacity: 0; transform: translateY(18px); filter: blur(6px); animation: wordReveal 0.95s var(--ease-smooth-out) forwards; }
@keyframes wordReveal { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
em .word { animation-name: wordRevealItalic; }
@keyframes wordRevealItalic { 0% { opacity: 0; transform: translateY(18px); filter: blur(6px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }

/* OS evolution — current row breathes + saffron sheen sweeps across */
.evo-row.current { animation: breathe 3.4s ease-in-out infinite; overflow: hidden; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 4px 20px rgba(245, 151, 54, 0.14); }
  50% { box-shadow: 0 4px 36px rgba(245, 151, 54, 0.38); }
}
.evo-row.current::after {
  content: ''; position: absolute; top: 0; left: -40%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 94, 0.14), transparent);
  animation: sheen 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen { 0%, 20% { left: -40%; } 80%, 100% { left: 110%; } }

/* OS status pip — full breath */
.os-status::before { animation: pipBreath 2s ease-in-out infinite; box-shadow: 0 0 0 0 currentColor; }
@keyframes pipBreath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 179, 94, 0.5); opacity: 1; }
  50% { box-shadow: 0 0 0 8px rgba(255, 179, 94, 0); opacity: 0.7; }
}

/* Background halos drift gently */
body::before { animation: haloDrift 42s ease-in-out infinite alternate; }
@keyframes haloDrift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-2%, 1.5%) rotate(0.5deg); }
  100% { transform: translate(2%, -1%) rotate(-0.3deg); }
}

/* Magnetic buttons — disable default hover lift, JS takes over */
.btn-primary.magnetic, .btn-ghost.magnetic { transition: box-shadow 0.3s, background 0.2s, border-color 0.2s; will-change: transform; }
.btn-primary.magnetic:hover, .btn-ghost.magnetic:hover { transform: none; }

/* Hero peripheral cards — remove floatGentle, JS parallax handles motion */
.periph, .vyapar-feature { animation: none !important; will-change: transform; }

/* Stat counters — italic em styled as breathing accent */
.stat-num em { display: inline-block; min-width: 1ch; }

/* Live ticker dot on Vyapar feature */
.vf-mod-dot { animation: ticker 1.8s ease-in-out infinite; }
@keyframes ticker { 0%, 100% { box-shadow: 0 0 4px var(--saffron-soft); opacity: 1; } 50% { box-shadow: 0 0 10px var(--saffron-soft); opacity: 0.6; } }

/* Form input focus pulse */
.form-input:focus, .form-select:focus, .form-textarea:focus { animation: focusPulse 0.45s var(--ease-spring-out); }
@keyframes focusPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 151, 54, 0.40); }
  100% { box-shadow: 0 0 0 3px rgba(245, 151, 54, 0.15); }
}

/* Trust strip — gentle hover shimmer */
.tlogo svg { transition: transform 0.5s var(--ease-spring-out), color 0.3s; }
.tlogo:hover svg { transform: translateY(-2px) scale(1.08); }

/* Reduced motion override */
@media (prefers-reduced-motion: reduce) {
  .logo-svg.draw .arch, .logo-svg.draw rect { animation: none !important; stroke-dasharray: none; stroke-dashoffset: 0; transform: none; opacity: 1; }
  .word { animation: none !important; opacity: 1; transform: none; filter: none; }
  .grain { display: none; }
  .cursor-halo { display: none; }
  body::before { animation: none; }
  .evo-row.current { animation: none; }
  .evo-row.current::after { display: none; }
  .os-status::before { animation: none; }
  .vf-mod-dot { animation: none; }
}

/* ============================================ */
/* === ALIVE v2 — tilt, scroll-scrub, orbits === */
/* ============================================ */

/* 3D card tilt — perspective + transition + cursor shine */
.cap-card, .module-card, .testimonial, .team-card, .pt-card {
  transform-style: preserve-3d;
  will-change: transform;
}
/* Disable previous translateY hover; tilt JS owns transform */
.cap-card:hover, .module-card:hover, .testimonial:hover, .team-card:hover, .pt-card:hover {
  transform: none;
}
/* Cursor-tracked saffron shine — radial gradient positioned via CSS vars set by JS */
.cap-card::before, .module-card::before, .testimonial::before, .team-card::before, .pt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at calc(50% + var(--mx, 0) * 60%) calc(50% + var(--my, 0) * 60%),
    rgba(255, 179, 94, 0.14) 0%,
    rgba(255, 179, 94, 0.06) 18%,
    transparent 48%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth-out);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}
.cap-card:hover::before, .module-card:hover::before, .testimonial:hover::before,
.team-card:hover::before, .pt-card:hover::before { opacity: 1; }
/* Ensure card content sits above the shine */
.cap-card > *, .module-card > *, .testimonial > *, .team-card > *, .pt-card > * {
  position: relative;
  z-index: 2;
}

/* Hero parallax + scroll-scrub will-change hints */
.hero-visual .periph, .hero-visual .vyapar-feature, .hero-visual .stack-back {
  will-change: transform, opacity;
}

/* ============================================ */
/* === Engine orbit morph (SVG-based)        === */
/* ============================================ */

/* Hide the legacy CSS-div orbits when SVG variant is present */
.engine-visual:has(.engine-orbits-svg) .engine-orbit { display: none; }

.engine-orbits-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  animation: orbitsBreath 11s ease-in-out infinite;
}
@keyframes orbitsBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

.orbit {
  fill: none;
  stroke-linecap: round;
}
.orbit-outer {
  stroke: rgba(255, 255, 255, 0.10);
  stroke-width: 1;
  stroke-dasharray: 3 6;
  animation: orbitMarch 18s linear infinite, orbitBreathe 9s ease-in-out infinite;
}
.orbit-middle {
  stroke: rgba(245, 151, 54, 0.22);
  stroke-width: 1.2;
  stroke-dasharray: 6 10;
  animation: orbitMarch 12s linear infinite reverse, orbitBreathe 10s ease-in-out infinite -2s;
}
.orbit-inner {
  stroke: rgba(155, 157, 221, 0.30);
  stroke-width: 1;
  stroke-dasharray: 2 7;
  animation: orbitMarch 8s linear infinite, orbitBreathe 7s ease-in-out infinite -3s;
}
@keyframes orbitMarch { to { stroke-dashoffset: -120; } }
@keyframes orbitBreathe {
  0%, 100% { stroke-opacity: 0.45; }
  50% { stroke-opacity: 1; }
}

/* Glowing photon dot — radial gradient with bloom */
.orbit-dot {
  filter: url(#dotGlow);
}

/* Reduced motion overrides */
@media (prefers-reduced-motion: reduce) {
  .cap-card, .module-card, .testimonial, .team-card, .pt-card { will-change: auto; }
  .engine-orbits-svg { animation: none; }
  .orbit-outer, .orbit-middle, .orbit-inner { animation: none; }
  .orbit-dot { animation: none !important; }
}

/* ============================================ */
/* === LIGHT/DARK RHYTHM — section variants  === */
/* ============================================ */

.cream-section {
  background: var(--bg-warm);
  color: var(--ink-warm);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}
.cream-section.with-halo::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 55%; height: 80%;
  background: radial-gradient(ellipse at top right, rgba(245, 151, 54, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cream-section.with-halo::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -10%;
  width: 55%; height: 80%;
  background: radial-gradient(ellipse at bottom left, rgba(98, 99, 181, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cream-section .container { position: relative; z-index: 1; }

.dark-section {
  background: var(--bg-base);
  color: var(--ink-100);
  position: relative;
  padding: 120px 0;
}

/* === EDITORIAL HERO ON CREAM === */
.editorial-hero {
  padding: 160px 0 120px;
  position: relative;
}
.editorial-eyebrow {
  display: inline-flex;
  align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  font-weight: 500;
  margin-bottom: 56px;
}
.editorial-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--saffron-deep);
  display: inline-block;
}
.editorial-headline {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(56px, 10.5vw, 148px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink-warm);
  margin-bottom: 48px;
  max-width: 14ch;
}
.editorial-headline em {
  font-style: italic;
  color: var(--saffron-deep);
  display: block;
}
.editorial-sub {
  font-size: 19px;
  color: var(--ink-warm-soft);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 52px;
}
.editorial-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* === EDITORIAL SECTION NUMBER + EYEBROW === */
.section-number {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.cream-section .section-number { color: var(--saffron-deep); }
.dark-section .section-number { color: var(--saffron-soft); }
.section-number::after {
  content: '';
  width: 72px; height: 1px;
  display: inline-block;
}
.cream-section .section-number::after { background: rgba(199, 108, 24, 0.35); }
.dark-section .section-number::after { background: rgba(255, 179, 94, 0.30); }

/* === CREAM SECTION CONTENT TYPOGRAPHY === */
.cream-section .section-eyebrow {
  color: var(--saffron-deep);
}
.cream-section .section-headline {
  color: var(--ink-warm);
  font-size: clamp(40px, 5vw, 64px);
}
.cream-section .section-headline em { color: var(--saffron-deep); }
.cream-section .section-headline em.indigo { color: var(--indigo); }
.cream-section .section-intro {
  color: var(--ink-warm-soft);
  font-size: 18px;
}

/* === CREAM BUTTONS === */
.btn-cream-primary {
  background: var(--ink-warm);
  color: var(--bg-warm-card);
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.3s, background 0.2s;
  box-shadow: 0 6px 22px rgba(31, 26, 20, 0.22);
  font-family: 'Geist', sans-serif;
  border: 1px solid transparent;
  cursor: pointer;
  will-change: transform;
}
.btn-cream-primary:hover {
  box-shadow: 0 14px 36px rgba(31, 26, 20, 0.34);
  background: #2A2218;
}
.btn-cream-ghost {
  background: transparent;
  color: var(--ink-warm);
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(31, 26, 20, 0.22);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  font-family: 'Geist', sans-serif;
  cursor: pointer;
  will-change: transform;
}
.btn-cream-ghost:hover {
  border-color: var(--ink-warm);
  background: rgba(31, 26, 20, 0.04);
}

/* === CREAM CARDS (capability variant) === */
.cream-section .cap-card {
  background: var(--bg-warm-card);
  border: 1px solid var(--border-warm);
  color: var(--ink-warm);
  box-shadow: var(--shadow-warm);
}
.cream-section .cap-card::after {
  background: linear-gradient(90deg, transparent, rgba(199, 108, 24, 0.30), transparent);
}
.cream-section .cap-card:hover {
  border-color: rgba(199, 108, 24, 0.30);
  box-shadow: var(--shadow-warm-lg);
}
.cream-section .cap-card::before {
  background: radial-gradient(
    circle at calc(50% + var(--mx, 0) * 60%) calc(50% + var(--my, 0) * 60%),
    rgba(199, 108, 24, 0.12),
    transparent 50%
  );
  mix-blend-mode: multiply;
}
.cream-section .cap-icon {
  background: rgba(245, 151, 54, 0.14);
  color: var(--saffron-deep);
}
.cream-section .cap-icon.indigo {
  background: rgba(45, 46, 109, 0.10);
  color: var(--indigo);
}
.cream-section .cap-title { color: var(--ink-warm); }
.cream-section .cap-body { color: var(--ink-warm-soft); }

/* === CREAM TRUST STRIP === */
.cream-section.trust-cream {
  padding: 60px 0;
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}
.cream-section .trust-label { color: var(--ink-warm-mute); }
.cream-section .tlogo {
  color: var(--ink-warm-soft);
  opacity: 0.85;
}
.cream-section .tlogo:hover { color: var(--ink-warm); opacity: 1; }
.cream-section .tlogo svg { color: var(--ink-warm-mute); }
.cream-section .tlogo:hover svg { color: var(--saffron-deep); }

/* === FOUNDER + TESTIMONIALS — editorial cream === */
.editorial-founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  margin-bottom: 80px;
  align-items: center;
}
.editorial-founder .founder-portrait {
  width: 220px; height: 220px;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 60%, #6B3408 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(245, 151, 54, 0.10), 0 18px 40px rgba(199, 108, 24, 0.30), inset 0 -14px 28px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
.editorial-founder .founder-portrait::after {
  content: '';
  position: absolute;
  top: 18%; left: 18%;
  width: 30%; height: 30%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.30);
  filter: blur(12px);
}
.editorial-founder .founder-initials {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 84px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.20);
  position: relative; z-index: 2;
}
.editorial-quote {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
  color: var(--ink-warm);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.editorial-quote::before {
  content: '\201C';
  font-family: 'Instrument Serif', serif;
  font-size: 80px;
  color: var(--saffron-deep);
  line-height: 0;
  margin-right: 6px;
  vertical-align: -28px;
}
.editorial-quote-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: var(--ink-warm-soft);
}
.editorial-quote-meta .name { font-weight: 500; color: var(--ink-warm); }
.editorial-quote-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-warm-mute); }

/* Editorial testimonials — flatter, more publication-y */
.editorial-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 56px;
  border-top: 1px solid rgba(31, 26, 20, 0.10);
}
.editorial-testimonial {
  padding: 0 36px;
  border-left: 1px solid rgba(31, 26, 20, 0.10);
  display: flex; flex-direction: column;
}
.editorial-testimonial:first-child {
  padding-left: 0;
  border-left: none;
}
.editorial-testimonial:last-child {
  padding-right: 0;
}
.editorial-testimonial-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink-warm);
  margin-bottom: 24px;
  flex: 1;
}
.editorial-testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.ed-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', serif; font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.ed-avatar.s { background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%); }
.ed-avatar.i { background: linear-gradient(135deg, var(--indigo-soft) 0%, var(--indigo-deep) 100%); }
.ed-avatar.s2 { background: linear-gradient(135deg, var(--saffron-soft) 0%, var(--saffron) 100%); }
.ed-author-name { font-size: 13px; font-weight: 500; color: var(--ink-warm); }
.ed-author-role { font-size: 12px; color: var(--ink-warm-mute); }

/* === DARK STATS — counters as a punctuation moment === */
.dark-stats {
  padding: 140px 0;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}
.dark-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245, 151, 54, 0.10), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(98, 99, 181, 0.14), transparent 50%);
  pointer-events: none;
}
.dark-stats .container { position: relative; z-index: 2; }
.dark-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.dark-stat {
  text-align: left;
  border-left: 1px solid var(--border-strong);
  padding-left: 24px;
}
.dark-stat .stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(56px, 7.5vw, 96px);
  line-height: 0.95;
  margin-bottom: 14px;
  color: var(--ink-pure);
  letter-spacing: -0.02em;
}
.dark-stat .stat-num em {
  font-style: italic;
  color: var(--saffron-soft);
}
.dark-stat .stat-label {
  font-size: 13px;
  color: var(--ink-300);
  letter-spacing: 0.02em;
  max-width: 24ch;
  line-height: 1.5;
}

/* === CREAM PARTNER CTA — restrained, confident === */
.editorial-partner {
  text-align: left;
  max-width: 880px;
  padding: 40px 0;
}
.editorial-partner-headline {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink-warm);
  margin-bottom: 32px;
}
.editorial-partner-headline em {
  font-style: italic;
  color: var(--saffron-deep);
  display: block;
}
.editorial-partner-sub {
  font-size: 19px;
  color: var(--ink-warm-soft);
  margin-bottom: 48px;
  max-width: 580px;
  line-height: 1.7;
}

/* Hero stack lives in the Vyapar OS section now — give it room */
.os-stack-host {
  position: relative;
  height: 540px;
  margin-top: 56px;
}

/* Responsive */
@media (max-width: 1000px) {
  .editorial-hero { padding: 100px 0 80px; }
  .editorial-founder { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .editorial-founder .founder-portrait { width: 140px; height: 140px; }
  .editorial-founder .founder-initials { font-size: 56px; }
  .editorial-testimonials { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .editorial-testimonial { padding: 24px 0 0; border-left: none; border-top: 1px solid rgba(31, 26, 20, 0.10); }
  .editorial-testimonial:first-child { padding-top: 0; border-top: none; }
  .dark-stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .cream-section, .dark-section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .dark-stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .editorial-headline { max-width: none; }
}

/* ============================================ */
/* === FABRIC WATERMARK — Kanchipuram silk   === */
/* ============================================ */

.fabric-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url('fabric-pattern.svg');
  background-repeat: repeat;
  background-size: 220px 220px;
  opacity: 0.12;
  /* Was soft-light @ 0.32 — but soft-light is ~a no-op over the near-black base (invisible
     on desktop) and breaks on iOS Safari's position:fixed layers (invisible on mobile).
     normal @ low opacity gives a subtle, consistent saffron watermark on every device. */
  mix-blend-mode: normal;
}

/* On warm cream sections, the pattern should darken (multiply) instead of lighten */
.warm-section .fabric-pattern,
.cream-section .fabric-pattern {
  mix-blend-mode: multiply;
  opacity: 0.20;
}

/* Subtle scale + rotate for visual movement (very slow) */
@keyframes fabricBreath {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 4px 6px; }
}
.fabric-pattern { animation: fabricBreath 30s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .fabric-pattern { animation: none; }
}

/* ============================================ */
/* === UX REVIEW PASS — rhythm & engagement  === */
/* ============================================ */

/* Ornamental section break — Indian editorial motif */
.section-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
  position: relative;
  z-index: 2;
}
.section-ornament svg {
  display: block;
  opacity: 0.7;
  transition: opacity 0.4s, transform 0.4s;
}
.section-ornament:hover svg {
  opacity: 1;
  transform: scale(1.05);
}

/* Newsletter capture above footer */
.newsletter-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  position: relative;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.newsletter-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  color: var(--ink-pure);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.newsletter-heading em {
  font-style: italic;
  color: var(--saffron-soft);
}
.newsletter-sub {
  font-size: 14px;
  color: var(--ink-300);
  line-height: 1.6;
  max-width: 420px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  transition: border-color 0.3s, background 0.3s;
}
.newsletter-form:focus-within {
  border-color: rgba(245, 151, 54, 0.35);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(245, 151, 54, 0.10);
}
.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink-pure);
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  padding: 10px 0;
}
.newsletter-input::placeholder { color: var(--ink-400); }
.newsletter-submit {
  background: linear-gradient(180deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 10px 22px;
  border-radius: 999px;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 4px 14px rgba(199, 108, 24, 0.25);
  transition: transform 0.2s, box-shadow 0.3s;
}
.newsletter-submit:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 22px rgba(199, 108, 24, 0.40);
}
.newsletter-note {
  font-size: 11px;
  color: var(--ink-400);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 800px) {
  .newsletter-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; padding: 6px; }
  .newsletter-input { padding: 12px 16px; }
  .newsletter-submit { padding: 12px 22px; justify-content: center; }
}
