/* ------------------------------------------------------------------
   Pest Control KC — the home page's own hand. The opening shelf, the
   pinned call-prep, the two jobs a customer described, the three
   questions, the address strip, the closing ring. Built on design/houfd6.css.
   ------------------------------------------------------------------ */

:root{
  --measure-shelf:clamp(8.5rem,41svh,21rem);
  --measure-hold:118svh;
  --measure-tilt:-1.8deg;
}

/* ---- opening · lavender band, nearly a window tall, trade flush left ---- */
.Awning{ display:grid; align-content:space-between; row-gap:clamp(.8rem,2.4vh,1.6rem);
  min-height:calc(100svh - 5.2rem); padding-block:clamp(.7rem,2.2vh,1.3rem) 0; }
.Awning-field{ display:grid; grid-template-columns:repeat(7,minmax(0,1fr));
  column-gap:var(--measure-seam); row-gap:clamp(.55rem,1.8vh,1.1rem);
  padding-inline:var(--measure-edge); align-items:end; }
.Awning-title{ grid-column:1/-1; margin:0; font-size:clamp(3.4rem,9.4vw,9rem);
  line-height:.98; letter-spacing:-.028em; }
.Awning-place, .Awning-trade{ display:block; }
.Awning-slogan{ grid-column:1/span 3; margin:0; font-size:var(--step-1); line-height:1.3; }
.Awning-dial{ grid-column:4/span 2; justify-self:start; }
.Awning-ask{ grid-column:6/span 2; justify-self:end; margin:0;
  padding:1.05rem 1.4rem 1.05rem 1.1rem; background:var(--tone-third); color:var(--tone-ink);
  font-size:var(--step--1); line-height:1.45; text-decoration-thickness:.06em;
  text-underline-offset:.22em; border-radius:1.1rem 1.9rem 1rem 1.6rem;
  transform:rotate(var(--measure-tilt)); }

/* ---- opening · the lower shelf: one wide painting, three live captions ---- */
.Awning-shelf{ display:grid; grid-template-columns:repeat(7,minmax(0,1fr));
  column-gap:var(--measure-seam); row-gap:clamp(.65rem,1.7vh,.95rem);
  padding-inline:var(--measure-edge); }
.Awning-picture{ grid-column:1/-1; width:100%; height:var(--measure-shelf);
  object-fit:cover; object-position:center 56%; border-radius:2.2rem 2.6rem 1.4rem 2.2rem; }
.Awning-caption{ margin:0; display:flex; align-items:center; gap:.6rem;
  font-size:var(--step--1); line-height:1.35; color:var(--tone-ink-soft); }
.Awning-caption--where{ grid-column:1/span 2; }
.Awning-caption--what{ grid-column:4/span 2; }
.Awning-caption--when{ grid-column:6/span 2; }
.Awning-dab{ flex:none; width:1.9rem; height:1.05rem; background:var(--tone-second);
  border-radius:58% 42% 46% 54% / 52% 50% 50% 48%; }
.Awning-caption--what .Awning-dab{ background:var(--tone-third); }
.Awning-caption--when .Awning-dab{ background:var(--tone-fourth); }

/* the narrow window's copy of the shelf: three drawings, full width, one under
   the next, each caption whole against its own picture. This is the resting
   state of the strip layout at every width; the wide window hides it below. */
.Awning-strips{ display:grid; grid-template-columns:minmax(0,1fr); grid-auto-flow:row;
  gap:clamp(.9rem,2.8vh,1.4rem); grid-column:1/-1; min-width:0; }
.Awning-strip{ display:grid; grid-column:1/-1; grid-template-columns:minmax(0,1fr);
  width:100%; min-width:0; margin:0; }
.Awning-strip-picture{ width:100%; height:clamp(8.5rem,30svh,13rem); object-fit:cover;
  border-radius:1.7rem 2.1rem 1.3rem 1.9rem; }
.Awning-strip .Drawn-caption{ display:flex; align-items:center; gap:.6rem;
  max-width:none; min-width:0; white-space:normal; overflow-wrap:break-word; }
.Awning-strip:nth-child(2) .Awning-dab{ background:var(--tone-third); }
.Awning-strip:nth-child(3) .Awning-dab{ background:var(--tone-fourth); }

@media (min-width:48.01rem){
  .Awning-strips{ display:none; }
}

/* ---- call-prep · powder pink, the three lines settle in turn while pinned ---- */
.Prep-picture{ grid-column:1/span 3; }
.Prep-say{ grid-column:4/span 4; display:grid; gap:clamp(.8rem,2.2vh,1.4rem); align-content:start; }
.Prep-title{ margin:0; font-size:var(--step-4); max-width:22ch; }
.Prep-lines{ list-style:none; margin:0; padding:0; max-width:none;
  display:grid; gap:clamp(.75rem,2.2vh,1.25rem); }
.Prep-line{ font-size:var(--step-1); line-height:1.35; max-width:36ch; }
.Prep-word{ margin:0; font-size:var(--step-1); line-height:1.45; max-width:42ch; }

@media (min-width:48.01rem) and (prefers-reduced-motion:no-preference){
  .js .Prep{ padding-block:0; }
  .js .Prep-run{ min-height:var(--measure-hold); }
  .js .Prep-field{ position:sticky; top:0; min-height:100svh; align-items:center;
    align-content:center; padding-block:var(--measure-band); background:var(--tone-second); }
  .js .Prep-line{ opacity:.18; transition:opacity .5s var(--measure-ease); }
  .js .Prep-line.settled{ opacity:1; }
}

/* ---- described · butter ground, two jobs a customer wrote in about ---- */
.Described-title{ grid-column:1/span 3; margin:0; font-size:var(--step-4); max-width:15ch; }
.Described-word{ grid-column:4/span 4; margin:0; max-width:48ch; }
.Described-job{ grid-column:1/span 3; margin-block-start:clamp(1.2rem,3.5vh,2.6rem);
  align-content:start; }
.Described-job + .Described-job{ grid-column:4/span 4;
  margin-block-start:clamp(1.2rem,3.5vh,2.6rem); }
.Described-frame{ display:block; }
.Described-job .Drawn-picture{ width:100%; height:clamp(9rem,17vw,14rem); object-fit:cover;
  border-radius:2rem 2.6rem 1.6rem 2.2rem; }

/* ---- asking · lavender with a powder-pink pool behind the chair ---- */
.Asking-say{ grid-column:1/span 4; display:grid; gap:clamp(.8rem,2.2vh,1.4rem); }
.Asking-title{ margin:0; font-size:var(--step-4); max-width:18ch; }
.Asking-say p{ margin:0; max-width:44ch; }
.Asking-list{ list-style:none; margin:0; padding:0; max-width:none; display:grid; gap:0; }
.Asking-list li{ display:grid; gap:.35rem; font-size:var(--step-0); line-height:1.5;
  max-width:44ch; margin:0; padding-block:clamp(.85rem,2.2vh,1.15rem);
  border-block-start:.09rem solid color-mix(in srgb, var(--tone-ink) 24%, transparent); }
.Asking-list li:first-child{ border-block-start:0; padding-block-start:0; }
.Asking-list li:last-child{ padding-block-end:0; }
.Asking-list li strong{ display:block; font-family:var(--face-display);
  font-size:var(--step-1); line-height:1.2; color:var(--tone-ink); }
.Asking-stage{ grid-column:5/span 3; position:relative; }
.Asking-stage::before{ content:""; position:absolute; inset:9% -9% -4% -7%;
  background:var(--tone-second); border-radius:58% 42% 46% 54% / 52% 50% 50% 48%; }
.Asking-stage > *{ position:relative; }
.Asking-picture .Drawn-caption{ padding-block-start:.2rem; }

/* ---- where · shallow periwinkle strip, steps beside the address ---- */
.Where{ padding-block:clamp(2.5rem,6vh,4rem); }
.Where-picture{ grid-column:1/span 3; }
.Where-say{ grid-column:4/span 4; display:grid; gap:.6rem; align-content:center; }
.Where-title{ margin:0; font-size:var(--step-4); max-width:16ch; }
.Where-say p{ margin:0; max-width:44ch; }
.Where-picture .Drawn-picture{ height:clamp(8rem,22svh,13rem); object-fit:cover;
  border-radius:1.8rem 2.4rem 1.4rem 2rem; }
.Where-picture .Drawn-caption{ font-size:var(--step--1); }

/* ---- ring · the closing hand-off, keys on a butter pool ---- */
.Ring-say{ grid-column:1/span 4; display:grid; gap:clamp(.7rem,2vh,1.2rem); align-content:start; }
.Ring-title{ margin:0; font-size:var(--step-4); max-width:18ch; }
.Ring-say p{ margin:0; max-width:46ch; }
.Ring-dial{ font-size:clamp(1.55rem,4.2vw,2.9rem); line-height:1.2; justify-self:start; }
.Ring-points{ font-size:var(--step--1); line-height:1.6; }
.Ring-picture{ grid-column:5/span 3; margin:0; padding:clamp(1rem,2.6vw,1.8rem);
  background:var(--tone-third); border-radius:58% 42% 46% 54% / 52% 50% 50% 48%; }
.Ring-picture .Drawn-picture{ border-radius:2rem 2.6rem 1.8rem 2.2rem; }

/* ---- phones · the same bands, stacked in reading order ---- */
@media (max-width:48rem){
  .Awning{ min-height:calc(100svh - 4.7rem); }
  .Awning-title{ font-size:clamp(3.4rem,14vw,4.2rem); }
  .Awning-slogan, .Awning-dial{ grid-column:1/-1; justify-self:start; }
  .Awning-ask{ grid-column:1/-1; justify-self:start; width:min(20rem,100%);
    transform:rotate(-1.2deg); }
  .Awning-picture, .Awning-caption{ display:none; }
  .Awning-strips{ grid-template-columns:minmax(0,1fr); grid-auto-flow:row; grid-column:1/-1; }
  .Awning-strip{ grid-column:1/-1; }
  .Awning-strip-picture{ height:clamp(8.5rem,30svh,13rem); object-position:50% 56%; }
  .Awning-strip:nth-child(1) .Awning-strip-picture{ object-position:1% 62%; }
  .Awning-strip:nth-child(2) .Awning-strip-picture{ object-position:50% 62%; }
  .Awning-strip:nth-child(3) .Awning-strip-picture{ object-position:99% 46%; }
  .Prep-picture, .Prep-say, .Described-title, .Described-word, .Described-job,
  .Described-job + .Described-job, .Asking-say, .Asking-stage, .Where-picture,
  .Where-say, .Ring-say, .Ring-picture{ grid-column:1/-1; }
  .Asking-stage::before{ inset:6% -4% -3% -4%; }
  .Ring-picture{ justify-self:start; width:min(22rem,100%); }
  .Described-job + .Described-job{ margin-block-start:clamp(1.2rem,4vh,2rem); }
}
