/* Route-scoped density and progressive-disclosure reconciliation for Solutions and Services. */
.reconciliation-details {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-md);
  background: var(--studio-paper);
}

.reconciliation-details > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 64px;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

.reconciliation-details > summary::-webkit-details-marker {
  display: none;
}

.reconciliation-details > summary::after {
  content: "Show";
  color: var(--studio-teal);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reconciliation-details[open] > summary::after {
  content: "Hide";
}

.reconciliation-details > summary strong,
.reconciliation-details > summary small {
  display: block;
}

.reconciliation-details > summary small {
  margin-top: 4px;
  color: var(--studio-slate);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}

.reconciliation-details > summary h2 {
  margin: 0;
  color: var(--studio-ink);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.18;
}

.reconciliation-details[open] > summary {
  border-bottom: 1px solid var(--studio-line);
  background: #f7fafb;
}

.reconciliation-details > summary:focus-visible {
  outline: 3px solid var(--studio-teal);
  outline-offset: -3px;
}

/* Solutions overview: domain detail first, secondary capability material on demand. */
.solutions-shell:not(.solution-detail-shell) .solutions-priority,
.solutions-shell:not(.solution-detail-shell) .supporting-capability-section,
.solutions-shell:not(.solution-detail-shell) .solutions-method,
.solutions-shell:not(.solution-detail-shell) .solutions-boundary {
  padding-block: clamp(52px, 5.5vw, 72px);
}

.solutions-shell:not(.solution-detail-shell) .solutions-card-actions {
  gap: 0;
  padding-top: 16px;
}

.solutions-shell:not(.solution-detail-shell) .solutions-domain-card-featured .solutions-card-actions {
  margin-top: 10px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 16px 0 0;
  background: transparent;
}

.solutions-shell:not(.solution-detail-shell) .overview-supporting-disclosure {
  margin-top: 24px;
}

.solutions-shell:not(.solution-detail-shell) .overview-supporting-disclosure .supporting-capability-grid {
  margin: 0;
  padding: 20px;
}

.solutions-shell:not(.solution-detail-shell) .solutions-method-heading {
  max-width: 880px;
}

.solutions-shell:not(.solution-detail-shell) .solutions-method-heading h2 {
  margin: 8px 0 14px;
  color: var(--studio-ink);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.solutions-shell:not(.solution-detail-shell) .solutions-method-heading > p:last-child {
  color: var(--studio-slate);
  line-height: 1.65;
}

.solutions-shell:not(.solution-detail-shell) .overview-method-disclosure {
  margin-top: 22px;
}

.solutions-shell:not(.solution-detail-shell) .overview-method-disclosure .solutions-method-grid {
  gap: clamp(22px, 4vw, 44px);
  padding: 20px;
}

/* Services overview: keep Assess, Align, and Embed decision content visible and compact. */
.services-three-engagements .services-option1-body {
  padding-block: clamp(48px, 5vw, 68px);
}

.services-three-engagements .services-choice-intro {
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 28px;
}

.services-three-engagements .services-taxonomy-note {
  padding: 0;
}

.services-three-engagements .services-taxonomy-note > summary {
  color: var(--studio-paper);
}

.services-three-engagements .services-taxonomy-note > summary::after {
  color: var(--studio-gold-light);
}

.services-three-engagements .services-taxonomy-note[open] > summary {
  border-bottom-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.services-three-engagements .services-taxonomy-note > summary:focus-visible,
.services-three-engagements .services-method-disclosure > summary:focus-visible {
  outline-color: var(--studio-gold-light);
}

.services-three-engagements .services-taxonomy-body {
  padding: 18px 22px 22px;
}

.services-three-engagements .services-method-bridge {
  display: block;
  margin-bottom: 28px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: none;
}

.services-three-engagements .services-method-bridge > .section-kicker {
  margin-bottom: 8px;
}

.services-three-engagements .services-method-disclosure {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
}

.services-three-engagements .services-method-disclosure > summary h2 {
  color: var(--studio-paper);
}

.services-three-engagements .services-method-disclosure > summary::after {
  color: var(--studio-gold-light);
}

.services-three-engagements .services-method-disclosure[open] > summary {
  border-bottom-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.services-three-engagements .services-method-body {
  padding: 20px;
}

.services-three-engagements .services-method-body > p {
  margin: 0 0 18px;
  color: var(--studio-on-dark-muted);
  line-height: 1.6;
}

.services-three-engagements .services-engagement-stack {
  gap: 20px;
}

.services-three-engagements .services-choice-header {
  padding: clamp(24px, 3vw, 34px);
}

.services-three-engagements .services-fit-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px clamp(22px, 4vw, 42px) 0;
  border-block: 1px solid var(--studio-line);
}

.services-three-engagements .services-fit-ledger > div {
  min-width: 0;
  padding: 16px 18px;
}

.services-three-engagements .services-fit-ledger > div:first-child {
  border-right: 1px solid var(--studio-line);
}

.services-three-engagements .services-fit-ledger dt {
  color: var(--studio-ink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.services-three-engagements .services-fit-ledger dd {
  margin: 6px 0 0;
  color: var(--studio-slate);
  font-size: 0.9rem;
  line-height: 1.55;
}

.services-three-engagements .services-choice-actions {
  margin-top: 18px;
  padding-block: 18px 22px;
}

.services-three-engagements .services-context-grid {
  margin-top: 22px;
}

.services-three-engagements .services-final-cta {
  padding-bottom: clamp(52px, 6vw, 72px);
}

.services-three-engagements .services-final-cta .container {
  padding: clamp(24px, 3vw, 34px);
  box-shadow: none;
}

/* Solution details: compact the repeated method and related-service layers. */
.solution-detail-shell .capability-method-section,
.solution-detail-shell .solution-related-section,
.solution-detail-shell .solutions-boundary {
  padding-block: clamp(48px, 5vw, 68px);
}

.solution-detail-shell .capability-method-shell {
  gap: clamp(24px, 4vw, 44px);
}

.solution-detail-shell .capability-artifact-note {
  margin-top: 24px;
}

.solution-detail-shell .solution-related-section > .container > .section-kicker,
.service-detail-reconciled .service-related-section > .container > .section-kicker,
.service-detail-reconciled .offer-confidence > .container > .section-kicker {
  margin-bottom: 8px;
}

.detail-related-disclosure .detail-related-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
}

.detail-related-disclosure .detail-related-body > p {
  margin: 0;
  color: var(--studio-slate);
  line-height: 1.62;
}

.detail-related-disclosure .solutions-next-actions {
  gap: 10px;
}

.solution-detail-shell .solutions-boundary-panel,
.service-detail-reconciled .cta-panel,
.service-detail-reconciled .offer-final-cta .cta-panel {
  padding: clamp(24px, 3vw, 34px);
  box-shadow: none;
}

/* Service details: preserve unique cards/evidence while collapsing repeated adjacency or confidence layers. */
.service-detail-reconciled .service-related-section,
.service-detail-reconciled .offer-confidence,
.service-detail-reconciled .cta-section {
  padding-block: clamp(48px, 5vw, 68px);
}

.service-detail-reconciled .service-related-section .detail-related-disclosure > .card-grid {
  margin: 0;
  padding: 20px;
}

.service-detail-reconciled .service-related-section .simple-card,
.service-detail-reconciled .service-related-section .simple-card:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
  transition: none;
}

.service-detail-reconciled .service-related-section .simple-card::before,
.service-detail-reconciled .service-related-section .simple-card:hover::before {
  transform: scaleX(0.32);
  transition: none;
}

.service-detail-reconciled .service-related-section .simple-card h3 a,
.service-detail-reconciled .offer-evidence-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.service-detail-reconciled .service-confidence-body {
  padding: 20px;
}

.service-detail-reconciled .service-confidence-body .confidence-strip {
  margin: 0 0 20px;
}

.service-detail-reconciled .service-confidence-body .offer-evidence-links {
  margin-top: 20px;
}

.service-detail-reconciled .offer-final-cta .button,
.service-detail-reconciled .cta-section .button,
.solution-detail-shell .solutions-boundary .button,
.detail-related-disclosure .button {
  min-height: 44px;
}

@media (max-width: 760px) {
  .services-three-engagements .services-fit-ledger,
  .detail-related-disclosure .detail-related-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-three-engagements .services-fit-ledger > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--studio-line);
  }

  .solutions-shell:not(.solution-detail-shell) .overview-supporting-disclosure .supporting-capability-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .reconciliation-details > summary {
    gap: 12px;
    padding-inline: 16px;
  }

  .solutions-shell:not(.solution-detail-shell) .overview-supporting-disclosure .supporting-capability-grid,
  .solutions-shell:not(.solution-detail-shell) .overview-method-disclosure .solutions-method-grid,
  .services-three-engagements .services-method-body,
  .service-detail-reconciled .service-related-section .detail-related-disclosure > .card-grid,
  .service-detail-reconciled .service-confidence-body,
  .detail-related-disclosure .detail-related-body {
    padding: 16px;
  }

  .detail-related-disclosure .solutions-next-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reconciliation-details,
  .reconciliation-details > summary {
    scroll-behavior: auto;
    transition: none !important;
  }
}
