.wash-photo-journal,.home-wash-edition{--paper:#f5f3ed;--ink:#142d3d;--quiet:#405867;--rule:#bfc9ca;--link:#154d83;color:var(--ink);background:var(--paper);scroll-margin-top:6rem}
#wash-photo-gallery{padding:clamp(34px,6vw,84px) max(18px,4vw)}
#wash-photo-gallery .wash-photo-inner,.home-wash-edition .edition-inner{max-width:1016px;margin-inline:auto}
#wash-photo-gallery .wash-photo-inner h2,.home-wash-edition h2{margin:0;max-width:24ch;font-size:clamp(1.9rem,3.7vw,3.45rem);letter-spacing:-.035em;line-height:1.13;color:var(--ink);text-wrap:balance}
#wash-photo-gallery .edition-intro,.home-wash-edition .edition-intro{max-width:56ch;margin:.7rem 0 1.6rem;color:var(--quiet);line-height:1.7;font-size:clamp(1rem,1.25vw,1.14rem)}
#wash-photo-gallery .wash-photo-grid{max-width:850px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:clamp(17px,2.65vw,34px);align-items:start}
#wash-photo-gallery .wash-photo-grid figure,.home-wash-edition figure{min-width:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
#wash-photo-gallery .wash-photo-grid img,.home-wash-edition .edition-strip img,.home-wash-edition .edition-venue img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;aspect-ratio:auto;border-radius:8px;background:transparent}
#wash-photo-gallery .wash-photo-grid figcaption,.home-wash-edition figcaption{padding:.55rem 0 0;color:var(--ink);font-size:.92rem;line-height:1.45;font-weight:650}
#wash-photo-gallery .wash-photo-grid a,.home-wash-edition .edition-photo-link{display:block;border-radius:8px;cursor:zoom-in}
#wash-photo-gallery a:focus-visible,.home-wash-edition a:focus-visible{outline:3px solid #2c72b9;outline-offset:4px}
#wash-photo-gallery .wash-photo-inner>p:last-child{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--rule);max-width:850px;line-height:2}
#wash-photo-gallery .wash-photo-inner a,.home-wash-edition .edition-link{color:var(--link);text-underline-offset:.23em}
.home-wash-edition{padding:clamp(32px,5vw,68px) max(18px,4vw)}
.home-wash-edition .edition-lead{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:clamp(20px,4.5vw,64px);padding-block-end:1.4rem;border-bottom:1px solid var(--rule)}
.home-wash-edition .edition-link{display:inline-block;padding-block:.45rem;font-weight:700;text-decoration:underline}
.home-wash-edition .edition-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.8vw,24px);align-items:start;margin-top:1.4rem}
.home-wash-edition .edition-venue{max-width:520px;width:100%}
#main-content .t22-hero-copy p.home-copy-benefit{width:fit-content;max-width:100%;text-wrap:pretty;line-height:1.6}
.home-copy-benefit .vehicle-weight-scope{white-space:nowrap}
#main-content .web-no-app .app-order-link{display:inline;color:inherit;text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:1px}
html[data-theme=dark] :is(.wash-photo-journal,.home-wash-edition){--paper:#152735;--ink:#f2f5f7;--quiet:#c5d1d9;--rule:#50616e;--link:#a8caff}
@media(min-width:601px){#wash-photo-gallery .wash-photo-grid figure:nth-child(2){max-width:384px}}
@media(max-width:700px){#main-content .t25-home-hero .t22-hero-copy p.home-copy-benefit{display:block!important;grid-column:1/-1;grid-row:9;justify-self:start;text-align:start;margin:.15rem 0;line-height:1.5}#main-content .t25-home-hero .t22-hero-copy .web-no-app{grid-row:10}}
@media(max-width:600px){#wash-photo-gallery .wash-photo-grid{gap:18px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}
#wash-photo-gallery .wash-photo-grid figure:first-child,#wash-photo-gallery .wash-photo-grid figure:last-child{grid-column:1/-1}
.home-wash-edition .edition-lead{grid-template-columns:1fr;gap:16px}.home-wash-edition .edition-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
#main-content .t22-hero-copy p.home-copy-benefit{text-wrap:balance}}

/* Palette and card geometry of the adjacent TESTOR work-photo sections. */
#home-wash-photos {
  --photo-paper: #f4f7fb;
  --photo-ink: #142e47;
  --photo-title: #192e43;
  --photo-muted: #465e73;
  --photo-line: #dce5ef;
  --photo-link: #1169eb;
  --photo-radius: 14px;
  --photo-shadow: none;
}
#wash-photo-gallery {
  --photo-paper: #f3f7fb;
  --photo-ink: #122b43;
  --photo-title: #122b43;
  --photo-muted: #465e73;
  --photo-line: #dfe7ef;
  --photo-link: #155db5;
  --photo-radius: 16px;
  --photo-shadow: 0 6px 20px rgba(22, 59, 90, .024);
}
:is(#home-wash-photos, #wash-photo-gallery) {
  --photo-card: white;
  --paper: var(--photo-paper);
  --ink: var(--photo-ink);
  --quiet: var(--photo-muted);
  --rule: var(--photo-line);
  --link: var(--photo-link);
  background: var(--photo-paper);
  color: var(--photo-ink);
}
/* The site's shared heading rules are important; mirror its photo-heading scale here. */
#main-content #home-wash-photos h2,
#main-content #wash-photo-gallery .wash-photo-inner h2 {
  color: var(--photo-title) !important;
  font-size: clamp(1.6875rem, 2.5vw, 2.25rem) !important;
  font-weight: 850;
  line-height: 1.3 !important;
  letter-spacing: -.02em;
}
#main-content #wash-photo-gallery .wash-photo-inner h2 { line-height: 1.22 !important; }
#home-wash-photos .edition-lead { border-color: var(--photo-line); }
#home-wash-photos .edition-strip {
  grid-template-columns: minmax(0, 1.88fr) minmax(0, 1.33fr) minmax(0, 1.34fr) minmax(0, 2.21fr);
  align-items: stretch;
}
#home-wash-photos figure,
#wash-photo-gallery .wash-photo-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--photo-card);
  color: var(--photo-ink);
  border: 1px solid var(--photo-line);
  border-radius: var(--photo-radius);
  box-shadow: var(--photo-shadow);
}
#home-wash-photos figure img,
#wash-photo-gallery .wash-photo-grid figure img {
  display: block;
  border-radius: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
}
#home-wash-photos .edition-photo-link,
#wash-photo-gallery .wash-photo-grid a {
  border-radius: 0;
}
#home-wash-photos figcaption,
#wash-photo-gallery .wash-photo-grid figcaption {
  box-sizing: border-box;
  margin: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--photo-card);
  color: var(--photo-ink);
  line-height: 1.4;
  font-size: .9375rem;
  font-weight: 700;
}
#home-wash-photos figcaption { font-size: .875rem; }
#home-wash-photos figure:focus-within,
#wash-photo-gallery figure:focus-within {
  outline: 3px solid var(--photo-link);
  outline-offset: 3px;
}
#home-wash-photos .edition-link,
#wash-photo-gallery .wash-photo-inner > p:last-child a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--photo-link);
  font-weight: 750;
  text-underline-offset: .2em;
}
@media (min-width: 601px) {
  /* Give the wider photograph in each row the wider frame. */
  #wash-photo-gallery .wash-photo-grid {
    grid-template-columns: minmax(0, 38fr) minmax(0, 20fr) minmax(0, 42fr);
    align-items: stretch;
  }
  #wash-photo-gallery .wash-photo-grid figure { display: flex; flex-direction: column; }
  #wash-photo-gallery .wash-photo-grid figcaption { flex: 1; }
  #wash-photo-gallery .wash-photo-grid figure:nth-child(4n+1) { grid-column: 1 / 3; }
  #wash-photo-gallery .wash-photo-grid figure:nth-child(4n+2) { grid-column: 3; max-width: none; }
  #wash-photo-gallery .wash-photo-grid figure:nth-child(4n+3) { grid-column: 1; }
  #wash-photo-gallery .wash-photo-grid figure:nth-child(4n)   { grid-column: 2 / 4; }
}
@media (max-width: 600px) {
  #wash-photo-gallery { --photo-radius: 12px; }
  #main-content #wash-photo-gallery .wash-photo-inner h2 { font-size: 1.625rem !important; line-height: 1.24 !important; }
  #home-wash-photos .edition-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  #home-wash-photos figcaption,
  #wash-photo-gallery .wash-photo-grid figcaption {
    min-height: 42px;
    padding: 9px 10px;
    font-size: .8125rem;
  }
}
html[data-theme="dark"] :is(#home-wash-photos, #wash-photo-gallery) {
  --photo-paper: #0b1c2e;
  --photo-ink: #eaf2fa;
  --photo-title: #eaf2fa;
  --photo-muted: #b8cad8;
  --photo-line: #2b4255;
  --photo-link: #90c3ff;
  --photo-card: #132a3d;
}
