/**
 * proof.css — Case studies hub page styles
 * Owns: /proof page layout and components
 * Does NOT own: shared form (lead-form.css), /how-it-works page (how-it-works.css)
 */

/* ---- BRAND TOKENS ---- */
:root {
  --pr-green:    #43B02A;
  --pr-charcoal: #333F48;
  --pr-cloud:    #D0D3D4;
  --pr-gold:     #BD9A51;
  --pr-white:    #FFFFFF;
  --pr-font:     'Open Sans', system-ui, sans-serif;
  --pr-text:     #333F48;
  --pr-muted:    #6a7580;
  --pr-border:   #E0E3E4;
  --pr-offwhite: #F7F8F9;
}

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

body {
  font-family: var(--pr-font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--pr-text);
  background: var(--pr-white);
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; line-height: 1.15; letter-spacing: 0.02em; }
h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: 0.02em; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: 0.02em; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: 0.03em; }
p  { font-size: 18px; line-height: 1.65; }
small { font-size: 14px; }

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAV ---- */
.pr-nav {
  background: var(--pr-charcoal);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.pr-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--pr-white);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
}
.pr-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.pr-nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.pr-nav-links a:hover { color: var(--pr-white); }
.pr-nav-links a.active { color: var(--pr-white); }
.pr-nav-cta {
  background: var(--pr-green);
  color: var(--pr-white);
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.2s;
}
.pr-nav-cta:hover { opacity: 0.9; }

/* ---- SECTION LABEL ---- */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.section-label--dark {
  color: var(--pr-green);
}
.section-label--muted {
  color: var(--pr-muted);
}

/* ============================================================
   1. HERO
   ============================================================ */
.pr-hero {
  background: var(--pr-green);
  color: var(--pr-white);
  padding: 96px 24px 88px;
  position: relative;
  overflow: hidden;
}
.pr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      88deg,
      transparent 0px,
      transparent 160px,
      rgba(255,255,255,0.03) 160px,
      rgba(255,255,255,0.03) 163px
    );
  pointer-events: none;
}
.pr-hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 2;
}
.pr-hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.pr-hero h1 {
  color: var(--pr-white);
  margin-bottom: 24px;
  max-width: 700px;
}
.pr-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.7;
}
.pr-hero-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  margin-top: 48px;
  font-weight: 600;
}

/* ---- STAT TILES ---- */
.pr-stats {
  background: var(--pr-charcoal);
  padding: 40px 24px;
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.pr-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pr-stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--pr-white);
  letter-spacing: 0.02em;
}
.pr-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   2. CASE STUDY CARDS
   ============================================================ */
.pr-cases {
  background: var(--pr-white);
  padding: 80px 24px;
}
.pr-cases .section-label { color: var(--pr-green); }
.pr-cases h2 {
  color: var(--pr-charcoal);
  margin-bottom: 48px;
  max-width: 600px;
}

/* Case grid: 2-col desktop, 1-col mobile */
.pr-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.pr-case-card {
  border: 1.5px solid var(--pr-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pr-case-card:hover {
  border-color: var(--pr-green);
  box-shadow: 0 4px 20px rgba(67,176,42,0.12);
}

/* Recovery card gets a distinct top border */
.pr-case-card--recovery {
  border-top: 3px solid var(--pr-gold);
}

.pr-case-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--pr-border);
}
.pr-case-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #eef6ec;
  color: var(--pr-green);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.pr-case-card--recovery .pr-case-tag {
  background: #fdf8ed;
  color: var(--pr-gold);
}
.pr-case-client {
  font-size: 15px;
  font-weight: 700;
  color: var(--pr-charcoal);
  letter-spacing: 0.04em;
}
.pr-case-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pr-case-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pr-muted);
  margin-bottom: 4px;
}
.pr-case-challenge, .pr-case-approach, .pr-case-outcome {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pr-text);
}
.pr-case-outcome {
  color: var(--pr-charcoal);
  font-weight: 600;
}
.pr-case-proof {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--pr-border);
  font-size: 12px;
  color: var(--pr-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pr-case-proof-icon {
  width: 16px;
  height: 16px;
  background: #eef6ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   3. PROOF SYSTEMS
   ============================================================ */
.pr-systems {
  background: var(--pr-charcoal);
  padding: 80px 24px;
}
.pr-systems .section-label { color: rgba(255,255,255,0.4); }
.pr-systems h2 {
  color: var(--pr-white);
  margin-bottom: 52px;
}
.pr-systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.pr-system-card {
  padding: 28px 24px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 3px;
}
.pr-system-icon {
  width: 44px;
  height: 44px;
  background: rgba(67,176,42,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pr-system-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--pr-white);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.pr-system-card .pr-system-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pr-green);
  margin-bottom: 12px;
}
.pr-system-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ============================================================
   4. CREDENTIALS BAR
   ============================================================ */
.pr-credentials {
  background: var(--pr-offwhite);
  padding: 52px 24px;
}
.pr-credentials-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.pr-cred {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pr-charcoal);
  letter-spacing: 0.03em;
}
.pr-cred-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--pr-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pr-cred-icon svg { display: block; }

/* ============================================================
   5. CLIENT GRID
   ============================================================ */
.pr-roster {
  background: var(--pr-white);
  padding: 80px 24px;
}
.pr-roster .section-label { color: var(--pr-green); }
.pr-roster h2 {
  color: var(--pr-charcoal);
  margin-bottom: 40px;
}
.pr-roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.pr-roster-table th {
  background: var(--pr-charcoal);
  color: var(--pr-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  padding: 14px 20px;
  text-align: left;
}
.pr-roster-table th:first-child { width: 18%; }
.pr-roster-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--pr-border);
  color: var(--pr-charcoal);
  vertical-align: middle;
}
.pr-roster-table tr:nth-child(even) td { background: var(--pr-offwhite); }
.pr-roster-table tr:last-child td { border-bottom: none; }
.pr-roster-client { font-weight: 700; }
.pr-roster-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pr-green);
  background: #eef6ec;
  padding: 2px 7px;
  border-radius: 2px;
}
.pr-roster-tenure { color: var(--pr-muted); font-size: 14px; }
.pr-roster-outcome { font-size: 14px; }
.pr-roster-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--pr-muted);
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   6. SERVICE RECOVERY CALLOUT
   ============================================================ */
.pr-recovery {
  background: var(--pr-cloud);
  padding: 80px 24px;
}
.pr-recovery-inner {
  max-width: 860px;
  margin: 0 auto;
}
.pr-recovery .section-label { color: var(--pr-gold); }
.pr-recovery h2 {
  color: var(--pr-charcoal);
  margin-bottom: 12px;
}
.pr-recovery-intro {
  font-size: 16px;
  color: var(--pr-muted);
  margin-bottom: 44px;
  line-height: 1.65;
}
.pr-timeline {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--pr-border) transparent;
}
.pr-timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 120px;
  position: relative;
}
.pr-timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 2px;
  background: var(--pr-border);
}
.pr-timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pr-charcoal);
  color: var(--pr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.pr-timeline-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--pr-charcoal);
  text-align: center;
  letter-spacing: 0.05em;
}
.pr-timeline-desc {
  font-size: 12px;
  color: var(--pr-muted);
  text-align: center;
  line-height: 1.5;
  max-width: 120px;
}
.pr-recovery-statement {
  background: var(--pr-charcoal);
  border-radius: 6px;
  padding: 28px 32px;
  color: var(--pr-white);
}
.pr-recovery-statement p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
}
.pr-recovery-statement p:last-child {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ============================================================
   7. CTA + LEAD FORM
   ============================================================ */
.pr-cta {
  background: var(--pr-green);
  padding: 80px 24px;
  text-align: center;
}
.pr-cta .section-label { color: rgba(255,255,255,0.6); }
.pr-cta h2 { color: var(--pr-white); margin-bottom: 16px; }
.pr-cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.65;
}
.pr-cta .lf-card {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
}

/* ============================================================
   FOOTER
   ============================================================ */
.pr-footer {
  background: #1e2a33;
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.pr-footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
.pr-footer a:hover { color: var(--pr-white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .pr-case-grid { grid-template-columns: 1fr; }
  .pr-stats { gap: 24px; }
  .pr-credentials-inner { gap: 24px; }
  .pr-roster-table { font-size: 13px; }
  .pr-timeline { gap: 0; }
  .pr-timeline-step { min-width: 90px; }
}

@media (max-width: 640px) {
  .pr-hero { padding: 64px 20px 60px; }
  .pr-cases, .pr-systems, .pr-roster, .pr-recovery, .pr-cta { padding: 56px 20px; }
  .pr-stats { padding: 32px 20px; }
  .pr-nav { padding: 12px 20px; }
  .pr-nav-links { display: none; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .pr-recovery-statement { padding: 20px; }
}