/* ============================================
   METHODOLOGY PAGE
   ============================================ */

.stages {
  background: var(--paper);
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.stages-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: start;
}

.stages-intro h2 { margin-top: 1rem; }

@media (max-width: 880px) {
  .stages-intro { grid-template-columns: 1fr; gap: 2rem; }
}


.stages-list {
  list-style: none;
  padding: 0;
  counter-reset: stage;
}

.stage {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  align-items: start;
}

.stage-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.stage-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--signal);
  background: var(--paper);
  border: 1px solid var(--signal);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.stage:hover .stage-num {
  background: var(--signal);
  color: var(--mist);
  box-shadow: 0 0 0 6px rgba(10, 31, 143, 0.1);
}

.stage-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, var(--signal) 0%, var(--line) 100%);
  margin-top: 0.5rem;
}

.stage-line.last { display: none; }

.stage-body {
  padding-top: 0.25rem;
}

.stage-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.stage-body h3 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.stage-body p {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stage-tags span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 0.35rem 0.65rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 1px;
}

@media (max-width: 880px) {
  .stage { grid-template-columns: 60px 1fr; gap: 1.25rem; }
  .stage-num { width: 42px; height: 42px; font-size: 0.75rem; }
}


/* PRINCIPLES (DARK) */

.principles { padding: clamp(5rem, 9vw, 8rem) 0; }

.principles-h2 {
  margin: 1rem 0 4rem;
  color: var(--mist);
  max-width: 28ch;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-left: 1px solid rgba(148, 163, 184, 0.12);
}

.principle {
  padding: 2.5rem 1.75rem;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.3s;
}

.principle:hover { background: rgba(10, 31, 143, 0.04); }

.p-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--signal);
  margin-bottom: 1rem;
  line-height: 1;
}

.principle h4 { color: var(--mist); margin-bottom: 0.75rem; font-size: 1.05rem; }
.principle p { color: var(--silver); font-size: 0.88rem; }

@media (max-width: 1100px) {
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .principles-grid { grid-template-columns: 1fr; }
}


/* CTA (shared) */

.cta { background: var(--paper); padding: clamp(5rem, 9vw, 8rem) 0; }

.cta-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100px;
  width: 400px;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 31, 143, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-card > div:first-child { position: relative; z-index: 1; }
.cta-card h2 { margin: 1rem 0 1.5rem; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 880px) {
  .cta-card { grid-template-columns: 1fr; }
}
