/* Solutions: places and sizes its parts; the patterns are design\components.css's (plan.md, Solutions). */

/* the header: one full-bleed clip, the words straight on a white veil at the left, search-demo in glass at the right */
.sol-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(780px, calc(100svh - 76px)); display: grid; align-items: center; background: var(--c-ink); }
.sol-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.sol-hero__media video, .sol-hero__media img.kit-first { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 50% 50%; }
.sol-hero::before { content: ""; position: absolute; inset: 0 auto 0 -2px; width: 72%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--c-paper) 0%, color-mix(in srgb, var(--c-paper) 94%, transparent) 42%, color-mix(in srgb, var(--c-paper) 70%, transparent) 66%, transparent 100%); }
.sol-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(24px, 4vw, 64px); box-sizing: border-box; width: 100%; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(56px, 7vw, 104px) var(--gutter); }
.sol-hero__copy { display: grid; gap: 18px; max-width: 600px; }
.sol-hero__copy h1 { font-size: clamp(2.125rem, 1.2rem + 3.6vw, 3.5rem); text-wrap: balance; }
.sol-hero__media video { filter: saturate(0.78) brightness(1.03); } /* the street's pink chairs calmed to the site's white */
.sol-hero__grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sol-hero__line { font-size: 1.1875rem; line-height: 1.6; color: var(--c-ink-soft); max-width: 34em; }
.sol-hero__copy .cta-row { margin-top: var(--space-3); }
.scene.sol-hero__scene { justify-self: end; width: min(520px, 100%); }
.sol-hero__stop { top: 20px; right: 20px; }
.sol-hero [data-scene="search-demo"] .sd-pop { bottom: auto; top: calc(100% + 10px); } /* the new request lands under the card's corner, never on a result's words */
.scene.sol-hero__scene { padding-bottom: 100px; } /* its room inside the scene, which clips what leaves it */
.sol-automation [data-scene="callbook"] .cb-msg.ai { background: var(--grad-brand); } /* Navy on Blue-to-Teal (6:1 and more); the scene's Blue-to-dark-Blue fell to 2.8:1 */
@media (max-width: 1000px) {
  .sol-hero { min-height: 0; align-items: start; grid-template-columns: minmax(0, 1fr); background: var(--c-paper); }
  .sol-hero__media { top: auto; height: 56%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%); mask-image: linear-gradient(180deg, transparent 0%, #000 34%); } /* the phone shows the street behind the scene only, fading in under the words on white */
  .sol-hero__stop { top: auto; bottom: 20px; } /* beside the scene, in one view with it */
  .sol-hero::before { inset: 0; width: auto; background: linear-gradient(180deg, color-mix(in srgb, var(--c-paper) 96%, transparent) 0%, color-mix(in srgb, var(--c-paper) 88%, transparent) 46%, color-mix(in srgb, var(--c-paper) 18%, transparent) 100%); }
  .sol-hero__in { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 24px; }
  .scene.sol-hero__scene { justify-self: center; }
}

/* the owner's challenge, in their own words, opening each chapter's line */
.sol-ask { display: block; margin-bottom: 6px; font-weight: var(--fw-semi); color: var(--c-ink); }

/* chapters: where each scene sits over its picture, clear of the faces */
.sol-presence .chapter__media video { object-position: 18% 40%; }
.sol-presence .chapter__media::after { background: linear-gradient(270deg, rgba(11, 31, 59, 0.28) 0%, rgba(11, 31, 59, 0) 50%); }
.scene.sol-presence .chapter__scene, .sol-presence .scene.chapter__scene { right: 5%; top: 50%; width: 360px; height: 640px; transform: translateY(-50%); }
.sol-acquisition .chapter__media img { object-position: 78% 40%; }
.sol-acquisition .chapter__media::after { background: linear-gradient(90deg, rgba(11, 31, 59, 0.3) 0%, rgba(11, 31, 59, 0) 52%); }
.sol-acquisition .scene.chapter__scene { left: 4%; top: 50%; width: min(470px, 56%); height: 480px; transform: translateY(-50%); }
.sol-automation .chapter__media img { object-position: 64% 50%; }
.sol-automation .chapter__media::after { background: linear-gradient(90deg, rgba(11, 31, 59, 0.3) 0%, rgba(11, 31, 59, 0) 50%); }
.sol-automation .scene.chapter__scene { left: 3%; top: 50%; width: min(540px, 58%); height: 600px; transform: translateY(-50%); }
.sol-presence .chapter__media, .sol-acquisition .chapter__media { min-height: 700px; }
.sol-automation .chapter__media { min-height: 660px; }
@media (max-width: 1000px) {
  .sol-presence .scene.chapter__scene { right: 50%; transform: translate(50%, -50%); }
  .sol-presence .chapter__media video { object-position: 10% 30%; }
  .sol-presence .chapter__media, .sol-acquisition .chapter__media { min-height: 700px; }
  .sol-acquisition .scene.chapter__scene, .sol-automation .scene.chapter__scene { left: 50%; width: min(470px, calc(100% - 24px)); transform: translate(-50%, -50%); }
}

/* visibility: on the designed ground, the copy and its area card beside geogrid */
.sol-visibility__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.sol-visibility__copy { display: grid; gap: 18px; }
.sol-visibility__stage { position: relative; }
.scene.sol-visibility__scene { width: 100%; aspect-ratio: 760 / 540; }
.sol-visibility__stop { top: 12px; right: 12px; }
@media (max-width: 1000px) { .sol-visibility__in { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .scene.sol-visibility__scene { aspect-ratio: auto; height: 560px; } }

/* trust: a framed photo with review-ask beside it, overlapping its edge; the two services under them */
.sol-trust__frame { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto auto; align-items: center; }
.sol-trust__photo { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 5; }
.sol-trust__photo img { object-position: 58% 30%; }
.sol-trust__stage { position: relative; grid-column: 2; grid-row: 1; margin-left: -12%; }
.scene.sol-trust__scene { width: 100%; aspect-ratio: 800 / 600; }
.sol-trust__stop { top: 4px; right: 4px; }
.sol-trust__items { grid-column: 1 / -1; margin-top: var(--space-5); }
.sol-trust__items .items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 860px; margin-inline: auto; }
@media (max-width: 900px) {
  .sol-trust__frame { grid-template-columns: 1fr; }
  .sol-trust__photo { aspect-ratio: 4 / 3; }
  .sol-trust__stage { grid-column: 1; grid-row: 2; margin: -64px 0 0; }
  .sol-trust__items .items { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .scene.sol-trust__scene { aspect-ratio: auto; height: 620px; } }

/* the signature: mix-path on the designed ground, the card filling the part */
.sol-mix__stage { position: relative; max-width: 1120px; margin-inline: auto; }
.scene.sol-mix__scene { width: 100%; aspect-ratio: 1000 / 560; }
.sol-mix__stop { top: -6px; right: -6px; }
@media (max-width: 599px) { .scene.sol-mix__scene { aspect-ratio: auto; } }

/* the close */
.sol-close .close-foot__media video { object-position: 40% 35%; }
