/* Equal, large portfolio frames and complete customer quotes. No expandable text. */
.portfolio-carousel .showcase-track {
  grid-auto-columns:calc((100% - 24px) / 2);
  gap:24px;
  align-items:stretch;
}
.portfolio-carousel .portfolio-slide {
  grid-column:auto;
  align-self:stretch;
  display:flex;
  flex-direction:column;
}
.portfolio-carousel .portfolio-slide .comparison {
  height:auto;
  aspect-ratio:1.25;
}
.portfolio-carousel .comparison-line>span {width:48px;height:48px}
.portfolio-carousel .comparison-labels {font-size:12px;inset:auto 18px 18px}
.portfolio-carousel .comparison-labels span {padding:5px 10px}
.showcase-buttons button {width:46px;height:46px}
.showcase-buttons button>.icon {width:22px;height:22px}
.showcase-controls {margin-top:20px}
.reviews-layout {grid-template-columns:190px minmax(0,1fr);gap:32px;align-items:start}
.reviews-language-note {font-size:13px;line-height:1.5;margin:-10px 0 24px}
.testimonials-carousel .showcase-track {
  grid-auto-columns:calc((100% - 20px) / 2);
  gap:20px;
  align-items:stretch;
  /* One natural-height row keeps every card equal without a fixed empty floor. */
  grid-template-rows:auto;
}
.testimonials-carousel .testimonial-slide {
  align-self:stretch;
  display:flex;
  flex-direction:column;
  padding:20px;
  min-height:0;
}
.testimonials-carousel .testimonial-slide figcaption {font-size:18px;margin-bottom:6px}
.testimonials-carousel .testimonial-slide .stars {font-size:20px}
.review-text {font-size:15px;line-height:1.55;margin-top:12px;color:var(--text);overflow-wrap:anywhere}
@media (max-width:1100px) {
  .reviews-layout {grid-template-columns:150px minmax(0,1fr);gap:24px}
}
@media (max-width:850px) {
  .reviews-layout {grid-template-columns:minmax(0,1fr);gap:24px}
  .google-score {flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px 20px;border:0;padding:0}
  .google-score strong {font-size:60px}
  .google-score .stars,.google-score>span:not(.stars),.google-score small {margin:0}
}
@media (max-width:640px) {
  .portfolio-carousel .showcase-track {grid-auto-columns:100%;gap:16px}
  .portfolio-carousel .portfolio-slide .comparison {aspect-ratio:1.05}
  .portfolio-carousel .comparison-labels {inset:auto 14px 14px;font-size:11px}
  .testimonials-carousel .showcase-track {grid-auto-columns:100%;gap:16px}
  .reviews-language-note {margin-top:-6px}
}
/* The restored photo is always the SSR/no-script/reduced-motion fallback. */
.why-us-photo.repair-reveal {position:relative;isolation:isolate;--repair-sweep:4.8s cubic-bezier(.35,.05,.5,.95) both}
.repair-reveal>img,.repair-reveal-before>img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:45% center}
.repair-reveal-before {position:absolute;inset:0;overflow:hidden;opacity:0;pointer-events:none}
.repair-reveal-before>img {
  /* Feather only the front bodywork, with a square source-sized mask matching
     object-fit:cover. Booth, floor, roof and glass stay on the finished frame. */
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1254' height='1254' viewBox='0 0 1254 1254'%3E%3Cdefs%3E%3Cfilter id='f'%3E%3CfeGaussianBlur stdDeviation='14'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='120' y='345' width='1030' height='650' rx='65' fill='white' filter='url(%23f)'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1254' height='1254' viewBox='0 0 1254 1254'%3E%3Cdefs%3E%3Cfilter id='f'%3E%3CfeGaussianBlur stdDeviation='14'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='120' y='345' width='1030' height='650' rx='65' fill='white' filter='url(%23f)'/%3E%3C/svg%3E");
  -webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:45% center;mask-position:45% center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
.repair-reveal.is-armed .repair-reveal-before {opacity:1}
.repair-reveal-pass {position:absolute;inset:0;opacity:0;pointer-events:none}
.repair-reveal-mist {position:absolute;right:-20%;top:24%;width:40%;height:61%;background:radial-gradient(ellipse,rgba(255,255,255,.3),rgba(246,237,222,.13) 26%,rgba(255,119,57,.07) 42%,transparent 70%);filter:blur(5px)}
.repair-reveal-mist::after {content:'';position:absolute;left:50%;top:13%;width:2px;height:68%;transform:translateX(-50%);background:linear-gradient(transparent,rgba(255,255,255,.7),transparent);filter:blur(.5px)}
.repair-reveal-nozzle {position:absolute;right:-18px;top:25%;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgba(15,15,15,.72);color:#ff743c;box-shadow:0 4px 16px #0004;transform:scaleX(-1) rotate(-20deg)}
.repair-reveal-replay {position:absolute;inset:0;z-index:1;width:100%;height:100%;padding:0;background:transparent;border-radius:inherit}
.repair-reveal-replay:focus-visible {outline-offset:-5px}
.repair-reveal.is-running .repair-reveal-before {animation:repair-reveal-sweep var(--repair-sweep);will-change:transform}
.repair-reveal.is-running .repair-reveal-before>img {animation:repair-reveal-counter var(--repair-sweep);will-change:transform}
.repair-reveal.is-running .repair-reveal-pass {animation:repair-reveal-sweep var(--repair-sweep),repair-reveal-mist-fade var(--repair-sweep);will-change:transform,opacity}
@media(min-width:1100px){.why-us-photo.repair-reveal {position:sticky;top:100px}}
@media(min-width:768px) and (max-width:1099px){.why-us-photo.repair-reveal {height:auto;min-height:0;aspect-ratio:1}}
@keyframes repair-reveal-sweep {0%,6%{transform:translateX(0)}100%{transform:translateX(-100%)}}
@keyframes repair-reveal-counter {0%,6%{transform:translateX(0)}100%{transform:translateX(100%)}}
@keyframes repair-reveal-mist-fade {0%{opacity:0}12%,88%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce) {
 .repair-reveal .repair-reveal-before,.repair-reveal .repair-reveal-pass {display:none!important;animation:none!important}
 .repair-reveal-replay {display:none}
}
/* The artwork belongs to the banner only. The open R-M story sits below it,
   so a taller description can never enlarge or cover the promotional image. */
section.paint-match {padding:0;isolation:auto;background:var(--bg)}
section.paint-match::before {display:none}
.paint-match-banner {position:relative;isolation:isolate;display:flex;min-height:clamp(360px,33.35vw,680px);overflow:hidden;background:#090909}
.paint-banner-art {position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:right center;opacity:1}
.paint-banner-content {display:flex;align-items:center;padding-block:48px}
.paint-banner-copy {width:42%;max-width:600px}
.paint-banner-copy h2 {font-size:clamp(34px,3.8vw,56px)}
.paint-banner-copy p {font-size:18px;line-height:1.5;margin-top:18px;color:var(--text);max-width:30ch}
.paint-banner-copy p strong {font-weight:700}
.paint-banner-copy .button {margin-top:26px}
.paint-match-story {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.85fr);gap:clamp(32px,5vw,72px);align-items:center;padding-block:48px}
.paint-story-copy {min-width:0}
.paint-story-copy h3 {font-size:clamp(23px,2.2vw,32px);line-height:1.25;max-width:32ch;margin-bottom:22px}
.paint-story-copy p {font-size:15px;line-height:1.75;max-width:72ch}
.paint-story-copy p+p {margin-top:16px}
.paint-story-copy .paint-story-intro {color:var(--text);font-size:17px;line-height:1.6}
.paint-story-photo {min-width:0}
.paint-story-photo img {width:100%;height:auto;aspect-ratio:1.3;object-fit:cover;border-radius:var(--radius)}
@media(max-width:1099px){.paint-banner-copy {width:45%}.paint-banner-copy p {font-size:17px}.paint-banner-copy .button {font-size:14px}.paint-match-story {gap:32px;grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr)}}
@media(max-width:959px){
 .paint-match-banner {display:flex;flex-direction:column;min-height:0}
 .paint-banner-content {order:0;padding-block:36px 24px}
 .paint-banner-copy {width:100%;max-width:540px}
 .paint-banner-copy h2 {font-size:var(--h2)}
 .paint-banner-copy p {font-size:17px;max-width:34ch;margin-top:16px}
 .paint-banner-copy .button {margin-top:22px}
 .paint-banner-art {position:relative;order:1;inset:auto;z-index:auto;height:auto;aspect-ratio:2.8;object-fit:cover;object-position:right center;opacity:1}
}
@media(max-width:767px){
 .paint-banner-art {aspect-ratio:1.9}
 .paint-match-story {grid-template-columns:minmax(0,1fr);gap:28px;padding-block:32px}
 .paint-story-copy h3 {font-size:24px;margin-bottom:18px}
 .paint-story-copy p {font-size:15px;line-height:1.7}
 .paint-story-copy .paint-story-intro {font-size:16px}
 .paint-story-photo {max-width:520px}
 .paint-story-photo img {aspect-ratio:1.5}
}
