/* Product pages: the person, capabilities, playbooks, and the embedded role. */
.role-page h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.16; text-wrap: balance; }
.role-page h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.role-hero { padding: 82px 0 72px; background: var(--body-bg); }
.role-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 72px; }
.role-intro h1 { margin: 0; color: var(--color); font: 700 clamp(2.7rem, 4.5vw, 4.2rem)/1.08 Inter, sans-serif; letter-spacing: -.045em; }
.role-intro .interim-kicker { margin-bottom: 24px; }
.role-intro-copy { padding-top: 4px; }
.role-intro-copy p { color: #615c70; }
.role-intro-copy .role-lead { color: #171329; font-size: 1.25rem; line-height: 1.6; }
.role-intro-copy .role-credentials { margin: 24px 0 0; color: var(--dark-purple); font-size: .875rem; font-weight: 700; }
.role-intro .button-row { gap: 18px 24px; }
.role-text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.role-page .role-section-intro { max-width: 720px; }
.role-section-intro > p { color: #615c70; }

/* The existing logo bank sits directly above capabilities. */
.role-tools { padding: 36px 0 40px; background: #f7f7fb; border-block: 1px solid #e9e5ef; }
.role-page .tools-bank h2 { margin: 0 0 28px; color: #615c70; font: 600 1rem/1.4 Inter, sans-serif; letter-spacing: 0; }
.tool-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 36px; margin: 0; padding: 0; list-style: none; }
.tool-logos li { display: flex; align-items: center; gap: 14px; color: #24202d; font: 600 1.15rem/1.3 Inter, sans-serif; }
.tool-logos img { flex: 0 0 32px; width: 32px; height: 32px; object-fit: contain; }

.capability-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
.operator-capabilities article { padding: 26px 0; border-bottom: 1px solid #dcd7e5; }
.operator-capabilities article:first-child { padding-top: 0; }
.operator-capabilities article:last-child { padding-bottom: 0; border-bottom: 0; }
.operator-capabilities article > p, .engineering-capabilities article > p { color: #615c70; margin-bottom: 0; }
.engineer-scope { background: #f7f7fb; }
.engineering-capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 36px; margin-top: 40px; }
.engineering-capabilities article { position: relative; padding: 28px 0 0 60px; border-top: 1px solid #dcd7e5; }
.capability-symbol { position: absolute; top: 28px; left: 0; color: var(--color); font: 600 1.4rem/1.3 Inter, sans-serif; }

/* Four Operator recipes use cards; three Engineer recipes use full-width rows. */
.role-playbooks { background: #f7f7fb; }
.operator-playbooks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.playbook-card { display: flex; flex-direction: column; padding: 30px; background: var(--white); border: 1px solid #e2deea; border-top: 3px solid var(--color); border-radius: 4px 4px 12px 12px; }
.playbook-card:nth-child(2) { border-top-color: var(--teal); }
.playbook-card:nth-child(3) { border-top-color: var(--dark-purple); }
.playbook-card:nth-child(4) { border-top-color: var(--yellow); }
.role-page .playbook-purpose { margin: 0 0 12px; color: #615c70; font-size: .8rem; font-weight: 500; line-height: 1.5; }
.role-page .playbook-card h3, .role-page .engineering-playbook h3 { color: var(--dark-purple); font-size: clamp(1.35rem, 2vw, 1.65rem); }
.playbook-card > p:not(.playbook-purpose), .engineering-playbook > div > p:not(.playbook-purpose) { color: #615c70; }
.playbook-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding-top: 20px; border-top: 1px solid #e2deea; color: var(--dark-purple); font-size: .75rem; font-weight: 600; line-height: 1.6; }
.playbook-card .playbook-flow { margin-top: auto; }
.playbook-flow [aria-hidden] { color: #847991; }
.engineer-playbooks-section { background: var(--white); }
.engineer-playbooks { margin-top: 36px; }
.engineering-playbook { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; padding: 32px 0; border-top: 1px solid #dcd7e5; }
.engineering-playbook:last-child { padding-bottom: 0; }
.engineering-playbook .playbook-flow { padding-top: 0; border: 0; }

/* Pricing is a primary section, with the role and its support alongside the fee. */
.role-pricing { background: #eff7f5; border-block: 1px solid #d6e6e1; }
.pricing-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 80px; }
.pricing-offer h2 { margin-bottom: 28px; }
.role-page .role-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; margin: 0 0 22px; color: var(--color); font-family: Inter, sans-serif; }
.role-price .price-from { flex-basis: 100%; margin-bottom: 6px; color: #615c70; font-size: 1rem; font-weight: 500; }
.role-price strong { font-size: clamp(4.5rem, 8vw, 6rem); line-height: 1; font-weight: 800; letter-spacing: -.055em; }
.role-price .price-period { color: var(--dark-purple); font-size: 1.15rem; font-weight: 600; }
.role-page .role-start { color: var(--dark-purple); font-weight: 600; }
.engagement-details { display: grid; gap: 28px; }
.engagement-details > div > p { margin: 0; color: #615c70; }
.role-guarantee { padding: 22px 0 0; border-top: 1px solid #bed8d1; }
.role-guarantee b { display: block; margin-bottom: 8px; color: var(--dark-purple); font-size: 1.05rem; }
.role-guarantee p { font-size: .95rem; }

/* Quotes carry the proof here; the detailed stories live on Results. */
.role-proof { background: var(--dark-purple); color: var(--white); }
.role-proof .interim-kicker { color: var(--yellow); }
.role-proof h2 { color: var(--white); }
.role-proof-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.role-proof-heading h2 { max-width: 680px; margin: 0; }
.detail-page.role-page main .role-proof-heading > a { color: var(--white); white-space: nowrap; }
.role-testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.role-testimonials figure { display: flex; flex-direction: column; align-items: start; gap: 22px; margin: 0; padding-top: 28px; border-top: 1px solid #ffffff40; }
.role-testimonials blockquote, .role-pullquote blockquote { margin: 0; padding: 0; border: 0; color: var(--white); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.65; }
.role-testimonials figcaption { margin-top: auto; }
.role-testimonials figcaption, .role-pullquote figcaption { color: #d3c7e2; font-size: .95rem; }
.role-pullquote { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: end; gap: 48px; margin: 0; padding-top: 28px; border-top: 1px solid #ffffff40; }

.role-questions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
.role-questions summary { padding-right: 8px; }
.role-close { background: #eff7f5; }
@media (max-width: 1100px) {
  .role-intro { gap: 40px; }
  .capability-layout, .pricing-layout, .role-questions, .engineering-playbook { gap: 40px; }
  .engineering-capabilities { column-gap: 36px; }
  .role-testimonials { gap: 36px; }
  .role-proof-heading { display: block; }
  .role-proof-heading > a { display: inline-block; margin-top: 22px; }
}
@media (max-width: 767px) {
  .role-hero { padding: 40px 0 48px; }
  .role-page .page-section { padding-block: 48px; }
  .role-intro, .capability-layout, .engineering-capabilities, .operator-playbooks, .engineering-playbook, .pricing-layout, .role-questions, .role-testimonials, .role-pullquote { grid-template-columns: minmax(0, 1fr); }
  .role-intro { gap: 28px; }
  .role-intro h1 { font-size: clamp(2.45rem, 10vw, 3.4rem); }
  .role-intro .interim-kicker { margin-bottom: 18px; }
  .role-intro-copy .role-lead { font-size: 1.15rem; }
  .capability-layout { gap: 26px; }
  .role-section-intro h2 { margin-bottom: 0; }
  .role-section-intro > p { margin-top: 18px; }
  .tool-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .tool-logos li { gap: 10px; font-size: .95rem; }
  .tool-logos img { flex-basis: 28px; width: 28px; height: 28px; }
  .engineering-capabilities { margin-top: 30px; row-gap: 28px; }
  .engineering-capabilities article { padding-left: 44px; }
  .operator-playbooks { gap: 20px; margin-top: 28px; }
  .playbook-card { padding: 24px; }
  .playbook-flow { gap: 6px 8px; }
  .engineering-playbook { gap: 10px; padding-block: 28px; }
  .engineering-playbook h3 { margin-bottom: 4px; }
  .pricing-layout { gap: 36px; }
  .pricing-offer { padding-bottom: 32px; border-bottom: 1px solid #bed8d1; }
  .pricing-offer .button-row { margin-top: 20px; }
  .role-testimonials { gap: 32px; }
  .role-pullquote { gap: 18px; }
  .role-questions { gap: 28px; }
  .role-questions h2 { margin-bottom: 0; }
}
