/* Phoenix Drywall & Insulation · About, quote, privacy and 404, v7 (6 Nov 2026; OTHER group,
   website/redesign/ROLLOUT-V7.md). Loaded after system.css and inner.css through each page's `css` prop. The pages are
   built from the shared system (IFold, the caps heads, the grounds, .revs/.score, the copper Close); this file holds
   only what they add. Every colour reads the ground's tokens (--fg / --fg2 / --hair / --line2 / --ring; text on a photo
   --onph), so nothing here assumes black: on primed a line is ink, on ember it is ivory. Copper only where you act
   (on the darks), radius 0, no shadows, upright type, every :hover inside (hover: hover), tap targets 44px and up. */

/* ============================================================ 0. PRIMED TOPS ==== */
/* /quote and /privacy-policy open on primed with no photo: the breadcrumb sits on the same ground, in ink */
.inner main:has(> [data-sc-act] > .is-primed:first-child) { background: #ECE6DA; }
.inner main:has(> [data-sc-act] > .is-primed:first-child) > .crumbs :is(ol, a) { color: #5A5853; }
.inner main:has(> [data-sc-act] > .is-primed:first-child) > .crumbs li:not(:last-child)::after { color: #8E877C; }
.inner main:has(> [data-sc-act] > .is-primed:first-child) > .crumbs [aria-current] { color: #1C1B19; }
.inner main:has(> [data-sc-act] > .is-primed:first-child) > .crumbs a:focus-visible { outline-color: #1C1B19; }
@media (hover: hover) { .inner main:has(> [data-sc-act] > .is-primed:first-child) > .crumbs a:hover { color: #1C1B19; } }
/* a section pinned to ember keeps the copper button wherever it falls in the alternation (inner.css turns the button
   ink by the section's position, which a pin does not reach): the quote form's send, the 404's Get a free quote */
.inner main .chap.is-ember .btn:not(.btn--line):not(.btn--ghost) { background: var(--copper); border-color: var(--copper); color: var(--copper-ink); }

/* ================================================================ 1. ABOUT ==== */
/* the fold's phone crop with a pair (IFold `phone` + two imgs): <picture> is display: contents (inner.css), so its
   <source> became a third grid column on desktop (an empty dark third). Hide it; the shared sheet should carry this. */
.ifold__media source { display: none; }
/* the fold's grid row was sized by the photo: a 9:16 file drew 694px tall in a 467px frame on phones (the mask's fade
   clipped, a hard edge behind the H1) and 1280px in a 720px frame on desktop (pos / posD did nothing, only the ceiling
   showed). One row the fold's height, as services.css and areas.css already carry (the shared inner.css should too). */
.ifold__media { grid-template-rows: minmax(0, 1fr); }
.ifold__media img { min-height: 0; }
/* round 8: Nicky first (his line, the Call button; beside it what the company does and his own words), the crew (their
   line, the tools post, the three vlogs as photo tiles), the craft, the reviews with the inline ask, a short Where */
.ab-nicky__p a { white-space: nowrap; }
.ab-nicky__call { margin-top: 24px; display: flex; width: 100%; }
.ab-nicky__call .num { margin-left: .35em; }
.ab-nicky__tag { margin: 12px 0 0; color: var(--fg2); font-size: 12px; line-height: 1.6; }
.ab-quote { margin-top: 24px; }

/* the crew: their line, then the tools post beside its photo; the vlogs as 1:1 tiles (the first across on phones) */
.ab-crew__all { margin-top: 10px; }
.ab-tools { margin-top: 28px; align-items: end; }
.ab-tools__h { margin-top: 10px; font-size: 24px; line-height: 1.2; }
.ab-tools__text .spec { margin-top: 10px; color: var(--fg2); }
.ab-bts { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--hair); }
.ab-bts__q { margin: 0; color: var(--fg); }
.ab-vlogs { margin-top: 18px; }
.ab-vlogs .tile__media { aspect-ratio: 1; }
.ab-vlogs li:first-child { grid-column: 1 / -1; }
.ab-vlogs .tile__meta { letter-spacing: .14em; }

/* the craft: their art line as the lead under the heading */
.ab-craft__s { margin-top: 16px; }

/* reviews, the home's way (system.css .revs/.score/.rev): the heading and what people mention, then the rating on a
   finished room, the reviews under it (phones) or beside it (desktop). The rating's own two lines sit on the photo. */
.ab-rev__link { flex: 0 1 auto; min-width: 0; text-align: right; }
.ab-rev__top { margin-bottom: 18px; }
.ab-rev__mention { margin-top: 12px; }
.ab-score { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; aspect-ratio: 4 / 3; }
.ab-score .score__n { font-size: 64px; }
.ab-score .score__r { gap: 6px; padding-bottom: 0; }
.ab-score .score__r .caps { font-size: 11px; letter-spacing: .14em; line-height: 1.5; }
.ab-revs__a { display: inline-block; padding: 13px 0; margin: -13px 0; line-height: 18px; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line2); text-underline-offset: .3em; }
@media (hover: hover) { .ab-revs__a:hover { text-decoration-color: currentColor; } }
.ab-revs__more { margin-top: 18px; border-top: 1px solid var(--hair); border-bottom: 0; }
.ab-revs__more .rev:first-of-type { padding-top: 4px; }

/* where: one line, then the three regions */
.ab-where__p { margin: 0 0 18px; max-width: 60ch; }

@media (min-width: 560px) {
  .ab-nicky__call { display: inline-flex; width: auto; }
}
@media (min-width: 768px) {
  .ab-vlogs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-vlogs li:first-child { grid-column: auto; }
}
@media (min-width: 1024px) {
  .ab-nicky__call { margin-top: 32px; }
  .ab-nicky__tag { margin-top: 16px; font-size: 13px; }
  .ab-quote { margin-top: 36px; }
  .ab-crew { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 56px; align-items: center; }
  .ab-tools { margin-top: 0; grid-template-columns: 40% minmax(0, 1fr); }
  .ab-tools__h { font-size: 32px; line-height: 1.15; }
  .ab-bts { margin-top: 72px; padding-top: 28px; }
  .ab-vlogs { margin-top: 36px; }
  .ab-rev__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 56px; align-items: end; margin-bottom: 36px; }
  .ab-rev__mention { margin: 0; }
  .ab-revs > .disc { grid-column: 2; }
  .ab-score { gap: 16px; aspect-ratio: auto; }
  .ab-score .score__n { font-size: 112px; }
  .ab-score .score__r .caps { font-size: 12px; }
  .ab-where__p { margin-bottom: 36px; }
}

/* ================================================================ 2. QUOTE ==== */
/* Round 8 (ROUND8.md decision 8): the 2 Nov form (fields, names, behaviour: public/js/quote-page.js) restructured. A
   slim top on primed (the caps head, the H1, what to send, what happens next as three check lines, the call), the form
   on ember (the send button is the page's one copper fill; copper on primed is 2.35:1), the questions on primed.
   Option tiles are 52px+ boxes on a --line2 edge (3.2:1 on ember) with a round mark (pick one) that fill ivory with
   ink words when picked; fields are 52px boxes with the label above in tracked caps; errors in ivory with "!". */
.inner main .q-top { padding: 24px 0 48px; }
.inner main .q-top .head { margin-bottom: 18px; }
.q-h1 { margin: 0; max-width: 16ch; font: 300 34px/1.08 var(--display); letter-spacing: -.01em; color: var(--fg); text-wrap: balance; }
.q-h1 em { font: inherit; font-style: normal; color: inherit; }
.q-tell { margin-top: 12px; }
/* what happens next: three check lines (the tick drawn: two borders of a turned box) */
.q-next { margin-top: 22px; }
.q-next__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.q-next__list li { position: relative; padding: 6px 0 6px 28px; font-size: 16px; line-height: 1.45; color: var(--fg); }
.q-next__list li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 6px; height: 11px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.q-next__list a { display: inline-block; padding: 12px 0; margin: -12px 0; line-height: 20px; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line2); text-underline-offset: .25em; overflow-wrap: anywhere; }
@media (hover: hover) { .q-next__list a:hover { text-decoration-color: currentColor; } }
.q-talk { margin-top: 24px; }
.q-talk__call { margin-top: 10px; }
.q-talk__desk { margin-top: 12px; }
/* the spam trap (quote.astro): off screen for people, still in the form for robots */
.qtrap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.qsend__text { min-height: 52px; }
.qsend__btn[disabled] { opacity: .6; }

.q-book__grid { display: block; }
.qform { display: grid; gap: 44px; min-width: 0; }
.inner main .qform > .head { margin-bottom: -26px; }
.qset { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.qset__q { margin: 0 0 12px; padding: 0; font: 300 26px/1.15 var(--display); letter-spacing: -.005em; color: var(--fg); }
.qhint { margin: 0; max-width: 56ch; font-size: 15px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; }

/* option tiles: the whole tile is the hit area. Single choice: a round mark (an 18px ring that shows a dot when
   picked), so it reads "pick one", never a checkbox */
.qopts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.qopt { position: relative; display: grid; gap: 2px; align-content: center; min-height: 52px; padding: 12px 50px 12px 16px; border: 1px solid var(--line2); color: var(--fg); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .15s var(--ease); }
.qopt input { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin: -9px 0 0; opacity: 0; pointer-events: none; }
.qopt::after { content: ""; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; box-sizing: border-box; border: 1.5px solid currentColor; border-radius: 50%; padding: 3.5px; background-clip: content-box; }
.qopt b { font: 300 18px/1.25 var(--display); letter-spacing: -.003em; }
.qopt span { font-size: 14px; line-height: 1.4; color: var(--fg2); }
.qopt:has(input:checked) { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.qopt:has(input:checked) span { color: #5A5853; }
.qopt:has(input:checked)::after { background-color: currentColor; }
.qopt:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 3px; }
.qopt:active { transform: scale(.99); }
@media (hover: hover) { .qopt:hover { border-color: var(--fg); } }

/* text fields: the label above in tracked caps, a box under it */
.qfields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.qfield { display: grid; gap: 6px; min-width: 0; }
.qfield__l { font: 400 12px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--fg2); }
.qfield__l .opt, .qmore__s .opt { letter-spacing: 0; text-transform: none; font-size: 14px; }
.qfield input, .qfield textarea { width: 100%; min-height: 52px; margin: 0; padding: 12px 14px; font: 400 17px/1.4 var(--sans); color: var(--fg); background: transparent; border: 1px solid var(--line2); border-radius: 0; box-shadow: none; -webkit-appearance: none; appearance: none; transition: border-color .25s var(--ease); }
.qfield textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.qfield input::placeholder, .qfield textarea::placeholder { color: var(--fg2); opacity: 1; }
.qfield input:focus-visible, .qfield textarea:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-color: var(--fg); }
@media (hover: hover) { .qfield input:hover, .qfield textarea:hover { border-color: var(--fg); } }
/* a missing answer: the label and the box go ivory and thicken, and the copy's message shows under the field */
.qfield.is-invalid .qfield__l { color: var(--fg); }
.qfield.is-invalid input { border: 2px solid var(--fg); padding: 11px 13px; }
.qhint.field-err:empty { display: none; }
.qhint.field-err, .qhint.is-error { color: var(--fg); }
.qhint.field-err::before, .qhint.is-error::before, .qnote.is-error::before { content: "! "; }
.qfields .qhint.field-err { margin-top: -8px; }

/* More details (optional): closed; its summary reads as a row with the + of the site's disclosures */
.qmore { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.qmore__s { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 14px; gap: 16px; align-items: center; min-height: 60px; padding: 10px 0; font: 300 22px/1.3 var(--display); color: var(--fg); }
.qmore__s::-webkit-details-marker { display: none; }
.qmore__s .opt { color: var(--fg2); font-family: var(--sans); }
.qmore__s i { position: relative; width: 14px; height: 14px; }
.qmore__s i::before, .qmore__s i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.qmore__s i::after { transform: rotate(90deg); }
.qmore[open] .qmore__s i::after { transform: rotate(0); }
.qmore__in { display: grid; gap: 36px; padding: 12px 0 32px; }
.qmore .qset__q { font-size: 22px; }

.qsend { display: grid; gap: 16px; }
.qnote { margin: 0; max-width: 54ch; font-size: 15px; line-height: 1.5; color: var(--fg2); }
.qnote.is-sent { padding: 14px 16px; border-left: 2px solid var(--fg); color: var(--fg); }
.qnote.is-error { color: var(--fg); }
.qfallback { margin: 0; max-width: 54ch; font-size: 15px; line-height: 1.6; color: var(--fg2); }
.qfallback a, .q-meta span a { display: inline-block; padding: 12px 0; margin: -12px 0; line-height: 20px; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line2); text-underline-offset: .25em; overflow-wrap: anywhere; }
.qfallback a[href^="tel:"] { white-space: nowrap; }
@media (hover: hover) { .qfallback a:hover, .q-meta span a:hover { text-decoration-color: currentColor; } }

/* the aside: phones, only the small contact line under the send button (the photo is not drawn, so it never loads);
   desktop, a finished room and the same line, held in view beside the form */
.q-side { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hair); }
.q-side__photo { display: none; }
.q-meta { display: grid; justify-items: start; gap: 6px; font-style: normal; font-size: 15px; line-height: 1.5; color: var(--fg2); }

.q-faq__list { max-width: 880px; }

@media (min-width: 560px) {
  .qopts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qopts--project { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
  .qfields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .qfields .wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .inner main .q-top { padding: 48px 0 72px; }
  .q-top__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 96px; align-items: end; }
  .q-top__head { grid-column: 1 / -1; }
  .inner main .q-top .head { margin-bottom: 36px; }
  .q-h1 { max-width: 17ch; font-size: clamp(48px, 4.2vw, 68px); line-height: 1.04; }
  .q-tell { margin-top: 18px; font-size: 19px; }
  .q-next { margin-top: 32px; }
  .q-next__list li { font-size: 17px; }
  .q-talk { margin-top: 0; }
  .q-talk__call { display: inline-flex; width: auto; }
  .inner main .q-book { padding-top: 96px; }
  .q-book__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 96px; align-items: start; }
  .qform { gap: 64px; }
  .inner main .qform > .head { margin-bottom: -28px; }
  .qset__q { font-size: 32px; }
  .qopt { min-height: 60px; }
  .qmore__s { min-height: 76px; font-size: 26px; }
  .qmore .qset__q { font-size: 26px; }
  .qsend__btn { display: inline-flex; width: auto; justify-self: start; }
  .q-side { margin-top: 0; padding-top: 0; border-top: 0; align-self: stretch; }
  .q-side__hold { position: sticky; top: calc(var(--bar) + 40px); }
  .q-side__photo { display: block; aspect-ratio: 1; }
  .q-side__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .q-meta { margin-top: 20px; font-size: 16px; }
}
/* the footer prints its number 220px under its top on desktop: on a tall screen the questions band grows with the
   screen, so the number under the send button and the footer's never share a screen (twonum.mjs) */
@media (min-width: 1280px) { .q-faq { min-height: calc(100vh - 480px); } }

/* ============================================================== 3. PRIVACY ==== */
/* a long reading page on one primed ground: the H1 and the date, then their contact block as the letterhead (left
   column on desktop, held in view) and the policy in a 62ch measure, each part opened with its caps head */
.inner main .pp { padding: 24px 0 64px; } /* round 8: off the breadcrumb, as /quote (spacing audit) */
.pp-head { padding-bottom: 32px; }
.pp-h1 { margin: 0; font: 300 44px/1.04 var(--display); letter-spacing: -.012em; color: var(--fg); }
.pp-date { margin-top: 14px; color: var(--fg2); }
.pp__grid { display: grid; gap: 40px; }
.pp-contact { display: grid; justify-items: start; gap: 2px; font-style: normal; font-size: 16px; line-height: 1.5; color: var(--fg2); }
.pp-contact__name { margin-bottom: 6px; font: 300 24px/1.2 var(--display); color: var(--fg); }
.pp-contact > span:has(a) { display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; min-height: 44px; }
.pp-contact a { display: inline-block; padding: 12px 0; line-height: 20px; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line2); text-underline-offset: .25em; overflow-wrap: anywhere; }
.pp-contact a[href^="tel:"] { white-space: nowrap; }
.pp-body { display: grid; gap: 48px; max-width: 62ch; min-width: 0; }
.pp-part { display: grid; gap: 16px; }
.inner main .pp-part > .head { margin-bottom: 4px; }
.pp-part p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--fg); text-wrap: pretty; }
.pp-part .pp-lead { font: 300 24px/1.35 var(--display); }
.pp-part a { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line2); text-underline-offset: .22em; padding: 13px 0; }
.pp-list { margin: 0; }
.pp-list > li { min-height: 52px; }
@media (hover: hover) { .pp-contact a:hover, .pp-part a:hover { text-decoration-color: currentColor; } }
@media (min-width: 1024px) {
  .inner main .pp { padding: 48px 0 120px; }
  .pp-head { padding-bottom: 72px; }
  .pp-h1 { font-size: clamp(56px, 5vw, 80px); }
  .pp__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 88px; align-items: start; }
  .pp-contact { position: sticky; top: calc(var(--bar) + 40px); font-size: 17px; }
  .pp-contact__name { font-size: 30px; }
  .pp-body { gap: 72px; }
  .pp-part p { font-size: 18px; }
  .pp-part .pp-lead { font-size: 30px; line-height: 1.3; }
}
/* tall screens: the band is at least a screen less 100px, so the letterhead's number and the footer's never share a
   screen (twonum.mjs) */
@media (min-width: 1280px) { .pp { min-height: calc(100vh - 100px); } }

/* ================================================================== 4. 404 ==== */
/* a plain head on ember (no breadcrumb on this page; Get a free quote in copper), then the page list on primed beside
   a finished room, so the ember footer never runs on from a section of its own colour */
.inner main .nf { padding: 32px 0 48px; }
.nf__code::after { content: "·"; margin: 0 .6em; } /* v1's markup kept ("<span>404</span>Not found"); the dot is drawn */
.nf__h1 { margin: 0; max-width: 14ch; font: 300 44px/1.04 var(--display); letter-spacing: -.012em; color: var(--fg); text-wrap: balance; }
.nf__h1 em { font: inherit; font-style: normal; color: inherit; }
.nf__line { margin-top: 16px; max-width: 34ch; }
.nf__line a[href^="tel:"] { white-space: nowrap; }
.nf__btn { margin-top: 24px; }
.nf__grid { display: grid; gap: 32px; }
.nf__photo img { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) {
  .inner main .nf { padding: 72px 0 96px; }
  .nf__h1 { font-size: clamp(64px, 6vw, 96px); }
  .nf__line { margin-top: 28px; }
  .nf__btn { margin-top: 36px; }
  .nf__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 88px; align-items: start; }
}

/* 9 Nov: Nicky's photo and his family line in the Nicky chapter (Kiarash: feature him; Nicky, WhatsApp 7 Nov) */
.ab-nicky__me { margin: 0 0 20px; }
.ab-nicky__me .frame { display: block; aspect-ratio: 1 / 1; }
.ab-nicky__me img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.ab-family { margin: 0 0 18px; }
@media (min-width: 1024px) { .ab-nicky__me { max-width: 420px; } }
