/* Scoped to the homepage; the shared navigation and shell stay independent. */
body.sh-home .shx-hero { min-height: 0; padding-block: 32px; }
body.sh-home .shx-hero-shell { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 48px; min-height: 0; padding-block: 0; }
body.sh-home .shx-hero-copy { padding-block: 14px; }
.shx-hero-intro { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.shx-hero-mascot { display: block; flex: 0 0 64px; width: 64px; height: 72px; object-fit: contain; }
.shx-hero-message { display: grid; grid-template-columns: minmax(0, 1fr) clamp(120px, 11vw, 156px); align-items: center; gap: 20px; }
body.sh-home .shx-hero-message .shx-hero-lead { margin-block: 16px; }
.shx-hero-companion { display: block; width: 100%; height: auto; object-fit: contain; }
body.sh-home .shx-hero h1 { font-size: clamp(2.8rem, 4.25vw, 4.5rem); line-height: 1.02; letter-spacing: -.06em; }
body.sh-home .shx-hero-lead { max-width: 590px; font-size: 1rem; line-height: 1.6; }
.shx-hero-note { margin: 0; color: var(--sh-muted); font-size: .76rem; line-height: 1.5; }
.shx-cleaning-services { padding-block: 24px; }
body.sh-home .shx-cleaning-services .shx-dispatch { max-width: none; margin: 0; }
.shx-cleaning-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 22px 0; }
.shx-cleaning-cta { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 15px 23px; border-radius: 12px; background: var(--sh-blue); color: #fff; font: inherit; font-weight: 800; box-shadow: 0 8px 22px #1268f326; }
.shx-cleaning-cta:hover { background: var(--sh-blue-dark); }
.shx-cleaning-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 4px; color: var(--sh-blue-dark); font-size: .86rem; font-weight: 700; }
.shx-cleaning-secondary:hover { text-decoration: underline; text-underline-offset: 4px; }
.shx-cleaning-actions > span { color: var(--sh-muted); font-size: .75rem; }
.shx-cleaning-scene { min-width: 0; width: 100%; max-width: 440px; margin: 0; align-self: center; justify-self: center; position: relative; background: radial-gradient(ellipse at 48% 35%, #fffaf0 0%, #f0f4f3 42%, #e4ecf3 100%); border: 1px solid #d7e1e8; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 70px -40px #193b5738; }
.shx-cleaning-heading { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 0; position: relative; z-index: 1; }
.shx-cleaning-heading span { color: var(--sh-muted); font-size: .7rem; }
.shx-cleaning-heading strong { font-size: 1.1rem; color: var(--sh-ink); }
.shx-cleaning-viewport { position: relative; width: 100%; aspect-ratio: 1.45; max-height: 305px; isolation: isolate; }
.shx-cleaning-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.shx-cleaning-canvas canvas { display: block; width: 100%; height: 100%; }
.shx-cleaning-fallback { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.is-three-ready .shx-cleaning-canvas { opacity: 1; }
.is-three-ready .shx-cleaning-fallback { visibility: hidden; }
.shx-cleaning-stages { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 12px; margin: 0 22px 14px; position: relative; }
.shx-cleaning-stages > span { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 12px; border-top: 2px solid #cbd5dc; color: #526575; font-size: .69rem; font-weight: 700; transition: border-color .35s, color .35s; }
.shx-cleaning-stages small { font-size: .65rem; opacity: .8; }
.shx-cleaning-stages .is-current { border-color: var(--sh-blue); color: var(--sh-blue-dark); }
.shx-cleaning-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 6px 16px; border-top: 1px solid var(--sh-line); background: #fff; color: var(--sh-ink); font-size: .72rem; }
.shx-cleaning-caption > div { display: flex; align-items: center; gap: 8px; }
.shx-cleaning-dot { width: 8px; height: 8px; border-radius: 50%; background: #5f9f12; flex-shrink: 0; }
.shx-cleaning-caption button { min-height: 44px; border: 1px solid var(--sh-line); border-radius: 8px; padding: 6px 10px; font: inherit; color: var(--sh-blue-dark); background: #f3f7fb; cursor: pointer; }
.shx-cleaning-caption button[hidden] { display: none; }
.shx-inquiry-dialog { width: min(680px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--sh-line); border-radius: 20px; color: var(--sh-ink); background: #fff; overscroll-behavior: contain; box-shadow: 0 30px 100px #08152840; }
.shx-inquiry-dialog::backdrop { background: #081528b8; backdrop-filter: blur(5px); }
.shx-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--sh-line); position: sticky; top: 0; background: #fff; z-index: 2; }
.shx-dialog-heading .shx-kicker { margin: 0 0 6px; }
.shx-dialog-heading h2 { font-size: clamp(1.25rem, 4vw, 1.65rem); margin: 0; }
.shx-dialog-heading button { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--sh-line); border-radius: 50%; background: #f3f7fb; color: var(--sh-ink); font-size: 26px; cursor: pointer; }
body.sh-home .shx-inquiry-dialog .shx-form { margin: 0; padding: 24px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; transform: none; visibility: visible; }
.shx-inquiry-dialog textarea { min-height: 90px; }
.shx-cleaning-cta:focus-visible, .shx-cleaning-secondary:focus-visible, .shx-cleaning-caption button:focus-visible, .shx-inquiry-dialog button:focus-visible, .shx-reviews a:focus-visible { outline: 3px solid var(--sh-blue); outline-offset: 4px; }
.shx-reviews { padding-block: 28px 22px; background: var(--sh-cloud); border-block: 1px solid var(--sh-line); }
.shx-reviews-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 30px; }
.shx-reviews-summary h2 { max-width: 310px; margin: 8px 0 14px; color: var(--sh-ink); font-family: var(--scn-font-display, "Schmidt Archivo", sans-serif); font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.shx-review-rating { display: flex; align-items: center; gap: 14px; }
.shx-review-rating > strong { flex-shrink: 0; color: var(--sh-ink); font-size: 2rem; letter-spacing: -.05em; line-height: 1.2; }
.shx-review-rating small { color: var(--sh-muted); font-size: .85rem; font-weight: 500; letter-spacing: 0; }
.shx-review-rating > span { display: grid; gap: 3px; color: var(--sh-muted); font-size: .7rem; line-height: 1.4; }
.shx-review-stars { color: var(--sh-blue-dark); font-size: 1rem; letter-spacing: .12em; }
.shx-reviews a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--sh-blue-dark); font-size: .72rem; font-weight: 700; }
.shx-reviews a:hover { text-decoration: underline; text-underline-offset: 4px; }
.shx-review-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 10px; }
.shx-review-platforms .shx-review-google { min-height: 38px; padding: 7px 12px; border: 1px solid var(--sh-line); border-radius: 8px; background: var(--sh-paper); }
.shx-review { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; margin: 0; padding: 6px 0 0 26px; border-left: 1px solid var(--sh-line); }
.shx-review blockquote { margin: 0; }
.shx-review blockquote p { margin: 0; color: var(--sh-ink); font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.5; text-wrap: pretty; }
.shx-review figcaption { display: grid; gap: 4px; }
.shx-review figcaption strong { color: var(--sh-ink); font-size: .8rem; }
.shx-review figcaption > span { color: var(--sh-muted); font-size: .7rem; line-height: 1.5; }
.shx-reviews-note { margin: 14px 0 0; color: var(--sh-muted); font-size: .65rem; line-height: 1.5; }
/* Keep service copy in its own track, with headings sized for the card. */
body.sh-home .shx-section { padding-block: clamp(56px, 6vw, 88px); }
body.sh-home .shx-section-head { margin-bottom: 30px; }
body.sh-home .shx-section-head h2,
body.sh-home .shx-sequence-intro h2,
body.sh-home .shx-proof-copy h2,
body.sh-home .shx-faq-intro h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.08; letter-spacing: -.045em; }
body.sh-home .shx-service-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 20px; }
body.sh-home .shx-service-card.is-featured,
body.sh-home .shx-service-card.is-compact { grid-column: auto; grid-row: auto; grid-template-columns: minmax(0, 1fr) 34%; grid-template-rows: auto; min-height: 350px; align-items: stretch; }
body.sh-home .shx-service-card .shx-service-copy { padding: clamp(22px, 2.2vw, 32px); }
body.sh-home .shx-service-stage .shx-service-card .shx-service-copy h3 { max-width: 100%; font-size: clamp(1.7rem, 2.2vw, 2.2rem); line-height: 1.12; letter-spacing: -.045em; overflow-wrap: anywhere; hyphens: auto; }
body.sh-home .shx-service-card .shx-service-copy > span { font-size: .9rem; line-height: 1.6; }
body.sh-home .shx-service-card .shx-service-media { display: flex; align-items: center; background: var(--sh-cloud-blue); }
body.sh-home .shx-service-card .shx-service-media img { height: auto; min-height: 0; max-height: 350px; object-fit: contain; object-position: center; }
body.sh-home .shx-service-actions { gap: 8px 14px; padding-top: 20px; }
body.sh-home .shx-fit-title h3 { font-size: clamp(1.6rem, 2.4vw, 2.6rem); line-height: 1.12; }
body.sh-home .shx-sequence-layout,
body.sh-home .shx-proof-layout,
body.sh-home .shx-faq-layout { gap: clamp(32px, 5vw, 76px); }
/* Inquiry copy has its own space above the existing artwork. */
body.sh-home .shx-contact { padding-block: clamp(56px, 6vw, 88px); scroll-margin-top: 110px; }
body.sh-home .shx-contact-shell { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 76px); }
body.sh-home .shx-contact-visual { min-width: 0; position: relative; top: auto; overflow: visible; border-radius: 0; background: none; }
.shx-contact-copy { padding-block: 12px 28px; }
.shx-contact-copy h2 { margin: 18px 0; max-width: 580px; color: var(--sh-ink); font-family: var(--scn-font-display, "Schmidt Archivo", sans-serif); font-size: clamp(2rem, 3.7vw, 3.6rem); line-height: 1.06; letter-spacing: -.05em; text-wrap: balance; }
.shx-contact-copy > p:not(.shx-kicker) { max-width: 540px; margin: 0; color: var(--shx-copy); font-size: 1rem; line-height: 1.7; }
.shx-contact-benefits { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.shx-contact-benefits li { display: flex; align-items: baseline; gap: 12px; color: var(--sh-ink-soft); font-size: .84rem; line-height: 1.5; }
.shx-contact-benefits li::before { content: "✓"; color: var(--sh-blue-dark); font-weight: 800; }
.shx-contact-art { position: relative; overflow: hidden; border: 1px solid var(--sh-line); border-radius: 16px; }
.shx-contact-art > img { display: block; width: 100%; height: auto; }
body.sh-home .shx-contact-art .shx-contact-sign { position: absolute; top: 48%; left: 26%; width: 48%; height: 30%; min-height: 0; padding: 0; align-items: center; text-align: center; }
.shx-contact-sign > p { margin: 0; color: var(--sh-ink); font-family: var(--scn-font-display, "Schmidt Archivo", sans-serif); font-size: clamp(1rem, 2vw, 1.9rem); font-weight: 700; letter-spacing: -.04em; }
body.sh-home .shx-form { min-width: 0; margin: 0; border: 1px solid var(--sh-line); border-top: 3px solid var(--sh-blue); border-radius: 18px; padding: clamp(22px, 2.8vw, 40px); box-shadow: 0 12px 40px rgba(8, 21, 40, .06); }
body.sh-home .shx-form-head { display: flex; align-items: end; gap: 16px; margin-bottom: 12px; }
body.sh-home .shx-form-head h3 { font-size: 1.8rem; line-height: 1.15; }
body.sh-home .shx-form-intro { margin: 0 0 26px; color: var(--sh-muted); font-size: .86rem; line-height: 1.55; }
.shx-form-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.shx-form-group + .shx-form-group { margin-top: 26px; }
.shx-form-group legend { width: 100%; margin: 0 0 16px; padding: 0 0 10px; border-bottom: 1px solid var(--sh-line); color: var(--sh-ink); font-size: .8rem; font-weight: 800; }
body.sh-home .shx-form-grid { gap: 16px; }
body.sh-home .shx-field { gap: 7px; }
body.sh-home .shx-field label { font-size: .78rem; font-weight: 650; }
.shx-field label em { margin-left: 4px; color: var(--sh-muted); font-size: .68rem; font-weight: 400; font-style: normal; }
body.sh-home .shx-field input,
body.sh-home .shx-field select,
body.sh-home .shx-field textarea { min-height: 48px; background: #f9fbfd; border-radius: 9px; font-size: 16px; }
body.sh-home .shx-field textarea { min-height: 100px; }
body.sh-home .shx-field input:focus,
body.sh-home .shx-field select:focus,
body.sh-home .shx-field textarea:focus { background: #fff; }
body.sh-home .shx-privacy { margin-top: 24px; font-size: .74rem; }
body.sh-home .shx-submit { margin-top: 22px; box-shadow: none; }
body.sh-home .shx-submit:disabled { cursor: wait; opacity: .75; transform: none; }
.shx-form-footnote { margin: 12px 0 0; color: var(--sh-muted); font-size: .7rem; text-align: center; line-height: 1.5; }
body.sh-home .shx-form-guided { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 44px; margin-top: 8px; color: var(--sh-blue-dark); font-size: .72rem; line-height: 1.5; text-align: center; }
.shx-form-guided:focus-visible { outline: 3px solid var(--sh-blue); outline-offset: 4px; }
@media (max-width: 960px) {
  body.sh-home .shx-contact-shell { grid-template-columns: 1fr; gap: 28px; }
  body.sh-home .shx-contact-visual { width: 100%; max-width: none; }
  .shx-contact-art { max-width: 560px; }
}
@media (max-width: 1100px) {
  body.sh-home .shx-service-stage { grid-template-columns: 1fr; }
  body.sh-home .shx-service-card.is-featured,
  body.sh-home .shx-service-card.is-compact { grid-template-columns: minmax(0, 1fr) 35%; min-height: 280px; }
}
@media (min-width: 761px) and (max-height: 820px) {
  body.sh-home .shx-hero { padding-block: 22px; }
  .shx-cleaning-viewport { max-height: 220px; }
  .shx-cleaning-actions { margin-block: 14px; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  body.sh-home .shx-hero-shell { gap: 28px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  body.sh-home .shx-hero h1 { font-size: clamp(2.65rem, 4.8vw, 3.2rem); }
  .shx-cleaning-caption { flex-wrap: wrap; }
  .shx-reviews-grid { gap: 20px; }
  .shx-review { padding-left: 18px; }
}
@media (max-width: 760px) {
  body.sh-home .shx-hero { padding-block: 20px 24px; }
  body.sh-home .shx-hero-shell { grid-template-columns: 1fr; gap: 20px; min-height: 0; }
  body.sh-home .shx-hero-copy { padding-block: 0; }
  .shx-hero-intro { gap: 10px; min-height: 54px; }
  .shx-hero-mascot { flex-basis: 48px; width: 48px; height: 54px; }
  .shx-hero-message { grid-template-columns: minmax(0, 1fr) clamp(88px, 27vw, 120px); gap: 12px; }
  body.sh-home .shx-hero-intro .shx-status { font-size: .61rem; line-height: 1.5; }
  body.sh-home .shx-hero h1 { font-size: clamp(2rem, 8.7vw, 3.7rem); line-height: 1.05; }
  body.sh-home .shx-hero-lead { font-size: .9rem; line-height: 1.5; }
  .shx-cleaning-actions { gap: 4px; margin-block: 16px 10px; }
  .shx-cleaning-cta { width: 100%; }
  .shx-cleaning-secondary { width: 100%; min-height: 44px; }
  .shx-hero-note { font-size: .72rem; }
  .shx-cleaning-actions > span { width: 100%; text-align: center; }
  .shx-cleaning-heading { padding: 14px 18px 0; }
  .shx-cleaning-heading span { display: none; }
  .shx-cleaning-heading strong { font-size: .9rem; }
  .shx-cleaning-viewport { max-height: 190px; }
  .shx-cleaning-stages { gap: 9px; margin: 0 16px 12px; }
  .shx-cleaning-stages > span { font-size: .62rem; gap: 4px; align-content: start; }
  .shx-cleaning-caption { flex-wrap: wrap; padding: 6px 14px; gap: 4px; }
  .shx-reviews { padding-block: 24px; }
  .shx-reviews-grid { grid-template-columns: 1fr; gap: 20px; }
  .shx-reviews-summary h2 { max-width: none; font-size: 1.5rem; }
  .shx-review { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--sh-line); gap: 14px; }
  .shx-reviews a { min-height: 40px; }
  .shx-dialog-heading { padding: 16px; }
  body.sh-home .shx-inquiry-dialog .shx-form { padding: 18px; }
}
@media (max-width: 600px) {
  body.sh-home .shx-service-card.is-featured,
  body.sh-home .shx-service-card.is-compact { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  body.sh-home .shx-service-card .shx-service-media { justify-content: center; }
  body.sh-home .shx-service-card .shx-service-media img { width: auto; max-width: 100%; height: 230px; }
  body.sh-home .shx-service-stage .shx-service-card .shx-service-copy h3 { font-size: clamp(1.65rem, 7.5vw, 2.2rem); }
  body.sh-home .shx-form-head { flex-wrap: wrap; gap: 8px; }
  body.sh-home .shx-form-head > p { margin: 0; }
  .shx-contact-copy { padding-top: 0; }
  .shx-contact-copy h2 { font-size: 2rem; }
  .shx-contact-copy > p:not(.shx-kicker) { font-size: .92rem; }
  .shx-contact-sign > p { font-size: clamp(1rem, 4.5vw, 1.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .shx-cleaning-scene * { animation: none !important; }
  .shx-cleaning-canvas, .shx-cleaning-stages > span { transition: none; }
  .shx-cleaning-scene .shx-dirt { opacity: 0; }
  .shx-clean-sparkles { opacity: 1; }
  [data-cleaning-pause] { display: none; }
}
