/* RestorStone editorial homepage. Rules are scoped to this page. */
.editorial-home{--ed-ink:#1c122e;--ed-paper:#f7f3eb;--ed-mist:#ded0e3;--ed-muted:#584c58;--ed-line:#b8aab7;background:var(--ed-paper);color:var(--ed-ink);font:400 1rem/1.5 var(--sans)}
.editorial-home header{background:var(--ed-ink);color:var(--ed-paper);box-shadow:none;border-bottom:1px solid #605169}
.editorial-home header a,.editorial-home header button,.editorial-home header .brand{color:var(--ed-paper)}
.editorial-home #mobile-nav{background:var(--ed-ink);border-color:#6a5c73}
.editorial-home :is(h1,h2,h3){font-family:Saira,var(--sans);font-weight:600;line-height:1.03;letter-spacing:-.045em}
.editorial-home .ed-shell{width:min(91%,78rem);margin-inline:auto}
.editorial-home .ed-label{font:400 .68rem/1.45 var(--mono);letter-spacing:.12em;text-transform:uppercase}
.editorial-home .ed-hero{background:var(--ed-ink);color:var(--ed-paper)}
.editorial-home .ed-opening{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1.18fr);align-items:center;gap:clamp(1.65rem,4vw,4.3rem);padding-block:clamp(2.5rem,5.5vw,5.75rem)}
.editorial-home .ed-kicker{display:flex;align-items:center;gap:.7rem;color:var(--ed-mist)}
.editorial-home .ed-kicker::before{content:"";width:1.65rem;border-top:1px solid currentColor}
.editorial-home .ed-lead h1{font-size:clamp(2.85rem,4.65vw,4.9rem);margin:.25em 0 .27em}
.editorial-home .ed-lead p{font-size:clamp(1.05rem,1.7vw,1.25rem);max-width:33ch;color:#e8dfe9;margin:0}
.editorial-home .ed-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem 1.35rem;margin-top:1.8rem}
.editorial-home .ed-buy{background:var(--ed-paper);color:var(--ed-ink);min-height:3.45rem;padding:.8rem 1.35rem;display:inline-flex;align-items:center;gap:.85rem;font:600 1.05rem Saira,var(--sans);border:1px solid transparent}
.editorial-home .ed-buy:hover{background:#decde5}
.editorial-home .ed-textlink{text-decoration:underline;text-underline-offset:5px;font:600 .98rem Saira,var(--sans)}
.editorial-home .ed-product{position:relative;margin:0;min-width:0}
.editorial-home .ed-product img{display:block;width:100%;height:clamp(21rem,34.5vw,31rem);object-fit:cover;object-position:58% 52%;background:#d6d3d2}
.editorial-home .ed-product figcaption{display:flex;justify-content:space-between;gap:.75rem;padding-top:.7rem;color:var(--ed-mist)}
.editorial-home .ed-price{position:absolute;bottom:3.3rem;left:-.75rem;background:var(--ed-paper);color:var(--ed-ink);font:400 .71rem var(--mono);padding:.7rem .9rem}
.editorial-home .ed-steps{border-top:1px solid #66596e;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-block:1rem 1.15rem}
.editorial-home .ed-steps div{font:600 1.12rem Saira,var(--sans)}
.editorial-home .ed-steps span{color:var(--ed-mist);margin-right:.4rem}
.editorial-home .ed-proof{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);align-items:center;gap:clamp(1.4rem,6vw,6rem);padding-block:clamp(3.4rem,7vw,7rem);scroll-margin-top:6rem}
.editorial-home .ed-proof h2{font-size:clamp(3rem,5.4vw,5.8rem);margin:.24em 0 .24em}
.editorial-home .ed-proof-intro p{font-size:1.08rem;color:var(--ed-muted);max-width:29ch}
.editorial-home .ed-proof-actions{display:flex;gap:.9rem 1.2rem;flex-wrap:wrap}
.editorial-home .ed-toggle{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin-bottom:.45rem}
.editorial-home .ed-toggle button{min-height:2.75rem;border:1px solid #9a889c;color:var(--ed-ink);font-weight:600}
.editorial-home .ed-toggle button[aria-pressed=true]{background:var(--ed-ink);color:var(--ed-paper)}
.editorial-home .ed-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.5rem}
.editorial-home .ed-pair figure{margin:0;min-width:0}
.editorial-home .ed-pair img{width:100%;height:clamp(15rem,32vw,27rem);object-fit:contain;background:#e9e1df}
.editorial-home .ed-pair figcaption,.editorial-home .ed-result-note{color:var(--ed-muted);padding-top:.35rem;font-size:.72rem}
.editorial-home :is(.rs-demo,.contact-block){width:min(91%,78rem);margin:0 auto clamp(3.4rem,7vw,7rem);padding:clamp(1.6rem,3vw,3rem) 0 0;border-top:1px solid var(--ed-line)}
.editorial-home .rs-demo-intro{text-align:center;margin-bottom:1.5rem}
.editorial-home .rs-demo h2{font-size:clamp(2.75rem,4.5vw,4.3rem);margin:.3em 0 0}
.editorial-home .rs-film-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:center;gap:clamp(1.3rem,4vw,4rem)}
.editorial-home .rs-film-visual{min-width:0}
.editorial-home .rs-film-visual .film-stage{width:100%;min-height:0;aspect-ratio:16/9;overflow:hidden;background:#f0ebe6;border:1px solid var(--ed-line);box-shadow:none}
.editorial-home .rs-film-visual :is(#pores,.film-photo){mask-image:none;-webkit-mask-image:none;filter:contrast(1.05);object-fit:contain}
.editorial-home .rs-film-visual .film-controls{margin:.35rem 0 0;padding:.1rem 0 0}
.editorial-home .rs-film-text{border-left:1px solid var(--ed-line);padding-left:clamp(1rem,3vw,2.5rem)}
.editorial-home .rs-step{display:flex;align-items:baseline;gap:.65rem;margin:.5rem 0}
.editorial-home .rs-step small{font:400 .68rem var(--mono);white-space:nowrap}
.editorial-home .rs-step h3{font-size:clamp(1.5rem,3vw,2.4rem);margin:0}
.editorial-home .rs-film-text p{max-width:37ch;color:var(--ed-muted)}
.editorial-home .ed-pack{border-top:1px solid var(--ed-line);padding-block:clamp(1.6rem,4vw,3.5rem);margin-bottom:2rem}
.editorial-home .ed-pack h2{margin:.22em 0 .2em;font-size:clamp(2.3rem,4vw,3.8rem)}
.editorial-home .ed-pack p{color:var(--ed-muted);margin:0}
@media(max-width:760px){
 .editorial-home .ed-opening,.editorial-home .ed-proof,.editorial-home .rs-film-grid{grid-template-columns:minmax(0,1fr)}
 .editorial-home .ed-lead h1{font-size:clamp(2.55rem,8.3vw,4.7rem)}
 .editorial-home .ed-product img{height:clamp(16rem,67vw,28rem)}
 .editorial-home .ed-price{left:0}
 .editorial-home .ed-product figcaption{font-size:.58rem}
 .editorial-home .rs-film-text{border-top:1px solid var(--ed-line);border-left:0;padding:1rem 0 0}
 .editorial-home .ed-proof h2 br{display:none}
}
@media(prefers-reduced-motion:reduce){html:has(.editorial-home){scroll-behavior:auto}}
