/* Phoenix Drywall · the eight service pages, round 8 (6 Nov 2026; website/redesign/ROUND8.md, lab/round8/audit/
   funnel-service_page_plan.md). Loaded after inner.css and services.css through Service.astro's `css` prop. Everything
   else on these pages is the inner page system (inner.css, system.css). Prefix svp- ("service page"). Radius 0, no
   shadows, upright type, copper only where you act, every :hover inside (hover: hover).
   One rhythm: section padding 48 / 96px, head to content 18 / 36px, photo grids 8px apart (12 from 768, 24 from 1024). */

/* ------------------------------------------------------------------ words ---- */
/* a smaller aside inside a spec row, their words unchanged: "California knockdown (ceilings & walls)" */
.svp-aside { font-size: 14px; color: var(--fg2); }
/* names on spec rows in Bitter (insulation types, renovation stages, textures, finishes) */
.svp-names > li { font: 300 22px/1.2 var(--display); letter-spacing: -.005em; }
.svp-names .svp-aside { font: 400 14px/1.4 var(--sans); letter-spacing: 0; color: var(--fg2); }
/* a label over a second list in the intro (commercial, renovations), and a label straight over its list */
.svc-intro__b > .svp-gap2 { margin-top: 32px; }
.svc-intro__b .label + .specrows { margin-top: 12px; }
.svc-intro__b .label + .txt { margin-top: 10px; }
.svc-intro__b .txt + .specrows { margin-top: 16px; }
/* the new service, first in its list (insulation: blown-in attic) */
.svp-install__new { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: inherit; color: var(--fg); }
.svp-new { display: inline-block; padding: 3px 8px 2px; border: 1px solid var(--fg); font: 400 11px/1.3 var(--sans); letter-spacing: .16em; color: var(--fg); }

/* an H2 under its section's caps head, then a line under it */
.chap .svp-h2 { margin-bottom: 20px; }
.chap .svp-lede { margin: -8px 0 20px; }
.chap .svp-lede2 { margin: -8px 0 20px; }
/* a quote that is their caption said a size up (garages, white walls), upright, no source line */
.svp-say { margin: 0; font: 300 22px/1.42 var(--sans); color: var(--fg); text-wrap: pretty; }
/* a statement allowed a longer measure (a sentence with three links in it) */
.statement.svp-wide { max-width: 24ch; }
/* the rating line after a quote or a block of words (Rating.astro's own margin is 0) */
.svp-rating.rating-line { margin-top: 24px; }
.svp-rating + .mrow__go { margin-top: 4px; }

/* spacing: 24px before a block; a line, a block or a row after the proof */
.svp-gap { margin-top: 24px; }
.svp-line { margin-top: 20px; }
.svp-said { margin-top: 24px; }
.svp-said + .svp-said { margin-top: 12px; }
.svp-after { margin-top: 40px; }
.svp-churchrow { margin-top: 40px; }
.svp-trim { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair); }
.svp-trim > * + * { margin-top: 10px; }
.svp-trim__h { margin: 0; font: 300 24px/1.2 var(--display); letter-spacing: -.006em; color: var(--fg); }
.svp-two .svp-trim__h + .svp-say { margin-top: 10px; }

/* ------------------------------------------------------------- the proof ---- */
/* _Proof.astro: the service's job photos as tiles, the job's name on the photo (a link to its story where there is
   one), one line from their post under it. Phones 2-up 4:5 (a lead tile the column, a lead pair two photos across);
   from 768px 2, 3 or 4 across (a lead pair spans two). */
.svp-proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 8px; align-items: start; }
.svp-proof > li { min-width: 0; }
.svp-proof__lead { grid-column: 1 / -1; }
.svp-proof__t { position: relative; display: block; color: var(--onph); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.svp-proof__m { position: relative; display: block; overflow: hidden; }
.svp-proof__m--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.svp-proof__f { display: block; aspect-ratio: 4 / 5; }
.svp-proof--sq .svp-proof__f { aspect-ratio: 1 / 1; }
/* <Proof own>: each frame at its photo's own shape at every width (the whole photo; Kiarash, 6 Nov: "I always want
   the full photo"); beats the 4:3 two-across frame below */
.svp-proof.svp-proof--own .svp-proof__f { aspect-ratio: var(--ar, 4 / 5); }
.svp-proof__f img { object-position: var(--op, 50% 50%); transition: transform 1.6s var(--ease); }
.svp-proof__over { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: 4px; padding: 48px 10px 10px; pointer-events: none;
  background: linear-gradient(to top, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .55) 50%, rgba(var(--scrim), 0) 100%); }
.svp-proof__name { display: block; font: 300 17px/1.15 var(--display); letter-spacing: -.004em; color: var(--onph); text-wrap: balance; }
.svp-proof__name .arw { display: inline-block; margin-left: 8px; vertical-align: middle; opacity: .85; transition: transform .35s var(--ease); }
.svp-proof__lead .svp-proof__name { font-size: 22px; }
.svp-proof__tag { color: var(--onph); opacity: .85; font-size: 11px; letter-spacing: .12em; }
.svp-proof__line { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: var(--fg2); text-wrap: pretty; }
.svp-proof__t:active .svp-proof__m { transform: scale(.985); }
.svp-proof__t:focus-visible { outline: 2px solid var(--ring, var(--copper)); outline-offset: 3px; }
@media (hover: hover) {
  a.svp-proof__t:hover .svp-proof__f img, .js .rv.is-in a.svp-proof__t:hover .uv img { transform: scale(1.04); }
  a.svp-proof__t:hover .svp-proof__name .arw { transform: translateX(4px); }
}

/* custom homes: the recent jobs as the home's project tiles, the first the column wide on phones */
@media (max-width: 767px) { .svp-jobs > li:first-child { grid-column: 1 / -1; } .svp-jobs > li:first-child .tile__name { font-size: 22px; } }
.svp-jobs { margin-top: 0; }
/* their reviews after the proof: the label and the rating, then the quotes */
.svp-revs { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair); }
.svp-revs__b { margin-top: 20px; }
.svp-revs__a .mrow__go { margin-top: 4px; }
.svp-revs__b .voice:first-child { border-top: 0; padding-top: 0; }

/* their posts under the proof (drywall: two of them) */
.svp-posts2 { margin-top: 28px; }

/* a short chapter in two columns on desktop (the head across both); one under the other on phones */
.svp-two > .head + * { margin-top: 0; }
.svp-two > * + * { margin-top: 28px; }
.svp-two .after { margin-top: 20px; }

/* drywall's details: a photo beside its words on phones, three photos over their words across the page from 768px */
.svp-three-rows { gap: 24px; }
.svp-three-rows .mrow__img { aspect-ratio: 4 / 5; }
.svp-three-rows .mrow__img img { height: 100%; max-height: none; }
.svp-three-rows .mrow__name { font-size: 20px; }
.svp-three-rows .mrow__q { font-size: 17px; }
.svp-three-rows .mrow__p { font-size: 15px; }
@media (max-width: 767px) {
  .svp-three-rows .mrow__in { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 16px; }
  .svp-three-rows .mrow__body { padding-top: 0; }
}

/* a reel beside its words (insulation's recent jobs, the church's arch): a hairline over it */
.svp-media { padding-top: 24px; border-top: 1px solid var(--hair); }
.svp-reelrow > * + * { margin-top: 28px; }
.svp-reelrow__b .posts { border-top: 0; }
.svp-reelrow__b .posts > li:first-child { padding-top: 0; }
/* insulation's recent jobs: a still from inside the house first (at its own shape) with their caption, the reel second
   (4:5), then the posts and the review. Desktop: the still beside the reel, the posts and the review under both. */
.svp-still__f img { max-height: none; }
.svp-still__q { margin-top: 12px; }
.svp-still .mrow__go { margin-top: 2px; }

/* two or more actions in a row (builders: send your plans, the number) */
.svp-acts { gap: 12px; }
.svp-acts .btn { flex: 1 1 auto; }

/* ------------------------------------------------------------- the close ---- */
/* Close.astro on copper: v1's H2 "Get a free quote" (their words, data-confirm) as the small caps label, the page's
   own line under it (.close__note) as the headline. The page passes <span class="svp-closelabel"> in cta.label and
   <span class="svp-closeq"> (and .svp-closerest for the rest of the line) in cta.note. On copper the words read the
   close's --fg (ink) / --fg2, never ivory or mist (both fail on copper). */
.close__h:has(> .svp-closelabel) { max-width: none; }
.close__h .svp-closelabel { display: block; font: 400 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--fg2); }
.close__note:has(> .svp-closeq) { max-width: none; margin-top: 10px; }
.close__note .svp-closeq { display: block; max-width: 15ch; font: 300 34px/1.1 var(--display); letter-spacing: -.01em; color: var(--fg); text-wrap: balance; overflow-wrap: break-word; }
.close__note .svp-closerest { display: block; max-width: 40ch; margin-top: 12px; color: var(--fg2); }

@media (min-width: 768px) {
  .close__note .svp-closeq { font-size: 40px; }
  .svp-proof { gap: 28px 12px; }
  .svp-proof--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svp-proof--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svp-proof--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svp-proof__lead { grid-column: auto; }
  .svp-proof__lead--two { grid-column: span 2; }
  .svp-proof__m--two { gap: 12px; }
  .svp-proof__lead .svp-proof__name { font-size: 20px; }
  .svp-three-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
  .svp-three-rows .mrow__in { grid-template-columns: minmax(0, 1fr); }
  .svp-posts2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 0; }
  .svp-posts2 > li { border-top: 1px solid var(--hair); }
}

@media (min-width: 1024px) {
  .close__note .svp-closeq { max-width: 15ch; font-size: clamp(48px, 4.6vw, 76px); line-height: 1.04; }
  .svp-names > li { font-size: 26px; }
  .svp-say { font-size: 26px; line-height: 1.38; }
  .svc-intro__b > .svp-gap2 { margin-top: 48px; }
  .chap .svp-h2 { margin-bottom: 32px; }
  .chap .svp-lede { margin: -16px 0 32px; }
  .chap .svp-lede2 { margin: -16px 0 32px; }
  .svp-line { margin-top: 28px; }
  .svp-said { margin-top: 32px; }
  .svp-after, .svp-churchrow { margin-top: 64px; }
  .svp-trim { margin-top: 64px; padding-top: 32px; }
  .svp-trim > * + * { margin-top: 12px; }
  .svp-trim__h { font-size: 30px; }
  .svp-proof { gap: 32px 24px; }
  .svp-proof--2 .svp-proof__f { aspect-ratio: 4 / 3; } /* two across the wrap: a 4:5 would stand 815px tall */
  .svp-proof__m--two { gap: 24px; }
  .svp-proof__over { padding: 80px 18px 16px; }
  .svp-proof__name, .svp-proof__lead .svp-proof__name { font-size: 22px; }
  .svp-proof__tag { font-size: 12px; }
  .svp-proof__line { margin-top: 14px; font-size: 17px; }
  .svp-revs { margin-top: 64px; padding-top: 32px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 56px; align-items: start; }
  .svp-revs__b { margin-top: 0; }
  .svp-posts2 { margin-top: 48px; column-gap: 48px; }
  .svp-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 88px; align-items: start; }
  .svp-two > .head { grid-column: 1 / -1; }
  .svp-two > * + * { margin-top: 0; }
  .svp-three-rows { gap: 24px; }
  .svp-three-rows .mrow__name { font-size: 24px; }
  .svp-three-rows .mrow__q { font-size: 20px; }
  .svp-three-rows .mrow__p { font-size: 16px; }
  .svp-reelrow { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 56px; align-items: start; }
  .svp-reelrow > * + * { margin-top: 0; }
  .svp-reelrow .svp-media { padding-top: 0; border-top: 0; }
  .svp-reelrow--still { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 32px; }
  .svp-reelrow--still > .svp-reelrow__b { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 32px; align-items: start; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--hair); }
  .svp-reelrow--still > .svp-reelrow__b > .block-gap { margin-top: 0; }
  .svp-churchrow .mrow__in { grid-template-columns: minmax(0, 30%) minmax(0, 1fr); gap: 40px; }
  .svp-acts .btn { flex: 0 0 auto; }
}
