/* ══════════════════════════════════════════════════════════════════
   VIZIT — COMPANY PAGES (About · Leadership · Careers · Newsroom)
   Extends ci-styles.css with shared pieces used across these pages.
   ══════════════════════════════════════════════════════════════════ */

/* ─────────────── Generic two-up layouts ─────────────── */
.two-up {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.two-up.flip { grid-template-columns: 1fr 1.05fr; }
@media (max-width: 980px) { .two-up, .two-up.flip { grid-template-columns: 1fr; gap: var(--space-6); } }

.copy h1.display, .copy h2.display { margin: var(--space-4) 0 var(--space-5); }
.copy .cta-row { display: flex; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }
.copy .subhead { margin: 0; }

/* ─────────────── Eyebrow + small caps ─────────────── */
.eyebrow-row { display: flex; align-items: center; gap: var(--space-3); }
.eyebrow-row .num {
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: var(--blue-base); letter-spacing: 0.08em;
}

/* ─────────────── Headshot / photo placeholders ─────────────── */
.photo {
  background: linear-gradient(135deg, var(--blue-0), #fff 60%, var(--paper));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.photo--square { aspect-ratio: 1 / 1; }
.photo--wide { aspect-ratio: 4 / 3; }
.photo .photo-label {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px; background: rgba(255,255,255,0.85);
  border: 1px solid var(--border); border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}
.photo .photo-cap {
  position: absolute; right: 14px; top: 14px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-600);
  padding: 5px 9px; background: var(--accent-soft);
  border: 1px solid var(--blue-100); border-radius: var(--radius-full);
}
/* Drawn silhouette of a hand holding a phone, used on About P1 */
.photo--phone svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ─────────────── Stat strip ─────────────── */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-6) 0;
  margin-top: var(--space-7);
}
.stat-strip.on-dark { border-color: rgba(255,255,255,0.12); }
.stat-strip .stat .n {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.stat-strip.on-dark .stat .n { color: #fff; }
.stat-strip .stat .n em { font-style: normal; color: var(--accent); font-weight: 400; }
.stat-strip.on-dark .stat .n em { color: var(--blue-300); }
.stat-strip .stat .l {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: 30ch;
}
.stat-strip.on-dark .stat .l { color: var(--blue-100); }
@media (max-width: 760px) { .stat-strip { grid-template-columns: 1fr; gap: var(--space-5); } }

/* ─────────────── Value cards (3-col) ─────────────── */
.value-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4); margin-top: var(--space-6);
}
@media (max-width: 880px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.value-card .vix {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.05;
  margin: 0;
}
.value-card h4 em { color: var(--accent); font-style: normal; }
.value-card p {
  font-size: var(--text-base); color: var(--muted);
  line-height: 1.55; margin: 0;
}

/* ─────────────── Headshot grid (Leadership) ─────────────── */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5); margin-top: var(--space-7);
}
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .team-grid { grid-template-columns: 1fr; } }
.person {
  display: flex; flex-direction: column; gap: var(--space-3);
}
.person .photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--blue-0), var(--paper));
}
.person .photo .silhouette {
  position: absolute; inset: 0;
  display: grid; place-items: end center;
}
.person .photo .silhouette svg { width: 70%; height: 90%; display: block; }
.person .name {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.25rem;
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--text);
}
.person .title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
}
.person .bio {
  font-size: var(--text-sm);
  color: var(--color-600);
  line-height: 1.5;
}

/* ─────────────── Big callout (#1 platform card etc.) ─────────────── */
.big-callout {
  background: var(--blue-1000); color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: grid; grid-template-columns: 1fr auto; gap: var(--space-6);
  align-items: end;
  margin-top: var(--space-7);
  position: relative; overflow: hidden;
}
.big-callout::after {
  content: ""; position: absolute; inset: auto -60px -120px auto;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(52,160,254,0.45), transparent 65%);
  pointer-events: none;
}
.big-callout .q {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15; letter-spacing: -0.02em;
  max-width: 24ch;
  position: relative; z-index: 1;
}
.big-callout .q em { color: var(--blue-300); font-style: normal; }
.big-callout .src {
  font-family: var(--font-mono);
  font-size: var(--text-xs); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue-200);
  position: relative; z-index: 1;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .big-callout { grid-template-columns: 1fr; }
}

/* ─────────────── Pullquote (Founder callout) ─────────────── */
.pullquote {
  background: var(--paper);
  border-left: 3px solid var(--accent);
  padding: var(--space-6) var(--space-7);
  margin: var(--space-6) 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  line-height: 1.2; letter-spacing: -0.02em;
}
.pullquote em { color: var(--accent); font-style: normal; }

/* ─────────────── Final CTA panels ─────────────── */
.final-cta {
  background: var(--blue-1000);
  color: #fff;
  padding: var(--space-10) 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(52,160,254,0.35), transparent 60%),
    radial-gradient(40% 50% at 10% 10%, rgba(1,116,217,0.25), transparent 70%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 { max-width: 22ch; margin: var(--space-4) auto var(--space-5); }
.final-cta .subhead { max-width: 56ch; margin: 0 auto; color: var(--blue-100); }
.final-cta .cta-row { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--space-6); }

/* ─────────────── Footer ─────────────── */
.foot-tagline {
  background: var(--color-1000);
  color: #fff;
  padding: var(--space-10) 0;
  text-align: center;
}
.foot-tagline h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--h-section, clamp(2.2rem, 3.9vw, 3.5rem));
  letter-spacing: -0.03em; line-height: 1.05;
  margin: 0 auto;
}
.foot-tagline h2 em { font-style: normal; color: var(--blue-300); }
.foot-tagline .wordmark { margin-top: var(--space-7); display: flex; justify-content: center; }
.foot-tagline .wordmark img { height: 32px; opacity: 0.9; }
.foot {
  background: var(--color-1000);
  color: var(--color-400);
  padding: var(--space-6) 0;
  font-size: var(--text-sm);
}
.foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); flex-wrap: wrap;
}
.foot-nav { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.foot-nav a { color: var(--color-400); text-decoration: none; }
.foot-nav a:hover { color: #fff; }
.foot-copy { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.04em; }

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