/* v10: a portfolio by field, then an unmistakable customer case. */
.page-home .credits--scope .wrap {display:block}
.scope-head {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;align-items:end;padding-bottom:56px}
.scope-head h2 {font-size:clamp(32px,3.5vw,50px);font-weight:500;line-height:1.6;letter-spacing:.015em}
.scope-lead {font-size:clamp(23px,2.6vw,36px);line-height:1.7;font-weight:500;letter-spacing:.015em}
.work-band {display:grid;grid-template-columns:minmax(0,3fr) minmax(0,7fr);column-gap:8%;padding-block:42px 46px;border-top:1px solid var(--ink)}
.work-context .work-index {display:flex;align-items:center;gap:14px;font:400 17px/1.5 var(--ff-en);margin-bottom:20px;color:var(--mute)}
.work-index>span[aria-hidden] {width:9px;height:9px;border-radius:50%;background:var(--red)}
.work-band--public .work-index>span[aria-hidden] {background:var(--cyan)}
.work-band--local .work-index>span[aria-hidden] {background:var(--orange)}
.work-context h3 {font-size:clamp(24px,2.3vw,32px);font-weight:500;line-height:1.5}
.work-context>p:last-child {font-size:13px;line-height:2.1;color:var(--mute);max-width:21em;margin-top:18px}
.work-ledger {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 32px;align-content:start}
.work-ledger>div {padding:16px 0 18px;border-bottom:1px solid var(--line)}
.work-ledger>div:nth-child(-n+2) {padding-top:0}
.work-ledger dt {font-size:17px;line-height:1.75;font-weight:500;letter-spacing:.005em}
.work-ledger dd {margin-top:7px;font-size:12px;line-height:1.9;color:var(--mute)}
.work-ledger-wide {grid-column:1/-1}
.work-detail {font-size:13px;white-space:nowrap}
.scope-foot {display:flex;gap:30px;align-items:end;justify-content:space-between;border-top:1px solid var(--ink);padding-top:26px}
.scope-foot p {max-width:56em;font-size:11px;line-height:2;color:var(--mute)}
.scope-foot .link {flex:none}

/* The case reads as one editorial feature with its own customer identity. */
.page-home #case.customer-case {--case-ink:#283a34;--case-muted:#5b6861;--case-line:#cbd2cb;background:#edf0eb;color:var(--case-ink);padding-block:94px 88px}
.customer-case-head {display:grid;grid-template-columns:minmax(0,4fr) minmax(0,6fr);gap:8%;padding-bottom:56px;border-bottom:1px solid var(--case-ink)}
.case-edition {display:flex;justify-content:space-between;gap:20px;align-items:center;font:400 11px/1.5 var(--ff-en);letter-spacing:.16em;text-transform:uppercase;max-width:300px;margin-bottom:24px}
.case-edition>span:last-child {font-size:18px;letter-spacing:0}
.customer-identity h2 {font-size:clamp(42px,4.8vw,66px);font-weight:500;line-height:1.4;letter-spacing:-.04em}
.customer-name {font-size:clamp(18px,1.7vw,24px);font-weight:500;margin-top:28px;line-height:1.7}
.customer-period {font-size:12px;letter-spacing:.04em;margin-top:8px;color:var(--case-muted)}
.customer-intro h3 {font-size:clamp(26px,2.9vw,41px);line-height:1.65;font-weight:500;letter-spacing:.005em}
.customer-intro>p {font-size:14px;line-height:2.1;max-width:38em;margin-top:26px;color:var(--case-muted)}
.customer-scope {display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:25px;padding-top:19px;border-top:1px solid var(--case-line)}
.customer-scope li {font-size:12px;line-height:1.8}
.customer-scope li::before {content:"";display:inline-block;width:4px;height:4px;margin-right:9px;vertical-align:3px;background:currentColor;border-radius:50%}
.artifact-section {padding-top:48px}
.artifact-intro {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:9%;align-items:start;margin-bottom:36px}
.artifact-intro h3 {font-size:clamp(22px,2vw,28px);font-weight:500;line-height:1.7}
.artifact-intro p {font-size:13px;line-height:2.1;color:var(--case-muted)}
.artifact-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.artifact {display:grid;grid-template-rows:auto 340px 1fr auto;min-width:0}
.artifact-heading {display:flex;align-items:baseline;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--case-line);margin-bottom:18px}
.artifact-index {font:400 12px/1 var(--ff-en);color:var(--case-muted)}
.artifact-heading h4 {font-size:17px;font-weight:500;line-height:1.7;letter-spacing:0}
.artifact-stage {display:flex;align-items:center;justify-content:center;background:#fff;padding:24px;min-height:0;overflow:hidden;transition:background .2s}
.artifact-stage img {width:auto;height:100%;max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 2px 10px #26352a0a}
.artifact-stage:hover {background:#f9faf8}
.artifact-stage--document {display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:center;padding:20px 24px}
.artifact-stage--document img {width:100%;height:auto;max-height:100%;object-fit:contain}
.document-label {font-size:10px;line-height:1.8;letter-spacing:.03em;color:var(--case-muted)}
.artifact-caption {font-size:12px;line-height:1.9;margin-top:19px;color:var(--case-muted)}
.artifact-action {display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:12px 0 8px;border-bottom:1px solid var(--case-line);font-size:12px;line-height:1.8;margin-top:8px}
.artifact-action>span[aria-hidden] {font-size:22px;line-height:1}
.artifact-action:hover {border-color:var(--case-ink)}
.artifact-note {margin-top:22px;font-size:11px;line-height:2;color:var(--case-muted)}
.customer-continuity {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8%;margin-top:70px;padding-top:44px;border-top:1px solid var(--case-ink)}
.customer-continuity h3 {font-size:22px;font-weight:500;line-height:1.7}
.customer-history>p {font-size:13px;line-height:2.1;color:var(--case-muted);margin-top:22px}
.customer-history .years {margin-top:28px;border-color:var(--case-line)}
.customer-history .years li {border-color:var(--case-line);grid-template-columns:64px minmax(0,1fr);font-size:12px}
.customer-history .years .y small {color:var(--case-muted)}
.page-home #case .customer-results .results {gap:24px;margin-top:22px;padding:0}
.page-home #case .customer-results .result {padding-top:20px;border-color:var(--case-line)}
.page-home #case .customer-results .num {font-size:clamp(62px,6.4vw,92px);letter-spacing:-.045em;color:var(--case-ink)}
.page-home #case .customer-results .num small {font-size:12px;margin-inline:3px}
.customer-results .result>p:not(.num) {font-size:12px;color:var(--case-muted);line-height:2}
.customer-results .notes {font-size:11px;color:var(--case-muted);margin-top:25px}
.page-home .customer-case .case-more {border-color:var(--case-line);padding-top:30px;margin-top:42px}
.customer-case .case-more p {font-size:15px}
.customer-case .link {color:var(--case-ink)}

@media(max-width:1100px){
 .work-band {grid-template-columns:minmax(0,3fr) minmax(0,7fr);gap:5%}
 .work-ledger {gap:0 24px}
 .work-ledger dt {font-size:15px}
 .artifact-grid {gap:20px}
 .artifact {grid-template-rows:auto 290px 1fr auto}
 .artifact-heading h4 {font-size:14px}
 .artifact-stage {padding:20px}
 .artifact-stage--document {padding:18px;gap:10px}
 .page-home #case .customer-results .results {grid-template-columns:1fr}
 .page-home #case .customer-results .result {display:flex;align-items:center;gap:22px}
 .page-home #case .customer-results .num {font-size:74px;flex:none}
 .customer-results .result>p:not(.num) {margin-top:0}
}
@media(max-width:760px){
 .scope-head {grid-template-columns:1fr;gap:25px;padding-bottom:34px}
 .scope-head h2 {font-size:32px}
 .scope-head h2 br {display:none}
 .scope-lead {font-size:23px;line-height:1.7}
 .work-band {grid-template-columns:1fr;gap:26px;padding-block:30px 36px}
 .work-context .work-index {margin-bottom:12px;font-size:14px}
 .work-context h3 {font-size:27px}
 .work-context>p:last-child {max-width:32em;margin-top:12px;font-size:12px}
 .work-ledger {gap:0 22px}
 .work-ledger dt {font-size:14px;line-height:1.8}
 .work-ledger dd {font-size:11px}
 .work-detail {font-size:11px}
 .scope-foot {display:block;padding-top:24px}
 .scope-foot p {font-size:10px}
 .scope-foot .link {display:inline-block;margin-top:20px}
 .page-home #case.customer-case {padding-block:55px 60px}
 .customer-case-head {grid-template-columns:1fr;gap:34px;padding-bottom:36px}
 .case-edition {max-width:none;margin-bottom:18px}
 .customer-identity h2 {font-size:44px}
 .customer-name {font-size:20px;margin-top:18px}
 .customer-intro h3 {font-size:25px;line-height:1.75}
 .customer-intro>p {font-size:13px;margin-top:18px}
 .customer-scope {gap:10px 20px;margin-top:20px;padding-top:16px}
 .customer-scope li {font-size:11px}
 .artifact-section {padding-top:32px}
 .artifact-intro {grid-template-columns:1fr;gap:16px;margin-bottom:28px}
 .artifact-intro h3 {font-size:23px}
 .artifact-intro p {font-size:12px}
 .artifact-grid {grid-template-columns:1fr;gap:36px}
 .artifact {grid-template-rows:auto 330px auto auto}
 .artifact-heading h4 {font-size:19px}
 .artifact-stage {padding:26px}
 .artifact-stage--document {padding:20px 26px;gap:12px}
 .artifact-caption {margin-top:16px}
 .artifact-note {font-size:10px}
 .customer-continuity {grid-template-columns:1fr;gap:36px;margin-top:40px;padding-top:30px}
 .customer-continuity h3 {font-size:21px}
 .customer-history>p {font-size:12px;margin-top:18px}
 .customer-history .years {margin-top:24px}
 .page-home #case .customer-results .results {gap:22px}
 .page-home #case .customer-results .result {gap:20px}
 .page-home #case .customer-results .num {font-size:72px}
 .customer-results .result>p:not(.num) {font-size:11px}
 .customer-case .case-more p {font-size:14px}
}
@media(max-width:420px){
 .work-ledger {grid-template-columns:1fr}
 .work-ledger>div:nth-child(2) {padding-top:16px}
 .work-ledger dt {font-size:15px}
 .artifact {grid-template-rows:auto 310px auto auto}
}
@media(prefers-reduced-motion:reduce){.artifact-stage{transition:none}}

/* Read the source pages only when requested; they do not dominate the case. */
.material-dialog {width:min(1100px,calc(100vw - 40px));max-width:calc(100vw - 40px);max-height:90dvh;margin:auto;padding:0;border:0;background:#f7f8f5;color:#283a34;box-shadow:0 12px 100px #0004}
.material-dialog::backdrop {background:#18201ce0}
.material-dialog-head {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 30px;border-bottom:1px solid #cbd2cb;background:#fff}
.material-dialog-head p {font-size:11px;color:#5b6861;line-height:1.6}
.material-dialog-head h2 {font-size:20px;line-height:1.7;font-weight:500;margin-top:6px}
.material-close {display:flex;gap:15px;align-items:center;flex:none;min-height:44px;border:0;background:none;padding:8px;font-size:12px;cursor:pointer}
.material-close>span {font-size:26px;line-height:1}
.material-pages {max-height:calc(90dvh - 116px);overflow:auto;overscroll-behavior:contain;padding:24px 30px 32px}
.material-pages figure+figure {margin-top:34px}
.material-pages figcaption {display:flex;gap:18px;align-items:baseline;margin-bottom:12px;font-size:13px}
.material-pages figcaption>span:first-child {font:400 11px/1.6 var(--ff-en);color:#5b6861;white-space:nowrap}
.material-pages img {width:100%;height:auto}
.material-intro {font-size:12px;line-height:1.9;color:#5b6861;margin-bottom:22px}
.material-pages figure:last-of-type+.material-intro {margin-top:24px;margin-bottom:0}
html:has(.material-dialog[open]) {overflow:hidden}
@media(max-width:760px){
 .material-dialog {width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:94dvh}
 .material-dialog-head {padding:16px;gap:8px;align-items:start}
 .material-dialog-head p {font-size:10px}
 .material-dialog-head h2 {font-size:16px;max-width:13em}
 .material-close {gap:8px;padding:4px;font-size:11px}
 .material-pages {max-height:calc(94dvh - 120px);padding:18px 16px 24px}
 .material-pages figcaption {gap:12px;font-size:12px}
 .material-intro {font-size:11px}
}
