/* ============================================================
   Pravegh website styles
   Design system: bold, type-driven, brand-led.
   Fonts: Space Grotesk (headlines) + Roboto (body).
   Brand: purple #6C22DA, ink near-black, white.
   Reference north star: Olivine (content + design).
   No em dashes or en dashes anywhere (brand hard rule).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --purple: #6C22DA;
  --purple-600: #7C3AED;
  --purple-400: #A470F5;
  --purple-glow: rgba(108, 34, 218, 0.45);
  --ink: #0B0B12;
  --dark: #0C0A16;        /* dark section background */
  --dark-2: #14101F;      /* raised dark surface */
  --line-dark: rgba(255, 255, 255, 0.12);
  --white: #FFFFFF;
  --paper: #FBFAFD;       /* off-white light section */
  --paper-2: #F2EFF8;     /* raised light surface */
  --line: #E7E3F0;
  --text: #1A1826;        /* body text on light */
  --muted: #6A6577;       /* secondary text on light */
  --muted-dark: #B7B1C6;  /* secondary text on dark */

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Roboto", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 108px 0; position: relative; }
.section--tight { padding: 84px 0; }
.section.dark { background: var(--dark); color: var(--white); }
.section.paper2 { background: var(--paper-2); }

.kicker {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--purple);
  display: inline-block;
}
.dark .kicker { color: var(--purple-400); }
.dark .kicker::before { background: var(--purple-400); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 22px; }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 60ch; }
.dark .lead { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 500; font-size: 16px;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 8px 26px var(--purple-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px var(--purple-glow); background: var(--purple-600); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.28); }
.btn--ghost:hover { border-color: #fff; transform: translateY(-2px); }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost-dark:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__logo img { height: 30px; width: auto; }
.nav__logo .logo-dark { display: none; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  color: rgba(255,255,255,0.82); transition: color .2s;
}
.nav__links a:hover { color: #fff; }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; color: #fff; }

/* scrolled state */
.nav.scrolled {
  background: rgba(10, 8, 18, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 40px rgba(0,0,0,0.28);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--dark); color: #fff;
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 60px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 72%);
}
.hero__glow {
  position: absolute; width: 780px; height: 780px; border-radius: 50%;
  right: -140px; top: -160px;
  background: radial-gradient(circle, var(--purple-glow) 0%, rgba(108,34,218,0.10) 42%, transparent 66%);
  filter: blur(10px);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; width: 100%; }
.eyebrow {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-400);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--purple-400); }
.hero__sub {
  font-size: clamp(19px, 2.4vw, 26px); font-family: var(--font-head); font-weight: 400;
  color: #EDE9F7; line-height: 1.28; margin-bottom: 26px; max-width: 24ch;
  letter-spacing: -0.01em;
}
.hero__body { color: var(--muted-dark); max-width: 52ch; margin-bottom: 16px; }
.hero__body + .hero__body { margin-bottom: 34px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero visual (brand spark) */
.hero__visual { display: flex; align-items: center; justify-content: center; }
.spark-art { width: 100%; max-width: 440px; filter: drop-shadow(0 20px 60px var(--purple-glow)); }
.spark-art .core { animation: pulse 4.5s var(--ease) infinite; transform-origin: center; }
@keyframes pulse { 0%,100% { opacity: .95; transform: scale(1); } 50% { opacity: .7; transform: scale(1.05); } }
.spark-art .arc { opacity: 0; animation: draw 1.2s var(--ease) forwards; }
.spark-art .arc:nth-child(2){animation-delay:.15s}
.spark-art .arc:nth-child(3){animation-delay:.3s}
.spark-art .arc:nth-child(4){animation-delay:.45s}
@keyframes draw { to { opacity: 1; } }

/* hero marquee */
.marquee {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  border-top: 1px solid var(--line-dark);
  padding: 18px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: inline-flex; gap: 40px; white-space: nowrap; animation: scroll 34s linear infinite; }
.marquee__track span {
  font-family: var(--font-head); font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted-dark); display: inline-flex; align-items: center; gap: 40px;
}
.marquee__track span::after { content: "\2726"; color: var(--purple-400); font-size: 12px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Comparison table (the model) ---------- */
.compare { margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare__head, .compare__row { display: grid; grid-template-columns: 1fr 1fr; }
.compare__head > div {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  padding: 20px 26px;
}
.compare__head .h-old { color: var(--muted); background: var(--paper-2); }
.compare__head .h-new { color: #fff; background: var(--purple); display: flex; align-items: center; gap: 8px; }
.compare__row > div { padding: 18px 26px; border-top: 1px solid var(--line); font-size: 15.5px; }
.compare__row .c-old { color: var(--muted); }
.compare__row .c-new { color: var(--text); background: rgba(108,34,218,0.035); display: flex; gap: 12px; align-items: flex-start; }
.compare__row .c-new svg { width: 18px; height: 18px; color: var(--purple); flex: none; margin-top: 3px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.pillar {
  background: var(--dark-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 38px; transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(164,112,245,0.4); }
.pillar__ico {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(108,34,218,0.18); color: var(--purple-400); margin-bottom: 22px;
}
.pillar__ico svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 25px; margin-bottom: 12px; }
.pillar p { color: var(--muted-dark); font-size: 16px; }

/* ---------- Capability grid ---------- */
.capgroups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; }
.capgroup { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,0.02); }
.capgroup h4 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-400); margin-bottom: 18px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 500;
  padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-dark);
  color: #E9E5F5; background: rgba(255,255,255,0.03); transition: all .2s;
}
.tag:hover { border-color: var(--purple-400); color: #fff; background: rgba(108,34,218,0.22); }
.capnote { margin-top: 30px; color: var(--muted-dark); font-size: 15px; max-width: 66ch; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.ind {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; overflow: hidden;
}
.ind::before { content:""; position:absolute; left:0; top:0; height:3px; width:0; background: var(--purple); transition: width .35s var(--ease); }
.ind:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20,10,40,0.09); }
.ind:hover::before { width: 100%; }
.ind__num { font-family: var(--font-head); font-size: 13px; color: var(--purple); font-weight: 600; margin-bottom: 14px; }
.ind h3 { font-size: 19px; letter-spacing: -0.01em; }
.subblocks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.subblock { border-left: 3px solid var(--line); padding: 4px 0 4px 22px; }
.subblock h4 { font-size: 17px; margin-bottom: 8px; font-weight: 600; }
.subblock.warn { border-left-color: var(--purple); }
.subblock p { color: var(--muted); font-size: 15.5px; }

/* ---------- How we work (wedge cards) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20,10,40,0.09); }
.step__badge {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600;
  font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--purple); background: rgba(108,34,218,0.08); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.step__meta { font-family: var(--font-head); font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.after-steps { margin-top: 32px; font-size: 17px; color: var(--text); max-width: 72ch; }
.after-steps b { font-weight: 500; }

/* ---------- Promise ---------- */
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.promise {
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 34px; background: rgba(255,255,255,0.02);
}
.promise h3 { font-size: 22px; margin-bottom: 12px; color: #fff; }
.promise p { color: var(--muted-dark); }
.honesty {
  margin-top: 26px; padding: 24px 28px; border-left: 3px solid var(--purple-400);
  background: rgba(108,34,218,0.10); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 17px; color: #EDE9F7; max-width: 78ch;
}

/* ---------- About / team ---------- */
.team { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 40px; }
.member {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; background: #fff;
  display: flex; align-items: center; gap: 18px; min-width: 260px; flex: 1;
}
.member__mark { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--purple-400)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 20px; flex: none; }
.member h4 { font-size: 19px; }
.member span { color: var(--muted); font-size: 14.5px; }
.capacity {
  margin-top: 30px; padding: 26px 28px; border: 1px dashed var(--line);
  border-radius: var(--radius); background: var(--paper-2); font-size: 16.5px; color: var(--text); max-width: 80ch;
}
.capacity b { color: var(--purple); font-weight: 500; }

/* ---------- Contact CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #2A0F5E 0%, var(--purple) 55%, #7C3AED 100%);
  color: #fff;
}
.cta-band .hero__grid { opacity: 0.5; }
.cta-band h2 { font-size: clamp(34px, 5.4vw, 64px); margin-bottom: 18px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 56ch; margin: 0 auto 34px; font-size: 19px; position: relative; }
.cta-band .btn--primary { background: #fff; color: var(--purple); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.cta-band .btn--primary:hover { background: #fff; transform: translateY(-3px) scale(1.02); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 70px 0 34px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 30px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted-dark); font-size: 15px; max-width: 34ch; }
.footer__col h5 { font-family: var(--font-head); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 16px; }
.footer__col a { display: block; color: #D9D4E6; font-size: 15px; margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: var(--purple-400); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.footer__bottom p { color: var(--muted-dark); font-size: 13.5px; }
.footer__bottom .cat { max-width: 60ch; }
.footer__legal a { color: var(--muted-dark); font-size: 13.5px; margin-left: 18px; }
.footer__legal a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 80/20 page specifics ---------- */
.eighty-hero { min-height: 78vh; }
.eighty h1 { max-width: 16ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.col-card { border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); background: #fff; }
.col-card.bad { background: var(--paper-2); }
.col-card.good { border-color: rgba(108,34,218,0.35); box-shadow: 0 14px 44px rgba(108,34,218,0.10); }
.col-card h3 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; }
.col-card.bad h3 { color: var(--muted); }
.col-card.good h3 { color: var(--purple); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.checklist li:first-child { border-top: 0; }
.checklist li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; }
.col-card.bad .checklist li { color: var(--muted); }
.col-card.bad .checklist svg { color: #B7B1C6; }
.col-card.good .checklist svg { color: var(--purple); }
.big-stat { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--purple-400); font-size: clamp(80px, 16vw, 200px); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .pillars, .promise-grid, .split, .subblocks { grid-template-columns: 1fr; }
  .capgroups { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .wrap { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__cta .btn--nav { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__links.open {
    display: flex; position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(10,8,18,0.97); backdrop-filter: blur(14px); padding: 10px 20px 24px; border-bottom: 1px solid var(--line-dark);
  }
  .nav__links.open a { padding: 16px 4px; border-bottom: 1px solid var(--line-dark); width: 100%; font-size: 17px; }
  .compare__head, .compare__row { grid-template-columns: 1fr; }
  .compare__head .h-old, .compare__row .c-old { display: none; }
  .capgroups, .ind-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .hero { min-height: auto; padding: 116px 0 90px; }
  .compare__row .c-new { background: transparent; }
}
