/*338: a compact shared proof dock, with readable text beneath it. */
@media(max-width:800px), (max-width:1000px) and (max-height:500px) {
 body.cases260.cases261-ready {
  --proof-height338:clamp(112px,26svh,220px);
  --proof-top338:env(safe-area-inset-top,0px);
 }
 body.cases260.cases261-ready .case-story-grid260 { display:block; }
 body.cases260.cases261-ready .case-story-heading260 { display:contents; }
 body.cases260.cases261-ready .case-story-heading260 .case-proof-stage261 {
  display:block; position:sticky; top:var(--proof-top338); z-index:20;
  height:var(--proof-height338); box-sizing:border-box; padding:8px 8px 0;
  margin:22px 0 0; background:#f4efdf;
 }
 body.cases260.cases261-ready .case-proof-stage261::before,
 body.cases260.cases261-ready .case-proof-stage261::after { display:none; }
 body.cases260.cases261-ready .case-proof-frames261 { height:100%; min-height:0; }
 body.cases260.cases261-ready .case-proof-frames261 > .case-evidence260 {
  height:100%; min-height:0; align-self:stretch; display:grid;
  grid-template-rows:minmax(0,1fr) auto;
 }
 body.cases260.cases261-ready .case-proof-stage261 .case-evidence-image260 {
  height:100%; min-height:0; box-sizing:border-box; padding:4px;
 }
 body.cases260.cases261-ready .case-proof-stage261 .case-evidence-image260 img {
  width:100%; height:100%; aspect-ratio:auto; object-fit:contain;
 }
 body.cases260.cases261-ready .case-proof-stage261 figcaption {
  padding:6px 2px 0; display:block; line-height:1.4;
 }
 body.cases260.cases261-ready .case-proof-stage261 figcaption strong { font-size:14px; line-height:1.4; }
 body.cases260.cases261-ready .case-proof-stage261 figcaption span { display:none; }
 body.cases260.cases261-ready .case-reading-nav261 {
  position:sticky; top:calc(var(--proof-top338) + var(--proof-height338)); z-index:21;
  box-sizing:border-box; min-height:56px; padding:4px 8px 8px;
  margin:0 0 20px; background:#f4efdf; box-shadow:0 12px 16px -15px #082c4070;
 }
 body.cases260.cases261-ready .case-reading-nav261 a { min-height:44px; }
 body.cases260.cases261-ready .case-proof-mobile261 { display:none; }
 body.cases260.cases261-ready .case-articles260 article {
  scroll-margin-top:calc(var(--proof-top338) + var(--proof-height338) + 80px);
 }
 body.about260 .quote-grid220 { display:grid; grid-template-columns:1fr; gap:0; }
 body.about260 .quote-grid220 > .quote220 {
  margin:0; padding:28px 18px; border-top:1px solid #d6cbb7; background:#f8f5ef;
 }
 body.about260 .quote-grid220 > .quote220:nth-child(odd) { background:#eee6d3; }
}
/* Keep the tool-launch section distinct from the navy testimonial below. */
body.cases260 .pontoon-showcase323 { background:#f8f5ef; color:#061c42; }
body.cases260 #planning .pontoon-heading323 h2 { color:#061c42; }
body.cases260 #planning .pontoon-heading323 h2 em { color:#846123; }
body.cases260 .pontoon-heading323 p { color:#385463; }
body.cases260 .pontoon-heading323 .exhibit-credit { color:#48616b; }
body.cases260 .pontoon-tool323 > span { color:#795a25; }
body.cases260 .pontoon-tool323 > a.button:focus-visible { outline-color:#082b3e; }

@media(max-width:800px), (max-width:1000px) and (max-height:500px) {
 body.cases260.cases261-ready .case-proof-stage261 .case-zoom260 { height:100%; min-height:0; }
}
/* On a short landscape phone, proof and steps share one compact row. */
@media(min-width:801px) and (max-width:1000px) and (max-height:500px) {
 body.cases260.cases261-ready .case-story-grid260 { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0; }
 body.cases260.cases261-ready .case-story-heading260 > h2,
 body.cases260.cases261-ready .case-story-heading260 > p,
 body.cases260.cases261-ready .case-articles260 { grid-column:1/-1; }
 body.cases260.cases261-ready .case-story-heading260 .case-proof-stage261 { grid-column:1; margin:20px 0 0; }
 body.cases260.cases261-ready .case-reading-nav261 { grid-column:2; top:var(--proof-top338); height:var(--proof-height338); margin:20px 0; }
 body.cases260.cases261-ready .case-articles260 article { scroll-margin-top:calc(var(--proof-top338) + var(--proof-height338) + 40px); }
}
/* Keep the third work image layered into the collage on smaller screens. */
@media(max-width:1000px) {
 body.gov309 .gov-proof265-gallery { min-height:0; height:auto; aspect-ratio:1.2; margin-left:0; padding:0; }
 body.gov309 .gov-proof306-third { left:2%; right:auto; bottom:0; width:67%; }
}
