/* Connected chapters, optional depth and ordinary document scrolling. */
html.coherent-reading #philosophy{display:block;padding-block:64px;border-top:1px solid var(--line)}
html.coherent-reading #philosophy .manifesto__mark{display:none}
html.coherent-reading #philosophy .manifesto__text{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,72px)}
html.coherent-reading .reading-principle{min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:24px;padding:0;scroll-margin-top:0}
html.coherent-reading .reading-principle>*{min-width:0}
html.coherent-reading #philosophy .reading-principle h2{font-size:clamp(27px,2.5vw,39px);line-height:1.5;margin:0 0 16px;letter-spacing:-.055em}
html.coherent-reading #philosophy .reading-principle .eyebrow{font-size:10px;margin-bottom:16px}
html.coherent-reading .reading-principle__copy>p:not(.eyebrow){font-size:13px;line-height:2;color:var(--muted);margin:0;max-width:620px}
.principle-diagram{margin:0;min-width:0}
.principle-diagram svg{display:block;width:100%;height:auto;overflow:visible;fill:none;stroke:var(--muted);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.principle-diagram .principle-route{stroke:var(--line);stroke-dasharray:3 7}
.principle-diagram .principle-node>rect{fill:var(--bg);stroke:var(--line)}
.principle-diagram .principle-accent{stroke:var(--gold)}
.principle-diagram figcaption{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;text-align:center;color:var(--muted);font-size:11px;letter-spacing:.05em;line-height:1.8}
.principle-diagram .principle-signal{fill:var(--gold);stroke:none;opacity:0}
html.coherent-reading .reading-visible .principle-node>rect{animation:principle-stage 7.5s linear infinite;animation-delay:calc(var(--stage)*2.5s)}
html.coherent-reading .reading-visible .principle-signal{animation:principle-travel 7.5s linear infinite}
@keyframes principle-stage{0%,29%{stroke:var(--gold)}33%,96%{stroke:var(--line)}100%{stroke:var(--gold)}}
@keyframes principle-travel{0%,5%{transform:translateX(0);opacity:0}12%{opacity:1}43%{transform:translateX(220px)}77%{transform:translateX(440px);opacity:1}85%,100%{transform:translateX(440px);opacity:0}}
body.motion-paused .principle-diagram *,body.ambient-paused .principle-diagram *{animation-play-state:paused!important}
/* Both businesses are readable in the main flow; three deliverables precede details. */
html.coherent-reading .reading-services{min-height:0;padding-block:0 48px;display:block}
html.coherent-reading .reading-services #fields{padding-block:0 40px;margin-block:0;gap:48px;align-items:end}
html.coherent-reading .reading-services #fields h2{font-size:clamp(33px,3.8vw,55px)}
html.coherent-reading .reading-services #fields>p{font-size:13px;line-height:2}
html.coherent-reading .reading-services .business-grid{margin-block:0}
html.coherent-reading .service-group{border:0}
html.coherent-reading .service-group>.business-hub{min-height:0;margin:0;padding-block:48px;gap:30px 48px;align-items:start;scroll-margin-top:0}
html.coherent-reading .business-hub>.depth-entry{grid-column:1/-1}
html.coherent-reading .business-copy .business-lead{margin-bottom:20px}
html.coherent-reading .business-copy .business-deliverables{margin-bottom:24px}
html.coherent-reading .business-hub .service-demo{position:relative;top:auto;align-self:start;overflow:visible}
html.coherent-reading .service-demo .domain-primer{padding:24px}
html.coherent-reading .business-scope>h4{font-size:13px;font-weight:500;margin:18px 0;line-height:1.7;color:var(--ink)}
/* Each entire preview is a normal anchor or a native summary. */
.depth-entry__copy{display:grid;gap:10px;min-width:0}
.depth-entry__copy>strong{font-size:clamp(18px,1.6vw,24px);font-weight:500;line-height:1.65;letter-spacing:-.025em;color:var(--ink)}
.depth-entry__copy>small{font-size:12px;line-height:1.9;color:var(--muted)}
.depth-entry__action{font-size:12px;line-height:1.8;color:var(--gold);white-space:normal;flex-shrink:0}
.depth-entry__diagram{display:flex;align-items:center;gap:0;max-width:440px;margin-top:6px}
.depth-entry__diagram>span{flex:1;min-width:0;border:1px solid var(--line);border-radius:4px;padding:10px 7px;text-align:center;font-size:11px;line-height:1.7;color:var(--muted);position:relative}
.depth-entry__diagram>span+span{margin-left:22px}
.depth-entry__diagram>span+span::before{content:'→';position:absolute;right:100%;width:22px;color:var(--gold)}
html.coherent-reading a.depth-entry,html.coherent-reading summary.depth-entry{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;padding:24px;border:1px solid #ffcc6645;border-radius:8px;background:#ffcc6606;text-decoration:none;list-style:none;cursor:pointer;min-width:0;color:var(--ink);text-align:left;transition:border-color 180ms ease,background-color 180ms ease}
html.coherent-reading a.depth-entry:hover,html.coherent-reading summary.depth-entry:hover{border-color:#ffcc66a6;background:#ffcc660d}
html.coherent-reading a.depth-entry:focus-visible,html.coherent-reading summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
html.coherent-reading .service-deep,html.coherent-reading .domain-advanced{border:0}
html.coherent-reading .service-deep>summary,html.coherent-reading .domain-advanced>summary{padding:20px;align-items:start}
html.coherent-reading .service-deep>summary .depth-entry__copy>strong,html.coherent-reading .domain-advanced>summary .depth-entry__copy>strong{font-size:17px}
html.coherent-reading .service-deep>summary .depth-entry__copy>small,html.coherent-reading .domain-advanced>summary .depth-entry__copy>small{font-size:11px}
html.coherent-reading .service-deep[open]>summary,html.coherent-reading .domain-advanced[open]>summary,html.coherent-reading .case-details[open]>summary{color:var(--gold)}
html.coherent-reading .domain-advanced>summary{border-radius:0 0 10px 10px}
html.coherent-reading .domain-advanced[open]>summary{border-radius:0}
html.coherent-reading :is(.service-deep,.domain-advanced,.case-details)[open]>summary>span:last-child{transform:none}
/* Concrete project interface and its controls are visible before optional principle detail. */
html.coherent-reading #projects{padding-block:16px 48px}
html.coherent-reading #projects>.reading-case-intro{margin:0;padding-bottom:24px}
html.coherent-reading #projects>.reading-case-intro h2{font-size:clamp(29px,3.5vw,46px);line-height:1.5;margin-bottom:14px}
html.coherent-reading #projects>.reading-case-intro>p:last-child{max-width:680px;font-size:13px;line-height:1.9}
html.coherent-reading #projectShowcase{min-height:0;display:block;margin:0;padding:0;scroll-margin-top:0}
html.coherent-reading #projectShowcase .case-story-heading{margin-bottom:20px}
html.coherent-reading #projectShowcase>.case-application{margin-block:0 24px}
html.coherent-reading #projectShowcase>.case-details{margin-top:28px;border:0}
html.coherent-reading #projectShowcase>.case-details>summary{padding:24px}
html.coherent-reading #projectShowcase #caseEngineeringLink{margin-top:24px}
html.coherent-reading #projectShowcase .case-origin{max-width:230px}
html.coherent-reading #caseDetails>[data-case-art]{margin-block:24px}
html.coherent-reading .case-static{padding:24px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:12px;line-height:2}
html.coherent-reading .case-static h4{color:var(--ink);font-size:16px;margin-block:0 8px}
html.coherent-reading .case-static p+h4{margin-top:24px}
/* Four purposes together, with one complete evidence layer. */
html.coherent-reading #difference{padding-block:16px 64px}
html.coherent-reading #difference>.revision-heading{margin:0 0 32px;padding:0}
html.coherent-reading #difference>.revision-heading>p:last-child{max-width:720px;font-size:13px;line-height:2}
html.coherent-reading #difference .proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
html.coherent-reading #difference .proof-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.55fr);min-height:0;gap:20px;padding-block:28px;align-items:center;scroll-margin-top:0}
html.coherent-reading #difference .proof-visual{order:2;width:100%;max-width:190px;margin:0;justify-self:end}
html.coherent-reading #difference .proof-copy{min-width:0;order:1}
html.coherent-reading #difference .proof-copy h3{font-size:clamp(20px,1.8vw,25px);line-height:1.65;margin:0 0 12px}
.reading-proof-intro [data-reading-purpose]{font-size:12px;line-height:1.95;color:var(--muted);margin:0}
html.coherent-reading #strengthEvidence{margin-top:24px}
html.coherent-reading .strength-evidence__section{padding-block:28px;border-bottom:1px solid var(--line)}
html.coherent-reading .strength-evidence__section>h3{font-size:20px;font-weight:500;line-height:1.7;margin:0 0 14px}
.reading-evidence__body{font-size:13px;color:var(--muted);line-height:2}
.reading-evidence__body>p{margin-bottom:14px}
.reading-evidence__body .proof-evidence{font-size:11px;color:var(--muted2);border-left:1px solid var(--line);padding-left:12px}
.reading-evidence__body .text-link{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;font-size:12px}
.reading-evidence__body small{display:block;font-size:11px;line-height:1.9}
/* Keep secondary native disclosures recognizable and keyboard accessible. */
html.coherent-reading :is([data-reading-disclosure],#caseMethods,#engineeringLibrary,#businessFlow,#contactQr,#contactPreparation,#projectShowcase .case-runtime)>summary:not(.depth-entry){display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;border:1px solid #ffcc6659;border-radius:6px;background:#ffcc6607;color:var(--gold);padding:16px;min-height:48px;font-size:12px;line-height:1.8;text-align:left}
html.coherent-reading :is([data-reading-disclosure],#projectShowcase .case-runtime)>summary::-webkit-details-marker{display:none}
html.coherent-reading :is([data-reading-disclosure],#projectShowcase .case-runtime)>summary:has(.reading-disclosure-state)>[aria-hidden="true"]:not(.reading-disclosure-state){display:none}
html body .reading-disclosure-state{display:inline-flex!important;flex-shrink:0;align-items:center;font-size:10px!important;color:var(--gold)!important;line-height:1.6;font-weight:400;white-space:nowrap;transform:none!important;letter-spacing:.02em}
html.coherent-reading #engineeringLibrary>summary.wrap{margin-block:24px;width:var(--wrap-width,calc(100% - 80px));max-width:1440px;padding:24px}
html.coherent-reading #engineeringLibrary>summary h2{font-size:clamp(23px,3vw,34px);margin-bottom:7px}
html.coherent-reading #engineeringLibrary>summary .eyebrow{margin-bottom:8px}
html.coherent-reading #engineeringLibrary>summary p{line-height:1.9}
html.coherent-reading #caseMethods{margin-top:28px}
/* Contact follows the engineering entry without a viewport filler. */
html.coherent-reading #contact{min-height:0;scroll-margin-top:0}
html.coherent-reading #contact .contact__inner{padding-top:64px}
html.coherent-reading #contact h2{font-size:clamp(34px,4.8vw,65px);line-height:1.45;margin-bottom:18px}
html.coherent-reading #contact .contact__cta{margin-top:28px;font-size:clamp(20px,2.2vw,28px);padding-bottom:12px;min-height:44px}
html.coherent-reading #contact .contact-email{margin-top:24px}
html.coherent-reading #contact .reading-contact-details{max-width:740px;margin-top:20px}
html.coherent-reading #contact .contact__bottom{margin-top:48px;padding-bottom:20px}
#contactQr .contact__qr{margin-top:16px}
#contactPreparation .contact-preparation{margin:20px 0 8px}
/* Text defaults to visible; only a brief one-shot entrance changes opacity. */
[data-reading-reveal]{opacity:1;transform:none}
html.reading-ready .reading-entered:not(.reading-settled){animation:reading-text-enter 280ms ease-out both;animation-delay:var(--reading-delay,0ms)}
@keyframes reading-text-enter{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
body.motion-paused [data-reading-reveal],body.ambient-paused [data-reading-reveal]{animation:none!important;opacity:1!important;transform:none!important}
html.reading-ready .reading-settled{animation:none!important;opacity:1;transform:none}
@media(max-width:1100px){
 html.coherent-reading .service-group>.business-hub{gap:28px}
 html.coherent-reading #difference .proof-grid{gap:0 28px}
 html.coherent-reading #difference .proof-item{grid-template-columns:1fr;gap:20px}
 html.coherent-reading #difference .proof-visual{justify-self:start;max-width:200px}
}
@media(max-width:900px){
 html.coherent-reading .service-group>.business-hub{grid-template-columns:minmax(0,1fr)}
 html.coherent-reading .business-hub>.depth-entry{grid-column:auto}
}
@media(max-width:760px){
 html.coherent-reading #philosophy{padding-block:36px}
 html.coherent-reading #philosophy .manifesto__text{grid-template-columns:minmax(0,1fr);gap:36px}
 html.coherent-reading .reading-principle{gap:20px}
 html.coherent-reading #philosophy .reading-principle h2{font-size:clamp(25px,6.8vw,34px);margin-bottom:14px}
 html.coherent-reading .reading-principle__copy>p:not(.eyebrow){font-size:12px;line-height:2}
 html.coherent-reading #philosophy .reading-principle .eyebrow{font-size:9px;margin-bottom:14px;letter-spacing:.05em}
 html.coherent-reading .reading-services{padding-bottom:32px}
 html.coherent-reading .reading-services #fields{padding-bottom:28px;display:block}
 html.coherent-reading .reading-services #fields h2{font-size:32px}
 html.coherent-reading .reading-services #fields>p{margin-top:20px;font-size:12px;line-height:2}
 html.coherent-reading .service-group>.business-hub{padding-block:32px;gap:24px}
 html.coherent-reading .business-copy>h3{font-size:26px}
 html.coherent-reading .service-demo .domain-primer{padding:20px 14px}
 .principle-diagram figcaption{font-size:10px;letter-spacing:0}
 html.coherent-reading a.depth-entry,html.coherent-reading summary.depth-entry{padding:20px 16px;flex-wrap:wrap;gap:16px;align-items:start}
 html.coherent-reading .depth-entry__copy{flex:1 1 100%;gap:9px}
 .depth-entry__copy>strong{font-size:19px;line-height:1.7}
 .depth-entry__copy>small{font-size:11px}
 .depth-entry__action{font-size:11px;flex:1 1 100%}
 .depth-entry__diagram>span{font-size:10px;padding:8px 4px}
 .depth-entry__diagram>span+span{margin-left:18px}
 .depth-entry__diagram>span+span::before{width:18px}
 html.coherent-reading .service-deep>summary,html.coherent-reading .domain-advanced>summary{padding:18px 14px}
 html.coherent-reading #projects{padding-block:0 32px}
 html.coherent-reading #projects>.reading-case-intro h2{font-size:29px}
 html.coherent-reading #projects>.reading-case-intro>p:last-child{font-size:12px}
 html.coherent-reading #projectShowcase .case-story-heading{margin-bottom:20px}
 html.coherent-reading #projectShowcase .case-story-heading .eyebrow{margin-bottom:10px}
 html.coherent-reading #projectShowcase .case-picker{margin-block:0 20px}
 html.coherent-reading #projectShowcase .case-origin{margin-top:12px}
 html.coherent-reading #projectShowcase>.case-details>summary{padding:20px 16px}
 html.coherent-reading #difference{padding-block:0 36px}
 html.coherent-reading #difference>.revision-heading{margin-bottom:24px}
 html.coherent-reading #difference>.revision-heading h2{font-size:30px;line-height:1.5}
 html.coherent-reading #difference>.revision-heading>p:last-child{font-size:12px}
 html.coherent-reading #difference .proof-grid{grid-template-columns:minmax(0,1fr)}
 html.coherent-reading #difference .proof-item{padding-block:24px;gap:20px}
 html.coherent-reading #difference .proof-visual{width:100%;max-width:220px}
 html.coherent-reading #difference .proof-copy h3{font-size:23px;margin-bottom:12px}
 .reading-proof-intro [data-reading-purpose]{font-size:12px;line-height:1.95}
 .reading-evidence__body{font-size:12px}
 html.coherent-reading .strength-evidence__section>h3{font-size:19px}
 html.coherent-reading #engineeringLibrary>summary.wrap{width:calc(100% - 40px);padding:20px 16px}
 html.coherent-reading #engineeringLibrary>summary h2{font-size:25px;line-height:1.5}
 html.coherent-reading #contact .contact__inner{padding-top:36px}
 html.coherent-reading #contact h2{font-size:clamp(29px,7.8vw,40px)}
 html.coherent-reading #contact .contact__cta{margin-top:24px}
 html.coherent-reading #contact .contact-email>a{font-size:18px}
 html.coherent-reading #contact .contact__bottom{margin-top:36px}
}
@media(prefers-reduced-motion:reduce){.principle-diagram *{animation:none!important}.principle-diagram .principle-node:last-of-type>rect{stroke:var(--gold)}[data-reading-reveal],html.reading-ready .reading-entered:not(.reading-settled){animation:none!important;opacity:1!important;transform:none!important}}
/* Full implementation scope and the next chapter belong to the same optional service layer. */
html.coherent-reading .domain-advanced>.service-deep{padding:24px}
html.coherent-reading .domain-advanced>a.depth-entry{margin:0 24px 24px}
html.coherent-reading .domain-advanced .service-deep>.business-coverage{margin-top:0}
@media(max-width:760px){html.coherent-reading .domain-advanced>.service-deep{padding:20px 14px}html.coherent-reading .domain-advanced>a.depth-entry{margin:0 14px 20px}}
html.coherent-reading .business-copy>.business-deliverables{margin-bottom:0}

html.coherent-reading .business-copy>h3{text-wrap:balance}

/* Practitioner copy and the four concise reasons retain the existing reading rhythm. */
html.coherent-reading #difference>.revision-heading h2{text-wrap:balance}
html.coherent-reading #difference>.revision-heading>p:last-child{text-wrap:balance}
html.coherent-reading #difference .proof-detail-link{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;font-size:11px;line-height:1.8;color:var(--gold);text-decoration:none}
html.coherent-reading #difference .proof-detail-link:hover{text-decoration:underline;text-underline-offset:4px}
html.coherent-reading #difference .proof-detail-link:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
html.coherent-reading #projectShowcase .case-design-decision{margin-top:18px;padding-left:14px;border-left:1px solid #ffcc6659;max-width:640px}
html.coherent-reading #projectShowcase .case-design-decision>.micro{margin:0 0 6px;font-size:9px;color:var(--gold)}
html.coherent-reading #projectShowcase .case-design-decision>[data-case-decision]{margin:0;font-size:12px;line-height:1.9;color:var(--muted)}
@media(max-width:760px){html.coherent-reading #projectShowcase .case-design-decision{margin-top:14px;padding-left:12px}html.coherent-reading #projectShowcase .case-design-decision>[data-case-decision]{font-size:11px}html.coherent-reading #difference .proof-detail-link{margin-top:8px}}
