/* services/lead-to-sale/: the header's web form on paper and the text that answered it, the sees frame for
   town-hours (no photo: the town fills it), and nothing else of its own. */

/* ---------- hero artifact: the form and its reply ---------- */
.lf { position: absolute; inset: 0; container-type: size; font-family: var(--font-ui); color: var(--c-ink); }
.lf__form { position: absolute; left: 10%; top: 6%; width: 54%; display: grid; gap: 2cqh; padding: 4cqh 3.6cqw; border-radius: 2.2cqh; background: var(--c-paper); box-shadow: var(--shadow-m); rotate: -2deg; }
.lf__form > b { font-family: var(--font-display); font-size: max(17px, 4cqw); font-weight: 700; letter-spacing: -.015em; }
.lf__f { display: grid; gap: .3em; padding: 1.2cqh 1.6cqw; border-radius: 1.2cqh; box-shadow: inset 0 0 0 1.5px var(--c-line); font-size: max(13px, 2.4cqw); font-weight: 600; }
.lf__f small { font-size: max(13px, 1.9cqw); font-weight: 600; color: var(--c-ink-soft); }
.lf__f--msg { min-height: 13cqh; }
.lf__sent { position: absolute; right: -3cqw; top: 3cqh; padding: .35em .9em; border: 2.5px solid var(--c-brand); border-radius: 99px; background: var(--c-paper); color: var(--c-brand-text); font-size: max(13px, 2.2cqw); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; rotate: 8deg; }
.lf__reply { position: absolute; right: 6%; top: 34%; width: 42%; display: grid; gap: 1.2cqh; justify-items: end; }
.lf__when { padding: .3em .9em; border-radius: 99px; background: var(--c-ink); color: var(--c-paper); font-size: max(13px, 2.2cqw); font-weight: 700; }
.lf__bubble { padding: 2cqh 2.4cqw; border-radius: 2.4cqh 2.4cqh .6cqh 2.4cqh; background: var(--c-brand); color: var(--c-on-brand); font-size: max(13px, 2.8cqw); font-weight: 600; line-height: 1.35; box-shadow: var(--shadow-l); }
/* the phone: the cards take the lower two thirds, so the reply alone stands in the top third, clear of the stop */
@container (width < 520px) {
  .lf__form { display: none; }
  .lf__reply { left: 5%; right: 17%; top: 4%; width: auto; justify-items: start; gap: 8px; }
  .lf__bubble { padding: 10px 14px; }
}

/* ---------- sees: town-hours fills its frame (block: from 600 x 400; under 600 wide, 320 x 480 or more) ---------- */
@media (min-width: 960px) {
  .page-service--lead-to-sale .sees { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
.sees__pic--lead-to-sale { aspect-ratio: auto; height: 500px; background: var(--c-paper-alt); }
.sees__pic--lead-to-sale .sees__scene { inset: 0; }

@media (max-width: 759px) {
  .sees__pic--lead-to-sale { height: 640px; }
}

/* the thesis (flat paper, no glow, no gradient): the copied scene's skies, lamp pools and day/night track made flat,
   like cut paper: one color per sky, flat pools of light, the track's two halves cut clean */
html [data-scene="town-hours"] .th-sky-day { background: color-mix(in srgb, var(--th-sky0) 50%, var(--th-sky1)); }
html [data-scene="town-hours"] .th-sky-warm { background: color-mix(in srgb, var(--c-accent) 34%, var(--c-paper)); }
html [data-scene="town-hours"] .th-sky-night { background: color-mix(in srgb, var(--c-brand) 22%, var(--c-ink)); }
html [data-scene="town-hours"] .th-pool, html [data-scene="town-hours"] .th-halo { fill: color-mix(in srgb, var(--th-lit) 30%, transparent); }
html [data-scene="town-hours"] .th-track { background: var(--th-dayc); }
html [data-scene="town-hours"] .th-track::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 50%; border-radius: inherit; background: var(--th-nitec); }
