/* Anonymous project evidence: diagrams are reconstructions, not screenshots. */
.case-index--expanded { grid-template-columns:repeat(4,minmax(0,1fr)); }
.case-index--expanded>a { padding:20px; border-top:0; border-bottom:0; border-right:1px solid var(--line); min-width:0; }
.case-index--expanded>a:first-child { padding-left:20px; }
.case-index--expanded>a:nth-child(4) { border-right:0; }
.case-index--expanded>a:nth-child(n+5) { border-top:1px solid var(--line); }
.case-index--expanded>a:last-child { grid-column:span 2; border-right:0; }
.case-expanded { scroll-margin-top:28px; }
.case-expanded .case-privacy { max-width:none; line-height:1.7; }
.case-expanded :is(p,dd,figcaption) { word-break:keep-all; overflow-wrap:break-word; }
.case-expanded .case-body>* { min-width:0; }
.case-expanded .case-evidence { align-self:start; background:var(--surface-raised); }
.case-flow-figure { margin:0; }
.case-flow-figure figcaption { font-size:13px; line-height:1.8; color:var(--muted); margin-top:21px; }
.case-request-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.case-request-comparison>div { min-width:0; padding:19px 0; border-top:2px solid var(--line); }
.case-request-comparison>div:last-child { border-top-color:var(--orange); }
.case-flow-label { color:var(--muted); font-size:13px; line-height:1.7; }
.case-request-comparison p { font-size:15px; line-height:1.85; min-height:56px; margin-top:9px; color:var(--ink); }
.case-flow-arrow { display:block; font-size:23px; line-height:1.5; color:var(--muted); margin:10px 0; }
.case-request-comparison strong { display:block; font-size:32px; line-height:1.3; color:var(--orange); font-weight:550; }
.case-request-comparison strong>span { display:block; font-size:15px; line-height:1.7; margin-top:5px; color:var(--ink); }
.case-request-comparison strong.case-flow-result { font-size:23px; line-height:1.5; }
.case-expanded .case-evidence .case-observation-limit { font-size:14px; line-height:1.85; padding-top:18px; margin-top:21px; border-top:1px solid var(--line); }
.case-project-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin:0; }
.case-project-metrics>div { padding:23px 25px; border-right:1px solid var(--line); min-width:0; }
.case-project-metrics>div:first-child { padding-left:0; }
.case-project-metrics>div:last-child { border-right:0; }
.case-project-metrics dt { font-size:14px; color:var(--muted); line-height:1.75; }
.case-project-metrics dd { font-size:47px; line-height:1.2; letter-spacing:-.04em; color:var(--orange); font-weight:500; margin:15px 0 0; }
.case-project-metrics dd>span { display:block; font-size:14px; color:var(--muted); line-height:1.8; letter-spacing:0; margin-top:10px; font-weight:400; }
.case-metrics-note { color:var(--muted); font-size:13px; line-height:1.85; margin:14px 0 35px; }
.case-automation-flow { list-style:none; padding:0; margin:0; }
.case-automation-flow li { display:grid; grid-template-columns:25px minmax(0,1fr); gap:15px; padding:20px 0; border-bottom:1px solid var(--line); }
.case-automation-flow li:first-child { padding-top:0; }
.case-automation-flow li:last-child { border-bottom:0; padding-bottom:0; }
.case-automation-flow li>.mono { font-size:11px; color:var(--orange); padding-top:4px; }
.case-automation-flow strong { font-size:17px; line-height:1.65; font-weight:600; }
.case-automation-flow p { font-size:15px; line-height:1.85; color:var(--muted); margin-top:7px; }
.case-expanded .case-retest .text-link { font-size:14px; margin-top:14px; }
.experience-description p+p { margin-top:16px; }
.experience-case-links { display:flex; gap:10px 25px; flex-wrap:wrap; margin-top:17px; }
.experience-case-links .text-link { font-size:14px; min-height:44px; }
.ai-project-proof { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:48px; padding:33px 0 39px; margin:0 0 12px; border-top:2px solid var(--orange); scroll-margin-top:28px; }
.ai-project-proof>div { min-width:0; }
.ai-project-proof h2 { font-size:30px; font-weight:550; line-height:1.5; margin-top:15px; }
.ai-project-proof>div>p { margin-top:18px; font-size:16px; line-height:1.85; color:var(--muted); }
.ai-project-proof .text-link { margin-top:18px; }
.ai-project-scope { border-left:1px solid var(--line); padding-left:34px; }
.ai-project-scope dl { margin:0; }
.ai-project-scope dl>div { padding:17px 0; border-bottom:1px solid var(--line); }
.ai-project-scope dl>div:first-child { padding-top:0; }
.ai-project-scope dt { font-size:14px; color:var(--muted); line-height:1.75; }
.ai-project-scope dd { margin:7px 0 0; font-size:27px; line-height:1.5; color:var(--orange); }
.ai-project-scope dd>span { display:inline-block; color:var(--muted); font-size:14px; margin-left:9px; }
.ai-project-proof .ai-project-scope>p { font-size:13px; line-height:1.85; margin-top:16px; }
@media(max-width:900px) {
  .case-index--expanded>a { padding:18px 15px; gap:11px; }
  .case-index--expanded>a:first-child { padding-left:15px; }
  .case-request-comparison { gap:12px; }
  .case-project-metrics>div { padding:22px 18px; }
  .ai-project-proof { gap:30px; }
  .ai-project-scope { padding-left:25px; }
}
@media(max-width:700px) {
  .case-index--expanded { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .case-index--expanded>a,.case-index--expanded>a:first-child { padding:16px 12px; font-size:14px; gap:11px; border-bottom:0; }
  .case-index--expanded>a:nth-child(even) { border-right:0; }
  .case-index--expanded>a:nth-child(n+3) { border-top:1px solid var(--line); }
  .case-index--expanded>a:last-child { grid-column:span 2; }
  .case-project-metrics>div { padding:20px 11px; }
  .case-project-metrics dt { font-size:13px; min-height:46px; }
  .case-project-metrics dd { font-size:36px; }
  .case-project-metrics dd>span { font-size:12px; }
  .case-metrics-note { font-size:12px; margin-bottom:27px; }
  .case-flow-figure figcaption { font-size:12px; }
  .case-request-comparison p { min-height:56px; font-size:15px; }
  .case-request-comparison strong { font-size:29px; }
  .case-request-comparison strong>span { font-size:14px; }
  .case-request-comparison strong.case-flow-result { font-size:21px; }
  .case-expanded .case-evidence .case-observation-limit { font-size:15px; }
  .case-automation-flow { margin-top:0; }
  .case-automation-flow strong { font-size:16px; }
  .case-automation-flow p { font-size:15px; }
  .ai-project-proof { grid-template-columns:1fr; gap:26px; padding:27px 0 31px; }
  .ai-project-proof h2 { font-size:26px; }
  .ai-project-proof>div>p { font-size:16px; }
  .ai-project-scope { padding-left:0; border-left:0; }
  .ai-project-scope dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .ai-project-scope dl>div,.ai-project-scope dl>div:first-child { padding:18px 0; border-bottom:0; }
  .ai-project-scope dt { font-size:12px; min-height:42px; }
  .ai-project-scope dd { font-size:25px; }
  .ai-project-scope dd>span { display:block; font-size:12px; margin:7px 0 0; }
}
@media(max-width:400px) {
  .case-project-metrics { grid-template-columns:1fr; }
  .case-project-metrics>div,.case-project-metrics>div:first-child { display:grid; grid-template-columns:1fr 1fr; gap:15px; align-items:center; padding:18px 0; border-right:0; border-bottom:1px solid var(--line); }
  .case-project-metrics>div:last-child { border-bottom:0; }
  .case-project-metrics dt { min-height:0; font-size:14px; }
  .case-project-metrics dd { margin:0; }
  .case-request-comparison { grid-template-columns:1fr; gap:8px; }
  .case-request-comparison p { min-height:0; }
  .case-request-comparison>div { display:grid; grid-template-columns:1fr auto; column-gap:12px; }
  .case-request-comparison .case-flow-label { grid-column:1; }
  .case-request-comparison p { grid-column:1; }
  .case-request-comparison strong { grid-column:2; grid-row:1/3; align-self:center; text-align:right; }
  .case-request-comparison .case-flow-arrow { display:none; }
  .ai-project-scope dl { gap:11px; }
}
@media print {
  .case-project-metrics,.case-flow-figure,.ai-project-proof { break-inside:avoid; }
}
