/**
 * page-why-psp.css
 *
 * Page-specific styles for template-why-psp.php (/join/why-psp/).
 * Requires the global theme stylesheet (main.css) to be loaded first.
 * Enqueue via wp_enqueue_style() on is_page_template( 'page-templates/template-why-psp.php' ).
 */

/* ─────────────────────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────────────────────── */

.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--white);
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--black);
  color: var(--white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(184, 184, 184, 0.35);
  transition: border-color 0.25s, background 0.25s;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-arrow {
  transition: transform 0.2s;
}

.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   PITCH SECTION — 2-col editorial + sticky sidebar
   ───────────────────────────────────────────────────────────────────────────── */

.pitch-section {
  padding: 120px 0;
}

.pitch-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

/* Editorial body */

.pitch-body {
  font-size: 17px;
  color: var(--silver-light);
  line-height: 1.85;
  font-weight: 300;
}

.pitch-body .eyebrow {
  margin-bottom: 28px;
}

.pitch-body h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin: 48px 0 18px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.pitch-body h2:first-of-type {
  margin-top: 0;
}

.pitch-body h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--silver);
}

.pitch-body p {
  margin-bottom: 22px;
}

.pitch-body p:last-child {
  margin-bottom: 0;
}

.pitch-body strong {
  font-weight: 600;
  color: var(--white);
}

/* Pull quote — inserted via shortcode inside pitch-body */

.pull-quote {
  margin: 48px 0;
  padding: 36px 40px;
  border-left: 3px solid var(--silver);
  background: #141414;
}

.pull-quote p {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  color: var(--silver-light);
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

.pull-quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-dark);
  font-style: normal;
}

/* Sidebar stats */

.pitch-sidebar {
  position: sticky;
  top: 160px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sidebar-stat {
  background: #141414;
  border: 1px solid rgba(184, 184, 184, 0.1);
  padding: 32px 28px;
}

.sidebar-stat + .sidebar-stat {
  border-top: none;
}

.stat-number {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 800;
  line-height: 0.9;
  background: var(--silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-dark);
  font-weight: 600;
  line-height: 1.4;
}

.stat-desc {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.55;
  margin-top: 8px;
  font-weight: 300;
}

/* ─────────────────────────────────────────────────────────────────────────────
   THREE REASONS — light-bg 3-col card grid
   ───────────────────────────────────────────────────────────────────────────── */

.reasons-section {
  padding: 0 0 120px;
}

.reasons-header {
  margin-bottom: 56px;
}

.reasons-header h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.05;
}

.reasons-header h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--silver);
}

.reasons-header p {
  font-size: 16px;
  color: var(--silver);
  max-width: 480px;
  line-height: 1.65;
  font-weight: 300;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #b0b0b0;
  border: 1px solid #b0b0b0;
}

.reason-card {
  background: #d4d4d4;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.reason-card:hover {
  background: #dcdcdc;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* Left-edge accent bar */
.reason-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--black);
  transition: height 0.35s ease;
}

.reason-card:hover::before {
  height: 100%;
}

.reason-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  background: transparent;
}

.reason-icon svg {
  color: #333;
}

.reason-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.reason-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.15;
}

.reason-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.75;
  font-weight: 400;
  flex: 1;
}

.reason-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 2px;
  transition: gap 0.2s, border-color 0.2s;
}

.reason-link:hover {
  gap: 12px;
  border-color: var(--black);
}

/* ─────────────────────────────────────────────────────────────────────────────
   PATHS SECTION — "Find Your Path" full-width dark card grid
   ───────────────────────────────────────────────────────────────────────────── */

.paths-section {
  background: #141414;
  border-top: 1px solid rgba(184, 184, 184, 0.08);
}

.paths-header {
  padding: 80px 0 56px;
}

.paths-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}

.paths-header h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--silver);
}

.paths-header p {
  font-size: 16px;
  color: var(--silver);
  max-width: 480px;
  line-height: 1.65;
  font-weight: 300;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(184, 184, 184, 0.1);
}

.path-card {
  background: var(--black);
  padding: 40px 32px 44px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s;
  position: relative;
  border-top: 3px solid transparent;
}

.path-card:hover {
  background: #0f0f0f;
}

.path-card.featured {
  border-top-color: var(--white);
}

.path-tag {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-dark);
  font-weight: 600;
  margin-bottom: 20px;
}

.path-card.featured .path-tag {
  color: var(--silver-light);
}

.path-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.path-card p {
  font-size: 13.5px;
  color: var(--silver);
  line-height: 1.65;
  flex: 1;
  font-weight: 300;
}

.path-action {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--silver-dark);
  transition: color 0.2s, gap 0.2s;
}

.path-card:hover .path-action {
  color: var(--white);
  gap: 12px;
}

.path-card.featured .path-action {
  color: var(--white);
}

.path-arrow {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.path-card:hover .path-arrow {
  transform: translateX(4px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤1100px)
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .pitch-grid {
    grid-template-columns: 1fr 300px;
    gap: 56px;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .paths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤900px)
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  /* Hero */
  .page-hero {
    padding: 80px 0 72px;
  }
  
  /* Pitch */
  .pitch-section {
    padding: 64px 0;
  }

  .pitch-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pitch-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1px;
  }

  .sidebar-stat {
    flex: 1;
    min-width: 140px;
  }

  /* Reasons */
  .reasons-section {
    padding: 0 0 72px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  /* Paths */
  .paths-header {
    padding: 56px 0 40px;
  }

  .paths-grid {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — SMALL PHONE (≤600px)
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: space-between;
  }

  .pull-quote {
    padding: 24px;
  }

  .reason-card {
    padding: 32px 24px;
  }

  .hero-headline {
    font-size: clamp(32px, 9vw, 46px);
  }
}
