/* home.css: the home page's own placing and sizing, with the tokens of system.css only. */

/* #top: each picture's card on its side with no face (scenes\hero-search.md), and each clip's crop on the phone */
.hero__slide--hand { --cx: 63%; --cy: 57%; }
.hero__slide--dental { --cx: 60%; --cy: 62%; --obj-m: 30% 50%; }
.hero__slide--hvac { --cx: 59%; --cy: 64%; --obj-m: 68% 50%; }
.hero__slide--eye { --cx: 59%; --cy: 9%; --obj-m: 60% 50%; }
@media (max-width: 1279px) {
  .hero__slide--hand { --cx: 62%; }
  .hero__slide--hvac { --cx: 57%; }
  .hero__slide--eye { --cx: 53%; --cy: 11%; }
}

/* Roofing website screenshots in the homepage comparison. */
.roof-compare > .before, .roof-compare > .after { background: #fff; }
.roof-compare > .before img, .roof-compare > .after img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.roof-compare__disclosure { margin: 12px 3% 0; color: var(--c-ink-soft); font-size: 13px; }
/* Roofing IDEALZ4U homepage demonstration: the approved house transformation inside the browser. */
.roof-demo { display:flex; flex-direction:column; height:100%; background:#f4f3eb; color:#19362d; overflow:hidden; }
.roof-demo__nav { flex:none; display:flex; align-items:center; gap:12px; min-height:48px; padding:7px 14px; background:#fff; color:#17392f; }
.roof-demo__brand { display:flex; align-items:center; gap:5px; margin-right:auto; white-space:nowrap; font-size:13px; font-weight:800; letter-spacing:.09em; line-height:1.05; }
.roof-demo__brand small { display:block; letter-spacing:.22em; font-size:8px; margin-top:3px; }
.roof-demo__mark { font-size:24px; font-weight:400; line-height:1; }
.roof-demo__links { white-space:nowrap; font-size:9px; color:#36534a; }
.roof-demo__nav-cta { white-space:nowrap; background:#193b31; color:white; padding:8px 10px; border-radius:2px; font-size:9px; font-weight:700; }
.roof-demo__intro { flex:none; display:flex; align-items:center; gap:15px; justify-content:space-between; padding:17px 21px 13px; background:#102c25; color:#fff; }
.roof-demo__eyebrow { text-transform:uppercase; color:#d7b681; letter-spacing:.14em; font-size:8px; font-weight:700; }
.roof-demo__intro h3 { font-family:Georgia,serif; font-size:clamp(20px,3.9cqw,32px); font-weight:400; line-height:1.06; letter-spacing:-.025em; margin:5px 0 0; color:#fff; }
.roof-demo__intro h3 em { color:#dfbd83; font-weight:400; }
.roof-demo__intro-side { max-width:34%; }
.roof-demo__intro-side p { color:#e1e6df; font-size:10px; line-height:1.35; margin:0 0 9px; }
.roof-demo__cta { display:inline-block; background:#e2bf83; color:#17392f; padding:7px 10px; font-size:9px; font-weight:800; white-space:nowrap; }
.roof-demo__caption { flex:none; display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:10px 17px 8px; }
.roof-demo__caption strong { font-family:Georgia,serif; font-size:18px; font-weight:400; }
.roof-demo__caption span { font-size:10px; color:#456358; }
.roof-demo .roof-compare { flex:1; min-height:0; margin:0 15px; background:#dbe6d9; }
.roof-demo .roof-compare > .before img,.roof-demo .roof-compare > .after img { object-fit:cover; object-position:center; }
.roof-demo .cmp__knob { width:35px; height:35px; background:#fff; color:#193b31; }
.roof-demo .cmp__side--l,.roof-demo .cmp__side--r { top:25px; transform:none; background:#fff; color:#193b31; border-radius:2px; font-size:9px; padding:5px 7px; }
.roof-demo .cmp__side--l { right:15px; }.roof-demo .cmp__side--r { left:15px; }
.roof-demo .cmp__hint { background:#193b31; font-size:9px; padding:3px 6px; top:calc(50% + 24px); }
.roof-demo__foot { flex:none; padding:6px 15px 8px; text-align:right; font-size:9px; color:#4c655a; }
@container browser (width < 650px) { .roof-demo__links { display:none; } .roof-demo__intro-side p { display:none; } }
@container browser (width < 450px) { .roof-demo__nav-cta { display:none; } .roof-demo__intro { padding:12px; } .roof-demo__intro-side { display:none; } .roof-demo__caption { padding:8px 10px; } .roof-demo__caption strong { font-size:14px; } .roof-demo__caption span { display:none; } .roof-demo .roof-compare { margin:0 9px; } }
