/* Phoenix Drywall & Insulation · the shared system (was home.css; 6 Nov 2026 it became every page's sheet, loaded
   after brand.css: Kiarash, 6 Nov, "build all other pages with the new design philosophy"). Text on photos and on
   night reads --onph (never re-bound by a ground); text on a ground reads --fg / --fg2. Inner pages add inner.css.
   The home page, v6 (5 Nov 2026):
   Tony Yachts' discipline on Phoenix's brand: one ground (night), ivory type, copper only on the two actions,
   names in Bitter 300 (the logo's serif, Tony's Bodoni job), every label and section head in tracked caps,
   hairlines under heads and between rows, square photo frames, no cards, no radius, no shadows.
   Spacing: tight on purpose (Kiarash: "not that much wasted space"): 48px between sections on phones, 96 on desktop.
   5 Nov, round 2 ("too much empty black space: fill it with visual elements or extensions of the existing ones"):
   names moved onto the photos, the services became photo strips, the score sits on a photo, the church shows all
   four stages with a strip of them, the regions got bigger, the questions got a photo on desktop.
   5 Nov, round 3 ("it's about making there be less black space... introducing color, introducing visual elements"):
   the sections now sit on four grounds from their own brand and material, and C's "one flat black, copper only on
   actions" rule is lifted on the home (Kiarash's call). Night (the fold, the footer), ember (a warm dark brown mixed
   from the logo copper and night), primed (the warm off-white of primed drywall) and copper (the logo) for the towns
   band and the close. Each ground sets --fg / --fg2 / --hair; everything below reads those. Contrast (measured):
   ink on primed 13.85, soft on primed 5.72, ivory on ember 13.17, stone on ember 7.07, copper on ember 5.6,
   ink on copper 5.89. Never copper text on primed (2.35).
   5 Nov, round 4 (engaging elements; ENGAGE below): the unveil, the stage buttons, the town links, the count-up,
   the one-at-a-time questions, the project picker in the close, the phone dock, press feedback.
   5 Nov, round 5 (review fixes, all of Kiarash's picks; ROUND 5 notes inline): the church holds on screen while its
   stages change (.hold); the fold never starts invisible; the search line sits under the name; the close's picks are
   the quote path; Custom homes & cottages leads What we do; tiles go 3:2 on desktop; no count-up; plain town names.
   Phone first; 1024px is the desktop switch. The v5 sheet is kept at lab/home-v3/home-v5.css. */

/* ---------------------------------------------------------------- grounds -- */
.g-night  { --bg: var(--night); --fg: var(--onph); --fg2: var(--mist); --hair: var(--rule); --line2: var(--line); }
.g-ember  { --bg: #261E1A; --fg: var(--onph); --fg2: #B3A99C; --hair: #3D322B; --line2: #7A6A5E; }
.g-primed { --bg: #ECE6DA; --fg: #1C1B19; --fg2: #5A5853; --hair: #CFC7B8; --line2: #8E877C; color-scheme: light; }
.g-copper { --bg: var(--copper); --fg: #1C1B19; --fg2: #2B211B; --hair: rgba(28, 27, 25, .28); --line2: #1C1B19; }
.sec, .towns, .close { background: var(--bg); color: var(--fg); }
/* the keyboard ring follows the ground: copper on the darks, ink on primed (copper there is only 2.35:1), night on copper */
.g-night, .g-ember { --ring: var(--copper); } .g-primed { --ring: #1C1B19; } .g-copper { --ring: #0A0B0D; }
.sec :focus-visible, .towns :focus-visible, .close :focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.g-primed a.inl, .g-copper a.inl { color: var(--fg); }
/* ROUND 5: the line sits under the words (brand.css draws it at the foot of a 44px tap area, 12px below them) */
.home main a.inl { border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--line2, var(--line)); }
@media (hover: hover) { .home main a.inl:hover { text-decoration-color: currentColor; } }

/* ---------------------------------------------------------------- roles -- */
.caps { font: 400 12px/1.45 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.nw { white-space: nowrap; }
.star { width: 13px; height: 13px; flex: none; color: var(--onph); }

/* the bar: see-through over the fold while the page is at the top, solid once you scroll (site.js sets .past). The home has no chapters, so the
   bar reads like Tony's: the mark and name · Menu · Call. */
.home .bar { transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.js:not(.past) .home .bar { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ================================================================ 1 · FOLD ==== */
.fold { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--night); }
.fold__media { position: absolute; inset: 0 0 auto 0; height: 68svh; overflow: hidden; }
.fold__media picture { display: contents; } /* round 8: phones draw the church from its 4:5 crop */
.fold__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  animation: settle 2.4s var(--ease) both; }
/* the bar's words sit on the ceiling: a soft shade under them only */
.fold__media::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; background: linear-gradient(to bottom, rgba(var(--scrim), .55), rgba(var(--scrim), 0)); pointer-events: none; }
/* ROUND 5: the photo is visible from the first frame (it only settles in scale): never an invisible hero */
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.fold__copy { position: relative; z-index: 2; padding-top: 24px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
.fold__h1 { margin: 0; font-weight: 300; display: flex; flex-direction: column; }
/* ROUND 5: the search line is part of the H1 (its words and order in the code unchanged) but shows under the name,
   in sentence case: the name is the main title, and nothing sits above a heading as a label */
.fold__seo { order: 2; display: block; margin-top: 10px; max-width: 34em; font: 400 15px/1.45 var(--sans); color: var(--onph); opacity: .88; }
.fold__name { display: block; font: 300 42px/1.04 var(--display); letter-spacing: -.012em; color: var(--onph); text-wrap: balance; }
.fold__tag { margin: 12px 0 0; font: italic 300 18px/1.35 var(--display); color: var(--mist); }
.fold__act { margin-top: 22px; display: grid; gap: 14px; }
.fold__btns { display: grid; grid-template-columns: 1fr; gap: 8px; }
.fold__btns .btn { min-height: 52px; }
.fold__rate { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; justify-self: start; color: var(--onph); text-decoration: none; font-size: 12px; }
.fold__rate .num { font-size: 13px; letter-spacing: .06em; }
.fold__cred { min-height: 0; margin: -8px 0 0; } /* Andie 9 Nov: licensed and insured, under the rating */
/* the copy rises in after the photo starts to settle */
.js .fold__who, .js .fold__act { animation: rise 1.1s var(--ease) both; }
.js .fold__who { animation-delay: .25s; } .js .fold__act { animation-delay: .4s; }
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
/* short phones (an SE at 667): the buttons side by side, a smaller name, so all of it sits in the first screen */
@media (max-height: 740px) and (max-width: 1023px) {
  .fold__media { height: 60svh; }
  .fold__name { font-size: 36px; }
  .fold__tag { margin-top: 8px; font-size: 16px; }
  .fold__seo { margin-top: 6px; font-size: 14px; }
  .fold__act { margin-top: 16px; gap: 10px; }
  .fold__btns { grid-template-columns: 1fr auto; }
  .fold__btns .btn { min-height: 48px; padding: 0 16px; letter-spacing: .12em; }
  .fold__btns .btn--line .num { display: none; }
}
@media (min-width: 560px) and (max-width: 1023px) { .fold__btns { grid-template-columns: auto auto; justify-content: start; } .fold__name { font-size: 56px; } }

/* ================================================================ TOWNS BAND ==== */
/* every town their job posts name, in Bitter on the logo's copper, drifting left (two copies, so it loops) */
.towns { overflow: hidden; display: flex; align-items: stretch; }
/* round 8 (text audit): the band says what the towns are */
.towns__k { flex: none; display: flex; align-items: center; margin: 0; padding: 0 14px 0 var(--gutter); font-size: 11px; letter-spacing: .16em; color: var(--fg); border-right: 1px solid var(--hair); }
.towns__run { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.towns__track { display: flex; width: max-content; animation: towns 70s linear infinite; }
.towns__list { display: flex; margin: 0; padding: 0; list-style: none; }
.towns__list li { display: flex; align-items: center; gap: 22px; padding-right: 22px; min-height: 60px; font: 300 22px/1 var(--display); letter-spacing: -.005em; white-space: nowrap; }
/* a finger or the pointer on the band stops it; it only runs while on screen (site.js .is-seen) */
.towns:hover .towns__track, .towns:active .towns__track, .towns:not(.is-seen) .towns__track { animation-play-state: paused; }
.towns__list li::after { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); opacity: .7; }
@keyframes towns { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .towns__track { width: auto; animation: none; }
  .towns__list { flex-wrap: wrap; justify-content: center; padding: 10px var(--gutter); }
  .towns__list li { min-height: 40px; }
  .towns__list[aria-hidden] { display: none; }
}

/* ================================================================ SECTIONS ==== */
.sec { padding: 48px 0; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 6px; border-bottom: 1px solid var(--hair); }
.head__h { margin: 0; font-weight: 300; font-size: 20px; letter-spacing: .16em; color: var(--fg); }
.head__n { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: none; color: var(--fg2); text-decoration: none; font-size: 12px; letter-spacing: .14em; transition: color .3s var(--ease); }
.head__n .arw { transition: transform .3s var(--ease); }
/* 320px phones: the link beside a heading may wrap rather than push the page sideways */
@media (max-width: 359px) { .head__h { font-size: 17px; letter-spacing: .12em; } .head__n { flex: 0 1 auto; min-width: 0; text-align: right; letter-spacing: .08em; } }
/* round 8 review: a long head link may wrap rather than push the page sideways (a 375px phone) */
@media (max-width: 419px) { .head__n { flex: 0 1 auto; min-width: 0; text-align: right; } }
@media (hover: hover) { .head__n:hover { color: var(--fg); } .head__n:hover .arw { transform: translateX(4px); } }
.lead { margin: 0 0 20px; max-width: 30ch; font: 300 22px/1.3 var(--display); color: var(--fg); text-wrap: balance; }
.rv { transition-delay: calc(var(--i, 0) * 70ms); }

/* ================================================================ 2 · WORK ==== */
@property --p1 { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --p2 { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --p3 { syntax: '<number>'; inherits: true; initial-value: 1; }
.feat.is-tap { transition: --p1 .9s var(--ease), --p2 .9s var(--ease), --p3 .9s var(--ease); }
/* the church: four stages from one spot stacked in one frame; each later stage wipes over the one before from the
   left (--p1..--p3, 0 to 1, set by site.js as the picture crosses the screen; all 1 = finished, the no-JS and
   reduced-motion state). The name sits on the photo; under it a strip of the four says which stage you see. */
/* ROUND 5: the hold. The church stops on screen (sticky, centred under the bar by site.js through --hold-top) while
   about three quarters of a screen of scrolling moves it through its stages, then scrolls on. Reduced motion and no
   JS: no hold, the finished room. */
.hold { position: relative; }
/* the run-out is a spacer, not padding: a sticky box only travels within its parent's content */
.js .hold::after { content: ""; display: block; height: 75svh; }
.js .hold > .feat { position: sticky; top: var(--hold-top, calc(var(--bar) + 16px)); }
@media (prefers-reduced-motion: reduce) { .js .hold::after { display: none; } .js .hold > .feat { position: static; } }
.feat { display: grid; gap: 10px; color: inherit; text-decoration: none; --p1: 1; --p2: 1; --p3: 1; --e: 1; }
.feat__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.feat__l { position: absolute; inset: 0; display: block; }
.feat__l img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform 1.6s var(--ease); }
.feat__l--1 { clip-path: inset(0 calc((1 - var(--p1)) * 100%) 0 0); }
.feat__l--2 { clip-path: inset(0 calc((1 - var(--p2)) * 100%) 0 0); }
.feat__l--3 { clip-path: inset(0 calc((1 - var(--p3)) * 100%) 0 0); }
.feat__edge { position: absolute; z-index: 2; top: 0; bottom: 0; left: calc(var(--e) * 100%); width: 2px; margin-left: -1px; background: #F3F0EB; box-shadow: 0 0 18px rgba(243, 240, 235, .5); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.feat.is-wiping .feat__edge { opacity: 1; }
.feat__over { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 64px 14px 14px;
  background: linear-gradient(to top, rgba(var(--scrim), .82) 0%, rgba(var(--scrim), .5) 45%, rgba(var(--scrim), 0) 100%); }
.feat__name { font: 300 30px/1.08 var(--display); letter-spacing: -.008em; color: var(--onph); }
.feat__name .arw { display: inline-block; margin-left: 10px; vertical-align: middle; }
.feat__body { display: grid; gap: 10px; }
.feat__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.feat__s { display: grid; gap: 6px; min-height: 44px; padding: 0; text-align: left; cursor: pointer; transition: transform .15s var(--ease); }
.feat__th { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.feat__th img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.92); opacity: .7; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.feat__s.is-on .feat__th img { filter: none; opacity: 1; }
.feat__th::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .35s var(--ease); }
.feat__s.is-on .feat__th::after { box-shadow: inset 0 0 0 2px var(--fg); }
.feat__st { font-size: 11px; letter-spacing: .08em; color: var(--fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat__w { display: none; }
.feat__s.is-on .feat__st { color: var(--fg); }
.feat__meta { margin: 0; justify-self: end; color: var(--fg2); font-size: 11px; }
@media (hover: hover) { .feat__s:hover .feat__th img { opacity: 1; } }
.feat__media { color: inherit; text-decoration: none; }

.tiles { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; display: block; color: inherit; text-decoration: none; }
.tile__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.tile__media picture { display: block; width: 100%; height: 100%; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
/* the name and place on the photo, on a shade that only covers the words */
.tile__over { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 48px 10px 10px;
  background: linear-gradient(to top, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .55) 50%, rgba(var(--scrim), 0) 100%); }
.tile__name { display: block; font: 300 17px/1.15 var(--display); letter-spacing: -.005em; color: var(--onph); text-wrap: balance; }
.tile__meta { display: block; color: var(--onph); opacity: .85; font-size: 11px; letter-spacing: .06em; }
.tile__name .arw { display: inline-block; margin-left: 8px; vertical-align: middle; opacity: .8; transition: transform .35s var(--ease), opacity .35s var(--ease); }
@media (hover: hover) { .tile__name .arw { opacity: 0; transform: translateX(-6px); } .tile:hover .tile__name .arw { opacity: 1; transform: none; } }
/* the sixth cell: a photo of a sixth job, dimmed, with the two ways to see more */
.also { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); color: var(--onph); text-decoration: none; }
.also__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
/* round 8 (review): a shade under the words, as the tiles have (white walls left "All 6 projects" unreadable) */
.also::after { content: ""; position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 60%; pointer-events: none;
  background: linear-gradient(to top, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .55) 45%, rgba(var(--scrim), 0) 100%); }
.also__a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 0 10px; border-top: 1px solid rgba(236, 230, 218, .2); color: var(--onph); text-decoration: none; }
.also__a .tile__name { margin: 0; }
.also__a .arw { transition: transform .3s var(--ease); }
@media (hover: hover) {
  .tile:hover .tile__media img, .feat:hover .feat__l img { transform: scale(1.035); }
  .also__a:hover .arw, .also:hover .also__a .arw { transform: translateX(4px); }
}

/* ================================================================ 3 · SERVICES ==== */
/* each row is a strip of its own photo that fades into black behind the name */
.index { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 14px; align-items: center; gap: 14px; min-height: 76px; padding: 10px 14px; overflow: hidden; color: var(--onph); text-decoration: none; background: rgba(var(--scrim), .4); }
.row__ph { position: absolute; inset: 0 0 0 auto; width: 78%; display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 16%, rgba(0, 0, 0, .65) 46%, #000 72%); mask-image: linear-gradient(to right, transparent 0%, transparent 16%, rgba(0, 0, 0, .65) 46%, #000 72%); }
/* ROUND 5: their specialty leads: a taller first row, bigger name */
.row--lead { min-height: 128px; }
.row--lead .row__name { font-size: 26px; max-width: 9em; }
.index__all { display: none; }
.row__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.row__txt, .row .arw { position: relative; z-index: 1; }
.row__txt { display: grid; gap: 3px; text-shadow: 0 1px 12px rgba(var(--scrim), .8); }
.row__name { font: 300 19px/1.2 var(--display); letter-spacing: -.004em; max-width: 13em; }
.row__new { color: var(--copper); font-size: 11px; letter-spacing: .14em; }
.row .arw { color: var(--onph); filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .8)); transition: transform .3s var(--ease); }
@media (hover: hover) { .row:hover .arw { transform: translateX(4px); } .row:hover .row__ph img { transform: scale(1.05); } }

/* ================================================================ 4 · REVIEWS ==== */
/* the score on a finished room; the reviews under it (phones) or beside it (desktop). Round 8: 4:3 on phones, so
   the room shows round the number (the 16:10 band showed a ceiling corner) */
.revs { display: grid; gap: 0; }
.score { position: relative; display: flex; align-items: flex-end; gap: 16px; aspect-ratio: 4 / 3; padding: 16px; overflow: hidden; color: var(--onph); text-decoration: none; background: var(--surface); }
.score__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.score::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(var(--scrim), .85) 0%, rgba(var(--scrim), .35) 45%, rgba(var(--scrim), 0) 75%); }
.score__n, .score__r { position: relative; z-index: 2; }
.score__n { font: 300 72px/.9 var(--display); letter-spacing: -.02em; }
.score__r { display: grid; gap: 8px; padding-bottom: 6px; color: var(--onph); font-size: 12px; }
.stars { display: flex; gap: 3px; color: var(--onph); }
.stars svg { width: 15px; height: 15px; }
.rev { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.rev p { margin: 0; max-width: 58ch; font: 300 19px/1.42 var(--display); color: var(--fg); text-wrap: pretty; }
.rev footer { margin-top: 10px; color: var(--fg2); font-size: 11px; letter-spacing: .14em; }
.rev:last-of-type { border-bottom: 0; padding-bottom: 0; }

/* ================================================================ 5 · AREAS ==== */
/* phones: Simcoe County wide on top, Muskoka and Georgian Bay side by side; the name on each photo */
.regs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.regs li:first-child { grid-column: 1 / -1; }
.reg { position: relative; display: block; color: var(--onph); text-decoration: none; }
.reg__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.regs li:first-child .reg__media { aspect-ratio: 16 / 9; }
.reg__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.reg__name { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 48px 12px 12px;
  font: 300 17px/1.18 var(--display); text-wrap: balance;
  background: linear-gradient(to top, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .5) 50%, rgba(var(--scrim), 0) 100%); }
.reg__name .arw { flex: none; margin-bottom: 5px; transition: transform .3s var(--ease); }
@media (hover: hover) { .reg:hover .reg__media img { transform: scale(1.04); } .reg:hover .arw { transform: translateX(4px); } }

/* ================================================================ 6 · QUESTIONS ==== */
/* a photo between the heading and the list (as Reviews has its score photo); on desktop it stands in the left column */
.qs__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; margin: 0; }
/* round 8 review: phones drop the photo (it only set the mood, and the What we do tiles grew to full width), so the
   home stays near ten screens; desktop shows the Tiny hallway in the left column */
@media (max-width: 1023px) { .qs .qs__ph { display: none; } }
.qs__list { border-top: 1px solid var(--hair); }
.q { border-bottom: 1px solid var(--hair); }
.q > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 14px; gap: 16px; align-items: center; min-height: 56px; padding: 10px 0; font: 300 18px/1.38 var(--display); color: var(--fg); }
.q > summary::-webkit-details-marker { display: none; }
.q > summary i { position: relative; width: 14px; height: 14px; }
.q > summary i::before, .q > summary i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.q > summary i::after { transform: rotate(90deg); }
.q[open] > summary i::after { transform: rotate(0deg); }
.q > p { margin: 0 0 18px; max-width: 60ch; color: var(--fg2); font-size: 16px; line-height: 1.55; }
.sec--qs .head { border-bottom: 0; }

/* ================================================================ 7 · CLOSE ==== */
.close { position: relative; overflow: hidden; padding: 0 0 56px; isolation: isolate; }
/* phones: their sign at a new build in the woods as a band over the headline, fading into the page (never behind
   the buttons); desktop: the same photo on the right, masked into black (Tony's close) */
/* on copper the sign photo prints as a copper duotone: greyscale, multiplied into the ground */
.close__glow { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: -28px; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); pointer-events: none; }
.close__in { position: relative; }
.close__h { margin: 0; max-width: 14ch; font: 300 34px/1.1 var(--display); letter-spacing: -.01em; text-wrap: balance; color: var(--fg); }
.close__num { display: inline-flex; align-items: center; min-height: 56px; margin-top: 18px; font: 300 40px/1 var(--sans); letter-spacing: .04em; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line2); }
/* on copper the main button is night with ivory words; the others are ink outlines */
.close .btn { background: var(--night); border-color: var(--night); color: var(--onph); }
.close .btn--line { background: transparent; border-color: var(--fg); color: var(--fg); }
.close__aside { margin: 28px 0 0; max-width: 46ch; color: var(--fg2); font-size: 16px; line-height: 1.6; }
.close__aside .caps { margin-right: 4px; font-size: 11px; color: var(--fg); }
.close__aside .inl { white-space: nowrap; }

/* ================================================================ ENGAGE ==== */
/* the unveil: a photo frame opens upward from its foot as it enters, the photo settling from a little closer.
   Runs off chapter-bar.js's .is-in on the nearest .rv; reduced motion and crawlers see it open. */
/* 6 Nov: the frame is no longer clipped; a cover in the section's own ground slides off it upward instead (same look).
   A clip-path on the photo's frame kept a lazy photo from loading until the frame opened, so on a slow line a frame
   could open empty (found on the area pages, 6 Nov). */
.js .rv .uv, .js .rv.uv { position: relative; }
.js .rv .uv::after, .js .rv.uv::after { content: ""; position: absolute; inset: 0; z-index: 4; background: var(--bg, var(--night)); transform-origin: 50% 0; transform: scaleY(1); transition: transform .8s var(--ease) calc(var(--i, 0) * 60ms + 40ms); pointer-events: none; }
.js .rv .uv img, .js .rv.uv img { transform: scale(1.08); transition: transform 1.1s var(--ease) calc(var(--i, 0) * 60ms + 40ms); }
@media (min-height: 2000px) { .js .rv .uv::after, .js .rv.uv::after { display: none; } .js .rv .uv img, .js .rv.uv img { transform: none; } } /* crawlers render tall */
.js .rv.is-in .uv::after, .js .rv.uv.is-in::after { transform: scaleY(0); }
.js .rv.is-in .uv img, .js .rv.uv.is-in img { transform: none; }
/* the hover zoom has to win over the settled state */
@media (hover: hover) { .js .rv.is-in .tile:hover .uv img, .js .rv.is-in .reg:hover .uv img { transform: scale(1.04); } }

/* the score: 4.8 counts up (site.js) and the stars light one after another */
.js .score .stars svg { opacity: .25; transition: opacity .35s var(--ease); }
.js .score.is-in .stars svg { opacity: 1; }
.js .score.is-in .stars svg:nth-child(2) { transition-delay: .15s; } .js .score.is-in .stars svg:nth-child(3) { transition-delay: .3s; }
.js .score.is-in .stars svg:nth-child(4) { transition-delay: .45s; } .js .score.is-in .stars svg:nth-child(5) { transition-delay: .6s; }

/* the questions open and close smoothly (where the browser can size to auto), one at a time (details name="faq") */
:root { interpolate-size: allow-keywords; }
.q::details-content { block-size: 0; overflow: clip; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
.q[open]::details-content { block-size: auto; }
.qs__ph { display: block; overflow: hidden; }

/* the close's quick start: the quote form's first question, each answer a tap into the form with it picked */
/* ROUND 5: one path. Get a free quote = the quote form's first question, each answer a tap into the form with it
   picked; the number above is the call; email a quiet link under it */
.pick { margin-top: 28px; }
.pick__h { display: grid; gap: 6px; margin: 0 0 14px; color: var(--fg); }
.pick__q { font: 300 26px/1.1 var(--display); }
.pick__s { font-size: 12px; color: var(--fg2); }
.pick__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.pick__list li:last-child { grid-column: 1 / -1; }
@media (max-width: 359px) { .pick__list { grid-template-columns: 1fr; } } /* 320px phones: one per row, so none is cut */
.pick__a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 0 10px; font: 300 16px/1.15 var(--display); white-space: nowrap; color: var(--onph); text-decoration: none; background: var(--night); border: 1px solid var(--night); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease); }
.pick__a .arw { flex: none; display: none; }
@media (hover: hover) { .pick__a:hover { background: transparent; border-color: var(--fg); color: var(--fg); } }
.close__mail { margin: 22px 0 0; font-size: 16px; }

/* phones: the quote bar along the bottom (site.js shows it between the fold and the close, never over the menu) */
.dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(var(--scrim), .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--rule);
  transform: translateY(110%); visibility: hidden; transition: transform .25s ease-in, visibility 0s linear .25s; }
.dock.is-on { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.menu-open .dock { transform: translateY(110%); visibility: hidden; }
.dock { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.dock__btn, .dock__call { min-height: 52px; }
.dock__call { padding: 0 24px; }
@media (min-width: 1024px) { .dock { display: none; } }

/* press feedback on touch: what you tap gives a little */
.tile, .reg, .row, .also__a, .pick__a, .btn, .feat__s { -webkit-tap-highlight-color: transparent; }
.tile:active .tile__media, .reg:active .reg__media { transform: scale(.985); }
.tile__media, .reg__media { transition: transform .15s var(--ease); }
.row:active, .pick__a:active, .feat__s:active, .btn:active { transform: scale(.98); }
.row { transition: transform .15s var(--ease); }
.btn { transition: border-color .3s var(--ease), outline-color .3s var(--ease), transform .15s var(--ease); }

/* ================================================================ DESKTOP ==== */
@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .regs { gap: 12px; }
}
@media (min-width: 1024px) {
  .fold__media { inset: 0; height: auto; }
  .fold__media img { object-position: 50% 66%; -webkit-mask-image: none; mask-image: none; } /* the apse and lit windows above the words */
  .fold__media::after { inset: 0; height: auto; background:
    linear-gradient(to top, rgba(var(--scrim), .92) 0%, rgba(var(--scrim), .66) 26%, rgba(var(--scrim), 0) 56%),
    linear-gradient(to bottom, rgba(var(--scrim), .6), rgba(var(--scrim), 0) 18%); }
  .fold__copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; padding-bottom: 64px; }
  .fold__seo { font-size: 19px; margin-top: 16px; }
  .fold__name { font-size: clamp(64px, 5.6vw, 96px); line-height: 1; }
  .fold__tag { margin-top: 18px; font-size: 22px; color: var(--onph); opacity: .8; }
  .fold__act { justify-items: end; gap: 18px; margin: 0; }
  .fold__btns { grid-template-columns: auto auto; gap: 12px; }
  .fold__btns .btn { min-height: 56px; padding: 0 30px; }
  .fold__rate { justify-self: end; font-size: 12px; }

  .sec { padding: 96px 0; }
  .towns__list li { min-height: 84px; gap: 32px; padding-right: 32px; font-size: 32px; }
  .towns__k { padding-right: 24px; font-size: 12px; }
  .head { margin-bottom: 36px; padding-bottom: 14px; }
  .head__h { font-size: 30px; }
  .head__n { font-size: 12px; }
  .lead { max-width: 40ch; margin-bottom: 32px; font-size: 30px; }

  .feat { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
  .feat__media { aspect-ratio: 3 / 2; }
  .feat__over { padding: 120px 28px 26px; gap: 8px; }
  .feat__name { font-size: clamp(40px, 3.6vw, 56px); }
  .feat__body { grid-template-rows: auto auto; align-content: end; gap: 14px; }
  .feat__strip { grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
  .feat__th { aspect-ratio: 3 / 2; }
  .feat__st { font-size: 11px; letter-spacing: .16em; }
  .feat__w { display: inline; color: var(--fg2); }
  .feat__meta { font-size: 12px; }
  .tiles { margin-top: 24px; gap: 24px; }
  .tile__media, .also { aspect-ratio: 3 / 2; }
  .tile__over { padding: 96px 20px 20px; gap: 6px; }
  .tile__name { font-size: 26px; }
  .tile__meta { font-size: 12px; letter-spacing: .12em; }
  .also__a { min-height: 64px; padding: 0 20px; }

  .index { grid-template-columns: 1fr 1fr; gap: 12px; }
  .row { min-height: 112px; padding: 16px 24px; }
  .row__ph { width: 66%; }
  .row__name { font-size: 26px; }
  .index__lead { grid-column: 1 / -1; }
  .row--lead { min-height: 168px; padding: 24px 32px; }
  .row--lead .row__ph { width: 70%; }
  .row--lead .row__name { font-size: 40px; max-width: none; }
  .index__all { display: block; }
  .index__all .row { color: var(--fg2); background: transparent; border: 1px solid var(--hair); }
  .row__new { font-size: 11px; }

  .revs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 56px; align-items: stretch; }
  .score { grid-row: 1 / span 3; aspect-ratio: auto; min-height: 480px; padding: 32px; gap: 20px; }
  .home .score { min-height: 400px; } /* round 8: two reviews beside it now (the ceiling one lives on /services/ceilings) */
  .score__n { font-size: 128px; }
  .score__r { font-size: 12px; padding-bottom: 14px; }
  .stars svg { width: 18px; height: 18px; }
  .rev { grid-column: 2; padding: 28px 0; }
  .rev:first-of-type { padding-top: 0; }
  .rev:last-of-type { border-bottom: 0; }
  .rev p { font-size: 24px; }

  .regs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .regs li:first-child { grid-column: auto; }
  .reg__media, .regs li:first-child .reg__media { aspect-ratio: 4 / 5; }
  .reg__name { padding: 96px 24px 22px; font-size: 26px; }

  .qs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
  .qs__side { position: sticky; top: calc(var(--bar) + 24px); }
  .qs .head { border: 0; margin-bottom: 20px; }
  .qs__img { aspect-ratio: 4 / 5; object-position: 50% 50%; margin: 0; }
  .qs__list { margin-top: 0; }
  .q > summary { font-size: 22px; min-height: 76px; }

  .close { padding: 112px 0; }
  .close__glow { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 56%; height: 100%; aspect-ratio: auto; margin: 0; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 60%); mask-image: linear-gradient(to right, transparent 0%, #000 60%); }
  .close__h { font-size: clamp(48px, 4.6vw, 76px); max-width: 15ch; }
  .close__num { margin-top: 28px; font-size: 52px; }
  .close__aside { margin-top: 40px; font-size: 17px; }
  .pick { margin-top: 44px; max-width: 660px; }
  .pick__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pick__a { min-height: 56px; padding: 0 16px; font-size: 18px; }
  .pick__q { font-size: 34px; }
  .close__mail { margin-top: 28px; font-size: 17px; }
}


/* ================================================================ ROUND 8 · SHARED ==== */
/* Round 8 (6 Nov 2026, website/redesign/ROUND8.md): the pieces every page shares. One rhythm: sections 48px phones /
   96px desktop, head to content 18 / 36px, photo grids 8px gaps (12 from 768, 24 from 1024). */

/* the primed ground's main button is ink (never copper on primed: 2.35:1), on the home's .g-primed sections too */
.g-primed .btn:not(.btn--line):not(.btn--ghost) { background: #1C1B19; border-color: #1C1B19; color: #ECE6DA; }
.g-primed .btn--line, .g-ember .btn--line { color: var(--fg); border-color: var(--line2); }

/* ---- ServiceTiles.astro: "What we do" as big photo tiles, two tiers (project type, then trade). Phones: tier A's
   lead full width at 3:2 and its pair 2-up 4:5; tier B one per row, full width at 3:2 (round 8 review: 2-up, the
   words covered half of a 175px tile); tablets: B 2-up 4:5 under a 2:1 lead; desktop: A 3-up, B 5-up, all 4:5. Names and one line on the
   photo, a shade under the words only. Each photo's focus: --op (phones) / --op-d (from 1024px) on the img. */
.svt { display: grid; gap: 8px; }
.svt__sub { margin: 20px 0 10px; }
.svt__sub:first-child { margin-top: 0; }
.svt__sub > :first-child { margin-top: 0; }
.svt__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.svt__li { min-width: 0; }
.svt__li--lead { grid-column: 1 / -1; }
.svt__t { position: relative; display: block; color: var(--onph); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.svt__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); transition: transform .15s var(--ease); }
.svt__grid--b .svt__li--lead .svt__media, .svt__grid--a .svt__li--lead .svt__media { aspect-ratio: 3 / 2; }
@media (max-width: 767px) {
  .svt__grid--b { grid-template-columns: minmax(0, 1fr); }
  .svt__grid--b .svt__media { aspect-ratio: 3 / 2; }
  .svt__grid--b .svt__over { padding-top: 48px; }
  .svt__grid--b .svt__name { font-size: 22px; }
  .svt__grid--b .svt__line { font-size: 14px; }
}
.svt__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 50%); transition: transform 1.6s var(--ease); }
.svt__over { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: 4px; padding: 56px 12px 12px;
  background: linear-gradient(to top, rgba(var(--scrim), .9) 0%, rgba(var(--scrim), .62) 55%, rgba(var(--scrim), 0) 100%); pointer-events: none; }
.svt__name { margin: 0; font: 300 18px/1.16 var(--display); letter-spacing: -.005em; color: var(--onph); text-wrap: balance; }
.svt__li--lead .svt__name { font-size: 26px; }
.svt__name .arw { display: inline-block; margin-left: 8px; vertical-align: middle; opacity: .85; transition: transform .35s var(--ease); }
.svt__line { display: block; max-width: 34ch; font: 400 13px/1.4 var(--sans); color: var(--onph); opacity: .88; text-wrap: pretty; }
.svt__li--lead .svt__line { font-size: 15px; }
.svt__new { color: var(--copper); font-size: 10px; letter-spacing: .16em; }
.svt__li--lead .svt__new { font-size: 11px; }
.svt__t:active .svt__media { transform: scale(.985); }
@media (hover: hover) {
  .svt__t:hover .svt__media img, .js .rv.is-in .svt__t:hover .uv img { transform: scale(1.04); }
  .svt__t:hover .svt__name .arw { transform: translateX(4px); }
}
.svt__t:focus-visible { outline: 2px solid var(--ring, var(--copper)); outline-offset: 3px; }

/* ---- InlineAsk.astro: the one ask in a page's body, right after the proof (a hairline over it) */
.ask { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hair); display: grid; gap: 12px; }
.ask__line { margin: 0; max-width: 46ch; color: var(--fg); font: 300 20px/1.3 var(--display); text-wrap: balance; }
.ask__btns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ask .btn { min-height: 52px; }
@media (min-width: 560px) { .ask__btns { grid-template-columns: auto auto auto; justify-content: start; } .ask .btn { padding: 0 28px; } }

/* ---- small region links (Service.astro's Where we work; any page's .regs--small). Phones: a row each, a square photo
   beside the name; desktop: three 3:2 tiles, the name on the photo. */
@media (max-width: 1023px) {
  .regs--small { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--hair); }
  .regs--small li:first-child { grid-column: auto; }
  .regs--small .reg { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 64px; padding: 8px 0; border-bottom: 1px solid var(--hair); color: var(--fg); }
  .regs--small .reg__media, .regs--small li:first-child .reg__media { aspect-ratio: 1 / 1; }
  .regs--small .reg__name { position: static; padding: 0; background: none; font-size: 20px; align-items: center; }
  .regs--small .reg__name .arw { margin-bottom: 0; color: var(--fg2); }
}

/* ---- Close.astro: email and hours, each a line, with a caps label when the page asks for one (labelled) */
.close__line { display: block; }
.close__line + .close__line { margin-top: 6px; }
.close__mail--lab .close__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.close__lab { flex: none; min-width: 4.5em; font-size: 11px; color: var(--fg); }
.close__hours { color: var(--fg2); }

@media (min-width: 768px) {
  .svt__grid { gap: 12px; } .svt { gap: 12px; }
  .svt__grid--a { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svt__grid--a .svt__li--lead { grid-column: auto; }
  .svt__grid--a .svt__li--lead .svt__media { aspect-ratio: 4 / 5; }
  .svt__grid--a .svt__li--lead .svt__name { font-size: 22px; }
  .svt__grid--b .svt__li--lead .svt__media { aspect-ratio: 2 / 1; }
}
@media (min-width: 1024px) {
  .svt, .svt__grid { gap: 24px; }
  .svt__sub { margin: 32px 0 12px; }
  .svt__grid--b { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .svt__grid--b .svt__li--lead { grid-column: auto; }
  .svt__grid--b .svt__li--lead .svt__media { aspect-ratio: 4 / 5; }
  .svt__media img { object-position: var(--op-d, var(--op, 50% 50%)); }
  .svt__over { padding: 96px 20px 20px; gap: 6px; }
  .svt__grid--a .svt__name, .svt__grid--a .svt__li--lead .svt__name { font-size: 30px; }
  .svt__grid--a .svt__line { font-size: 15px; }
  .svt__grid--b .svt__over { padding: 72px 16px 16px; }
  .svt__grid--b .svt__name, .svt__grid--b .svt__li--lead .svt__name { font-size: 21px; }
  .svt__grid--b .svt__line, .svt__grid--b .svt__li--lead .svt__line { font-size: 13px; }
  .svt__grid--b .svt__new { font-size: 10px; }
  .ask { margin-top: 48px; padding-top: 28px; }
  .ask__line { font-size: 26px; }
  .ask .btn { min-height: 56px; padding: 0 30px; }
  .regs--small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .regs--small .reg__media, .regs--small li:first-child .reg__media { aspect-ratio: 3 / 2; }
  .regs--small .reg__name { padding: 64px 20px 18px; font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .fold__media img, .js .fold__who, .js .fold__act { animation: none; }
  .js .rv .uv::after, .js .rv.uv::after { display: none; }
  .js .rv .uv img, .js .rv.uv img { transform: none; }
  .js .score .stars svg { opacity: 1; }
}

/* "Text Nicky" (11 Nov 2026): only where a tap can open a messages app (touch phones and tablets). On a computer the
   button is hidden and .sms-desk (the number to text from your phone) shows instead, where a page has one. */
@media not ((hover: none) and (pointer: coarse)) { .sms { display: none !important; } }
@media (hover: none) and (pointer: coarse) {
  .sms-desk { display: none !important; }
  .dock:has(.sms) { grid-template-columns: minmax(0, 1fr) auto auto; }
  .dock .sms { padding: 0 18px; }
}
