/* =========================================================
   LCG Boston, service landing pages
   Same brand as the main site (graphite, bronze, square geometry,
   Archivo + Figtree) on a light honed-stone ground.
   The bronze line is the brass profile: it frames photos,
   rules the scope list and carries the primary action.
   ========================================================= */

:root {
  /* Stone (light ground) */
  --stone:      #EEEBE6;   /* page ground */
  --stone-2:    #E5E1DA;   /* alternate band */
  --paper:      #F9F8F6;   /* raised panels, inputs */
  --ink:        #15181B;   /* text, 15.6:1 on --stone */
  --ink-2:      #3B4045;   /* secondary text, 9.4:1 */
  --ink-3:      #5C6166;   /* tertiary text, 5.4:1 */
  --rule:       rgba(21, 24, 27, 0.14);
  --rule-2:     rgba(21, 24, 27, 0.28);

  /* Graphite (bands) */
  --graphite:   #15181B;
  --graphite-2: #1D2125;
  --graphite-3: #0F1113;
  --on-dark:    #ECEAE6;
  --on-dark-2:  #B4B2AD;
  --rule-dark:  rgba(236, 234, 230, 0.14);

  /* Bronze (brass) */
  --tan:        #C0976F;   /* brand */
  --tan-hi:     #D3AD87;
  --tan-press:  #AE8660;
  --tan-text:   #7A5636;   /* bronze text on stone, 5.6:1 */
  --on-tan:     #14110E;   /* text on tan, 8.1:1 */

  --danger:     #A3392B;   /* errors on light, 6.1:1 on --paper */
  --danger-dk:  #F08A7A;   /* errors on graphite */

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Figtree", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(56px, min(9vw, 11vh), 136px);  /* height-aware so laptops do not scroll through padding */
  --hd-h: 72px;
  --r: 2px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 12px); }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd, blockquote { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
[hidden] { display: none !important; }
.br-m { display: none; }  /* line breaks that apply on phones only */
legend { padding: 0; }

::selection { background: var(--tan); color: var(--on-tan); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.band :focus-visible, .hd :focus-visible, .ft :focus-visible, .mbar :focus-visible { outline-color: var(--tan-hi); }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.band { background: var(--graphite); color: var(--on-dark); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--tan); color: var(--on-tan); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 800; font-stretch: 112%;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  line-height: 1.04; letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.lead { margin-top: 20px; font-size: clamp(1.02rem, 1.2vw, 1.14rem); color: var(--ink-2); max-width: 58ch; }
.band .lead { color: var(--on-dark-2); }
h3 { font-family: var(--f-display); font-weight: 700; font-stretch: 106%; font-size: 1.16rem; line-height: 1.2; letter-spacing: -0.005em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 26px;
  font-family: var(--f-display); font-weight: 700; font-stretch: 116%;
  font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--r); border: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--primary { background: var(--tan); color: var(--on-tan); border-color: var(--tan-press); }
.btn--primary:hover { background: var(--tan-hi); }
.btn--primary:active { background: var(--tan-press); transform: translateY(1px); }
.btn--ghost-dark { color: var(--ink); border-color: var(--rule-2); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--ink); }
.btn--ghost-dark:hover .i { transform: translateX(-3px); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 0.76rem; }
.btn--lg { --h: 60px; }
.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: .7; }

.link-call {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--tan); padding-bottom: 2px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.link-call .i { color: var(--tan-text); }
.link-call:hover { border-color: var(--ink); }

/* ---------- Brass frame ----------
   A 1px bronze profile inset into the photo, like the frame of a glass
   shower. The offset variant adds the nested band from the LCG mark. */
.frame { position: relative; isolation: isolate; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: ""; position: absolute; inset: clamp(10px, 1.4vw, 18px); z-index: 1;
  border: 1px solid rgba(211, 173, 135, 0.85);
  pointer-events: none;
}
.frame--quiet::after { border-color: rgba(211, 173, 135, 0.6); }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: var(--graphite); color: var(--on-dark); border-bottom: 1px solid var(--rule-dark); }
.hd__inner { height: var(--hd-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.hd__logo img { height: 40px; width: auto; }
.hd__context {
  justify-self: center;
  font-family: var(--f-display); font-weight: 600; font-stretch: 120%;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-2);
}
.hd__context span { color: var(--tan); margin-inline: 10px; }
.hd__actions { display: flex; align-items: center; gap: 22px; }
.hd__phone { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.hd__phone .i { color: var(--tan); }
.hd__phone:hover span { text-decoration: underline; text-decoration-color: var(--tan); text-underline-offset: 5px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [copy-start] calc(min(var(--wrap), 100% - var(--gutter) * 2) * 0.55)
    [copy-end media-start] calc(min(var(--wrap), 100% - var(--gutter) * 2) * 0.45)
    minmax(var(--gutter), 1fr) [full-end];
  min-height: min(calc(100svh - var(--hd-h) - 1px), 860px);
  /* Warm light from the left, settling into stone where the photo begins. */
  background: linear-gradient(100deg, var(--paper) 0%, var(--stone) 52%);
}
.hero__copy {
  grid-column: copy;
  align-self: center;
  padding: clamp(48px, 6vw, 88px) clamp(32px, 4.5vw, 72px) clamp(48px, 6vw, 88px) 0;
}
.hero__media { grid-column: media-start / full-end; margin: 0; min-height: 520px; }
/* The photo dissolves into the stone ground instead of meeting it on a hard edge. */
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--stone) 0%, rgba(238, 235, 230, 0.55) 14%, rgba(238, 235, 230, 0) 40%);
}
/* The brass profile stays open on the faded side, so it frames the photo without boxing in the gradient. */
.hero__media::after { border-left-color: transparent; }
@media (min-width: 1280px) {
  /* The H1 holds three lines (Bathroom Remodeling / Designed Around / Your Home)
     at full expanded width inside the 55% column. Size fitted to measured line
     widths: 36.5px at 1280, 44.8px from 1440. Below 1280 it wraps naturally. */
  .hero__copy { padding-right: clamp(32px, 3.4vw, 56px); }
  .hero .hero__title { font-size: clamp(2rem, calc(5.31vw - 31.5px), 2.8rem); }
  .hero .hero__title span { display: block; white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  /* narrow desktop: ZIP and button stack so the field keeps a usable width */
  .hero .zipstart__row { flex-direction: column; border: 0; background: none; gap: 10px; }
  .hero .zipstart__row input { border: 1px solid var(--ink); background: var(--paper); }
  .hero .zipstart__row:focus-within { outline: none; }
  .hero .zipstart__row input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
  .hero .zipstart__row .btn { border: 1px solid var(--tan-press); }
}
@media (max-width: 1359px) {
  /* the trust row wraps here, so drop the separators instead of leaving one hanging */
  .hero .trust { gap: 8px 22px; }
  .hero .trust li { border: 0; padding: 0; margin: 0; }
}
.hero__media picture { display: block; height: 100%; }
.hero__media img { object-position: 46% 50%; }

.hero__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2.1rem, 3.3vw, 3.5rem); line-height: 0.98; letter-spacing: -0.02em;
  text-transform: uppercase; text-wrap: balance;
}
.hero__sub { margin-top: 26px; max-width: 54ch; font-size: clamp(1.02rem, 1.2vw, 1.13rem); color: var(--ink-2); }

.trust { display: flex; flex-wrap: wrap; margin-top: 28px; row-gap: 10px; }
.trust li {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-display); font-weight: 600; font-stretch: 108%; font-size: 0.9rem; letter-spacing: 0.01em;
  padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--tan);
}
.trust li:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.trust .i { color: var(--tan-text); }

.zipstart { margin-top: 36px; max-width: 560px; }
.zipstart__label {
  display: block; margin-bottom: 10px;
  font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.zipstart__row { display: flex; border: 1px solid var(--ink); background: var(--paper); }
.zipstart__row input {
  flex: 1 1 auto; min-width: 0; height: 60px; padding: 0 18px;
  border: 0; background: transparent; color: var(--ink);
  font: 600 1.15rem/1 var(--f-body); letter-spacing: 0.08em; font-variant-numeric: tabular-nums;
}
.zipstart__row input::placeholder { color: var(--ink-3); font-weight: 400; letter-spacing: 0.02em; }
.zipstart__row input:focus { outline: none; }
.zipstart__row:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.zipstart__row .btn { border-radius: 0; border: 0; border-left: 1px solid var(--ink); }
.zipstart__msg { min-height: 1.5em; margin-top: 8px; font-size: 0.92rem; color: var(--ink-2); }
.zipstart__msg.is-error { color: var(--danger); font-weight: 600; }

.hero__alt { margin-top: 10px; display: grid; gap: 14px; }
.hero__alt .link-call { justify-self: start; }
.hero__micro { font-size: 0.95rem; color: var(--ink-3); max-width: 48ch; }

/* ---------- Scope: heading row, then photo beside a 3 x 2 service grid (one screen on desktop) ---------- */
.scope { padding-block: clamp(56px, 5.6vw, 96px); }
.scope__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(40px, 5vw, 96px); align-items: end; }
.scope__head .h2 { max-width: 22ch; }
.scope__head .lead { margin-top: 0; }
.scope__body {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 3vw, 48px);
}
/* The photo takes the grid's height instead of setting it, so the service cells stay compact. */
.scope__media { position: relative; min-height: 0; overflow: hidden; }
.scope__media img { position: absolute; inset: 0; }
.scope__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); }
.scope__item {
  position: relative;
  padding: 26px clamp(20px, 2vw, 32px) 30px;
  border-bottom: 1px solid var(--rule-2); border-left: 1px solid var(--rule-2);
}
.scope__item:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
/* A brass rule draws across the top of the cell on hover, echoing the shower's brass profile. */
.scope__item::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--tan);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.scope__item:hover::before { transform: scaleX(1); }
.scope__item h3 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.06rem, 1.3vw, 1.22rem); }
.scope__item h3::before {
  content: ""; flex: none; width: 8px; height: 8px; border: 1px solid var(--tan-text);
  transform: translateY(-2px); transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.scope__item:hover h3::before { background: var(--tan); border-color: var(--tan); }
.scope__item p { margin-top: 10px; color: var(--ink-2); font-size: 0.98rem; }

/* ---------- Portfolio: two looping rows, edge to edge ---------- */
.work { overflow: hidden; }
.work__head { text-align: center; }
.pg {
  --pg-gap: 14px;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; gap: var(--pg-gap);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.pg-row { overflow: hidden; }
/* Each set is followed by one gap, so a seamless loop moves half the track plus half a gap. */
.pg-track { display: flex; gap: var(--pg-gap); width: max-content; animation: pg-left 72s linear infinite; }
.pg-row--rev .pg-track { animation-name: pg-right; animation-duration: 64s; }
.pg-row:hover .pg-track, .pg-row:focus-within .pg-track { animation-play-state: paused; }
.pg-set { display: flex; gap: var(--pg-gap); flex: none; }
.pg-item { flex: none; height: clamp(170px, 17vw, 360px); }
.pg-item--t { aspect-ratio: 4 / 5; }
.pg-item--s { aspect-ratio: 1 / 1; }
.pg-item--w { aspect-ratio: 3 / 2; }
@keyframes pg-left { to { transform: translateX(calc(-50% - var(--pg-gap) / 2)); } }
@keyframes pg-right { from { transform: translateX(calc(-50% - var(--pg-gap) / 2)); } to { transform: translateX(0); } }

.g__btn { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; background: var(--graphite-2); }
.g__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g__btn::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(211, 173, 135, 0.9);
  opacity: 0; transform: scale(1.03); transition: opacity .4s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.g__btn:hover img { transform: scale(1.05); }
.g__btn:hover::after, .g__btn:focus-visible::after { opacity: 1; transform: none; }
.g__btn:focus-visible { outline-offset: -4px; }
.g__zoom {
  position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px;
  display: grid; place-items: center; background: rgba(21, 24, 27, 0.72); color: var(--on-dark);
  opacity: 0; transition: opacity .3s var(--ease);
}
.g__btn:hover .g__zoom, .g__btn:focus-visible .g__zoom { opacity: 1; }

.work__cta {
  margin-top: clamp(32px, 4.5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 36px; text-align: center;
}
.work__cta p { font-family: var(--f-display); font-weight: 600; font-stretch: 106%; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

/* ---------- Benefits (kitchen): three outcomes under a brass rule ---------- */
.benefits { background: var(--paper); }
.benefits__head { max-width: 780px; margin-inline: auto; text-align: center; }
.benefits__head .lead { margin-inline: auto; }
.benefits__list { margin-top: clamp(32px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.benefit { padding-top: 22px; border-top: 2px solid var(--tan); }
.benefit h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.benefit p { margin-top: 10px; color: var(--ink-2); max-width: 36ch; }

/* ---------- Why LCG ---------- */
.why { background: var(--stone-2); }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.why__media { aspect-ratio: 2 / 3; max-width: 460px; }
.pillars { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.pillars li { padding: 26px 0 30px; border-top: 1px solid var(--rule-2); }
.pillars h3 { color: var(--ink); font-size: clamp(1.08rem, 1.4vw, 1.24rem); }
.pillars p { margin-top: 10px; color: var(--ink-2); }

/* ---------- Process ---------- */
.process { text-align: center; }
.process__title { max-width: 22ch; margin-inline: auto; }
.steps { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { position: relative; padding-inline: 8px; }
/* Rail runs from this node's right edge to the next node's left edge (nodes sit centered in each column). */
.step:not(:last-child)::after {
  content: ""; position: absolute; left: calc(50% + 22px); right: calc(-50% - 10px); top: 22px; height: 1px; background: var(--tan);
}
.step__node {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-inline: auto;
  background: var(--stone); border: 1px solid var(--tan-text); color: var(--tan-text);
  font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: 1rem; font-variant-numeric: tabular-nums;
}
.step:first-child .step__node { background: var(--tan); border-color: var(--tan-press); color: var(--on-tan); }
.step h3 { margin-top: 24px; }
.step p { margin-top: 10px; color: var(--ink-2); }
.process__cta { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Reviews (staging only) ---------- */
.reviews { background: var(--paper); }
.reviews__flag {
  display: inline-block; margin-bottom: 28px; padding: 8px 12px;
  border: 1px dashed var(--danger); color: var(--danger); font-size: 0.86rem; font-weight: 600;
}
.reviews__flag { display: block; width: fit-content; margin-inline: auto; }
.reviews__head { max-width: 760px; margin-inline: auto; text-align: center; }
.reviews__head .lead { margin-inline: auto; }
/* Bento: tan feature quote spans two rows, two quiet cards beside it, a photo band with the call to action below them. */
.reviews__grid {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px;
}
.review {
  background: var(--stone); padding: clamp(26px, 2.6vw, 34px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.review blockquote { font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.review figcaption { display: grid; gap: 2px; font-size: 0.92rem; }
.review figcaption strong { font-weight: 600; }
.review figcaption span { color: var(--ink-3); }
.review--feature { grid-row: 1 / 3; background: var(--tan); color: var(--on-tan); padding: clamp(32px, 4vw, 52px); }
.review--feature blockquote {
  color: var(--on-tan);
  font-family: var(--f-display); font-weight: 600; font-stretch: 104%;
  font-size: clamp(1.3rem, 1.85vw, 1.7rem); line-height: 1.38; letter-spacing: -0.01em;
}
.review--feature figcaption span { color: rgba(20, 17, 14, 0.74); }
.review__q { display: block; height: 0.5em; font-family: var(--f-display); font-weight: 800; font-size: 5rem; line-height: 0.82; }
.review--img { grid-column: 2 / 4; padding: 0; position: relative; overflow: hidden; min-height: 280px; background: var(--graphite); }
.review--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.review--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 17, 19, 0.7), rgba(15, 17, 19, 0) 60%); pointer-events: none; }
.review--img .btn { position: absolute; left: 28px; bottom: 28px; z-index: 1; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); }
.faq__head { text-align: center; }
/* Display-size title in title case, as on the main site FAQ. */
.faq__head .h2 { text-transform: none; font-size: clamp(2.3rem, 4.7vw, 4.1rem); line-height: 1; letter-spacing: -0.02em; }
.faq__note { margin-top: 20px; color: var(--ink-2); }
.faq__note a { color: var(--tan-text); font-weight: 700; text-decoration: none; white-space: nowrap; }
.faq__note a:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--rule); max-width: 860px; width: 100%; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-family: var(--f-display); font-weight: 700; font-stretch: 106%; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { color: var(--tan-text); transition: transform .35s var(--ease); }
.qa[open] summary .i { transform: rotate(45deg); }
.qa summary:hover { color: var(--tan-text); }
.qa p { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 62ch; }

/* ---------- Estimate form ---------- */
.estimate__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.estimate__intro { position: sticky; top: calc(var(--hd-h) + 40px); }
/* Contact cards: each whole card is the link. */
.ccards { margin-top: 32px; display: grid; gap: 12px; }
.ccard {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--graphite-2); border: 1px solid var(--rule-dark);
  text-decoration: none; transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.ccard:hover { border-color: var(--tan); background: #22272C; }
.ccard__icon { width: 1.3em; height: 1.3em; color: var(--tan-hi); }
.ccard__body { display: grid; gap: 4px; min-width: 0; }
.ccard__label { font-family: var(--f-display); font-weight: 600; font-stretch: 116%; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); }
.ccard__value { font-size: 1.05rem; font-weight: 600; color: var(--on-dark); overflow-wrap: anywhere; }
/* The phone is the fastest path for a remodel lead, so its card reads first. */
.ccard--phone { padding-block: 22px; border-color: rgba(192, 151, 111, 0.45); }
.ccard--phone .ccard__value { font-family: var(--f-display); font-weight: 700; font-stretch: 108%; font-size: clamp(1.35rem, 1.9vw, 1.7rem); letter-spacing: -0.005em; }
.ccard__go { color: var(--tan-hi); transition: transform .3s var(--ease); }
.ccard:hover .ccard__go { transform: translateX(4px); }


.panel { position: relative; background: var(--paper); color: var(--ink); padding: clamp(24px, 3.4vw, 48px); border-top: 3px solid var(--tan); }
/* Two steps on every screen: one fieldset at a time. */
.is-stepped .fs[data-step]:not(.is-active) { display: none; }
@media (min-width: 760px) {
  /* Wide panel: pair short fields so a step reads as one compact block. */
  .fs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 32px); align-content: start; }
  .fs > [data-group="timeline"], .fs > .field--wide { grid-column: 1 / -1; }
}
.fs__num { margin-right: 12px; color: var(--tan-text); font-variant-numeric: tabular-nums; }
.fs__title {
  width: 100%; padding-bottom: 12px; margin-bottom: 22px; border-bottom: 1px solid var(--tan);
  font-family: var(--f-display); font-weight: 700; font-stretch: 116%; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.field { margin-bottom: 20px; }
.field > label, .field--group > legend { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.96rem; }
.opt-tag { font-weight: 400; color: var(--ink-3); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px;
  background: #fff; color: var(--ink); border: 1px solid var(--rule-2); border-radius: var(--r);
  font: 400 1rem/1.4 var(--f-body);  /* 16px+: no zoom on iOS */
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field input[name="zip"] { letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.field__help { margin-top: 6px; font-size: 0.88rem; color: var(--ink-3); }
.field__help--above { margin: -2px 0 10px; }
.field__err { font-size: 0.88rem; font-weight: 600; color: var(--danger); }
.field__err:not(:empty) { margin-top: 6px; }
.field__note { font-size: 0.88rem; color: var(--ink-2); }
.field__note:not(:empty) { margin-top: 6px; padding-left: 10px; border-left: 1px solid var(--tan); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }

.opts { display: grid; gap: 8px; }
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
/* Choices read as choices, not text fields: stone fill and a round marker that fills when picked. */
.opt span {
  display: flex; align-items: center; gap: 10px; text-align: left;
  min-height: 52px; padding: 8px 12px; background: var(--stone);
  border: 1px solid var(--rule); border-radius: var(--r);
  font-weight: 500; font-size: 0.94rem; line-height: 1.2;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.opt span::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 1px solid var(--ink-3);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.opt:hover span { border-color: var(--ink-3); }
.opt input:checked + span { background: var(--graphite); border-color: var(--graphite); color: var(--on-dark); font-weight: 600; }
.opt input:checked + span::before { background: var(--tan-hi); border-color: var(--tan-hi); box-shadow: inset 0 0 0 3px var(--graphite); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field--group.has-error .opt span { border-color: var(--danger); }

.lead-form__nav { margin-top: 8px; display: flex; gap: 12px; }
.lead-form__nav [data-back] { flex: none; }
.lead-form__status { font-weight: 600; color: var(--danger); }
.lead-form__status:not(:empty) { margin-top: 14px; }
.lead-form__privacy { margin-top: 16px; display: flex; gap: 10px; font-size: 0.88rem; color: var(--ink-3); }
.lead-form__privacy .i { margin-top: 3px; color: var(--tan-text); }
.lead-form__privacy a { color: var(--ink); text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.is-loading [data-submit-label]::after { content: ""; display: inline-block; width: 1em; }

/* One step indicator replaces the old progress line + section title pair. */
.lead-form__progress { margin-bottom: 28px; }
.stepper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stepper__item {
  display: flex; align-items: baseline; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--rule);
  font-family: var(--f-display); font-weight: 700; font-stretch: 116%; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); transition: color .3s var(--ease), border-color .3s var(--ease);
}
.stepper__num { font-variant-numeric: tabular-nums; }
.stepper__item.is-current { color: var(--ink); border-color: var(--tan); }
.stepper__item.is-current .stepper__num { color: var(--tan-text); }
.stepper__item.is-done { color: var(--ink-2); border-color: var(--tan); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* With the stepper showing, each fieldset title stays for screen readers only. */
.is-stepped .fs__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; border: 0; }

.thanks { padding-block: clamp(12px, 3vw, 40px); }
.thanks:focus { outline: none; }
.thanks__check { display: block; margin-bottom: 14px; color: var(--tan-text); width: 1.1em; height: 1.1em; stroke-width: 2; }
.thanks__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05; letter-spacing: -0.01em; max-width: 18ch;
}
.thanks p { margin-top: 16px; color: var(--ink-2); max-width: 52ch; }
.thanks__alt a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.thanks .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.ft { background: var(--graphite-3); color: var(--on-dark-2); padding-top: 56px; padding-bottom: 32px; font-size: 0.95rem; }
/* Centered footer: logo and line, contact pair, legal. */
.ft__inner { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 32px 56px; align-items: start; padding-bottom: 36px; }
.ft__brand img { height: 44px; width: auto; margin-inline: auto; }
.ft__brand p { margin-top: 18px; line-height: 1.7; }
.ft__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(32px, 5vw, 64px); }
.ft__contact dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--f-display); font-weight: 600; font-stretch: 116%; }
.ft__contact dd { color: var(--on-dark); }
.ft__contact a { text-decoration: none; }
.ft__contact a:hover { color: var(--tan-hi); }
.ft__legal { text-align: center; padding-top: 24px; border-top: 1px solid var(--rule-dark); font-size: 0.85rem; }

/* ---------- Mobile bar ---------- */
.mbar { display: none; }

/* ---------- Gallery viewer ---------- */
.viewer {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(15, 17, 19, 0.96); color: var(--on-dark);
}
.viewer::backdrop { background: rgba(15, 17, 19, 0.6); }
.viewer[open] { display: grid; place-items: center; }
.viewer__fig { display: grid; justify-items: center; gap: 14px; padding: 64px 72px 32px; max-height: 100dvh; }
.viewer__fig img { max-height: calc(100dvh - 140px); width: auto; max-width: 100%; object-fit: contain; }
.viewer__fig figcaption { font-size: 0.95rem; color: var(--on-dark-2); text-align: center; }
.viewer__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--rule-dark); color: var(--on-dark); font-size: 1.2rem; background: rgba(21, 24, 27, 0.6);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.viewer__btn:hover { border-color: var(--tan); color: var(--tan-hi); }
.viewer__close { top: 16px; right: 16px; }
.viewer__prev { left: 16px; top: 50%; translate: 0 -50%; }
.viewer__next { right: 16px; top: 50%; translate: 0 -50%; }

/* =========================================================
   Notebook fit: on desktop the vertical rhythm also follows viewport
   height, so each section reads in about one screen on 1280x720 to
   1536x864 laptops and the hero never needs a scroll.
   ========================================================= */
@media (min-width: 900px) {
  .hero__copy { padding-block: clamp(24px, 5.5vh, 88px); }
  .hero__sub { margin-top: clamp(14px, 2.6vh, 26px); }
  .trust { margin-top: clamp(16px, 2.8vh, 28px); }
  .zipstart { margin-top: clamp(20px, 3.6vh, 36px); }

  .scope { padding-block: clamp(44px, min(5.6vw, 7.4vh), 96px); }
  .scope__body { margin-top: clamp(24px, 4vh, 56px); }

  .work { padding-block: clamp(48px, min(7vw, 8vh), 112px); }
  .pg { margin-top: clamp(24px, 4vh, 56px); }
  /* Rows sized by screen height: as large as the section allows on a laptop, capped on big monitors. */
  .pg-item { height: clamp(170px, min(17vw, 25vh), 380px); }
  .work__cta { margin-top: clamp(24px, 4vh, 56px); }

  .why { --why-pad: clamp(48px, min(8vw, 9vh), 136px); padding-block: var(--why-pad); }
  .why__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 96px); }
  .why__media { aspect-ratio: auto; width: 100%; height: min(690px, calc(100svh - var(--hd-h) - 1px - var(--why-pad) * 2)); }
  .pillars { margin-top: clamp(20px, 3.4vh, 52px); }
  .pillars li { padding: clamp(14px, 2.4vh, 26px) 0 clamp(16px, 2.8vh, 30px); }

  .process__title { max-width: 32ch; }
  .steps { margin-top: clamp(28px, 5vh, 72px); }
  .process__cta { margin-top: clamp(28px, 4.5vh, 64px); }

  .reviews__head { max-width: 1040px; }
  .reviews__flag { margin-bottom: clamp(14px, 2.4vh, 28px); }
  .reviews__grid { margin-top: clamp(24px, 3.6vh, 56px); }
  .benefits__list { margin-top: clamp(24px, 4vh, 56px); }
  .review { padding: clamp(20px, 3vh, 34px) clamp(22px, 2.4vw, 34px); }
  .review--feature { padding: clamp(26px, 4.4vh, 52px) clamp(28px, 3.4vw, 52px); }
  .review--img { padding: 0; min-height: clamp(160px, 22vh, 280px); }

  .faq__grid { gap: clamp(28px, 4.4vh, 64px); }
  .faq__head .h2 { font-size: clamp(2.3rem, min(4.7vw, 8.4vh), 4.1rem); }
  .qa summary { padding-block: clamp(14px, 2.2vh, 24px); }

  .estimate { padding-block: clamp(32px, min(7vw, 5vh), 120px); }
  .panel { padding-block: clamp(24px, 4.4vh, 48px); align-self: start; }
  .lead-form__progress { margin-bottom: clamp(18px, 3vh, 28px); }
  .field { margin-bottom: clamp(14px, 2.2vh, 20px); }
  .field textarea { min-height: clamp(84px, 13vh, 116px); }
}
@media (min-width: 1181px) {
  /* Step 1 on a wide panel: ZIP and start date on the left, the notes box fills the right. */
  .fs:first-child { grid-template-rows: auto 1fr; }
  .fs > [data-group="timeline"] { grid-column: 1; align-self: start; }
  .fs > .field--wide { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; }
  .fs > .field--wide textarea { flex: 1 1 auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .hd__context { display: none; }
  .hd__inner { grid-template-columns: auto 1fr; }
  .hd__actions { justify-self: end; }
  .estimate__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

@media (max-width: 1023px) {
  .scope__body { grid-template-columns: minmax(0, 1fr); }
  .scope__media { display: none; }
  .scope__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope__item:nth-child(3n + 1) { border-left: 1px solid var(--rule-2); padding-left: clamp(20px, 2vw, 32px); }
  .scope__item:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .step:nth-child(2n)::after { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .review--feature { grid-row: auto; grid-column: 1 / 3; }
  .review--img { grid-column: 1 / 3; }
}

@media (max-width: 899px) {
  .hero { grid-template-columns: [full-start] var(--gutter) [copy-start] minmax(0, 1fr) [copy-end] var(--gutter) [full-end]; min-height: 0; }
  .hero__copy { padding: 40px 0 36px; }
  .hero__media { grid-column: full; min-height: 0; aspect-ratio: 3 / 2; }
  .hero { background: linear-gradient(180deg, var(--paper) 0%, var(--stone) 55%); }
  .hero__media::before { background: linear-gradient(180deg, var(--stone) 0%, rgba(238, 235, 230, 0.5) 12%, rgba(238, 235, 230, 0) 32%); }
  .hero__media::after { border-left-color: rgba(211, 173, 135, 0.85); border-top-color: transparent; }
  .hero__title { max-width: 16ch; }

  .faq__grid, .estimate__grid, .why__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head, .estimate__intro { position: static; }
  .scope__head { grid-template-columns: minmax(0, 1fr); }
  .why__media { max-width: 360px; width: 78%; }
}

@media (max-width: 759px) {
  :root { --hd-h: 60px; }
  body { font-size: 16.5px; }
  html { scroll-padding-top: 12px; }

  .hd { position: relative; }
  .hd__inner { gap: 12px; }
  .hd__logo img { height: 34px; }
  .hd__cta { display: none; }
  .hd__phone { min-height: 44px; padding: 0 12px; border: 1px solid var(--rule-dark); font-size: 0.95rem; }
  .hd__context {
    display: block; grid-column: 1 / -1; grid-row: 2; justify-self: stretch;
    margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter);
    border-top: 1px solid var(--rule-dark); font-size: 0.62rem; letter-spacing: 0.1em; text-align: left; white-space: nowrap;
  }
  .hd__context span { margin-inline: 6px; }
  .hd__inner { height: auto; grid-template-columns: auto 1fr; row-gap: 0; padding-top: 10px; }
  .hd__logo, .hd__actions { padding-bottom: 10px; }

  .hero__copy { padding: 28px 0 28px; }
  .hero__title { font-size: clamp(1.95rem, 9.2vw, 2.5rem); }
  .hero__sub { margin-top: 18px; font-size: 1rem; }
  .trust { margin-top: 20px; gap: 8px 18px; }
  .trust li { font-size: 0.84rem; padding: 0; margin: 0; border: 0; }
  .zipstart { margin-top: 26px; }
  .zipstart__row { flex-direction: column; border: 0; background: none; gap: 10px; }
  .zipstart__row input { border: 1px solid var(--ink); background: var(--paper); height: 56px; }
  .zipstart__row:focus-within { outline: none; }
  .zipstart__row input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
  .zipstart__row .btn { border: 1px solid var(--tan-press); width: 100%; }
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__media img { object-position: 50% 62%; }

  .scope__list { grid-template-columns: minmax(0, 1fr); }
  .scope__item:nth-child(n) { border-left: 0; padding: 20px 0 22px; }
  .pg { --pg-gap: 10px; }
  .stepper__item { gap: 7px; font-size: 0.7rem; letter-spacing: 0.08em; white-space: nowrap; }
  .faq__head .h2 br { display: none; }
  .reviews__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .review--feature, .review--img { grid-column: auto; }
  .review--img .btn { left: 16px; right: 16px; bottom: 16px; }
  .pg-track { animation-duration: 48s; }
  .pg-row--rev .pg-track { animation-duration: 42s; }
  .g__zoom { display: none; }
  .work__cta .btn, .process__cta .btn, .faq__cta .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }

  .panel { padding: 24px 18px 28px; }
  .lead-form__nav { flex-direction: column; }
  .lead-form__nav [data-back] { order: 2; width: 100%; }
  .opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field input[name="zip"] { max-width: none; }

  .ft { padding-bottom: calc(24px + 68px + env(safe-area-inset-bottom)); } /* room for the action bar, in the footer's own color */

  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 45;
    background: var(--graphite); border-top: 1px solid var(--rule-dark);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
    transition: transform .35s var(--ease);
  }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; text-decoration: none;
    font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .mbar__call { color: var(--on-dark); border: 1px solid var(--rule-dark); }
  .mbar__call .i { color: var(--tan); }
  .mbar__cta { background: var(--tan); color: var(--on-tan); }

  .viewer__fig { padding: 64px 12px 84px; }
  .viewer__fig img { max-height: calc(100dvh - 180px); }
  .viewer__prev, .viewer__next { top: auto; bottom: 20px; translate: none; }
  .viewer__prev { left: calc(50% - 60px); }
  .viewer__next { right: calc(50% - 60px); }
}

/* Phones: one centered column, so every section reads on the same axis.
   Form fields and the FAQ answers stay left-aligned for reading and typing. */
@media (max-width: 759px) {
  .hd__context { text-align: center; }

  .hero__copy { text-align: center; }
  .hero__title, .hero__sub, .hero__micro, .zipstart { margin-inline: auto; }
  .br-m { display: inline; }
  .why__body .h2 { font-size: min(1.7rem, 6.4vw); } /* four set lines on every phone width */
  .hero .trust { display: none; } /* phones: the hero goes straight from the promise to the ZIP field */
  .hero__alt { justify-items: center; }
  .hero__alt .link-call { justify-self: center; }

  .scope__head, .scope__item, .work__cta, .why__body, .estimate__intro, .review { text-align: center; }
  .scope__head .h2, .scope__head .lead, .why__body .h2, .why__body .lead, .estimate__intro .h2, .estimate__intro .lead { margin-inline: auto; }
  .scope__item h3 { justify-content: center; }
  .work__cta { flex-direction: column; justify-content: center; }
  .work__cta p { margin-inline: auto; }
  .why__media { margin-inline: auto; }

  .step:nth-child(n) { padding: 0 0 56px; }
  .step:last-child { padding-bottom: 0; }
  .step:nth-child(n)::after { display: block; left: 50%; right: auto; top: auto; bottom: 14px; width: 1px; height: 28px; }
  .step p { max-width: 34ch; margin-inline: auto; }

  .review figcaption { justify-items: center; }
  .benefits__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .benefit { text-align: center; }
  .benefit p { margin-inline: auto; }
}

@media (max-width: 380px) {
  .mbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding-inline: 10px; }
  .mbar a { font-size: 0.72rem; letter-spacing: 0.04em; gap: 6px; }
  .btn { white-space: normal; text-align: center; padding: 10px 16px; letter-spacing: 0.06em; gap: 8px; }
  .hd__context { font-size: 0.56rem; letter-spacing: 0.06em; }
  .opts--3 { grid-template-columns: 1fr 1fr 1fr; }
  .opt span { font-size: 0.88rem; padding: 8px 8px; gap: 7px; }
  .opt span::before { width: 14px; height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  /* No loop: each row becomes a plain horizontal scroller with one set. */
  .pg-track { animation: none; }
  .pg-row { overflow-x: auto; }
  .pg-set[aria-hidden="true"] { display: none; }
}

/* =========================================================
   Kitchen & Bathroom LP (/kitchen-bathroom-remodeling/)
   Two rooms, one team: a kitchen over a bathroom in the hero,
   a one-click room chooser that starts the estimate, galleries
   grouped by room, and a two-step qualification form.
   ========================================================= */

/* ---------- Hero: one framed room, full height ---------- */
.duo {
  grid-column: media-start / full-end;
  position: relative;
  display: grid; grid-template-rows: minmax(0, 1fr);
  min-height: 520px;
}
/* Same dissolve into the stone ground as the bathroom and kitchen heroes. */
.duo::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--stone) 0%, rgba(238, 235, 230, 0.55) 12%, rgba(238, 235, 230, 0) 34%);
}
.duo__ph { margin: 0; overflow: hidden; min-height: 0; }
.duo__ph img { position: absolute; inset: 0; }
.duo__ph--k img { object-position: 46% 55%; }
.duo .frame::after { border-left-color: transparent; z-index: 3; animation: frame-draw 1.6s var(--ease) .25s both; }
/* The brass profile draws once, left to right, as the page settles. */
@keyframes frame-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.hd__st { font-weight: inherit; }
@media (max-width: 759px) {
  /* The two-service line fits one phone row as "Kitchen & Bath Remodeling | Greater Boston". */
  .hd__st { display: none; }
  .hd__context { letter-spacing: 0.06em; }
}

/* Four proof points as a tidy 2 x 2 instead of a row that wraps with a loose separator.
   Phones keep it too: this hero has no ZIP field to make room for. */
.hero--kb .trust { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; }
.hero--kb .trust li { border: 0; padding: 0; margin: 0; }
@media (max-width: 759px) {
  /* Phones: the two strongest proof points on one line. */
  .hero--kb .trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 18px; }
  .hero--kb .trust li { font-size: 0.82rem; }
  .hero--kb .trust li:nth-child(n + 3) { display: none; }
}

/* ---------- Room chooser: the hero's one-click start ---------- */
.chooser { margin-top: 32px; max-width: 600px; }
.chooser__label {
  display: block; margin-bottom: 10px;
  font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.chooser__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); background: var(--paper); }
.chooser__opt {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 16px; align-content: space-between;
  min-height: 96px; padding: 16px 18px;
  color: var(--ink); text-decoration: none;
  border-left: 1px solid var(--rule-2);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.chooser__opt:first-child { border-left: 0; }
.chooser__icon { width: 1.6em; height: 1.6em; color: var(--tan-text); transition: color .3s var(--ease); }
.chooser__go { grid-row: 1; grid-column: 2; color: var(--tan-text); transition: color .3s var(--ease), transform .35s var(--ease); }
.chooser__name {
  grid-column: 1 / -1;
  font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.chooser__opt:hover { background: var(--graphite); color: var(--on-dark); }
.chooser__opt:hover .chooser__icon, .chooser__opt:hover .chooser__go { color: var(--tan-hi); }
.chooser__opt:hover .chooser__go { transform: translateX(3px); }
.chooser__opt:active { background: var(--graphite-3); }
.chooser__opt:focus-visible { z-index: 1; outline: 2px solid var(--ink); outline-offset: 2px; }
.chooser__micro { margin-top: 10px; font-size: 0.92rem; color: var(--ink-3); }

.hero__links { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; }
.link-quiet {
  font-weight: 600; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 5px;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.link-quiet:hover { color: var(--ink); text-decoration-color: var(--tan); }

/* Text action with a brass underline: per-service starts and secondary paths. */
.link-go {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
  font-family: var(--f-display); font-weight: 700; font-stretch: 116%; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--tan);
  transition: border-color .25s var(--ease);
}
.link-go .i { color: var(--tan-text); transition: transform .35s var(--ease); }
.link-go:hover { border-color: var(--ink); }
.link-go:hover .i { transform: translateX(3px); }

/* Heading left, lead right, bottoms aligned. */
.split-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(40px, 5vw, 96px); align-items: end; }
.split-head .h2 { max-width: 22ch; }
.split-head .lead { margin-top: 0; }

/* ---------- Portfolio grouped by room ---------- */
.gal { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 14px; }
.gal__row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 24px; }
.gal__label {
  align-self: start; padding-top: 14px; border-top: 1px solid var(--tan);
  font-family: var(--f-display); font-weight: 700; font-stretch: 116%; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark);
}
.gal__list { display: grid; grid-template-rows: minmax(0, 1fr); gap: 14px; height: clamp(200px, 20vw, 340px); }
.gal__list--k { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.72fr) minmax(0, 1.3fr) minmax(0, 1.3fr); }
.gal__list--b { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gal__item { min-width: 0; min-height: 0; height: 100%; }
.gal__list--b .g__btn img { object-position: 50% 45%; }

/* ---------- Services ---------- */
/* Alternating rows: photo and text trade sides, one action per room. */
.svc__rows { margin-top: clamp(36px, 4.5vw, 64px); display: grid; gap: clamp(40px, 5vw, 80px); }
.svc__item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.svc__item--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.svc__item--rev .svc__media { order: 2; }
.svc__media { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.svc__media--b img { object-position: 50% 46%; }
.svc__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.04; letter-spacing: -0.01em;
}
.svc__text > p { margin-top: 16px; color: var(--ink-2); max-width: 46ch; }
.svc__scope { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); max-width: 460px; }
.svc__scope li {
  display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-2);
  font-family: var(--f-display); font-weight: 600; font-stretch: 106%; font-size: 0.95rem;
}
.svc__scope li:nth-child(odd) { padding-right: 16px; }
.svc__scope li::before { content: ""; flex: none; width: 7px; height: 7px; border: 1px solid var(--tan-text); }
.svc__text .btn { margin-top: 28px; }

/* Larger scopes: one graphite strip, text only (no real photos to show). */
.svc__more {
  margin-top: clamp(48px, 6vw, 96px); padding: clamp(28px, 3.4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px clamp(24px, 3vw, 48px);
  border-top: 2px solid var(--tan);
}
.svc__more-title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.1; text-transform: uppercase;
  color: var(--on-dark); max-width: 12ch;
}
.svc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.svc__row { display: flex; flex-direction: column; align-items: flex-start; }
.svc__row h3 { font-size: clamp(1.08rem, 1.4vw, 1.24rem); color: var(--tan-hi); }
.svc__row p { margin-top: 10px; color: var(--on-dark-2); max-width: 46ch; }
.svc__row .link-go { margin-top: 16px; color: var(--on-dark); }
.svc__row .link-go .i { color: var(--tan-hi); }
.svc__row .link-go:hover { border-color: var(--on-dark); }

/* ---------- Process lead + callout ---------- */
.process__lead { margin-inline: auto; }
.callout { background: var(--paper); border-block: 1px solid var(--rule); padding-block: clamp(48px, 6vw, 88px); }
.callout__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(40px, 5vw, 96px); align-items: center; }
.callout__inner .h2 { max-width: 18ch; }
.callout__body p { color: var(--ink-2); max-width: 44ch; }
.callout__actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* FAQ title held on one line at every width. */
.faq__head .h2--one { white-space: nowrap; }
@media (max-width: 759px) {
  .faq__head .h2--one { font-size: min(2.3rem, 8.2vw); }
}

/* ---------- Final conversion ---------- */
.facts { margin-top: 28px; border-bottom: 1px solid var(--rule-dark); }
.facts li {
  display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rule-dark);
  font-family: var(--f-display); font-weight: 600; font-stretch: 108%; font-size: 0.95rem; color: var(--on-dark);
}
.facts li::before { content: ""; flex: none; width: 7px; height: 7px; border: 1px solid var(--tan); }
.estimate__alt { margin-top: 28px; font-weight: 600; color: var(--on-dark-2); }
.estimate__alt + .ccards { margin-top: 12px; }
.panel__head { margin-bottom: 26px; }
.panel__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.05; letter-spacing: -0.01em;
}
.panel__head p { margin-top: 8px; color: var(--ink-2); }

/* Qualification form: compact dropdowns, styled like the text fields with a bronze chevron. */
.field select {
  width: 100%; min-height: 52px; padding: 13px 44px 13px 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5636' stroke-width='1.8' stroke-linecap='square'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px 18px;
  color: var(--ink); border: 1px solid var(--rule-2); border-radius: var(--r);
  font: 400 1rem/1.4 var(--f-body);  /* 16px+: no zoom on iOS */
  -webkit-appearance: none; appearance: none; cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select:invalid { color: var(--ink-3); }
.field select option { color: var(--ink); }
.field select:hover { border-color: var(--ink-3); }
.field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field.has-error select { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
@media (min-width: 760px) {
  .lead-form--kb .fs > .field--full { grid-column: 1 / -1; }
}
@media (min-width: 1181px) {
  .lead-form--kb .fs:first-child { grid-template-rows: none; }
}
@media (min-width: 900px) {
  .chooser { margin-top: clamp(20px, 3.4vh, 32px); }
  .chooser__opt { min-height: clamp(84px, 11vh, 96px); }
  .svc__more { margin-top: clamp(32px, 5vh, 72px); }
}

@media (max-width: 1023px) {
  .gal__row { grid-template-columns: minmax(0, 1fr); }
  .gal__label { border-top: 0; padding-top: 0; margin-bottom: 12px; }
  .svc__more { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 899px) {
  .duo { grid-column: full; min-height: 0; aspect-ratio: 3 / 2; }
  .duo::before { background: linear-gradient(180deg, var(--stone) 0%, rgba(238, 235, 230, 0.5) 10%, rgba(238, 235, 230, 0) 28%); }
  .duo .frame::after { border-left-color: rgba(211, 173, 135, 0.85); border-top-color: transparent; }
  .split-head, .callout__inner, .svc__item, .svc__item--rev { grid-template-columns: minmax(0, 1fr); }
  .svc__item { gap: 28px; }
  .svc__item--rev .svc__media { order: 0; }
}

@media (max-width: 759px) {
  .chooser { margin: 24px auto 0; }
  .chooser__opt { min-height: 88px; padding: 14px 12px; row-gap: 12px; text-align: left; }
  .chooser__name { font-size: 0.86rem; letter-spacing: 0.06em; }
  .chooser__micro { text-align: center; }
  .hero__links { justify-content: center; margin-top: 18px; }
  .duo { aspect-ratio: 4 / 3; }

  /* Galleries become swipeable strips that run to the screen edge. */
  .gal { gap: 28px; }
  .gal__label { text-align: center; }
  .gal__list {
    display: flex; height: auto; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .gal__list::-webkit-scrollbar { display: none; }
  .gal__item { flex: none; height: 230px; scroll-snap-align: start; }
  .gal__item--w { aspect-ratio: 3 / 2; }
  .gal__item--t { aspect-ratio: 4 / 5; }

  .split-head { text-align: center; }
  .split-head .h2, .split-head .lead { margin-inline: auto; }
  .svc__text, .svc__row { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .svc__text .btn { width: 100%; white-space: normal; padding-inline: 14px; letter-spacing: 0.06em; }
  .svc__scope { width: 100%; text-align: left; }
  .svc__more { padding: 28px 20px; }
  .svc__more-title { text-align: center; max-width: none; }
  .svc__list { grid-template-columns: minmax(0, 1fr); }
  .callout__inner { text-align: center; }
  .callout__inner .h2, .callout__body p { margin-inline: auto; }
  .callout__actions { flex-direction: column; }
  .callout__actions .btn { width: 100%; white-space: normal; text-align: center; padding-block: 12px; }
  .estimate__alt { text-align: center; }
  .facts li { justify-content: center; }
  .panel__head { text-align: left; }
}

/* ---------- Thank-you page (/kitchen-bathroom-remodeling/thank-you) ---------- */
/* Minimal by request: it exists to confirm the request and count the conversion. */
.ty { min-height: calc(100svh - var(--hd-h) - 220px); display: grid; align-items: center; padding-block: clamp(56px, 10vh, 120px); }
.ty__body { display: grid; justify-items: center; text-align: center; }
.ty__check { width: 44px; height: 44px; padding: 10px; border: 1px solid var(--tan-text); color: var(--tan-text); stroke-width: 2; }
.ty__title {
  margin-top: 24px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 0.98; letter-spacing: -0.02em;
}
.ty .lead { margin-inline: auto; }
.ty__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; }

@media (max-width: 380px) {
  .chooser__opt { padding: 12px 10px; }
  .chooser__name { font-size: 0.78rem; letter-spacing: 0.04em; }
}
