/* ===== /nilay-jayswal =====
   Review library page. Loads AFTER cs.css and inherits its tokens
   (--container, --pad-x, --text*, --border, --gradient, --r-*). */

/* ---------- ABOUT ---------- */
.nj-about { padding: 64px 0 8px; background: var(--white); }
.nj-about__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.nj-about__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(16,19,28,0.10);
}
.nj-about__h {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
}
.nj-about__role {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blue);
  margin: 12px 0 0;
}
.nj-about__sub {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 64ch;
  margin: 7px 0 0;
}
.nj-about__bio {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-sec);
  max-width: 66ch;
  margin: 16px 0 0;
}
.nj-about__bio a { color: var(--blue); font-weight: 500; }
.nj-about__bio a:hover { text-decoration: underline; }

/* Proof strip: the numbers behind the prose. */
.nj-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
}
.nj-stat { display: flex; flex-direction: column; gap: 3px; }
.nj-stat__n {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nj-stat__l { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }

/* Credential cards. The logo slot is always rendered so adding an <img>
   later changes nothing about the layout; until then it shows a monogram
   built from the org name via the data-org attribute. */
.nj-roles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
}
.nj-role {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px 16px;
  transition: box-shadow var(--t), transform var(--t) var(--ease), border-color var(--t);
}
.nj-role:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16,19,28,0.08);
  border-color: rgba(30,99,204,0.22);
}
.nj-role__logo {
  display: flex;
  align-items: center;
  height: 34px;
  max-width: 100%;
  margin-bottom: 12px;
}
.nj-role__logo img {
  height: 34px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}
/* Monogram fallback while a real logo is missing. */
.nj-role__logo:empty::before {
  content: attr(data-org);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-sec);
}
.nj-role__o { font-size: 15.5px; font-weight: 700; color: var(--text); }
a.nj-role__o:hover { color: var(--blue); }
.nj-role__t { font-size: 13.5px; font-weight: 500; color: var(--blue); }

/* ---------- REVIEW LIBRARY ---------- */
.nj-reviews {
  padding: 64px 0 88px;
  background: var(--bg-subtle);
}
.nj-reviews__h {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
}
.nj-g {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nj-reviews__sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-sec);
  max-width: 62ch;
  margin: 20px 0 0;
}

/* Masonry via CSS columns: cards keep their natural height and pack tightly,
   which suits quotes of very different lengths better than a row grid. */
.nj-grid {
  column-count: 3;
  column-gap: 22px;
  margin-top: 44px;
}
.nj-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow var(--t), transform var(--t) var(--ease);
}
.nj-card:hover {
  box-shadow: 0 10px 32px rgba(16,19,28,0.08);
  transform: translateY(-2px);
}
.nj-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.nj-card__stars { font-size: 14px; letter-spacing: 2px; color: #F5A623; }
.nj-card__tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.nj-card__quote {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-sec);
  margin: 0;
}
.nj-hl { font-style: normal; font-weight: 600; color: var(--blue); }
.nj-card__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.nj-card__name { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.nj-card__role { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

/* ---------- CTA ---------- */
.nj-cta { background: var(--black); padding: 80px 0 88px; }
.nj-cta__inner { text-align: center; }
.nj-cta__h {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 auto 14px;
  max-width: 22ch;
}
.nj-cta__sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  max-width: 60ch;
  margin: 0 auto;
}

/* Form card sits on the dark band, so it carries its own light surface. */
.nj-cta__form {
  max-width: 560px;
  margin: 36px auto 0;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 34px;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.nj-cta__form-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
}

/* HubSpot overrides (style.css is homepage-only, so they are repeated here).
   min-height reserves space before the iframe injects, preventing CLS. */
.hs-form-frame { width: 100%; min-height: 560px; }
.hs-form-frame .hs-button {
  background: var(--gradient) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--r-full) !important;
  font-family: var(--font) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 13px 28px !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: opacity 0.2s !important;
  box-shadow: 0 4px 20px rgba(30,99,204,0.28) !important;
}
.hs-form-frame .hs-button:hover { opacity: 0.88 !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .nj-grid { column-count: 2; }
  .nj-about__grid { grid-template-columns: 260px 1fr; gap: 36px; }
  .nj-roles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nj-about { padding: 44px 0 4px; }
  .nj-about__grid { grid-template-columns: 1fr; gap: 28px; }
  .nj-about__photo { max-width: 220px; }
  .nj-roles { grid-template-columns: 1fr 1fr; }
  .nj-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .nj-reviews { padding: 48px 0 64px; }
  .nj-grid { column-count: 1; column-gap: 0; margin-top: 32px; }
  .nj-cta { padding: 56px 0 64px; }
  .nj-cta__h { max-width: none; }
  .nj-cta__form { padding: 24px 20px; margin-top: 28px; }
  .hs-form-frame { min-height: 640px; }
}
