.services-path-page {
  overflow: clip;
  background: var(--white);
}

.services-path-number {
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-weight: 800;
}

.services-path-sequence {
  padding-top: 0;
  padding-bottom: 60px;
}

.services-path-track > .services-path-gate:first-child {
  margin-top: 30px;
}

.services-path-card,
.services-path-step details {
  scroll-margin-top: 96px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.services-path-card:hover,
.services-path-card[open],
.services-path-step details:hover,
.services-path-step details[open] {
  border-color: rgba(200, 168, 75, 0.7);
  box-shadow: 0 18px 42px rgba(26, 26, 26, 0.08);
}

.services-path-card > summary,
.services-path-step summary {
  cursor: pointer;
  list-style: none;
}

.services-path-card > summary::-webkit-details-marker,
.services-path-step summary::-webkit-details-marker {
  display: none;
}

.services-path-card > summary {
  display: flex;
  min-height: 275px;
  flex-direction: column;
  padding: 32px;
}

.services-path-card-title,
.services-path-step-title,
.services-path-gate h2 {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

.services-path-card-title {
  max-width: 410px;
  margin: 18px 0 13px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.services-path-summary-copy {
  display: block;
  color: var(--secondary-text);
  line-height: 1.65;
}

.services-path-card .services-path-summary-copy {
  max-width: 500px;
}

.services-path-access,
.services-path-phase-label {
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.45;
  text-transform: uppercase;
}

.services-path-explore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 28px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.services-path-explore span {
  color: var(--gold-deep);
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

details[open] > summary .services-path-explore span {
  transform: rotate(45deg);
}

.services-path-card summary:focus-visible,
.services-path-step summary:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 4px;
}

.services-path-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 42px;
  padding: 32px;
  border-top: 1px solid var(--border);
  background: #F1E7D2;
}

.services-path-detail h4 {
  margin-bottom: 7px;
  color: var(--gold-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.services-path-detail p,
.services-path-detail li {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.7;
}

.services-path-detail ul {
  padding-left: 18px;
  list-style: disc;
}

.services-path-action {
  display: flex;
  align-items: flex-end;
}

.services-path-action .btn-primary,
.services-path-action .btn-secondary {
  width: 100%;
  max-width: 290px;
  text-align: center;
}

.services-path-bridge {
  position: relative;
  background: #FFFFFF;
  padding-top: 120px;
  padding-bottom: 86px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 28px 42px -20px rgba(26, 26, 26, 0.34);
}

.services-path-bridge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(24px, calc((100vw - 1200px) / 2));
  width: 3px;
  background: var(--gold-gradient);
}

.services-path-bridge-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.services-path-bridge-body {
  margin-top: 18px;
  color: var(--secondary-text);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.services-path-bridge strong {
  color: var(--ink);
}

/* ── SPLIT: intro + standalone pill picker ─────────────── */
.services-path-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 56px;
  align-items: start;
}

.services-path-split-intro { min-width: 0; }

.services-path-pills { min-width: 0; }

.services-path-pill-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.services-path-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.services-path-pill {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--secondary-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.services-path-pill:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.services-path-pill-input:focus-visible + .services-path-pill-row .services-path-pill,
#pick-website:focus-visible ~ .services-path-pill-row label[for="pick-website"],
#pick-marketing:focus-visible ~ .services-path-pill-row label[for="pick-marketing"],
#pick-pinpoint:focus-visible ~ .services-path-pill-row label[for="pick-pinpoint"],
#pick-techstrategy:focus-visible ~ .services-path-pill-row label[for="pick-techstrategy"],
#pick-strategic-direction:focus-visible ~ .services-path-pill-row label[for="pick-strategic-direction"],
#pick-operations:focus-visible ~ .services-path-pill-row label[for="pick-operations"],
#pick-competitive-landscape:focus-visible ~ .services-path-pill-row label[for="pick-competitive-landscape"],
#pick-internal-audit:focus-visible ~ .services-path-pill-row label[for="pick-internal-audit"],
#pick-management:focus-visible ~ .services-path-pill-row label[for="pick-management"] {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

#pick-website:checked ~ .services-path-pill-row label[for="pick-website"],
#pick-marketing:checked ~ .services-path-pill-row label[for="pick-marketing"],
#pick-pinpoint:checked ~ .services-path-pill-row label[for="pick-pinpoint"],
#pick-techstrategy:checked ~ .services-path-pill-row label[for="pick-techstrategy"],
#pick-strategic-direction:checked ~ .services-path-pill-row label[for="pick-strategic-direction"],
#pick-operations:checked ~ .services-path-pill-row label[for="pick-operations"],
#pick-competitive-landscape:checked ~ .services-path-pill-row label[for="pick-competitive-landscape"],
#pick-internal-audit:checked ~ .services-path-pill-row label[for="pick-internal-audit"],
#pick-management:checked ~ .services-path-pill-row label[for="pick-management"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.services-path-pill-panels .services-path-card { display: none; }

#pick-website:checked ~ .services-path-pill-panels details[data-pill-panel="pick-website"],
#pick-marketing:checked ~ .services-path-pill-panels details[data-pill-panel="pick-marketing"],
#pick-pinpoint:checked ~ .services-path-pill-panels details[data-pill-panel="pick-pinpoint"],
#pick-techstrategy:checked ~ .services-path-pill-panels details[data-pill-panel="pick-techstrategy"],
#pick-strategic-direction:checked ~ .services-path-pill-panels details[data-pill-panel="pick-strategic-direction"],
#pick-operations:checked ~ .services-path-pill-panels details[data-pill-panel="pick-operations"],
#pick-competitive-landscape:checked ~ .services-path-pill-panels details[data-pill-panel="pick-competitive-landscape"],
#pick-internal-audit:checked ~ .services-path-pill-panels details[data-pill-panel="pick-internal-audit"],
#pick-management:checked ~ .services-path-pill-panels details[data-pill-panel="pick-management"] {
  display: block;
}

.services-path-pill-panels .services-path-card > summary {
  min-height: 0;
  padding: 26px;
}

.services-path-pill-panels .services-path-detail {
  grid-template-columns: minmax(0, 1fr);
  padding: 26px;
}

.services-path-track {
  max-width: 980px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.services-path-phase {
  position: relative;
}

.services-path-phase::before {
  content: "";
  position: absolute;
  top: 42px;
  bottom: 0;
  left: 42px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--border) 100%);
}

.services-path-phase-label {
  margin: 0 0 24px 112px;
}

.services-path-step {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 28px;
  position: relative;
  margin-bottom: 24px;
}

.services-path-number {
  display: flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  border: 1px solid var(--gold);
  background: var(--white);
  font-size: 1.2rem;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.services-path-step.is-visible .services-path-number {
  background: var(--ink);
  color: var(--gold);
  transform: translateY(-3px);
}

.services-path-step details {
  min-width: 0;
}

.services-path-step summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  padding: 28px 30px;
}

.services-path-step summary .services-path-access,
.services-path-step summary .services-path-step-title,
.services-path-step summary .services-path-summary-copy {
  grid-column: 1;
}

.services-path-step-title {
  margin: 9px 0 11px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.services-path-step .services-path-explore {
  grid-column: 2;
  grid-row: 1 / span 4;
  min-width: 80px;
  align-self: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.services-path-gate {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  position: relative;
  margin: 62px 0 30px;
  padding: 36px 0;
}

.services-path-gate::before,
.services-path-gate::after {
  content: "";
  position: absolute;
  left: 112px;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.services-path-gate::before { top: 0; }
.services-path-gate::after { bottom: 0; }

.services-path-gate-frame {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  position: relative;
  z-index: 2;
  border: 2px solid var(--ink);
  background: var(--white);
  transform: rotate(45deg);
}

.services-path-gate-frame span {
  width: 30px;
  height: 30px;
  border: 2px solid var(--gold);
  background: var(--ink);
}

.services-path-gate h2 {
  max-width: 720px;
  margin-top: 0;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.services-path-faq {
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .services-path-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-path-card > summary {
    min-height: 235px;
    padding: 26px 22px;
  }

  .services-path-detail {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .services-path-bridge::before {
    left: 16px;
  }

  .services-path-track {
    margin-top: 44px;
  }

  .services-path-phase::before {
    left: 25px;
  }

  .services-path-phase-label {
    margin-left: 70px;
  }

  .services-path-step,
  .services-path-gate {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
  }

  .services-path-number,
  .services-path-gate-frame {
    width: 52px;
    height: 52px;
    font-size: 0.85rem;
  }

  .services-path-gate-frame span {
    width: 19px;
    height: 19px;
  }

  .services-path-step summary {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .services-path-step .services-path-explore {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
    margin-top: 18px;
  }

  .services-path-gate {
    margin: 48px 0;
    padding: 30px 0;
  }

  .services-path-gate::before,
  .services-path-gate::after {
    left: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-path-card,
  .services-path-step details,
  .services-path-explore span,
  .services-path-number {
    transition: none;
  }
}
