@import url("../arsenal/marker-highlight.css");
/* Google & Facebook Ads (plan.md): header C (the words and the form at the left on night, the photo bleeding off the
   right edge and fading into the night at its left, the funnel at its upper right, clear of her face and hands), the
   Local Services clip, the statement on the designed ground, the feed ad over its photo, the budget ring on the
   designed ground, and the close. */

/* ---------- top: header layout C ---------- */
.ph--c { overflow: hidden; background: var(--c-night-2); color: var(--c-on-night); }
.ph--c .ph__media { position: absolute; top: 0; right: 0; width: auto; height: 100%; aspect-ratio: 1.28 / 1; --focus: 0% 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.ph--c .ph__media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(0deg, color-mix(in srgb, var(--c-night-2) 40%, transparent) 0%, transparent 30%); }
.ph--c .ph__in { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 520px); align-content: center; min-height: max(780px, calc(100svh - var(--header-h) - 24px)); padding-block: var(--space-6); pointer-events: none; }
.ph--c .ph__copy, .ph--c .ph__form { pointer-events: auto; }
.ph--c h1 { color: var(--c-on-night); }
.ph--c .ph__line { color: var(--c-on-night); max-width: 40ch; }
.ph--c .formbox { max-width: 470px; }
.ph--c .ph__stage { position: absolute; top: 56px; right: 24px; width: 440px; height: 450px; pointer-events: auto; }
.ph--c .ph__scene { position: absolute; inset: 0; }
.ph--c .ph__stage > .stop { top: auto; bottom: -46px; right: 4px; }
/* under 1240 px the words come first on white, then the photo with the funnel on it, then the form */
@media (max-width: 1239px) {
  .ph--c { display: grid; background: var(--c-paper); color: var(--c-ink); }
  .ph--c .ph__in { display: contents; }
  .ph--c .ph__copy { grid-row: 1; grid-column: 1; padding: var(--space-5) var(--gutter) var(--space-5); }
  .ph--c h1 { color: var(--c-ink); }
  .ph--c .ph__line { color: var(--c-ink-soft); }
  .ph--c .ph__media { position: relative; grid-row: 2; grid-column: 1; width: calc(100% + 2px); height: auto; margin-inline: -1px; aspect-ratio: 1.34 / 1; --focus: 0% 0%; -webkit-mask-image: none; mask-image: none; }
  .ph--c .ph__media::after { display: none; }
  .ph--c .ph__stage { position: relative; z-index: 4; grid-row: 2; grid-column: 1; align-self: start; justify-self: end; top: auto; right: auto; margin: 24px 24px 0 0; }
  .ph--c .ph__form { grid-row: 3; grid-column: 1; padding: var(--space-5) var(--gutter) var(--space-6); }
}
@media (max-width: 899px) {
  .ph--c .ph__media { height: 790px; aspect-ratio: auto; --focus: 34% 0%; }
  .ph--c .ph__media::after { display: block; top: auto; height: 60%; background: linear-gradient(0deg, color-mix(in srgb, var(--c-night-2) 55%, transparent) 0%, transparent 100%); }
  .ph--c .ph__stage { align-self: end; justify-self: center; width: min(440px, calc(100% - 24px)); margin: 0 0 14px; }
  .ph--c .ph__stage > .stop { top: -44px; bottom: auto; right: 0; }
}

/* ---------- lsa: the Local Services box over the tech at his pickup ---------- */
.lsa { height: clamp(780px, 58vw, 860px); --focus: 30% 40%; }
.lsa::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(270deg, color-mix(in srgb, var(--c-night-2) 84%, transparent) 0%, color-mix(in srgb, var(--c-night-2) 56%, transparent) 30%, transparent 52%); }
.lsa__in { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); height: 100%; padding-block: clamp(48px, 5vw, 64px) 40px; }
.lsa__copy, .lsa__stage { grid-column: 2; }
.lsa__copy { color: var(--c-on-night); }
.lsa__copy h2 { font-size: var(--fs-h2); color: var(--c-on-night); max-width: 15ch; }
.lsa__copy .head__line { margin-top: var(--space-3); max-width: 34ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-on-night); text-shadow: 0 1px 3px color-mix(in srgb, var(--c-night) 55%, transparent); }
.lsa__stage { position: relative; align-self: end; justify-self: end; width: 440px; height: 460px; }
.lsa__scene { position: absolute; inset: 0; }
.lsa__stage > .stop { top: auto; bottom: 4px; right: 4px; }
@media (max-width: 899px) {
  .lsa { display: grid; height: auto; background: var(--c-night-2); --focus: 24% 30%; }
  .lsa::after { top: auto; height: 60%; background: linear-gradient(0deg, color-mix(in srgb, var(--c-night-2) 72%, transparent) 0%, transparent 100%); }
  .lsa > video { position: relative; inset: auto; grid-row: 2; grid-column: 1; width: calc(100% + 2px); max-width: none; height: 861px; margin: 0 -1px -1px; object-fit: cover; }
  .lsa__in { display: contents; }
  .lsa__copy { grid-row: 1; grid-column: 1; padding: var(--section-y) var(--gutter) var(--space-5); }
  .lsa__stage { position: relative; z-index: 4; grid-row: 2; grid-column: 1; align-self: end; justify-self: center; width: min(360px, calc(100% - 28px)); height: 440px; margin-bottom: 14px; }
  .lsa__stage > .stop { top: -44px; bottom: auto; right: 0; }
}

/* ---------- break: the promise, set as the picture on the designed ground ---------- */
.brk .ground__rings { right: -20%; top: -30%; }
.brk__in { padding-block: clamp(24px, 4vw, 56px); text-align: center; }
.brk__h { max-width: 18ch; margin-inline: auto; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.04; color: var(--c-on-night); }
.brk__line { margin-top: var(--space-4); font-size: var(--fs-lead); color: var(--c-on-night-soft); }

/* ---------- social: the job photo that becomes a feed ad, over the homeowner on her porch swing ---------- */
.social__head { padding-block: clamp(56px, 6vw, 88px) var(--space-5); }
.social__head h2 { font-size: var(--fs-h2); max-width: 20ch; }
.social__head .head__line { margin-top: var(--space-3); max-width: 56ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-soft); }
.social__shot { height: clamp(600px, 46vw, 660px); --focus: 40% 40%; }
.social__shot::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(270deg, color-mix(in srgb, var(--c-night-2) 56%, transparent) 0%, color-mix(in srgb, var(--c-night-2) 22%, transparent) 30%, transparent 46%); }
.social__scene { right: max(var(--gutter), calc((100% - var(--max-w)) / 2 + var(--gutter))); top: 40px; width: 420px; height: 560px; }
.social__shot > .stop { top: 40px; right: calc(max(var(--gutter), calc((100% - var(--max-w)) / 2 + var(--gutter))) + 432px); }
@media (max-width: 899px) {
  .social__shot { height: 900px; --focus: 36% 20%; }
  .social__shot::after { background: linear-gradient(0deg, color-mix(in srgb, var(--c-night-2) 70%, transparent) 0%, transparent 56%); }
  .social__scene { right: auto; left: 50%; top: auto; bottom: 14px; translate: -50% 0; width: min(360px, calc(100% - 28px)); height: 500px; }
  .social__shot > .stop { top: auto; bottom: 528px; right: 12px; }
}

/* ---------- budget: the goal ring as the budget, on the designed ground ---------- */
.budget .ground__rings { left: -24%; top: 6%; }
.budget__stage { position: relative; max-width: 980px; margin: 0 auto; }
.budget__scene { position: relative; width: 100%; height: 520px; }
.budget__stage > .stop { top: -46px; right: 0; }
@media (max-width: 819px) { .budget__scene { height: 720px; } }

/* ---------- close ---------- */
.page-ads .close-band { --focus: 50% 22%; }
