/*
  The Bakersfield family's first pictures (docs/pages/service_pages/pictures/bakersfield_a.py): the Bakersfield hub, Bakersfield web
  design and Bakersfield SEO. Screens for a made-up pest control company, Sunline Pest Control (an orange band on a white van, navy
  crew shirts, a half sun mark), on the .ui system in service-page.css: every size in em, the font size from the box's width (100cqw
  divided by --w, set here and never inline), so each scales whole from 2560 px down to 320, and a box under 480 px draws the wide
  ones 22 em wide with their parts stacked. They reuse its parts (.ui, .ui-box, .ui-label, .ui-tick, .ui-skel) and add their own.
  Flat fills only, no ruled lines behind anything (Rahul found street-map and grid lines busy). No motion.
*/
.ui { --sun: #f97316; --sun-deep: #c2410c; --sun-tint: #fff1e3; --sun-line: #fed7aa; --navy: #1f3552; --ok: #15803d; --ok-tint: #dcfce7; }
.ui :is(ul, ol) { list-style: none; padding: 0; }

/* Each picture's width in em */
.ui-email { --w: 32; }
.ui-strip { --w: 24; }
.ui-ba, .ui-mbars { --w: 30; }
.ui-cal { --w: 34; }
.ui-rod { --w: 13; }
.ui-notes, .ui-yard, .ui-prev { --w: 24; }
.ui-work, .ui-van, .ui-screens { --w: 34; }
.ui-prices { --w: 30; }
.ui-book { --w: 32; }
.ui-serp, .ui-qs, .ui-rep { --w: 32; }
.ui-loc, .ui-held, .ui-first { --w: 24; }
.ui-name { --w: 30; }
.ui-towns { --w: 28; }

/* ── Shared parts ── */
/* The top row: the screen's title and a quieter line beside it */
.ui-top { display: flex; align-items: flex-start; gap: 0.6em; margin-bottom: 0.85em; }
.ui p.ui-top__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1em 0.55em; min-width: 0; }
.ui-top__title b { font-size: 1.05em; font-weight: 650; letter-spacing: -0.015em; }
.ui-top__title span { color: var(--slate); font-size: max(0.76em, min(11px, 0.95em)); font-weight: 500; white-space: nowrap; }
/* The Example tag, on every picture of these pages (the ruling of 2026-11-06): Sunline Pest Control is a made up Bakersfield
   business, so a local reader must never take a screen for a real client's. It sits in the top right of the card's padding, above
   whatever the picture draws first. The rodent control phone, whose card is the phone, carries it on its photo instead */
.ui { position: relative; }
.ui::after {
  content: "Example"; position: absolute; top: 0.2em; right: 1.5em; padding: 0.25em 0.65em; border: 0.0625em solid var(--ui-line); border-radius: 9999px;
  background-color: var(--ui-fill); color: var(--slate); font-size: max(0.64em, min(11px, 0.8em)); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; pointer-events: none;
}
/* The line under each page's header picture, on the glass: the picture is of a made up business */
.ui-made { max-width: 30em; margin: calc(var(--rim) + 0.7rem) auto 0; color: rgb(255 255 255 / 0.74); font-size: 0.8125rem; line-height: 1.45; text-align: center; text-wrap: balance; }
/* Sunline's mark and name */
.ui-sun { flex: none; width: 1.5em; height: 1.5em; }
.ui-brand { display: inline-flex; align-items: center; gap: 0.25em; color: var(--sun-deep); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
/* A phone: a dark bezel round a white screen, the site at phone width */
.ui-ph { flex: none; width: 12.5em; padding: 0.4em; border-radius: 1.6em; background-color: #0c0e12; box-shadow: 0 0.5em 1.2em rgb(12 14 18 / 0.22); }
.ui-ph__screen { display: flex; flex-direction: column; gap: 0.5em; height: 17em; padding: 0.9em 0.8em; overflow: hidden; border-radius: 1.25em; background-color: #fff; }

/* ── The hub's header: the email that goes out with the monthly reports ── */
.ui-email__from { display: flex; align-items: center; gap: 0.7em; padding-bottom: 0.8em; border-bottom: 0.0625em solid var(--ui-line); }
.ui-email__mark { flex: none; width: 2.4em; height: 2.4em; }
.ui p.ui-email__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ui-email__who b { font-size: 0.95em; font-weight: 650; }
.ui-email__who span { color: var(--slate); font-size: max(0.74em, min(11px, 0.925em)); }
.ui-email__date { margin-left: auto; color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); white-space: nowrap; }
.ui p.ui-email__subject { margin-top: 0.9em; font-size: 1.08em; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.ui p.ui-email__hi { margin-top: 0.55em; color: var(--slate); font-size: 0.8em; }
.ui ul.ui-email__list { display: grid; gap: 0.55em; margin-top: 0.75em; }
.ui-email__list li { display: flex; align-items: flex-start; gap: 0.6em; font-size: 0.82em; font-weight: 550; line-height: 1.35; }
.ui-email__icon { display: grid; place-items: center; flex: none; width: 2em; height: 2em; border-radius: 0.5em; background-color: var(--sun-tint); color: var(--sun-deep); }
.ui-email__icon svg { width: 1.15em; height: 1.15em; }
.ui p.ui-email__next { margin-top: 0.95em; padding-top: 0.8em; border-top: 0.0625em solid var(--ui-line); color: var(--slate); font-size: max(0.78em, min(11px, 0.975em)); }
.ui-email__next b { color: var(--night); font-weight: 650; }
.ui ul.ui-email__files { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: 0.8em; }
.ui-email__files li { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.45em 0.75em; border: 0.0625em solid var(--ui-line); border-radius: 0.55em; background-color: var(--ui-fill); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; }
.ui-email__files svg { flex: none; width: 1.25em; height: 1.25em; color: var(--sun-deep); }

/* ── The three steps: strips cut by the card's bottom edge. They are slim, so the box follows the picture (the three share one
   height, so their tops line up across the row of cards) and the card's bottom edge cuts only the white under the last row ── */
.svc-shot--step:has(> .ui-strip) { height: auto; }
.svc-shot--step > .ui-strip { min-height: 11.4em; margin-bottom: -1em; }
.ui ol.ui-track { display: flex; margin-top: 1em; }
.ui-track li { position: relative; display: flex; flex: 1 1 0; flex-direction: column; align-items: center; gap: 0.55em; min-width: 0; padding-inline: 0.15em; text-align: center; }
.ui-track li::before, .ui-track li::after { content: ""; position: absolute; top: 0.48em; width: 50%; height: 0.14em; background-color: var(--sun-line); }
.ui-track li::before { right: 50%; }
.ui-track li::after { left: 50%; }
.ui-track li:first-child::before, .ui-track li:last-child::after { display: none; }
.ui-track i, .ui-lane__stop i, .ui-months__live i { position: relative; z-index: 1; flex: none; width: 1.1em; height: 1.1em; border-radius: 50%; background-color: var(--sun); box-shadow: 0 0 0 0.2em #fff; }
.ui-track span { font-size: max(0.7em, min(11px, 0.875em)); font-weight: 600; line-height: 1.25; }
.ui-track .is-live i, .ui-lane.is-site .ui-lane__stop i, .ui-months__live i { background-color: #16a34a; }
.ui-track .is-live span { color: var(--ok); }
/* Step 2: the profile's lane runs on past the card's edge; the website's ends at launch day */
.ui-strip--lanes { overflow: hidden; }
.ui-lane { position: relative; height: 3.6em; margin-top: 0.7em; }
.ui-lane.is-site { margin-top: 1.9em; }
.ui-lane__line { position: absolute; top: 0.48em; right: -1.25em; left: 0; height: 0.14em; background-color: var(--sun-line); }
.ui-lane.is-site .ui-lane__line { right: auto; width: 64%; background-color: #c9ced8; }
.ui-lane__stop { position: absolute; top: 0; left: var(--x); display: flex; flex-direction: column; align-items: flex-start; gap: 0.55em; }
.ui-lane__stop b { max-width: 6.4em; font-size: max(0.7em, min(11px, 0.875em)); font-weight: 600; line-height: 1.25; }
.ui-lane__stop.is-live b { color: var(--ok); }
.ui p.ui-lane__name { position: absolute; top: -1.35em; left: 0; color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; }
/* Step 3: the website's live day, then a block for each month of search work */
.ui-months { display: grid; grid-template-columns: 0.95fr repeat(3, 1.15fr); gap: 0.45em; align-items: start; margin-top: 0.9em; }
.ui-months ul { display: contents; }
.ui-months__live { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55em; min-width: 0; }
.ui-months__live span { color: var(--ok); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 600; line-height: 1.25; }
.ui-months__m { display: flex; flex-direction: column; gap: 0.2em; min-width: 0; padding: 0.55em 0.6em; border-radius: 0.6em; background-color: var(--sun-tint); }
.ui-months__m b { color: var(--sun-deep); font-size: 0.84em; font-weight: 700; }
.ui-months__m span { font-size: max(0.68em, min(11px, 0.85em)); font-weight: 550; line-height: 1.3; }
.ui-months__m.is-plan { background-color: #fff; box-shadow: inset 0 0 0 0.0625em var(--sun-line); }

/* ── Row 1: the home page on a phone, before and after the rebuild ── */
.ui-ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1em; }
.ui-ba__side { display: flex; flex-direction: column; align-items: center; gap: 0.7em; }
.ui p.ui-ba__label { padding: 0.25em 0.85em; border-radius: 9999px; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 650; }
.ui p.ui-ba__label.is-after { background-color: var(--sun-tint); color: var(--sun-deep); }
.ui-ph.is-old .ui-ph__screen { align-items: center; gap: 0.75em; padding-top: 1.2em; background-color: #e9ecf0; font-family: Georgia, "Times New Roman", serif; text-align: center; }
.ui p.ui-old__h { color: #374151; font-size: 1.05em; line-height: 1.2; }
.ui-old__photo { display: block; align-self: stretch; height: 5.6em; border-radius: 0.15em; background-color: #cdd2da; }
.ui p.ui-old__line { color: #4b5563; font-size: max(0.68em, min(11px, 0.85em)); }
.ui p.ui-old__link { color: #1d4ed8; font-size: max(0.68em, min(11px, 0.85em)); text-decoration: underline; }
.ui p.ui-ph__brand { font-size: 0.86em; }
.ui p.ui-ph__h { font-family: var(--font-display); font-size: 1.02em; font-weight: 700; line-height: 1.14; letter-spacing: -0.02em; }
.ui p.ui-ph__line { color: var(--slate); font-size: max(0.68em, min(11px, 0.85em)); line-height: 1.45; }
.ui p.ui-ph__btns { display: flex; gap: 0.4em; }
.ui-ph__btns span { padding: 0.55em 0.8em; border-radius: 9999px; box-shadow: inset 0 0 0 0.0625em var(--ui-line); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; white-space: nowrap; }
.ui-ph__btns .is-solid { background-color: var(--sun-deep); color: #fff; box-shadow: none; }
.ui ul.ui-ph__chips { display: flex; flex-wrap: wrap; gap: 0.3em; }
.ui-ph__chips li { padding: 0.3em 0.7em; border-radius: 9999px; background-color: var(--sun-tint); color: var(--sun-deep); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; }

/* ── Row 2: clicks from searches without the name, drawn to scale; the bracket is the average month before the work ── */
.ui-mbars__cols { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0.6em; height: 9.4em; margin-top: 2.1em; }
.ui-mbars__cols > li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.45em; height: 100%; }
.ui-mbars__cols i { display: block; width: 100%; height: calc(var(--n) / 12 * 8em); border-radius: 0.35em 0.35em 0 0; background-color: var(--sun-line); }
.ui-mbars__cols .is-last i { background-color: var(--sun); }
.ui-mbars__cols b { color: var(--slate); font-size: max(0.64em, min(11px, 0.8em)); font-weight: 600; }
.ui-mbars__flag { position: absolute; right: 0; bottom: 100%; padding-bottom: 0.3em; color: var(--sun-deep); font-size: max(0.78em, min(11px, 0.975em)); font-weight: 700; white-space: nowrap; }
.ui-mbars__cols > li.ui-mbars__bracket { position: absolute; bottom: 3.85em; left: 0; display: block; width: calc((100% - 7 * 0.6em) / 8 * 3 + 2 * 0.6em); height: 0.55em; border: 0.0625em solid #9aa1ad; border-bottom: 0; }
.ui-mbars__bracket span { position: absolute; right: 0; bottom: 100%; left: 0; padding-bottom: 0.35em; color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; text-align: center; white-space: nowrap; }

/* ── Row 3: Local SEO as one month. Tiles with gaps, no ruled lines ── */
.ui ol.ui-cal__head, .ui ol.ui-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.3em; }
.ui-cal__head li { color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); font-weight: 650; text-align: center; }
.ui ol.ui-cal__grid { margin-top: 0.4em; }
.ui-cal__grid > li { display: flex; flex-direction: column; gap: 0.2em; min-height: 3.7em; padding: 0.3em; border-radius: 0.4em; background-color: var(--ui-fill); }
.ui-cal__grid > li.is-blank { background: none; }
.ui-cal__grid b { color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); font-weight: 650; }
.ui-cal__t { padding: 0.2em 0.3em; border-radius: 0.3em; font-size: max(0.56em, min(11px, 0.7em)); font-weight: 650; line-height: 1.15; }
.ui-cal__t.is-check, .ui-cal__key .is-check { background-color: #dbe7ff; color: #1d4ed8; }
.ui-cal__t.is-post, .ui-cal__key .is-post { background-color: var(--sun-tint); color: var(--sun-deep); }
.ui-cal__t.is-maps, .ui-cal__key .is-maps { background-color: var(--night); color: #fff; }
.ui p.ui-cal__key { display: none; gap: 0.4em; margin-top: 0.7em; }
.ui-cal__key span { padding: 0.25em 0.55em; border-radius: 0.3em; font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; }
.ui p.ui-cal__foot { display: flex; align-items: center; gap: 0.5em; margin-top: 0.85em; color: var(--slate); font-size: max(0.74em, min(11px, 0.925em)); font-weight: 550; }
.ui-cal__foot svg { flex: none; width: 1.2em; height: 1.2em; color: var(--sun-deep); }

/* ══ Bakersfield web design ══════════════════════════════════════════════════════════════════════════════════════════ */
.ui-art { display: block; width: 100%; height: 100%; }
.ui-ph--sm { width: 8.6em; padding: 0.32em; border-radius: 1.3em; box-shadow: none; }
.ui-ph--sm .ui-ph__screen { gap: 0.4em; height: 11.8em; padding: 0.7em 0.6em; border-radius: 1em; }

/* ── The header: the rodent control page on a phone. The card is the phone, so the glass rim round it follows its corners ── */
.ui-rod { padding: 0.42em; border-radius: 2.1em; background-color: #0c0e12; }
.ui-rod::after { top: 6.4em; right: 2.9em; background-color: rgb(255 255 255 / 0.94); }   /* on the photo, not on the bezel */
.svc-shot--hero > .ui-rod::before { border-radius: calc(2.1em + var(--rim)); }
.ui-rod__screen { display: flex; flex-direction: column; gap: 0.6em; padding: 1em 0.9em 1.1em; border-radius: 1.7em; background-color: #fff; }
.ui p.ui-rod__bar { display: flex; align-items: center; justify-content: space-between; font-size: 0.9em; }
.ui-rod__menu svg { width: 1.35em; height: 1.35em; color: var(--slate); }
.ui-rod__photo { position: relative; height: 7.2em; overflow: hidden; border-radius: 0.8em; }
.ui-rod__cap { position: absolute; bottom: 0.5em; left: 0.5em; padding: 0.25em 0.65em; border-radius: 9999px; background-color: rgb(255 255 255 / 0.94); font-size: max(0.6em, min(11px, 0.75em)); font-weight: 650; }
.ui p.ui-rod__h { font-family: var(--font-display); font-size: 1.3em; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.ui p.ui-rod__line { color: var(--slate); font-size: 0.8em; line-height: 1.4; }
.ui-rod__price span { display: inline-block; padding: 0.3em 0.85em; border-radius: 9999px; background-color: var(--sun-tint); color: var(--sun-deep); font-size: 0.8em; font-weight: 700; }
.ui p.ui-rod__btn { padding: 0.85em 1em; border-radius: 9999px; background-color: var(--sun-deep); color: #fff; font-size: 0.86em; font-weight: 700; text-align: center; }

/* ── The three steps: slots that follow their picture, the three one height, cut by the card's bottom edge ── */
.svc-shot--step:has(> :is(.ui-notes, .ui-yard, .ui-prev)) { height: auto; }
.svc-shot--step > :is(.ui-notes, .ui-yard, .ui-prev) { min-height: 16.6em; margin-bottom: -1em; }
/* Step 1: notes from the call, a job and how it is priced on each row */
.ui ul.ui-notes__rows { display: grid; }
.ui-notes__rows li { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; padding: 0.6em 0; border-top: 0.0625em solid var(--ui-line); }
.ui-notes__rows b { font-size: 0.86em; font-weight: 650; }
.ui-notes__rows span { padding: 0.25em 0.7em; border-radius: 9999px; font-size: max(0.68em, min(11px, 0.85em)); font-weight: 650; white-space: nowrap; }
.ui-notes__rows .is-set { background-color: var(--sun-tint); color: var(--sun-deep); }
.ui-notes__rows .is-free { background-color: var(--ok-tint); color: var(--ok); }
.ui-notes__rows .is-look { background-color: #e8ecf4; color: #34425e; }
.ui p.ui-notes__foot { display: flex; align-items: center; gap: 0.5em; margin-top: 0.4em; padding-top: 0.75em; border-top: 0.0625em solid var(--ui-line); font-size: max(0.78em, min(11px, 0.975em)); font-weight: 650; }
/* Step 2: one photo from the owner's phone and as it went on the site */
.ui-yard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8em; }
.ui-yard__col { display: flex; flex-direction: column; gap: 0.55em; min-width: 0; }
.ui p.ui-yard__label { color: var(--slate); font-size: max(0.74em, min(11px, 0.925em)); font-weight: 650; }
.ui-yard__photo { position: relative; height: 7.4em; overflow: hidden; border-radius: 0.7em; }
.ui-yard__tag { position: absolute; top: 42%; right: 0.4em; padding: 0.2em 0.55em; border-radius: 0.3em; background-color: #fff; font-size: max(0.7em, min(11px, 0.875em)); font-weight: 650; box-shadow: 0 0.1em 0.3em rgb(12 14 18 / 0.2); }
.ui p.ui-yard__chips { display: flex; flex-wrap: wrap; gap: 0.3em; }
.ui-yard__chips span { padding: 0.25em 0.65em; border-radius: 9999px; font-size: max(0.7em, min(11px, 0.875em)); font-weight: 650; line-height: 1.25; }
.ui-yard__chips .is-warn { background-color: #fef3c7; color: #a15c07; }
.ui-yard__chips .is-ok { background-color: var(--ok-tint); color: var(--ok); }
.ui p.ui-yard__cap { font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; }
/* Step 3: the private preview beside the owner's notes */
.ui-prev { display: flex; align-items: flex-start; gap: 1em; }
.ui-prev .ui-ph--sm { flex: none; }
.ui p.ui-prev__bar { margin: -1.06em -0.91em 0.25em; padding: 0.4em 0.6em; background-color: var(--navy); color: #fff; font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; text-align: center; }
.ui p.ui-prev__h { font-family: var(--font-display); font-size: 1em; font-weight: 700; letter-spacing: -0.02em; }
.ui-prev .ui-skel { width: 100%; height: 0.5em; margin-top: 0.2em; }
.ui-prev .ui-skel--short { width: 60%; }
.ui-prev__btn { display: block; height: 1.7em; margin-top: auto; border-radius: 9999px; background-color: var(--sun-deep); }
.ui-prev__notes { flex: 1; min-width: 0; padding-top: 0.2em; }
.ui p.ui-prev__title { margin-bottom: 0.7em; font-size: 0.9em; font-weight: 700; }
.ui ul.ui-prev__notes-list, .ui-prev__notes ul { display: grid; gap: 0.6em; }
.ui-prev__notes li { display: flex; align-items: flex-start; gap: 0.5em; font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; line-height: 1.3; }
.ui-prev__notes .ui-tick { margin-top: 0.05em; }
.ui p.ui-prev__live { margin-top: 0.9em; }
.ui-prev__live span { display: inline-block; padding: 0.3em 0.8em; border-radius: 9999px; background-color: var(--ok-tint); color: var(--ok); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 700; }

/* ── Row 1: the work page, photos sorted by service, beside a review ── */
.ui-work { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 1em; }
.ui-work__page { padding: 0.9em; border: 0.0625em solid var(--ui-line); border-radius: 0.75em; }
.ui p.ui-work__h { font-family: var(--font-display); font-size: 1.2em; font-weight: 700; letter-spacing: -0.02em; }
.ui ul.ui-work__chips { display: flex; flex-wrap: wrap; gap: 0.3em; margin-top: 0.6em; }
.ui-work__chips li { padding: 0.28em 0.7em; border-radius: 9999px; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; }
.ui-work__chips .is-on { background-color: var(--sun-deep); color: #fff; }
.ui ul.ui-work__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6em; margin-top: 0.8em; }
.ui-work__tiles li { display: flex; flex-direction: column; gap: 0.4em; min-width: 0; }
.ui-work__shot { height: 5.4em; overflow: hidden; border-radius: 0.5em; }
.ui-work__tiles span { font-size: max(0.66em, min(11px, 0.825em)); font-weight: 600; line-height: 1.3; }
.ui-work__review { padding: 0.9em; border-radius: 0.75em; background-color: var(--ui-fill); }
.ui p.ui-work__who { display: flex; flex-direction: column; gap: 0.1em; line-height: 1.25; }
.ui-work__who b { font-size: 0.88em; font-weight: 700; }
.ui-work__who span { color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); }
.ui p.ui-work__text { margin-top: 0.7em; font-size: 0.8em; line-height: 1.45; }
.ui p.ui-work__more { margin-top: 0.8em; color: #1d4ed8; font-size: max(0.7em, min(11px, 0.875em)); font-weight: 650; text-decoration: underline; }

/* ── Row 2: where the colors come from, the van and the shirts, and where each lands on a phone ── */
.ui-van { display: grid; grid-template-columns: 11.5em 7.8em 2.2em 7.4em; align-items: stretch; gap: 0.4em; }
.ui-van__van { align-self: center; }
.ui-van__art { display: block; width: 100%; height: auto; }
.ui ul.ui-van__swatches, .ui-van__arrows { display: flex; flex-direction: column; justify-content: space-between; padding: 1.4em 0 1.6em; font-size: max(0.7em, min(11px, 0.875em)); }
.ui-van__swatches li { display: flex; align-items: center; gap: 0.55em; height: 2.2em; font-weight: 650; line-height: 1.2; }
.ui-van__swatches li > i { flex: none; width: 2em; height: 2em; border-radius: 0.45em; background-color: var(--sun); }
.ui-van__shirt { flex: none; width: 2.2em; height: 2.2em; color: var(--navy); }
.ui-van__arrows i { position: relative; display: block; height: 2.2em; }
.ui-van__arrows i::before { content: ""; position: absolute; top: calc(50% - 0.06em); right: 0; left: 0; height: 0.12em; background-color: #9aa1ad; }
.ui-van__arrows i::after { content: ""; position: absolute; top: calc(50% - 0.32em); right: 0; border: solid transparent; border-width: 0.32em 0 0.32em 0.55em; border-left-color: #9aa1ad; }
.ui-van .ui-ph--sm { width: 7.4em; }
.ui p.ui-van__head { margin: -0.7em -0.6em 0; padding: 0.6em 0.6em; background-color: var(--navy); font-size: 0.8em; }
.ui-van__head .ui-brand { color: #fff; }
.ui-van .ui-skel { width: 100%; height: 0.5em; margin-top: 0.2em; }
.ui-van .ui-skel--short { width: 60%; }
.ui p.ui-van__book { margin-top: auto; padding: 0.65em 0.6em; border-radius: 9999px; background-color: var(--sun-deep); color: #fff; font-size: max(0.72em, min(11px, 0.9em)); font-weight: 700; text-align: center; }

/* ── Row 3: two ways a page shows a price ── */
.ui-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 0.8em; }
.ui-prices__card { display: flex; flex-direction: column; gap: 0.4em; padding: 1em; border: 0.0625em solid var(--ui-line); border-radius: 0.8em; }
.ui p.ui-prices__job { color: var(--slate); font-size: max(0.78em, min(11px, 0.975em)); font-weight: 650; }
.ui p.ui-prices__big { color: var(--sun-deep); font-family: var(--font-display); font-size: 1.7em; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.ui p.ui-prices__big.is-free { color: var(--ok); }
.ui p.ui-prices__sub { font-size: 0.84em; font-weight: 600; }
.ui p.ui-prices__note { margin-top: auto; padding-top: 0.5em; color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); line-height: 1.35; }

/* ── Row 4: where each Book button goes, the pages on the left and the two forms they open on the right ── */
.ui-book__map { display: grid; grid-template-columns: 10em 4em minmax(0, 1fr); align-items: start; }
.ui ul.ui-book__pages { display: grid; gap: 0.5em; }
.ui-book__pages li { display: flex; align-items: center; justify-content: space-between; gap: 0.4em; height: 2.4em; padding: 0 0.6em 0 0.8em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; background-color: #fff; }
.ui-book__pages b { min-width: 0; font-size: max(0.76em, min(11px, 0.95em)); font-weight: 650; line-height: 1.15; }
.ui-book__pages span { flex: none; padding: 0.22em 0.65em; border-radius: 9999px; background-color: var(--sun-deep); color: #fff; font-size: max(0.62em, min(11px, 0.775em)); font-weight: 700; }
.ui-book__wires { display: block; width: 100%; height: 14em; }
.ui-book__wires path { stroke: #9aa1ad; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.ui ul.ui-book__forms { position: relative; height: 14em; }
.ui-book__forms li { position: absolute; right: 0; left: 0; display: flex; flex-direction: column; justify-content: center; gap: 0.45em; padding: 0.7em 0.8em; border: 0.0625em solid var(--ui-line); border-radius: 0.7em; background-color: var(--ui-fill); }
.ui-book__forms .is-general { top: 0; height: 8.4em; }
.ui-book__forms .is-termite { top: 9.2em; height: 4.8em; }
.ui-book__forms b { font-size: max(0.76em, min(11px, 0.95em)); font-weight: 700; line-height: 1.2; }
.ui-book__forms .ui-skel { width: 100%; height: 0.7em; margin: 0; background-color: #e1e5ec; }
.ui-book__forms .ui-skel--short { width: 55%; }
.ui p.ui-book__foot { margin-top: 1em; color: var(--slate); font-size: max(0.76em, min(11px, 0.95em)); }
.ui-book__foot b { color: var(--night); font-weight: 700; }

/* ── Row 5: the site on 19 screen sizes, eight drawn from a 320 px phone to a 2,560 px desktop ── */
.ui-screens { display: grid; grid-template-columns: minmax(0, 1fr) 11.8em; align-items: center; gap: 1.2em; }
.ui ul.ui-screens__devs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 1.1em 0.5em; }
.ui-screens__devs li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.5em; }
.ui-screens__devs li > i { position: relative; display: grid; place-items: center; width: 2.5em; height: 4.4em; border: 0.16em solid #b7bdc9; border-radius: 0.6em; background-color: #fff; }
.ui-screens__devs .is-fold > i { width: 3em; }
.ui-screens__devs .is-fold > i::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 0.05em); width: 0.1em; background-color: #b7bdc9; }
.ui-screens__devs .is-tablet > i { width: 3.6em; height: 4.8em; }
.ui-screens__devs .is-laptop > i { width: 4.4em; height: 3.1em; border-radius: 0.4em; }
.ui-screens__devs .is-monitor > i { width: 4.4em; height: 2.7em; margin-bottom: 0.55em; border-radius: 0.3em; }
.ui-screens__devs .is-monitor > i::after { content: ""; position: absolute; bottom: -0.6em; left: 35%; width: 30%; height: 0.5em; background-color: #b7bdc9; }
.ui-screens__devs .ui-tick { position: relative; z-index: 1; width: 1.1em; height: 1.1em; }
.ui-screens__devs b { color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; line-height: 1.2; text-align: center; }
.ui ul.ui-screens__lines { display: grid; gap: 0.6em; }
.ui-screens__lines li { display: flex; align-items: flex-start; gap: 0.5em; font-size: max(0.78em, min(11px, 0.975em)); font-weight: 600; line-height: 1.3; }
.ui-screens__lines li.is-fix { padding: 0.55em 0.65em; border-radius: 0.5em; background-color: #fffaeb; color: #a15c07; }
.ui-screens__lines li.is-fix svg { flex: none; width: 1.3em; height: 1.3em; }

/* ══ Bakersfield SEO ═════════════════════════════════════════════════════════════════════════════════════════════════ */
/* Status tags and spot pills (spots 1 to 3 green, 4 to 10 amber, past 10 gray, each 4.5:1 or better) */
.ui-tag { display: inline-flex; align-items: center; padding: 0.2em 0.65em; border-radius: 9999px; font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; line-height: 1.3; white-space: nowrap; }
.ui-tag.is-live, .ui-tag.is-new { background-color: var(--ok-tint); color: var(--ok); }
.ui-tag.is-writing { background-color: #fef3c7; color: #a15c07; }
.ui-tag.is-next, .ui-tag.is-slip { background-color: var(--ui-fill); color: var(--slate); }
.ui-tag.is-own { background-color: var(--tint); color: var(--anchor-deep); }
.ui-spot { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.18em 0.6em; border-radius: 9999px; font-size: 0.82em; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.ui-spot i { flex: none; width: 0.5em; height: 0.5em; border-radius: 9999px; background-color: currentColor; }
.ui-spot.is-top { background-color: var(--ok-tint); color: var(--ok); }
.ui-spot.is-near { background-color: #fef3c7; color: #a15c07; }
.ui-spot.is-far { background-color: var(--ui-fill); color: var(--slate); }

/* ── The header: page one for a job search, read from Bakersfield. Gray bars for other businesses, with a type label ── */
.ui-serp__top { display: flex; align-items: center; gap: 0.6em; }
.ui p.ui-serp__search { display: flex; flex: 1; align-items: center; gap: 0.5em; min-width: 0; padding: 0.55em 0.9em; border-radius: 9999px; background-color: var(--ui-fill); font-size: 0.82em; font-weight: 550; }
.ui-serp__search svg { flex: none; width: 1.15em; height: 1.15em; color: var(--slate); }
.ui-serp__search span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui p.ui-serp__where { margin-top: 0.7em; }
.ui-serp__where span { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.28em 0.75em; border-radius: 9999px; background-color: var(--tint); color: var(--anchor-deep); font-size: max(0.68em, min(11px, 0.85em)); font-weight: 650; }
.ui-serp__where svg { flex: none; width: 1.15em; height: 1.15em; }
.ui ol.ui-serp__rows { display: grid; gap: 0.3em; margin-top: 0.8em; }
.ui-serp__rows li { display: grid; grid-template-columns: 1.5em minmax(0, 1fr) auto; align-items: center; gap: 0.6em; min-height: 2.1em; padding: 0.25em 0.55em 0.25em 0.45em; border-radius: 0.55em; background-color: var(--ui-fill); }
.ui-serp__n { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background-color: #fff; color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 700; }
.ui-serp__n.is-top { background-color: var(--ok); color: #fff; }
.ui-serp__name { display: grid; gap: 0.3em; min-width: 0; }
.ui-serp__bar { display: block; width: 78%; height: 0.5em; border-radius: 0.3em; background-color: #d3d8e0; }
.ui-serp__bar.is-short { width: 46%; height: 0.38em; background-color: #e0e4ea; }
.ui-ty { padding: 0.22em 0.7em; border-radius: 9999px; background-color: #fff; color: var(--slate); font-size: max(0.64em, min(11px, 0.8em)); font-weight: 650; white-space: nowrap; }
.ui-ty.is-service { background-color: var(--ok-tint); color: var(--ok); }
.ui-serp__rows li.is-us { grid-template-columns: 1.5em minmax(0, 1fr) auto; min-height: 3.3em; background-color: #fff; box-shadow: inset 0 0 0 0.14em #16a34a; }
.ui-serp__us, .ui-serp__rows .is-us .ui-serp__name p { font-size: 0.84em; font-weight: 700; line-height: 1.2; }
.ui-serp__rows .is-us .ui-serp__bar { width: 55%; }
.ui-serp__tags { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3em; }
.ui-serp__was { padding: 0.2em 0.6em; border-radius: 9999px; background-color: var(--ui-fill); color: var(--slate); font-size: max(0.62em, min(11px, 0.775em)); font-weight: 650; white-space: nowrap; }
.ui p.ui-serp__foot { display: flex; align-items: center; gap: 0.5em; margin-top: 0.8em; font-size: max(0.76em, min(11px, 0.95em)); font-weight: 650; }

/* ── The three steps: slots that follow their picture ── */
.svc-shot--step:has(> :is(.ui-loc, .ui-held, .ui-first)) { height: auto; }
.svc-shot--step > :is(.ui-loc, .ui-held, .ui-first) { min-height: 14.8em; margin-bottom: -1em; }
/* Step 1: the location, then the five searches */
.ui p.ui-loc__label { color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 650; }
.ui p.ui-loc__where { display: flex; align-items: center; gap: 0.5em; margin: 0.35em 0 1.1em; padding: 0.6em 0.8em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; font-size: 0.9em; }
.ui-loc__where svg { flex: none; width: 1.25em; height: 1.25em; color: var(--anchor-deep); }
.ui ul.ui-loc__chips { display: flex; flex-wrap: wrap; gap: 0.4em; margin-top: 0.5em; }
.ui-loc__chips li { padding: 0.35em 0.8em; border-radius: 9999px; background-color: var(--tint); color: var(--anchor-deep); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 650; }
/* Step 2: what held page one, by kind of page */
.ui ul.ui-held__bars { display: grid; gap: 0.55em; }
.ui-held__bars li { display: grid; grid-template-columns: 6.2em minmax(0, 1fr) 1.6em; align-items: center; gap: 0.6em; }
.ui-held__bars span { font-size: max(0.72em, min(11px, 0.9em)); font-weight: 600; }
.ui-held__bars i { display: block; width: calc(var(--n) / 19 * 100%); min-width: 0.5em; height: 0.85em; border-radius: 0.3em; background-color: #b9c4d9; }
.ui-held__bars .is-service i { background-color: #16a34a; }
.ui-held__bars b { font-size: max(0.78em, min(11px, 0.975em)); font-weight: 700; text-align: right; }
.ui p.ui-held__foot { margin-top: 0.9em; padding-top: 0.75em; border-top: 0.0625em solid var(--ui-line); font-size: max(0.74em, min(11px, 0.925em)); font-weight: 650; }
/* Step 3: the order the first pages are built in */
.ui p.ui-first__title { font-size: 1.02em; font-weight: 700; letter-spacing: -0.015em; }
.ui ul.ui-first__list { display: grid; gap: 0.4em; margin-top: 0.6em; }
.ui-first__list li { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: 0.5em 0.75em; border: 0.0625em solid var(--ui-line); border-radius: 0.6em; }
.ui-first__list b { font-size: 0.8em; font-weight: 650; }
.ui p.ui-first__next { margin-top: 0.9em; padding-top: 0.8em; border-top: 0.0625em solid var(--ui-line); color: var(--slate); font-size: max(0.72em, min(11px, 0.9em)); font-weight: 650; }

/* ── Row 1: three names for one page, the one searched most picked ── */
.ui-name__title, .ui p.ui-name__label { color: var(--slate); font-size: max(0.74em, min(11px, 0.925em)); font-weight: 650; }
.ui p.ui-name__title { margin-bottom: 0.6em; }
.ui ul.ui-name__opts { display: grid; gap: 0.45em; }
.ui-name__opts li { display: flex; align-items: center; gap: 0.7em; padding: 0.6em 0.8em; border: 0.0625em solid var(--ui-line); border-radius: 0.65em; }
.ui-name__opts li > i { display: grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; border: 0.1em solid #c4cad4; border-radius: 50%; }
.ui-name__opts li.is-picked { border-color: #16a34a; background-color: #f2fbf5; box-shadow: inset 0 0 0 0.1em #16a34a; }
.ui-name__opts li.is-picked > i { border: 0; }
.ui-name__opts b { font-size: 0.86em; font-weight: 650; }
.ui-name__opts div { display: flex; flex-direction: column; gap: 0.1em; }
.ui-name__opts div > span { color: var(--ok); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; }
.ui p.ui-name__label { margin-top: 1em; }
.ui p.ui-name__text { margin-top: 0.4em; padding: 0.65em 0.8em; border-radius: 0.55em; background-color: var(--ui-fill); font-size: 0.84em; font-weight: 600; }

/* ── Row 2: the towns, one with a page of its own ── */
.ui p.ui-towns__title { margin-bottom: 0.7em; font-size: 1.02em; font-weight: 700; letter-spacing: -0.015em; }
.ui ul.ui-towns__list { display: grid; gap: 0.4em; }
.ui-towns__list li { display: flex; align-items: center; gap: 0.5em; padding: 0.65em 0.85em; border: 0.0625em solid var(--ui-line); border-radius: 0.65em; }
.ui-towns__list b { margin-right: auto; font-size: 0.88em; font-weight: 650; }
.ui-towns__list li > span:not(.ui-tag) { color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 600; }
.ui-towns__list li.is-own { border-color: #16a34a; background-color: #f2fbf5; }
.ui p.ui-towns__note { margin-top: 0.8em; color: var(--slate); font-size: max(0.74em, min(11px, 0.925em)); font-weight: 550; }

/* ── Row 3: questions to answer, each with where it came from and where it stands ── */
.ui p.ui-qs__title { margin-bottom: 0.7em; font-size: 1.02em; font-weight: 700; letter-spacing: -0.015em; }
.ui ul.ui-qs__rows { display: grid; gap: 0.45em; }
.ui-qs__rows li { display: flex; flex-direction: column; gap: 0.5em; padding: 0.7em 0.85em; border: 0.0625em solid var(--ui-line); border-radius: 0.65em; }
.ui p.ui-qs__q { font-size: 0.84em; font-weight: 650; line-height: 1.3; }
.ui p.ui-qs__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; }
.ui-qs__src { padding: 0.2em 0.65em; border-radius: 9999px; background-color: var(--tint); color: var(--anchor-deep); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 650; white-space: nowrap; }

/* ── Row 4: the October report, the better spot higher, the thin one called out ── */
.ui ul.ui-rep__rows { display: grid; gap: 0.4em; }
.ui-rep__rows li { padding: 0.6em 0.8em; border: 0.0625em solid var(--ui-line); border-radius: 0.65em; }
.ui-rep__rows li.is-slip { background-color: var(--ui-fill); }
.ui-rep__line { display: flex; align-items: center; gap: 0.75em; }
.ui p.ui-rep__q { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.25; }
.ui-rep__q b { font-size: 0.86em; font-weight: 650; }
.ui-rep__q span { color: var(--slate); font-size: max(0.66em, min(11px, 0.825em)); font-weight: 600; }
.ui-rep__note .ui-tag { font-size: 0.95em; }
.ui-rep__rows li.is-slip :is(.ui-tag, .ui-spot) { background-color: #fff; }   /* a chip on the gray row */
.ui-rep__shown { color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 600; white-space: nowrap; }
.ui p.ui-rep__note { display: flex; align-items: center; gap: 0.6em; margin-top: 0.55em; color: var(--slate); font-size: max(0.7em, min(11px, 0.875em)); font-weight: 600; line-height: 1.3; }
.ui p.ui-rep__tile { margin-top: 0.7em; padding: 0.6em 0.8em; border-radius: 0.65em; background-color: var(--ok-tint); color: var(--ok); font-size: 0.8em; font-weight: 700; }

/* ── A narrow box (a phone): the wide pictures 22 em wide, their side by side parts stacked ── */
@container (max-width: 479px) {
  .ui-email, .ui-ba, .ui-mbars, .ui-cal, .ui-work, .ui-van, .ui-screens, .ui-prices, .ui-book, .ui-serp, .ui-qs, .ui-rep, .ui-name, .ui-towns { --w: 22; }
  .ui-work, .ui-prices, .ui-screens { grid-template-columns: minmax(0, 1fr); }
  .ui-book__map { grid-template-columns: 7.8em 2.4em minmax(0, 1fr); }
  .ui-van { grid-template-columns: minmax(0, 1fr); gap: 1em; }
  .ui-van__van { width: 14em; margin-inline: auto; }
  .ui ul.ui-van__swatches { flex-direction: row; justify-content: center; gap: 1.6em; padding: 0; }
  .ui-van__arrows { display: none; }
  .ui-van .ui-ph { justify-self: center; }
  .ui-ba { grid-template-columns: minmax(0, 1fr); gap: 1.4em; }
  .ui-ph__screen { height: 17em; }
  .ui-cal__grid { gap: 0.2em; }
  .ui-cal__grid > li { min-height: 2.5em; padding: 0.25em; }
  .ui-cal__t, .ui-cal__t.is-check, .ui-cal__t.is-post, .ui-cal__t.is-maps { height: 1.1em; padding: 0; overflow: hidden; color: transparent; font-size: max(0.5em, min(11px, 0.625em)); white-space: nowrap; }   /* a bare coloured tile, named by the key under the grid */
  .ui p.ui-cal__key { display: flex; flex-wrap: wrap; }
}
@container (max-width: 339px) {
  .ui-strip, .ui-notes, .ui-yard, .ui-prev, .ui-loc, .ui-held, .ui-first { --w: 22; }
}

/* The hub's sites row has two cards: from 768 px each takes half the row, where sites.css sizes a card for three (380 px, then a third) and
   would leave the right of the row empty. The :has() rule outranks sites.css's selector, so the order of the sheets does not matter */
@media (min-width: 768px) { .svc-sites__row:has(> li:nth-child(2):last-child) > li { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1250px) { .svc-sites__row:has(> li:nth-child(2):last-child) > li { flex-basis: calc((100% - 24px) / 2); } }

/* The calm pass (2026-11-17): Bakersfield web design's and SEO's pictures draw larger */
.svc-calm :is(.ui-notes, .ui-yard, .ui-prev, .ui-loc, .ui-held, .ui-first) { --w: 18; }
.svc-calm :is(.ui-work, .ui-screens, .ui-book, .ui-qs, .ui-rep) { --w: 28; }   /* the van keeps its own size: its wrap is drawn to fit */
@media (max-width: 767px) {
  .svc-calm :is(.ui-notes, .ui-yard, .ui-prev, .ui-loc, .ui-held, .ui-first) { --w: 16.5; }
  .svc-calm :is(.ui-work, .ui-screens, .ui-book, .ui-qs, .ui-rep, .ui-prices, .ui-name, .ui-towns) { --w: 17.5; }
}
