/* ============================================
   PIPELINE RAIL — full-page animated thread
   ============================================ */
.pg-rail {
  position: fixed;
  left: 28px; top: 0; bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
}
.pg-rail svg { width: 100%; height: 100%; }
.pg-rail-path {
  fill: none;
  stroke: var(--hairline);
  stroke-width: 1;
}
.pg-rail-glow {
  fill: none;
  stroke: var(--signal-soft);
  stroke-width: 1.5;
  stroke-dasharray: 80 9999;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px var(--signal));
  animation: pg-rail-flow 4s linear infinite;
}
.pg-rail-dot {
  fill: var(--signal);
  filter: drop-shadow(0 0 5px var(--signal));
  animation: pg-dot-flow 4s linear infinite;
}
@keyframes pg-rail-flow {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -9999px; }
}
@keyframes pg-dot-flow {
  0%   { cy: 0; opacity: 1; }
  95%  { opacity: 1; }
  100% { cy: 100vh; opacity: 0; }
}
@media (max-width: 900px) { .pg-rail { display: none; } }

/* ============================================
   FLOATING BACKGROUND SHAPES
   ============================================ */
.pg-shapes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.pg-shape  { position: absolute; }

.pg-shape-grid {
  top: 6%; right: 5%;
  width: 200px; height: 200px;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.25;
  animation: pg-float-a 30s ease-in-out infinite;
}
.pg-shape-ring {
  bottom: 12%; left: -5%;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  opacity: 0.2;
  animation: pg-float-b 24s ease-in-out infinite;
}
.pg-shape-dot-a {
  top: 32%; right: 14%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(255,154,61,.8);
  opacity: .8;
  animation: pg-float-c 13s ease-in-out infinite;
}
.pg-shape-dot-b {
  bottom: 34%; right: 28%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px rgba(46,196,160,.8);
  opacity: .7;
  animation: pg-float-c 19s ease-in-out infinite reverse;
}
.pg-shape-slash {
  top: 55%; right: 6%;
  width: 80px; height: 1px;
  background: var(--hairline);
  opacity: .4;
  transform: rotate(-45deg);
  animation: pg-float-a 20s ease-in-out infinite reverse;
}
@keyframes pg-float-a { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }
@keyframes pg-float-b { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(22px) scale(1.04); } }
@keyframes pg-float-c { 0%,100% { transform: translateY(0); opacity: .8; } 50% { transform: translateY(-16px); opacity: .3; } }
@media (max-width: 800px) { .pg-shapes { display: none; } }
main { position: relative; z-index: 1; }

/* ============================================
   HERO
   ============================================ */
.pg-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.pg-hero-inner { text-align: center; max-width: 960px; margin: 0 auto; }
.pg-hero-lead  { max-width: 70ch; margin-left: auto; margin-right: auto; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.pg-hero-body  { color: var(--muted); font-size: 1.02rem; max-width: 62ch; margin: 0 auto 22px; line-height: 1.65; }
.pg-hero-statement {
  border-left: 2px solid var(--signal-soft);
  padding: 14px 22px;
  text-align: left;
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 66ch;
  margin: 0 auto 22px;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pg-hero-closing { color: var(--muted); font-size: 0.96rem; max-width: 58ch; margin: 0 auto 42px; line-height: 1.6; }

/* ============================================
   WHY PIPELINE MATTERS — two-col + stacked statements
   ============================================ */
.pg-why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 920px) { .pg-why-grid { grid-template-columns: 1fr; gap: 36px; } }

.pg-statement-stack { display: flex; flex-direction: column; gap: 2px; margin-bottom: 32px; }
.pg-statement-item {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  padding: 16px 22px;
  border-left: 2px solid var(--hairline);
  color: var(--paper-dim);
  transition: border-color 0.3s, color 0.3s, transform 0.35s var(--ease-out), background 0.3s;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pg-statement-item:hover { border-color: var(--signal); color: var(--paper); background: var(--surface); transform: translateX(6px); }
/* emphasis states */
.pg-statement-item.is-bold {
  font-weight: 600;
  color: var(--paper);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}
.pg-statement-item.is-muted { font-style: italic; }
.pg-statement-item.is-key {
  border-color: var(--amber);
  color: var(--paper-dim);
}

.pg-why-intro {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 16px;
}
.pg-challenge-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 32px;
}
.pg-challenge-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--paper-dim);
  background: var(--ink-soft);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.pg-challenge-list li::before {
  content: '—';
  font-family: var(--font-mono);
  color: var(--hairline);
  flex-shrink: 0;
  transition: color 0.3s;
}
.pg-challenge-list li:hover { background: var(--surface); border-color: var(--signal); transform: translateX(4px); }
.pg-challenge-list li:hover::before { color: var(--signal); }

/* ============================================
   WHAT IS — goal card
   ============================================ */
.pg-whatis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .pg-whatis-grid { grid-template-columns: 1fr; gap: 36px; } }
.pg-goal-card {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 46px 40px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.pg-goal-card:hover { border-color: var(--signal); transform: translateY(-4px); }
.pg-goal-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--signal-soft), var(--amber-soft));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.pg-goal-card:hover::before { transform: scaleX(1); }
.pg-goal-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--signal-soft);
  display: block;
  margin-bottom: 18px;
}
.pg-goal-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--paper);
  margin: 0;
}

/* ============================================
   FRAMEWORK — interactive tab stepper
   ============================================ */
.pg-step-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  margin-top: 36px;
}
@media (max-width: 700px) { .pg-step-nav { grid-template-columns: repeat(2, 1fr); } }
.pg-step-btn {
  background: var(--ink-soft);
  border: none;
  padding: 22px 20px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s;
  position: relative;
}
.pg-step-btn:hover { background: var(--surface); }
.pg-step-btn.is-active {
  background: var(--surface-raised);
}
.pg-step-btn.is-active::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--signal);
}
.pg-step-btn-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.pg-step-btn.is-active .pg-step-btn-num { color: var(--signal-soft); }
.pg-step-btn-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--paper-dim);
  line-height: 1.25;
}
.pg-step-btn.is-active .pg-step-btn-label { color: var(--paper); }

.pg-step-panels { margin-top: 1px; background: var(--hairline); }
.pg-step-panel {
  display: none;
  background: var(--surface);
  padding: 44px 40px;
}
.pg-step-panel.is-active { display: block; }
.pg-step-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 14px;
}
.pg-step-panel-intro { color: var(--muted); font-size: 0.96rem; line-height: 1.65; max-width: 62ch; margin: 0 0 22px; }
.pg-step-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pg-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--signal-soft);
  border-radius: var(--radius);
  color: var(--signal-soft);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.pg-tag:hover { background: var(--signal-soft); color: var(--ink); transform: translateY(-2px); }
.pg-step-closing {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--paper-dim);
  font-size: 1rem;
  margin: 0;
}
@media (max-width: 700px) {
  .pg-step-panel { padding: 30px 24px; }
}

/* ============================================
   WHO WE HELP — 2×2 card grid
   ============================================ */
.pg-who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 32px;
}
@media (max-width: 700px) { .pg-who-grid { grid-template-columns: 1fr; } }
.pg-who-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.pg-who-card:hover { border-color: var(--signal); transform: translateY(-5px); }
/* corner accent */
.pg-who-card::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 36px 36px 0;
  border-color: transparent var(--hairline) transparent transparent;
  transition: border-color 0.4s;
}
.pg-who-card:hover::after { border-color: transparent var(--signal) transparent transparent; }
.pg-who-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 14px;
}
.pg-who-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.6; margin: 0; }

/* ============================================
   BUSINESS IMPACT — horizontal scroll ticker
   ============================================ */
.pg-impact-row {
  display: flex;
  gap: 1px;
  background: var(--hairline);
  margin-top: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pg-impact-row::-webkit-scrollbar { display: none; }
.pg-impact-item {
  background: var(--ink-soft);
  padding: 32px 24px;
  min-width: 160px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.4s;
}
.pg-impact-item:hover { background: var(--surface); }
.pg-impact-metric {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--signal-soft);
  transition: transform 0.4s var(--ease-out), color 0.4s;
  display: inline-block;
}
.pg-impact-item:hover .pg-impact-metric { transform: scale(1.2) rotate(-6deg); color: var(--amber); }
.pg-impact-item h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--paper);
  margin: 0;
  line-height: 1.3;
}
.pg-imp-closing { margin-top: 32px; }

/* ============================================
   WHY LEADCRUNCH — 2×2 tagged diff cards
   ============================================ */
.pg-whyus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  margin-top: 32px;
}
@media (max-width: 700px) { .pg-whyus-grid { grid-template-columns: 1fr; } }
.pg-whyus-card {
  background: var(--ink-soft);
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.pg-whyus-card:hover { background: var(--surface); }
/* animated gradient circle behind */
.pg-whyus-card::before {
  content: '';
  position: absolute; bottom: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,196,160,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.pg-whyus-card:hover::before { opacity: 1; }
.pg-whyus-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 18px;
}
.pg-whyus-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 12px;
}
.pg-whyus-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.6; margin: 0; }

/* ============================================
   TRUST / OPPORTUNITY
   ============================================ */
.pg-trust-section {
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 800px 500px at 50% 0%, rgba(46,196,160,0.13), transparent 65%);
}
.pg-trust-section .eyebrow { justify-content: center; }
.pg-trust-inner { max-width: 780px; margin: 0 auto; }
.pg-trust-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  margin: 0 0 22px;
}
.pg-trust-lead {
  color: var(--paper-dim);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 auto 18px;
}
.pg-trust-question {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--amber-soft);
  margin: 0 auto 28px;
  max-width: 58ch;
}
.pg-trust-section .closing-statement { max-width: 62ch; margin: 0 auto; }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.pg-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.pg-reveal.is-visible { opacity: 1; transform: translateY(0); }
