/* Focused consulting pages and the working pipeline demonstration. */
.service-hero { padding: 5rem 0; }
.service-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.service-hero h1 { max-width: 22ch; }
.engagement-brief { padding: 2rem; border: 1px solid #6b7f99; border-top: 3px solid var(--gold); border-radius: var(--radius); background: #0b1f3acc; }
.engagement-brief h2 { font-size: 1.8rem; margin: .75rem 0 1rem; }
.engagement-brief > p:last-child { margin-top: 1.5rem; color: #d3deed; font-size: .9rem; }
.brief-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.section-kicker { color: #785e09; margin-bottom: .6rem; }
.service-intro { max-width: 72ch; font-size: 1.1rem; }
.service-areas { margin-top: 2.5rem; }
.service-areas .card p { color: var(--muted); }
.proof-note { margin-top: 1.5rem; border-left: 3px solid var(--gold); padding-left: 1.25rem; }
.proof-note a, .related-services a, .service-reading a { text-decoration: underline; text-underline-offset: .2em; }
.service-reading { max-width: 800px; }
.service-faq details { padding: 1.25rem 0; border-bottom: 1px solid #cbd5e1; }
.service-faq summary { cursor: pointer; color: var(--navy); font-weight: 700; }
.service-faq details p { margin-top: .75rem; }
.related-heading { margin-top: 3rem; }
.related-services { display: flex; gap: 1rem 2rem; flex-wrap: wrap; }
.journey { list-style: none; counter-reset: journey; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; margin: 2rem 0; }
.journey li { counter-increment: journey; border-top: 2px solid var(--gold); padding-top: 1rem; }
.journey li::before { content: '0' counter(journey); color: var(--muted); font: 700 .9rem ui-monospace,monospace; }
.journey h3 { margin: .75rem 0; color: var(--navy); }
.demo-teaser { padding: 2.5rem; border-radius: var(--radius); background: var(--navy); color: #fff; margin: 2.5rem 0; }
.demo-teaser h3 { color: #fff; font-size: 1.6rem; margin: .5rem 0 1rem; }
.demo-teaser p { max-width: 65ch; }
.service-link { display: inline-block; margin-top: 1rem; color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
@media(max-width: 780px) { .service-grid { grid-template-columns: 1fr; gap: 2rem; } .journey { grid-template-columns: 1fr; } .service-hero { padding: 3rem 0; } .demo-teaser { padding: 1.5rem; } }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.lab-hero { padding: 4.5rem 0 5rem; }
.lab-hero h1 { max-width: 22ch; }
.lab-tags { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.75rem; }
.lab-tags span { border: 1px solid #7d8fa6; padding: .35rem .7rem; border-radius: 30px; font-size: .8rem; color: #e2e8f0; }
.lab-section { background: #eef2f7; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.lab-workspace { background: #fff; border: 1px solid #b9c6d6; border-radius: 14px; box-shadow: 0 18px 45px #0b1f3a12; overflow: hidden; }
.lab-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.75rem; border-bottom: 1px solid #dbe3ee; }
.lab-toolbar .brief-label { color: #785e09; }
.lab-toolbar h2 { font-size: 1.5rem; margin: .4rem 0 0; }
.lab-local { color: #166452; background: #e6f5ef; border: 1px solid #8bbdac; border-radius: 20px; padding: .3rem .7rem; font-size: .8rem; }
.lab-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.5rem 1.75rem .5rem; }
.lab-controls[hidden], .lab-quality[hidden], #lab-results[hidden] { display: none; }
.lab-controls .btn { cursor: pointer; font: inherit; font-weight: 700; }
.lab-toggle { display: flex; align-items: center; gap: .65rem; cursor: pointer; }
.lab-toggle input { width: 1.2rem; height: 1.2rem; accent-color: var(--navy); }
.lab-message { margin: 1rem 1.75rem; color: var(--muted); min-height: 3.2em; }
.pipeline-stages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; gap: 1px; margin: 1.5rem 1.75rem; border: 1px solid #bdcadd; border-radius: 8px; overflow: hidden; background: #bdcadd; }
.pipeline-stages li { padding: 1.25rem; background: #f4f6fa; border-top: 4px solid #8a9aaf; min-width: 0; }
.stage-number { font: 600 .75rem ui-monospace,monospace; color: var(--muted); text-transform: uppercase; }
.pipeline-stages h3 { font-size: 1.1rem; margin: .75rem 0 .4rem; color: var(--navy); }
.pipeline-stages li > p { font-size: .9rem; color: var(--muted); }
.stage-status { display: block; margin-top: 1.25rem; font-weight: 650; font-size: .85rem; }
.pipeline-stages [data-state="ok"] { background: #edf7f2; border-top-color: #24765c; }
.pipeline-stages [data-state="warning"] { background: #fff7e5; border-top-color: #9a6a00; }
.pipeline-stages [data-state="blocked"] { background: #fff0ef; border-top-color: #b42318; }
.lab-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin: 2rem 1.75rem; }
.lab-metrics dt { color: var(--muted); font-size: .8rem; }
.lab-metrics dd { color: var(--navy); font-weight: 750; font-size: clamp(1.25rem,2.5vw,1.9rem); overflow-wrap: anywhere; }
.lab-report, .lab-quality { margin: 1.5rem 1.75rem; }
.lab-report > p { color: var(--muted); font-size: .9rem; margin: .4rem 0 1rem; }
.lab-table-wrap { overflow-x: auto; border: 1px solid #d2dce8; border-radius: 7px; margin-top: .75rem; }
.lab-table-wrap table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; }
.lab-table-wrap th { background: #f1f5f9; color: var(--navy); }
.lab-table-wrap th, .lab-table-wrap td { padding: .75rem; border-bottom: 1px solid #e0e6ed; }
.lab-source { padding: 1.25rem 1.75rem; background: #0b1f3a; color: #e2e8f0; }
.lab-source summary { cursor: pointer; font-weight: 650; }
.lab-source pre { margin-top: 1rem; max-height: 22rem; overflow: auto; font: .8rem/1.6 ui-monospace,monospace; white-space: pre; }
.lab-caption { color: var(--muted); font-size: .85rem; max-width: 95ch; margin-top: 1rem; }
.lab-services { margin-top: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width: 780px) { .pipeline-stages { grid-template-columns: 1fr; } .lab-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } .lab-hero { padding: 3rem 0; } }
@media(max-width: 400px) { .lab-toolbar, .lab-controls, .lab-source { padding-left: 1rem; padding-right: 1rem; } .pipeline-stages, .lab-message, .lab-metrics, .lab-report, .lab-quality { margin-left: 1rem; margin-right: 1rem; } }
