/* Local SEO & Websites (plan.md): header B (the words and the form at the left on white, the photo panel at the right
   two-thirds), the searches nearby and the service area on the designed ground, the AI answer over its photo, the
   website rebuilding over its photo, and the close. */

/* ---------- top: header layout B ---------- */
.ph--b { padding-block: var(--space-4) var(--space-6); background: var(--c-paper); }
.ph--b .ph__in { display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr); gap: var(--space-6); align-items: center; max-width: 1440px; min-height: min(780px, calc(100svh - var(--header-h) - 24px)); }
.ph--b h1 { max-width: 15ch; }
.ph--b .ph__line { color: var(--c-ink-soft); max-width: 38ch; }
.ph--b .formbox { margin-top: var(--space-5); max-width: 460px; }
.ph--b .ph__media { align-self: stretch; min-height: 620px; border-radius: var(--radius-xl); box-shadow: var(--shadow-l); --focus: 40% 35%; }
.ph--b .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) 48%, transparent) 0%, transparent 46%), linear-gradient(270deg, color-mix(in srgb, var(--c-night-2) 34%, transparent) 0%, transparent 40%); }
.page-seo .ph__scene { right: 28px; bottom: 56px; width: 360px; }
@media (max-width: 1099px) {
  .ph--b .ph__in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: var(--space-5); }
  .ph--b .ph__media { order: -1; min-height: 0; aspect-ratio: 4 / 3.4; }
  .page-seo .ph__scene { right: 12px; bottom: 26px; width: min(330px, calc(100% - 24px)); }
}
@media (max-width: 599px) {
  .ph--b { padding-top: 0; }
  .ph--b .ph__in { padding-inline: 0; }
  .ph--b .ph__copy { padding-inline: var(--gutter); }
  .ph--b .ph__media { aspect-ratio: auto; height: 520px; border-radius: 0; box-shadow: none; --focus: 30% 30%; }
}

/* ---------- nearby: the searches flying into Summit Peak's pin, on the designed ground ---------- */
.nearby .ground__rings { left: -22%; top: 8%; }
.nearby__stage { position: relative; max-width: 1080px; margin: 0 auto; }
.nearby__scene { position: relative; width: 100%; height: clamp(520px, 44vw, 600px); }
.nearby__stage > .stop { top: 12px; right: 12px; }
@media (max-width: 599px) { .nearby__scene { height: 560px; } }

/* ---------- ai: the assistant's answer over the homeowner asking her phone ---------- */
.ai__head { padding-block: clamp(56px, 6vw, 88px) var(--space-5); }
.ai__head h2 { font-size: var(--fs-h2); max-width: 20ch; }
.ai__head .head__line { margin-top: var(--space-3); max-width: 58ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-soft); }
.ai__shot { height: clamp(560px, 44vw, 640px); --focus: 40% 30%; }
.ai__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) 62%, transparent) 0%, color-mix(in srgb, var(--c-night-2) 26%, transparent) 34%, transparent 50%); }
.ai__scene { right: max(var(--gutter), calc((100% - var(--max-w)) / 2 + var(--gutter))); top: 36px; width: 460px; height: 490px; }
@media (max-width: 899px) {
  .ai__shot { height: 860px; --focus: 38% 14%; }
  .ai__shot::after { background: linear-gradient(0deg, color-mix(in srgb, var(--c-night-2) 70%, transparent) 0%, transparent 56%); }
  .ai__scene { right: auto; left: 50%; top: auto; bottom: 14px; translate: -50% 0; width: min(360px, calc(100% - 28px)); height: 420px; }
  .ai__shot > .stop { top: auto; bottom: 448px; }
}

/* ---------- area: the service area's goal rings, on the designed ground ---------- */
.area .ground__rings { right: -24%; top: 4%; }
.area__stage { position: relative; max-width: 1100px; margin: 0 auto; }
.area__scene { position: relative; width: 100%; height: clamp(540px, 44vw, 620px); }
.area__stage > .stop { top: 14px; right: 18px; }
@media (max-width: 599px) { .area__scene { height: 600px; } }

/* ---------- website: the old site rebuilding into one that brings calls, over the laptop ---------- */
.website__in { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: var(--space-6); align-items: center; }
.website__copy h2 { font-size: var(--fs-h2); max-width: 13ch; }
.website__shot { aspect-ratio: 16 / 11; --focus: 50% 50%; }
.website__shot::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: color-mix(in srgb, var(--c-night-2) 30%, transparent); }
.website__scene { inset: 26px 26px 30px; }
@media (max-width: 999px) {
  .website__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .website__shot { aspect-ratio: auto; height: 640px; }
  .website__scene { inset: 14px; }
}

/* ---------- close ---------- */
.page-seo .close-band { --focus: 50% 45%; }
