/* Obsidian's photographic service editorial and direct-manipulation comparison. */
.demo-auto #services .service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.demo-auto #services .service-card{display:flex;flex-direction:column;padding:0 0 28px!important;background:#171b1d;border:1px solid #ffffff24;min-width:0;overflow:visible}
.demo-auto #services .service-card>img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;margin:0 0 28px}
.demo-auto #services .service-card>p,.demo-auto #services .service-card>h3{margin-left:24px;margin-right:24px;max-width:calc(100% - 48px)}
.demo-auto #services .service-card h3{font-size:clamp(27px,2.8vw,42px);line-height:1.15;letter-spacing:-.035em;margin-top:0;margin-bottom:18px}
.demo-auto #services .service-card .demo-kicker{font-size:11px;margin-bottom:12px}
.demo-auto #services .service-card>p:last-child{margin-top:0;margin-bottom:0;line-height:1.65;font-size:16px}
.demo-auto .before-after{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}
.demo-auto .before-after figure{margin:0;min-width:0}
.demo-auto .before-after img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}
.demo-auto .before-after figure:nth-child(2n){padding-top:64px}
.demo-auto .before-after figcaption{padding:16px 0;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#c5cacc}
.demo-auto .motion-obsidian .motion-frame{clip-path:none!important;transform:scale(1.035)!important;transition:opacity .75s ease!important;will-change:opacity}
.demo-auto .motion-obsidian .motion-stage:after{display:none}
.demo-auto .motion-obsidian .motion-stage{top:var(--nav-height,0px);height:calc(100svh - var(--nav-height,0px));min-height:540px}
.demo-auto .compare-picture{touch-action:pan-y;user-select:none;cursor:ew-resize;isolation:isolate}
.demo-auto .compare-picture img{pointer-events:none;user-select:none}
.demo-auto .compare-control{inset:auto 16px 16px;height:36px;font-size:0;z-index:4}
.demo-auto .compare-control input{position:static;opacity:1;width:100%;height:36px;appearance:auto;-webkit-appearance:auto;accent-color:#fff;cursor:ew-resize}
.demo-auto .compare-line{transition:none;z-index:2}
.demo-auto .compare-line span{box-shadow:0 4px 30px #0006}
.demo-auto .compare-tag{z-index:3;pointer-events:none}
@media(max-width:900px){
 .demo-auto #services .service-grid{display:grid;grid-template-columns:1fr;gap:24px}
 .demo-auto #services .service-card>img{aspect-ratio:16/10;max-width:100%;object-position:center 45%}
 .demo-auto #services .service-card h3{font-size:32px;white-space:normal}
 .demo-auto .before-after{grid-template-columns:1fr 1fr;gap:14px}
 .demo-auto .before-after img{aspect-ratio:3/4}
 .demo-auto .before-after figure:nth-child(2n){padding-top:36px}
 .demo-auto .motion-obsidian .motion-stage{min-height:560px}
 .demo-auto .motion-obsidian .motion-heading{top:7%}
 .demo-auto .motion-obsidian .motion-heading h2{font-size:clamp(32px,9vw,52px)}
 .demo-auto .finish-compare{padding-top:64px;padding-bottom:64px}
}
@media(prefers-reduced-motion:reduce){.demo-auto .motion-obsidian .motion-frame{transition:none!important}}
