/* Article styling shared visually with the 8mm case study. Comparison controls
   and modal layout remain owned by the existing restoration styles. */
#restoration.restoration-service-page{padding-top:48px;color:#382e42}
#restoration .restoration-examples-article{max-width:1150px;--restoration-copy-size:16px}
#restoration .restoration-examples-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#d7adb5}
#restoration .restoration-service-header{max-width:none;margin:0;padding:clamp(24px,3vw,42px);background:#704b62;color:#f7f7f5;container-type:normal}
#restoration .restoration-service-header>.eyebrow{margin:0 0 20px;font:400 11px/1.5 "IBM Plex Sans",Arial,sans-serif;letter-spacing:.16em;color:#f0dfdf}
#restoration #restoration-service-title{margin:0 0 22px;font:300 clamp(30px,3.4vw,46px)/1.1 "IBM Plex Sans",Arial,sans-serif;max-width:15ch;letter-spacing:normal;white-space:normal;color:#f7f7f5}
#restoration .restoration-service-intro{font-size:17px;line-height:1.6;max-width:39ch;margin-bottom:22px}
#restoration .restoration-service-header .restoration-inquiry{background:#f7f7f5;color:#382e42;border-color:#f7f7f5}
#restoration .restoration-service-header .restoration-inquiry:hover{background:#f0dfdf}
#restoration .restoration-service-header a:focus-visible{outline-color:#00e5e5}
#restoration .restoration-scanning-note{margin-top:28px;padding-top:22px;border-top:1px solid #b992a4;max-width:44ch}
#restoration .restoration-scanning-note h2{font-size:20px;font-weight:400;line-height:1.3;letter-spacing:normal;color:#f7f7f5}
#restoration .restoration-scanning-note p{font-size:14px;line-height:1.7;color:#f0dfdf}
#restoration .restoration-example-hero{margin:0;min-width:0;background:#f0dfdf;display:flex;flex-direction:column;justify-content:center}
#restoration .restoration-service-examples{border:0;padding:0;margin:64px 0 0}
#restoration .restoration-chapter-title{display:grid;grid-template-columns:80px minmax(0,1fr);gap:24px;max-width:930px;margin:0 auto 22px}
#restoration .restoration-chapter-title>span{font-size:42px;line-height:1.1;font-weight:300;color:#704b62;border-top:2px solid #704b62;padding-top:12px}
#restoration .restoration-chapter-title h2{font-size:clamp(25px,2.5vw,33px);font-weight:400;line-height:1.2;letter-spacing:normal;margin:8px 0 0;color:#382e42}
#restoration .restoration-example-hint{max-width:826px;margin:0 auto 28px;padding-left:104px;box-sizing:content-box;font-size:16px!important;line-height:1.8;color:#382e42}
#restoration .restoration-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
#restoration .restoration-card{background:#f0dfdf;color:#382e42}
#restoration .restoration-thumb{aspect-ratio:4/3;background:#382e42}
#restoration .restoration-thumb img{object-fit:contain}
#restoration .restoration-card-title{font-size:17px;line-height:1.4;margin:0;padding:16px 20px}
#restoration .restoration-card-caption{font-size:13px;line-height:1.6;color:#704b62;margin:0;padding:0 20px 18px}
#restoration .restoration-service-details{display:block;border:0;padding:0;max-width:930px;margin:64px auto 0}
#restoration .restoration-service-details>section+section{margin-top:48px}
#restoration .restoration-service-details ul,#restoration .restoration-process{margin-left:104px;padding-left:22px;max-width:70ch}
#restoration .restoration-service-details li{line-height:1.8}
#restoration .restoration-service-details li::marker{color:#704b62}
#restoration .restoration-examples-footer{margin-top:56px;padding:44px clamp(22px,4vw,55px);background:#704b62;color:#f7f7f5}
#restoration .restoration-examples-footer>.eyebrow{font-size:11px;letter-spacing:.16em;color:#f0dfdf}
#restoration .restoration-examples-footer h2{font-size:clamp(26px,3vw,36px);line-height:1.2;font-weight:300;letter-spacing:normal;margin:16px 0 20px;color:#f7f7f5}
#restoration .restoration-examples-footer p{max-width:70ch;font-size:15px;line-height:1.8}
#restoration .restoration-examples-footer .restoration-intake-note{background:#f0dfdf;color:#382e42;border-color:#d7adb5;border-radius:0}
#restoration .restoration-examples-footer .restoration-expectations{color:#f0dfdf}
/* Override the global important link/visited/active colors on this plum surface.
   Paper on #704b62 is 6.82:1; the persistent underline identifies the link. */
#restoration .restoration-examples-footer .restoration-service-contact a[href]{color:#f7f7f5!important;white-space:normal;text-decoration:underline;text-underline-offset:3px}
#restoration .restoration-examples-footer a:focus-visible{outline-color:#00e5e5}
@media(max-width:800px),(max-width:1100px) and (max-height:600px) and (orientation:landscape){
 #restoration.restoration-service-page{padding:calc(82px + env(safe-area-inset-top,0px)) max(13px,env(safe-area-inset-right,0px)) calc(28px + env(safe-area-inset-bottom,0px)) max(13px,env(safe-area-inset-left,0px))}
 #restoration .restoration-examples-mosaic{grid-template-columns:minmax(0,1fr)}
 #restoration .restoration-service-header{padding:28px}
 #restoration #restoration-service-title{font-size:clamp(30px,7vw,42px);max-width:20ch}
 #restoration .restoration-service-intro{font-size:15px;max-width:50ch}
 #restoration .restoration-service-examples{margin-top:42px}
 #restoration .restoration-chapter-title{grid-template-columns:37px minmax(0,1fr);gap:13px}
 #restoration .restoration-chapter-title>span{font-size:29px}
 #restoration .restoration-chapter-title h2{font-size:26px}
 #restoration .restoration-example-hint{padding-left:50px;max-width:none;font-size:15px!important;line-height:1.75;box-sizing:border-box}
 #restoration .restoration-grid{gap:18px}
 #restoration .restoration-service-details{margin-top:42px}
 #restoration .restoration-service-details ul,#restoration .restoration-process{margin-left:50px}
 #restoration .restoration-examples-footer{padding:28px 22px}
}
@media(max-width:600px){
 #restoration .restoration-grid{grid-template-columns:minmax(0,1fr)}
 #restoration .restoration-card-title{font-size:16px}
}

/* The featured dog is the same live preview card as every other example. */
#restoration .restoration-example-hero .restoration-card{position:relative}
#restoration .restoration-example-hero .restoration-thumb{aspect-ratio:1/1}
#restoration .restoration-example-hero .restoration-thumb img{object-fit:cover;object-position:center}
#restoration .restoration-example-hero .restoration-card-title{position:absolute;left:0;right:0;bottom:0;margin:0;padding:28px 64px 16px 20px;background:linear-gradient(transparent,rgba(23,27,29,.94) 55%);color:#f7f7f5;pointer-events:none}
#restoration .restoration-example-hero .restoration-zoom-badge{z-index:2}
@media (min-width:1101px), (min-width:801px) and (min-height:601px), (min-width:801px) and (orientation:portrait){
 /* Compact desktop swatches sit at 30px and are 34px high. These authored
    lengths scale together through RADisplayScale, including at 4K. */
 .site-menu-minimized #restoration.restoration-service-page{padding-top:100px}
}

/* Inline dog comparison stretches with the introductory text on desktop. */
#restoration .restoration-example-hero{display:flex;align-items:stretch;justify-content:normal}
#restoration .restoration-example-hero .restoration-inline-comparison{flex:1;min-height:420px}
#restoration .restoration-inline-comparison .restoration-comparison-body{position:relative;flex:1;min-height:0;width:100%}
#restoration .restoration-example-hero .compare{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;box-shadow:none;touch-action:pan-y}
#restoration .restoration-inline-comparison .restoration-preview-button[hidden]{display:none}
#restoration .restoration-inline-comparison .compare-before,#restoration .restoration-inline-comparison .compare-after{object-fit:cover;object-position:center}
#restoration .restoration-inline-comparison .compare-range{z-index:1;touch-action:pan-y}
#restoration .restoration-inline-comparison .compare:has(.compare-range:focus-visible){outline:3px solid #00e5e5;outline-offset:-3px}
#restoration .restoration-inline-comparison .restoration-card-title{z-index:2}
#restoration .restoration-inline-comparison .restoration-zoom-badge{z-index:3}
@media(max-width:800px),(max-width:1100px) and (max-height:600px) and (orientation:landscape){
 #restoration .restoration-example-hero{aspect-ratio:1/1}
 #restoration .restoration-example-hero .restoration-inline-comparison{min-height:0}
}

/* Inline comparisons inherit dark article text; keep the drag arrows light. */
#restoration .restoration-inline-comparison .compare-divider span{color:#f7f7f5}
#restoration .restoration-inline-comparison .compare-divider span::before,#restoration .restoration-inline-comparison .compare-divider span::after{font-weight:500}
