/* Home Improvement Pros. Porch-siding blue, new-pine accent, paper and charcoal.
   Big Shoulders Display (stamped caps: the name, labels and grade stamps) + Golos Text (everything you read). */
:root {
  --blue: #24496E;
  --blue-deep: #1A3753;
  --pine: #D9C48E;
  --pine-soft: rgba(217, 196, 142, .5);
  --paper: #F2EEE6;
  --white: #FBFAF6;
  --ink: #1E2328;
  --mute: #4A5058;
  --rule: rgba(30, 35, 40, .16);
  --on-blue: rgba(251, 250, 246, .88);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Golos Text", system-ui, sans-serif;
  --gut: 20px;
  --sec: 80px;
  /* motion: quick and firm, like the work */
  --m-dur: .7s;
  --m-ease: cubic-bezier(.2, .7, .1, 1);
  --m-rise: 22px;
}
@media (max-width: 719px) { :root { --m-dur: .6s; --m-rise: 16px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
.wrap { width: min(1280px, 100% - 2 * var(--gut)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero :focus-visible, .top :focus-visible, .work :focus-visible, .area :focus-visible, .foot :focus-visible, .actionbar :focus-visible { outline-color: var(--pine); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.preview { background: var(--ink); color: #cfd3d6; font-size: .8125rem; line-height: 1.4; text-align: center; padding: 7px 16px; }
.preview b { color: var(--white); font-weight: 600; }
@media (max-width: 719px) { .preview { font-size: .75rem; padding-inline: 16px; } }

/* section labels: stamped caps, one size everywhere */
.chapter h2, .reviews h2 { font: 800 clamp(3.5rem, 17vw, 4.25rem)/.86 var(--display); letter-spacing: .01em; text-transform: uppercase; }

/* ---------- the grade stamp: the ink mark on every board of treated pine ----------
   A ruled block of cells, each a tiny label over a value; the footer adds a big mark cell. Pine lines on blue. */
.stamp { --sc: var(--pine); display: flex; align-items: stretch; width: fit-content; max-width: 100%; border: 2px solid var(--sc); font-family: var(--display); text-transform: uppercase; }
.stamp dl { display: contents; }
.stamp, .ticket, .ch-head, .area-stamp { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; will-change: transform; }
.stamp-mark { display: flex; align-items: center; padding: 6px 12px 4px; border-right: 2px solid var(--sc); color: var(--sc); font: 900 1.9rem/1 var(--display); letter-spacing: .02em; }
.stamp > div, .stamp dl > div { flex: 1 1 auto; min-width: 0; padding: 9px 14px 10px; border-right: 2px solid var(--sc); }
.stamp div:last-child { border-right: 0; }
.stamp dt { margin-bottom: 5px; color: var(--sc); font: 700 .75rem/1 var(--display); letter-spacing: .16em; }
.stamp dd { font: 800 1.08rem/1.1 var(--display); letter-spacing: .05em; white-space: nowrap; }
.stamp dd a { text-decoration: none; }

/* the stamp "prints": a quick press down from slightly large, with a stepped ink-in */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  html.m-on [data-reveal].print { opacity: 0; transform: scale(1.04); transform-origin: 0 50%;
    transition: opacity .14s steps(2, end) var(--d, 0ms), transform .38s cubic-bezier(.2, .9, .25, 1) var(--d, 0ms); }
  html.m-on [data-reveal].print.is-in { opacity: 1; transform: none; }
  html.m-on [data-reveal].ticket:not(.is-in) { transform: scale(1.015); }
  html.m-on .rows [data-reveal] { --m-rise: 12px; }
}
/* the hero's lede, actions and stamp play with the entrance on load, wherever they sit in the first screen */
@keyframes hip-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes hip-print { 0% { opacity: 0; transform: scale(1.04); } 20% { opacity: 0; } 21% { opacity: .55; } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .lede.enter { animation: hip-rise .5s cubic-bezier(.2, .7, .1, 1) .3s both; }
  .hero .actions.enter { animation: hip-rise .5s cubic-bezier(.2, .7, .1, 1) .38s both; }
  .hero .enter-print { transform-origin: 0 50%; animation: hip-print .4s cubic-bezier(.2, .9, .25, 1) .8s both; }
}

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 0; background: var(--pine); color: var(--ink); text-decoration: none; font: 800 1.15rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; --m-fill: rgba(255, 255, 255, .4); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--blue); color: var(--white); border-bottom: 1px solid var(--pine-soft); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 60px; }
.mark { padding: 16px 0; font: 800 1.3rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.mark span { color: var(--pine); }
.nav { display: none; }
.top-tel { display: inline-flex; align-items: center; min-height: 44px; font: 700 1.1rem/1 var(--display); letter-spacing: .06em; white-space: nowrap; }

/* ---------- hero: the porch photo and the oak floor side by side, the name stamped onto blue below ---------- */
.hero { background: var(--blue); color: var(--white); }
.hero-photos { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); gap: 6px; height: clamp(230px, 32svh, 440px); }
.hero-photos .m-frame, .ph-main { height: 100%; }
.ph-main { overflow: hidden; }
.ph-main img { object-position: 50% 62%; }
.ph-second img { object-position: 74% 70%; }
.hero-copy { padding: 24px 0 48px; }
.hero h1 { margin-bottom: 14px; font: 800 clamp(3.25rem, 15.4vw, 4.6rem)/.88 var(--display); letter-spacing: .005em; text-transform: uppercase; }
.hero h1 .m-w { display: block; width: fit-content; }
.lede { max-width: 31ch; margin-bottom: 16px; color: var(--on-blue); font-size: 1.0625rem; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.hero .more { color: var(--white); font-size: 1.0625rem; }
.stamp-hero { display: grid; grid-template-columns: auto auto; width: 100%; margin-top: 22px; }
.stamp-hero > div { padding-inline: 12px; }
.stamp-hero dd { font-size: 1.0625rem; font-weight: 700; letter-spacing: .03em; }

/* ---------- work: two chapters on the blue band, each job photo beside the services it proves ---------- */
.work { background: var(--blue-deep); color: var(--white); border-top: 1px solid var(--pine-soft); }
.chapter { padding: 64px 0 56px; }
/* the OUTSIDE stamp separates the chapters: 64px from INSIDE's last row, no divider */
.chapter + .chapter { padding-top: 8px; }
/* phones and tablets: each chapter opens on a two-cell ruled stamp, the word and its service range */
.ch-head { margin: 0 var(--gut) 24px; border: 2px solid var(--pine); transform-origin: 0 50%; }
.ch-name { display: grid; grid-template-columns: minmax(0, 1fr) 96px; align-items: stretch; }
.ch-name h2 { padding: 16px 20px 12px; }
.ch-index { display: none; }
.chapter h2 { color: var(--white); }
.ch-range { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 14px 14px; border-left: 1px solid var(--pine); transform-origin: 0 50%; color: var(--white); font: 800 1.375rem/1 var(--display); letter-spacing: .06em; }
.ch-range span { margin-bottom: 8px; color: var(--pine); font: 700 .75rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.pair + .pair { margin-top: 56px; }
/* the next photo (or the band's end) closes each column, so its last row has no hairline */
.pair .row:last-child { border-bottom: 0; }
@media (max-width: 959px) { .pair .row:last-child { padding-bottom: 0; } }
.job { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--blue); }
.job picture { display: block; height: 100%; }
.job img { width: 100%; height: 100%; object-fit: cover; }
.job:not(.job-stairs, .job-fence) img { object-position: 50% 58%; }
.job-stairs { aspect-ratio: 5 / 4; }
.job-fence { aspect-ratio: 16 / 9; }
.job-fence img { object-position: 42% 50%; }
.job figcaption { position: absolute; left: 12px; bottom: 12px; }
.stamp-job { background: var(--blue); }
.stamp-job > div { padding: 6px 10px 7px; }
.stamp-job dt { margin-bottom: 3px; font-size: .75rem; letter-spacing: .12em; }
.stamp-job dd { font-size: .875rem; letter-spacing: .05em; color: var(--white); }
.rows { margin: 0 var(--gut); padding: 0; list-style: none; }
.row { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 10px; padding: 18px 0 20px; border-bottom: 1px solid rgba(217, 196, 142, .32); }
.row:first-child { padding-top: 22px; }
.row-n { color: var(--pine); font: 800 1rem/1.75 var(--display); letter-spacing: .08em; }
.row h3 { font: 600 1.2rem/1.35 var(--text); letter-spacing: -.005em; }
/* the row each photo proves leads, in stamped caps; text-only rows stay in Golos */
.rows .row:first-child h3 { font: 700 1.75rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.row p { grid-column: 2; margin-top: 4px; color: var(--on-blue); font-size: 1rem; line-height: 1.55; max-width: 44ch; }

/* ---------- reviews: on paper, the full quote in two sizes on phones ---------- */
.reviews { padding: var(--sec) 0; background: var(--paper); color: var(--ink); }
.reviews h2 { color: var(--blue); }
/* the head is a two-cell ruled stamp, blue on paper, the mirror of the chapter heads: the word and the Google score */
.rv-head { display: grid; grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "name score" "text text"; transform-origin: 0 50%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; will-change: transform; }
.rv-head h2 { grid-area: name; padding: 16px 20px 12px; border: 2px solid var(--blue); border-right: 0; }
.rv-score { grid-area: score; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 14px 12px; border: 2px solid var(--blue); border-left: 1px solid var(--blue); color: var(--ink); font: 800 1.375rem/1 var(--display); letter-spacing: .04em; }
.rv-score span, .rv-score small { color: var(--blue); font: 700 .75rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.rv-score span { margin-bottom: 8px; }
.rv-score small { margin-top: 6px; letter-spacing: .08em; }
.rv-text { grid-area: text; display: grid; gap: 8px; margin-top: 24px; }
.rv-note { max-width: 34ch; font-size: 1.1875rem; line-height: 1.5; text-wrap: balance; }
.rv-rating { color: var(--mute); font-size: .9375rem; line-height: 1.5; }
.rv-rating a { white-space: nowrap; }
.rv-rating a { display: inline-block; margin: -10px 0; padding: 10px 0; color: var(--blue); font-weight: 500; }
.quotes { display: grid; gap: 24px; margin-top: 40px; }
.q-side { display: grid; gap: 24px; }
/* each review is a job ticket ruled like the grade stamp: JOB and the service row it matches, the words, the name */
.ticket { display: flex; flex-direction: column; border: 2px solid var(--blue); background: var(--white); }
.t-cells { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 2px solid var(--blue); }
.t-cells p, .t-by { padding: 10px 14px 11px; font: 800 1.0625rem/1.15 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.t-cells .t-n { border-left: 2px solid var(--blue); color: var(--blue); }
.ticket span { display: block; margin-bottom: 5px; color: var(--blue); font: 700 .75rem/1 var(--display); letter-spacing: .16em; }
.t-quote { flex: 1 1 auto; display: grid; align-content: start; gap: 12px; padding: 18px 14px 20px; }
.t-quote p { font-size: 1.0625rem; line-height: 1.5; max-width: 60ch; }
.t-big .q-lead { max-width: 24ch; font-size: 1.5rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.t-big .q-rest { max-width: 36ch; color: var(--mute); font-size: 1.0625rem; line-height: 1.55; }
.t-big em { font-style: normal; font-weight: 600; background: linear-gradient(transparent 60%, var(--pine) 60%, var(--pine) 94%, transparent 94%); }
.t-by { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 12px; border-top: 2px solid var(--blue); }
.t-by span { grid-column: 1 / -1; }
.t-by cite { font-style: normal; color: var(--blue); }
.t-by small { color: var(--mute); font: 400 .875rem/1.2 var(--text); letter-spacing: 0; text-transform: none; text-wrap: balance; }

/* ---------- service area: one large stamped statement on blue; the call cell is the button ---------- */
.area { padding: var(--sec) 0; background: var(--blue); color: var(--white); }
.area-stamp { container-type: inline-size; border: 3px solid var(--pine); }
.area-top { padding: 12px 16px 10px; border-bottom: 3px solid var(--pine); color: var(--pine); font: 800 .95rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.area-name { padding: 18px 16px 12px; font: 900 clamp(4.25rem, 24vw, 6rem)/.84 var(--display); letter-spacing: .005em; text-transform: uppercase; }
.area-name { color: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; will-change: transform; }
.area-name span { display: block; }
.area-cells { display: grid; grid-template-columns: 1fr; border-top: 3px solid var(--pine); font-family: var(--display); text-transform: uppercase; }
.area-cells > * { display: flex; flex-direction: column; justify-content: flex-start; padding: 12px 16px 14px; font: 800 1.25rem/1.1 var(--display); letter-spacing: .05em; color: var(--white); }
.area-cells span { display: block; margin-bottom: 6px; color: var(--pine); font: 700 .75rem/1 var(--display); letter-spacing: .16em; }
.area-cells > .area-call { grid-column: 1 / -1; min-height: 72px; border-bottom: 2px solid var(--pine); background: var(--pine); color: var(--ink); font-size: 1.85rem; text-decoration: none; transition: background-color .25s; }
.area-call span { color: var(--blue-deep); }
.area-call small { display: block; margin-top: 8px; color: rgba(30, 35, 40, .8); font: 400 1.0625rem/1.45 var(--text); letter-spacing: 0; text-transform: none; text-wrap: balance; }
.area-cells > .area-call:hover { background: #E6D6AC; }
@media (max-width: 599px) { .area-call small { max-width: 24ch; text-wrap: pretty; } }

/* ---------- footer ---------- */
.foot { padding: 64px 0 calc(32px + 56px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--white); }
.stamp-foot { display: grid; grid-template-columns: auto 1fr 1fr; width: 100%; }
.stamp-foot .stamp-mark { grid-row: span 2; }
.stamp-foot dl > div:first-child { grid-column: span 2; border-right: 0; border-bottom: 2px solid var(--sc); }
.stamp-foot .stamp-mark { font-size: 2.4rem; padding-inline: 16px; }
.stamp-foot dd { white-space: normal; }
.sf-call { position: relative; }
.sf-call a::after { content: ""; position: absolute; inset: 0; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 32px; padding-bottom: 18px; border-bottom: 1px solid rgba(251, 250, 246, .16); }
.foot-nav, .legal { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-nav a, .legal a { display: inline-flex; align-items: center; min-height: 44px; color: #d9dcde; font-size: .9375rem; }
.legal a { color: rgba(217, 220, 222, .72); }
.credit-line { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 0 16px; margin-top: 12px; color: #aab0b5; font-size: .875rem; line-height: 1.4; }
.credit-line > * { display: inline-flex; align-items: center; min-height: 44px; }
.credit-line a { color: #d9dcde; }

/* ---------- phone action bar ---------- */
.actionbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.7fr 1fr; background: var(--blue); border-top: 1px solid var(--pine-soft); padding-bottom: env(safe-area-inset-bottom); }
.actionbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 10px; text-decoration: none; font: 800 1.05rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
/* hidden from the first paint, not only once the kit's script has run, so it doesn't flash on load */
@media (scripting: enabled) { .actionbar:not(.is-shown) { translate: 0 calc(100% + 24px); visibility: hidden; } }
.actionbar { transition: translate .5s var(--m-ease), visibility 0s .5s; }
.actionbar.is-shown { transition: translate .5s var(--m-ease); }
.ab-call { background: var(--pine); color: var(--ink); --m-fill: rgba(255, 255, 255, .4); }
.ab-svc { color: var(--white); --m-fill: rgba(255, 255, 255, .14); }

/* ---------- 404 ---------- */
.lost { padding: 96px 0 112px; background: var(--blue); color: var(--white); }
.lost h1 { margin-bottom: 18px; font: 800 clamp(3.5rem, 16vw, 7rem)/.88 var(--display); text-transform: uppercase; }
.lost p { max-width: 36ch; margin-bottom: 26px; color: var(--on-blue); }
.lost .stamp { margin-bottom: 28px; }

/* ---------- phones: the footer stamp gives the phone and the area a full row each ---------- */
@media (max-width: 479px) {
  .stamp-foot { grid-template-columns: 72px minmax(0, 1fr); }
  .stamp-foot .stamp-mark { grid-row: auto; justify-content: center; padding-inline: 0; font-size: 2rem; border-bottom: 2px solid var(--sc); }
  .stamp-foot dl > div:first-child { grid-column: auto; }
  .stamp-foot dl > div:not(:first-child) { grid-column: 1 / -1; border-right: 0; }
  .stamp-foot .sf-call { border-bottom: 2px solid var(--sc); }
  .stamp-foot dd { white-space: nowrap; font-size: 1.375rem; font-weight: 700; }
  .stamp-foot dl > div:first-child dd { white-space: normal; font-size: 1.125rem; }
}

/* ---------- small phones ---------- */
@media (max-width: 380px) {
  .mark { font-size: 1.12rem; }
  .top-tel { font-size: 1rem; }
  .stamp dl > div { padding-inline: 10px; }
  .stamp-hero > div { padding-inline: 10px; }
  .stamp-hero dd { font-size: 1rem; letter-spacing: .02em; }
}
@media (max-width: 400px) { .credit-line { gap: 12px; font-size: .8125rem; } }

/* ---------- tablet up ---------- */
@media (min-width: 720px) {
  :root { --gut: 40px; --sec: 112px; }
  body { font-size: 18px; }
  .actionbar { display: none; }
  .foot { padding-bottom: 48px; }
  .pair, .ch-head { width: min(640px, 100% - 2 * var(--gut)); margin-inline: auto; }
  .rows { margin-inline: 0; }
  .job figcaption { left: 16px; bottom: 16px; }
  .area-cells { grid-template-columns: 3fr 2fr; }
  .area-cells > .area-call { grid-column: auto; border-bottom: 0; }
  .area-cells > p { border-left: 2px solid var(--pine); }
  .stamp-hero { width: fit-content; }
}

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  :root { --gut: 48px; --sec: 144px; }
  .nav { display: flex; gap: 32px; margin-left: auto; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 500; }
  .top-in { gap: 40px; }
  .mark { font-size: 1.45rem; }
  .chapter h2, .reviews h2 { font-size: 6rem; }

  /* the same two photos side by side, then the name on one line fitted to the margins */
  /* photos give way on short screens so the lede and the Call button are in the first screen */
  .hero-photos { height: clamp(360px, calc(100svh - 392px), 640px); }
  .ph-main img { object-position: 50% 45%; }
  .ph-second img { object-position: 70% 72%; }
  .hero-copy { padding: 24px 0 56px; }
  .hero h1 { margin-bottom: 32px; font-size: clamp(5rem, 9.55vw, 9.75rem); white-space: nowrap; }
  .hero h1 .m-w { display: inline-block; }
  .hero-low { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; row-gap: 28px; align-items: end; }
  .lede { margin: 0; max-width: 25ch; color: rgba(251, 250, 246, .92); font-size: 1.25rem; line-height: 1.45; }
  .actions { flex-wrap: nowrap; gap: 0 28px; }
  .hero .btn { min-height: 64px; padding: 0 32px; font-size: 1.375rem; font-weight: 700; }
  .hero .more { font-size: 1.125rem; }
  .stamp-hero { grid-column: 1 / -1; margin: 0; }
  .stamp-hero > div { padding: 14px 20px 15px; }
  .stamp dt, .ticket span, .area-cells span { font-size: .875rem; letter-spacing: .14em; }
  .stamp-hero dt { margin-bottom: 7px; }
  .stamp-hero dd { font-size: 1.375rem; }

  /* chapters: a head row, then two job photos side by side at 4:3, edge to edge in the band,
     each photo's rows directly under it on the page's text margin */
  .chapter { padding: 96px 0 0; }
  .chapter:last-child { padding-bottom: 96px; }
  .chapter + .chapter { padding-top: 128px; }
  /* the Outside columns end unevenly: one pine hairline across the text width closes both on the taller one */
  .chapter:last-child::after { content: ""; display: block; width: min(1280px, 100% - 2 * var(--gut)); margin: 24px auto 0; border-top: 1px solid var(--pine-soft); }
  .ch-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); width: min(1280px, 100% - 2 * var(--gut)); margin: 0 auto 40px; padding: 0; }
  .ch-name { display: flex; grid-column: 1 / 6; align-items: flex-end; padding: 26px 28px 20px; border-right: 2px solid var(--pine); }
  .ch-name h2 { padding: 0; }
  .chapter h2 { font-size: 7.5rem; }
  .ch-range { display: none; }
  /* the index sits on the strip's foot: label 12px over the titles, the outline frames it */
  .ch-index { grid-column: 6 / 13; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 28px 14px; }
  .ch-label { padding: 0 0 12px; color: var(--pine); font: 700 .875rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
  .ch-list { display: flex; flex-wrap: wrap; font: 600 1.375rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
  .ch-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; background-image: linear-gradient(var(--pine), var(--pine)); background-size: 0 1px; background-position: 0 calc(50% + .75em); }
  .ch-list a:hover, .ch-list a:focus-visible { background-size: 100% 1px; }
  .ch-list a + a { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--pine-soft); }
  .ch-list b { color: var(--pine); font-weight: 700; }
  .pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .pair, .pair + .pair { width: auto; margin: 0; }
  .job, .job-stairs, .job-fence { aspect-ratio: 4 / 3; }
  /* .job.job-lvp: the base `.job:not(…) img` rule outranks a single class */
  .job.job-lvp img { object-position: 50% 20%; }
  .job-stairs img { object-position: 50% 60%; }
  .job-fence img { object-position: 50% 50%; }
  .job-closets img { object-position: 35% 70%; transform: scale(1.08); transform-origin: 0 70%; }
  .job figcaption { left: max(var(--gut), calc((200% + 12px - 1280px) / 2)); bottom: 24px; }
  .rows { margin-top: 12px; }
  .pair:first-child .rows { padding: 0 40px 0 max(var(--gut), calc((200% + 12px - 1280px) / 2)); }
  .pair:last-child .rows { padding: 0 max(var(--gut), calc((200% + 12px - 1280px) / 2)) 0 40px; }
  .rows .row:first-child h3 { font-size: 2rem; }
  .row { grid-template-columns: 3.5rem minmax(0, 1fr); align-items: baseline; padding: 22px 0 24px; }
  .row-n { font: 700 1.375rem/1 var(--display); letter-spacing: .06em; }
  .row h3 { font-size: 1.45rem; }
  .row p { font-size: 1.0625rem; }
  .stamp-job > div { padding: 8px 12px 9px; }
  .stamp-job dd { font-size: 1rem; }

  /* one ruled strip: REVIEWS | the note and the link | GOOGLE 5.0 */
  .rv-head { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-areas: "name name name name name text text text text text score score"; border: 2px solid var(--blue); }
  .rv-head h2 { padding: 26px 28px 20px; border: 0; border-right: 2px solid var(--blue); font-size: 7.5rem; }
  .rv-text { align-self: end; max-width: 40ch; margin: 0; padding: 0 28px 18px; }
  .rv-score { padding: 0 24px 20px; border: 0; border-left: 1px solid var(--blue); font-size: 2.75rem; }
  .rv-score span, .rv-score small { font-size: .875rem; }
  .rv-score span { margin-bottom: 12px; }
  .rv-score small { margin-top: 10px; }
  .rv-rating a { padding-bottom: 0; }
  .rv-note { font-size: 1.25rem; line-height: 1.45; }
  .quotes { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: 56px; }
  .t-big { grid-column: 1 / 8; }
  .q-side { grid-column: 8 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
  .t-cells p, .t-by { padding: 14px 24px 15px; font-size: 1.25rem; }
  .t-quote { padding: 32px 24px 36px; }
  .q-side .t-quote p { font-size: 1.1875rem; }
  .t-big .t-quote { padding: 40px; gap: 0; }
  .t-big .q-lead { max-width: 30ch; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.2; }
  .t-big .q-rest { max-width: 56ch; margin-top: 20px; color: rgba(30, 35, 40, .85); font-size: 1.375rem; line-height: 1.55; }
  .t-by small { font-size: .9375rem; }

  .area-top { padding: 16px 24px 14px; }
  .area-name { padding: 28px 24px 22px; font-size: 16.6cqi; white-space: nowrap; }
  .area-name span { display: inline; }
  .area-cells > * { padding: 16px 24px 18px; font-size: 1.5rem; }
  .area-cells > .area-call { font-size: 2.25rem; }

  .stamp-foot { grid-template-columns: auto 1.4fr 1fr 1fr; }
  .stamp-foot .stamp-mark { grid-row: auto; }
  .stamp-foot dl > div:first-child { grid-column: auto; border-right: 2px solid var(--sc); border-bottom: 0; }
  .stamp-foot dl > div { padding: 14px 24px 16px; }
  .stamp-foot dd { font-size: 1.35rem; }
}

/* ---------- wide desktop: lede, actions and stamp on one row under the name ---------- */
@media (min-width: 1200px) {
  .hero-low { grid-template-columns: minmax(0, 1fr) auto auto; }
  .lede { max-width: 38ch; text-wrap: balance; }
  .stamp-hero { grid-column: auto; }
}
