/* Shared corrections from the cross-template visual audit. */
@media(min-width:1000px) and (max-height:800px){.direction-b .full-config{padding-top:10px;padding-bottom:10px}.direction-b .full-config .badge-types img{max-height:128px}}
.single-description{font-size:18px;line-height:1.65;max-width:40ch;margin:0 0 20px}
.editorial-page .editorial-prose .editorial-photo img{aspect-ratio:4/3;max-height:460px;object-fit:contain}
.editorial-page .document-photo img{aspect-ratio:3/4;max-height:420px;object-fit:contain}
.section-switcher{margin:28px 0 32px;max-width:900px}
.section-switcher>summary{display:none;min-height:48px;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #d9d4ce;border-radius:8px;cursor:pointer;font-size:15px;list-style:none}
.section-switcher>summary::-webkit-details-marker{display:none}.section-switcher>summary::after{content:'+';font-size:20px}.section-switcher[open]>summary::after{content:'−'}
.section-switcher .editorial-topics{margin:0}
.work-item .text-action,.commercial-grid figure>.text-action{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;border:1px solid #cbd2d5;border-radius:6px;background:#fff;color:#26353a;margin-top:12px;padding:10px;text-decoration:none;text-align:center;transition:transform .18s ease-out,background .18s ease,border-color .18s ease;box-sizing:border-box}
.commercial-grid--single{display:grid;grid-template-columns:minmax(0,520px) minmax(0,1fr);gap:40px;align-items:start}.commercial-grid--single>figure{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,520px) minmax(0,1fr);column-gap:40px;align-items:start}.commercial-grid--single .commercial-photo{grid-row:1/4}.commercial-grid--single figcaption{font-size:25px;line-height:1.35;margin:8px 0 20px}.commercial-grid--single figure>.text-action{width:fit-content;min-width:200px}.commercial-grid--single .commercial-photo img{aspect-ratio:4/3}
.service-capabilities{display:grid;grid-template-columns:1fr 1fr;gap:0 40px}.service-capability{padding:24px 0;border-top:1px solid #dedbd6}.service-capability h3{margin:0;font-size:22px;line-height:1.3}.service-capability p{line-height:1.6;color:#5f6263;margin-bottom:0}.service-showcase{margin-top:40px}.service-showcase .commercial-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(hover:hover){.work-item .text-action:hover,.commercial-grid figure>.text-action:hover{background:#f8f3ef;border-color:#b6a9a1;transform:translateY(-2px)}}
.work-item .text-action:active,.commercial-grid figure>.text-action:active{transform:scale(.985)}
@media(max-width:650px){
 .contacts-channels-heading,.editorial-contact{display:none}
 .direction-b main .contact-channels{display:none!important}
 .direction-b main :is(.full-config,.pc-config) .purchase-zone .contact-channels{display:grid!important}
 .direction-b main :is(.full-config,.pc-config) .purchase-zone .contact-action{flex-direction:column;gap:5px;min-height:52px;padding:5px 2px;font-size:10px}
 .editorial-page .section-switcher>summary{display:flex}.editorial-page .section-switcher .editorial-topics{margin-top:8px}
 .section-switcher{margin:24px 0}
 .work-gallery .work-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .work-gallery .work-filters button{padding:8px 3px;font-size:12px;min-height:44px;height:auto}
 .commercial-grid--single,.commercial-grid--single>figure{display:block}.commercial-grid--single figcaption{font-size:21px;margin-top:16px}.commercial-grid--single figure>.text-action{width:100%}
 .service-capabilities{grid-template-columns:1fr;gap:0}.service-capability{padding:18px 0}.service-capability h3{font-size:20px}.service-showcase .commercial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .work-item .text-action,.commercial-grid figure>.text-action{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.work-item .text-action,.commercial-grid figure>.text-action{transition:none}}

/* Keep reading and purchasing actions close to the content they apply to. */
.product-catalog .catalog-calculator{margin-bottom:28px;padding-bottom:0}
.home-hero{padding-top:52px;padding-bottom:30px}
.home-intro{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;margin-bottom:30px}
.home-page .home-intro h1{margin:0;font-size:clamp(34px,4.3vw,62px);line-height:1.08;letter-spacing:-.042em;text-wrap:balance}
.home-intro .home-location{margin:0;line-height:1.5}
.home-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.home-page .home-category h2{
  display:flex;justify-content:space-between;align-items:center;gap:6px;
  margin:12px 0 4px;font-size:clamp(17px,1.7vw,23px);letter-spacing:-.025em;
}
.home-category h2 .icon{width:.96em;height:.96em;flex:none;color:var(--accent)}
.home-catalog-link{grid-column:1/-1;justify-self:end;gap:.4em}
.home-page .home-services{padding-top:26px;padding-bottom:36px;border-top:1px solid var(--line)}
@media(max-width:980px){
  .home-categories{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.direction-b .catalog-card--product .card-use{color:#982823}
.work-gallery .editorial-photo{background:#f0ede8}
.review-archive>.editorial-prose{
  column-count:2;column-gap:14px;max-width:none;margin-top:20px;
}
.review-archive .editorial-prose .review-archive-entry{
  min-width:0;break-inside:avoid;margin-bottom:14px;padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:14px;line-height:1.55;
}
.review-archive .editorial-prose .review-archive-entry :is(h2,h3){
  margin:0 0 8px;padding:0;border:0;font-size:16px;line-height:1.35;overflow-wrap:anywhere;
}
.review-archive .editorial-prose .review-archive-entry blockquote{
  margin:0;padding:0;border:0;background:transparent;color:var(--ink);
}
.review-archive .editorial-prose .review-archive-entry p{margin:0 0 8px}
.review-archive .editorial-prose .review-archive-entry .editorial-photo{
  display:inline-grid;place-items:center;width:auto;max-width:min(174px,100%);min-width:44px;min-height:44px;
  margin:6px 8px 0 0;padding:4px;border-radius:6px;vertical-align:top;
}
.review-archive .editorial-prose .review-archive-entry .editorial-photo img{
  width:auto;height:auto;max-width:min(164px,100%);max-height:96px;aspect-ratio:auto;object-fit:contain;
}
.product-catalog .catalog-filter-status{justify-content:space-between;margin-top:10px;min-height:30px}
.product-catalog .catalog-filter-line:has(.catalog-type-filter:empty){display:none}
.calc-field-announcement{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.full-config .select-trigger.was-adjusted,.full-config .badge-types.was-adjusted{outline:2px solid var(--accent);outline-offset:2px}
.gallery .photo-stage[aria-busy="true"]::after{
  content:"";position:absolute;right:12px;bottom:12px;width:22px;height:22px;border-radius:50%;
  border:2px solid #ded8d0;border-top-color:var(--accent);pointer-events:none;
  animation:gallery-wait-reveal 120ms 180ms both,gallery-wait-spin 750ms 180ms linear infinite;
}
@keyframes gallery-wait-reveal{from{opacity:0}to{opacity:1}}
@keyframes gallery-wait-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
  .gallery .photo-stage[aria-busy="true"]::after{animation:gallery-wait-reveal 120ms 180ms both}
}
@media(min-width:651px){
  .direction-b .company-page:not(.home-page)>.company-section{padding-top:42px}
}
@media(min-width:1051px){
  .product-catalog .catalog-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:end;column-gap:24px;padding-bottom:10px}
  .product-catalog .catalog-filter-line{margin:0}
  .product-catalog .catalog-filter-status{grid-column:1/-1}
}
@media(max-width:650px){
  .review-archive>.editorial-prose{column-count:1}
  .review-archive .editorial-prose .review-archive-entry{margin-bottom:10px;padding:14px}
  .home-hero{padding-top:18px;padding-bottom:16px}
  .home-intro{margin-bottom:16px;gap:8px}
  .home-intro h1 span{display:block}
  .home-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .home-page .home-category h2{margin-top:8px}
  .home-page .home-category p{line-height:1.35}
  .direction-b .home-categories .home-catalog-link{
    grid-column:auto;justify-self:stretch;align-self:start;aspect-ratio:4/3;
    display:flex;justify-content:space-between;gap:8px;min-width:0;
    padding:clamp(10px,3.5vw,18px);border:1px solid #e1dcd3;border-radius:12px;background:#f1ede6;
    color:var(--ink);font-size:clamp(13px,4vw,16px);font-weight:650;line-height:1.2;text-decoration:none;
  }
  .home-catalog-link span{flex:none;color:var(--accent);font-size:1.25em;line-height:1}
  .direction-b .home-categories .home-catalog-link:is(:hover,:active){background:#eae3d9;color:var(--ink)}
  .direction-b .product-catalog .catalog-controls{padding:14px 0 4px;margin-bottom:4px}
  .direction-b .product-catalog .catalog-filter-line{margin-bottom:12px}
  .direction-b .product-catalog .catalog-filter-status{margin-top:4px}
  .direction-b .sample-product .sample-info{display:flex;flex-direction:column}
  .direction-b .sample-product .sample-purchase{order:-1;display:flex;flex-direction:column;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--line)}
  .direction-b .sample-product .sample-actions{order:-1;margin-top:0}
  .direction-b .sample-product .sample-custom,.direction-b .sample-product .sample-price{margin-top:8px}
  .direction-b .info-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0 10px}
  .direction-b .info-nav a{border-bottom:0;padding:8px 10px;font-size:12px;gap:5px}
  .direction-b .info-nav a:first-of-type:not([aria-current]){border-right:1px solid #e8e5df}
  .direction-b .info-nav a[aria-current]{display:none}
}
@media(max-width:650px) and (prefers-reduced-motion:no-preference){
  .direction-b .home-categories .home-catalog-link:not(:focus-visible){transition:background-color 160ms ease}
}
