/* ============================================================
   polish.css — 20261003 visual refinement pass. Loaded LAST.
   Scope: spacing rhythm, reserved-image placeholders, CTA band
   alignment, card consistency, interaction detail.
   Theme colors are unchanged (SDT purple stays the identity).
   ============================================================ */

/* ---------- 0. Interaction detail ---------- */
::selection{background:#5b1b72;color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #5b1b72;outline-offset:2px}
.button{transition:background .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.button:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(91,27,114,.18)}
.button:active{transform:none;box-shadow:none}
.text-link{transition:color .15s ease}
.text-link:hover{color:#2d1238}

/* ---------- 1. Reserved-image placeholders: compact + clearly temporary ----------
   The old 210–250px solid grey slabs dominated equipment pages.
   Compact height, dashed boundary, smaller type: same message, less weight. */
.movement-placeholder{height:auto;min-height:148px;padding:26px 22px;background:#f7f4f9;border:1px dashed #c2b2ca}
.movement-placeholder span{color:#8d42a4}
.movement-placeholder strong{margin:8px 0 6px;font-size:17px;letter-spacing:.06em;color:#151217}
.movement-placeholder small{color:#625d66}

/* ---------- 2. CTA bands: one balanced row instead of a floating button ----------
   Old grid let the button drop to a second visual row far from the copy. */
.cross-cta{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) auto;gap:16px 56px;align-items:center;align-content:center}
.cross-cta .eyebrow{grid-column:1;grid-row:1;margin:0}
.cross-cta h2{grid-column:1;grid-row:2}
.cross-cta p:not(.eyebrow){grid-column:2;grid-row:2;max-width:44ch}
.cross-cta .button{grid-column:3;grid-row:2;justify-self:end;white-space:nowrap}
@media(max-width:900px){
  .cross-cta{grid-template-columns:1fr;gap:16px;align-content:start}
  .cross-cta .eyebrow{grid-row:auto}
  .cross-cta h2,.cross-cta p:not(.eyebrow){grid-column:1;grid-row:auto}
  .cross-cta .button{grid-column:1;grid-row:auto;justify-self:start}
}

/* ---------- 3. Section rhythm: one consistent vertical beat ---------- */
.section{padding-top:80px;padding-bottom:80px}
@media(max-width:760px){.section{padding-top:56px;padding-bottom:56px}}

/* ---------- 4. Hero copy balance ---------- */
@media(min-width:761px){
  .home-template .home-hero-copy{display:flex;flex-direction:column;justify-content:center}
  .detail-hero-copy{display:flex;flex-direction:column;justify-content:center}
  .page-hero>div{display:flex;flex-direction:column;justify-content:center}
}
.home-actions .button{min-height:48px;padding:13px 24px;font-size:13.5px}

/* ---------- 5. Card images: one crop language ---------- */
.product-entry img,.application-entry img,.family-index img,.application-rail img{background:#f3eff5;object-fit:cover}
.product-feature img{height:440px}
@media(max-width:1050px){.product-feature img{height:auto;aspect-ratio:1.4}}
.product-entry,.application-entry,.family-index>a,.application-rail>a,.equipment-family{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.product-entry:hover,.application-entry:hover,.family-index>a:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(35,20,40,.09)}

/* ---------- 6. Services: related-application cards lose dead vertical space ---------- */
.service-page .detail-block aside a,.service-page .detail-block aside a+a{min-height:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 22px}

/* ---------- 7. Fine typography detail ---------- */
.eyebrow{font-weight:700}
.site-header nav a{transition:color .15s ease}
.site-header nav a:hover{color:#5b1b72}

/* ---------- 8. Footer link hover ---------- */
footer a{transition:color .15s ease}
footer a:hover{color:#d5aee1}
