/* services.css: the Services page's parts, with the tokens of system.css. */
@import url("../arsenal/artifact-hero.css");
.orbit { display: block; pointer-events: none; }

/* ---------- #hero: the arsenal's artifact-hero ("search", as it stands), on the navy of the chapter under it ---------- */
.shero.ah { --ah-bg: var(--c-navy-deep); }
.shero .ah__title { font: 650 var(--fs-h1)/1.04 var(--font-display); letter-spacing: -.015em; }
.shero .ah__title em { font-style: italic; color: var(--c-accent-on-ink); }
.shero .ah__go { margin-top: 32px; }
.shero .cta-note { color: color-mix(in srgb, var(--c-on-ink) 88%, transparent); }
.shero .cta-note svg { color: var(--c-accent-on-ink); }

/* the services of a group, each with what it gives the owner */
.svc-list { display: grid; gap: .9rem; margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.svc-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.svc-list__ico { display: grid; place-items: center; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%; background: color-mix(in srgb, var(--c-accent) 18%, transparent); color: var(--c-accent-text); }
.svc-list__ico svg { width: 16px; height: 16px; }
.svc-list b { display: block; font: 700 1.05rem/1.3 var(--font-ui); color: var(--c-ink); }
.svc-list small { display: block; margin-top: 2px; font: 500 .975rem/1.45 var(--font-ui); color: var(--c-ink-soft); }
.chap .svc-list__ico { background: color-mix(in srgb, var(--c-accent) 30%, transparent); color: var(--c-accent-on-ink); }
.chap .svc-list b { color: var(--c-on-ink); }
.chap .svc-list small { color: color-mix(in srgb, var(--c-on-ink) 84%, transparent); }
.svc-list--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 2vw, 2.25rem); margin-top: clamp(2rem, 1.2rem + 2vw, 3rem); }
@media (max-width: 899px) { .svc-list--row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- a chapter on footage or a photo (#found, #ads) ---------- */
.chap { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); background: var(--c-navy-deep); color: var(--c-on-ink); }
.chap__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.chap__media > video, .chap__media > img, .chap__media > picture > img, .chap__media .chap__img, .chap__media .chap__video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.chap__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.chap__words .lede { max-width: 48ch; }
.chap__stage { position: relative; }
.scene.chap__scene { width: 100%; height: 100%; }
.chap > .stop { top: 20px; right: var(--gutter); bottom: auto; }

/* #found: the homeowner on the right half, the words and the searches on the left, over the photo's calm edge */
.chap--found .chap__media { left: 42%; }
.chap--found .chap__media video { object-position: 33% 40%; }
.chap--found .chap__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-navy-deep) 0%, color-mix(in srgb, var(--c-navy-deep) 55%, transparent) 22%, transparent 48%); }
.chap--found .chap__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "words ." "stage ."; align-items: start; row-gap: var(--space-5); }
.chap--found .chap__words { grid-area: words; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(1.5rem, 1rem + 2vw, 3rem); }
.chap--found .chap__words .h2, .chap--found .chap__words .lede { grid-column: 1 / -1; }
.chap--found .chap__words .svc-list { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.chap__stage--pings { grid-area: stage; height: clamp(440px, 36vw, 500px); }

/* #ads: the crew's lawn from above, the ad live on the left, the words on the right */
.chap--ads .chap__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, var(--c-shade) 0%, color-mix(in srgb, var(--c-navy-deep) 55%, transparent) 40%, color-mix(in srgb, var(--c-navy-deep) 25%, transparent) 100%); }
.chap--ads .chap__in { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.chap__stage--funnel { height: 480px; }

@media (max-width: 899px) {
  .chap__in, .chap--found .chap__in, .chap--ads .chap__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
  .chap--found .chap__media { left: 0; bottom: auto; height: 340px; }
  .chap--found .chap__media video { object-position: 30% 30%; }
  .chap--found .chap__media::after { background: linear-gradient(180deg, transparent 40%, var(--c-navy-deep) 100%); }
  .chap--found { padding-top: 300px; }
  .chap--found .chap__words, .chap__stage--pings { grid-area: auto; }
  .chap--found .chap__words { grid-template-columns: minmax(0, 1fr); }
  .chap--found .chap__words .svc-list { grid-template-columns: minmax(0, 1fr); }
  .chap__stage--pings { height: 560px; }
  .chap--ads .chap__words { order: -1; }
  .chap--ads .chap__media::after { background: linear-gradient(180deg, var(--c-shade) 0%, color-mix(in srgb, var(--c-navy-deep) 55%, transparent) 60%, color-mix(in srgb, var(--c-navy-deep) 35%, transparent) 100%); }
}

/* ---------- #break: the promise, word by word, on the navy ---------- */
.sbreak { display: grid; place-items: center; min-height: clamp(380px, 56vh, 560px); padding: var(--section-y) var(--gutter); text-align: center; }
.sbreak__line { display: flex; flex-wrap: wrap; justify-content: center; gap: .1em .32em; max-width: 1100px; font: 650 var(--fs-display)/1.05 var(--font-display); letter-spacing: -.015em; color: var(--c-on-ink); }
.sbreak__line > span { display: inline-block; opacity: calc(.18 + .82 * var(--p, 1)); transform: translateY(calc((1 - var(--p, 1)) * .35em)); }
.sbreak__last { position: relative; font-style: italic; color: var(--c-accent-on-ink); }
.sbreak__orbit { position: absolute; left: -10%; right: -10%; bottom: -.32em; width: 120%; height: .55em; clip-path: inset(0 calc((1 - var(--o, 1)) * 100%) 0 0); }

/* ---------- #picked: the review that makes them the easy choice ---------- */
/* the clip and the services on the left; review-ask at 710 px wide or more on a computer (its words 13 px and up) */
.spick__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.25rem, .5rem + 2vw, 2.5rem); align-items: center; }
.spick__frame { aspect-ratio: 4 / 3; margin: 0; }
.spick__frame .spick__video { object-position: 48% 50%; }
.spick__side .svc-list { margin-top: var(--space-5); }
.spick__stage { position: relative; height: clamp(620px, 46vw, 660px); }
.scene.spick__scene { width: 100%; height: 100%; }
.spick__frame .stop { top: 14px; right: 14px; bottom: auto; }
@media (max-width: 899px) { .spick__grid { grid-template-columns: minmax(0, 1fr); } .spick__stage { height: 660px; margin-inline: calc(-1 * var(--gutter)); } }

/* ---------- #never-miss: the call that books itself while the owner works ---------- */
.snever__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.snever__frame { height: clamp(560px, 46vw, 620px); }
.snever__img { object-position: 30% 50%; }
.snever__frame::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(270deg, color-mix(in srgb, var(--c-navy-deep) 45%, transparent), transparent 55%); }
.scene.snever__scene { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
@media (max-width: 899px) { .snever__grid { grid-template-columns: minmax(0, 1fr); } .snever__frame { height: 620px; } .snever__img { object-position: 22% 50%; } }

/* ---------- #mix: the signature, on the ivory with the orbit ---------- */
.smix__panel { position: relative; overflow: hidden; height: clamp(540px, 44vw, 580px); border-radius: var(--radius-l); background: radial-gradient(60% 70% at 64% 50%, color-mix(in srgb, var(--c-accent) 12%, transparent), transparent 70%), var(--c-paper); box-shadow: var(--shadow-l), inset 0 0 0 1px var(--c-line); }
.scene.smix__scene { position: absolute; inset: clamp(18px, 2.5vw, 34px); width: auto; height: auto; }
@media (max-width: 759px) { .smix__panel { height: 660px; } }

/* ---------- #faq ---------- */
.sfaq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.sfaq__intro { display: grid; gap: var(--space-3); }
.sfaq__list .faq__item:first-child { border-top: 1px solid var(--c-line); }
@media (max-width: 899px) { .sfaq__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- #close: the couple in her finished bathroom on the left, the words and the picker over the calm wall on the right ---------- */
.sclose__video { object-position: 30% 40%; }
.sclose .band__media::after { background: linear-gradient(270deg, color-mix(in srgb, var(--c-navy-deep) 90%, transparent) 0%, color-mix(in srgb, var(--c-navy-deep) 70%, transparent) 42%, color-mix(in srgb, var(--c-navy-deep) 10%, transparent) 62%, transparent 75%); }
.sclose .pclose__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); row-gap: var(--space-5); }
.sclose .pclose__in > * { grid-column: 2; }
.sclose .picker { justify-self: start; }
@media (max-width: 899px) {
  /* the phone: the couple above the words, the clip fading into the navy under them */
  .sclose { padding-top: 0; }
  .sclose .band__media { bottom: auto; height: clamp(300px, 80vw, 440px); }
  .sclose .band__media::after { background: linear-gradient(180deg, transparent 35%, var(--c-navy-deep) 100%); }
  .sclose__video { object-position: 18% 35%; }
  .sclose .pclose__in { grid-template-columns: minmax(0, 1fr); padding-top: calc(clamp(300px, 80vw, 440px) - 72px); }
  .sclose .pclose__in > * { grid-column: 1; }
  .sclose .picker { justify-self: stretch; }
  .sclose .stop--band { top: 16px; bottom: auto; }
}
