/* DougCO Builds
   Layout modeled on HomeAdvisor's front page (search hero, project icons,
   photo cards, guides), drawn in DougCO's own palette: slate ink, warm paper
   and survey orange, with the plan-drawing dimension line as the house mark. */

:root {
  --ink: #13202C;
  --ink-2: #263645;
  --ink-soft: #4A5864;
  --muted: #6B7782;
  --paper: #F6F2EA;
  --paper-2: #EFEAE0;
  --white: #FFFFFF;
  --line: #E4DED2;
  --line-2: #D6CDBD;
  --line-dk: #2E3E4C;
  --orange: #E2552B;
  --orange-dk: #B9401B;
  --orange-lt: #F08A66;
  --orange-wash: #FDF1EC;
  --blue: #2D5E8C;
  --green: #2F7D4F;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', -apple-system, 'Segoe UI', sans-serif;
  --wrap: min(1320px, 100% - 3rem);
  --header-h: 113px;
  --dock-h: 64px;
  --r: 14px;
  --r-sm: 8px;
  --shadow: 0 24px 50px -28px rgba(19, 32, 44, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 clamp(1rem, .97rem + .15vw, 1.0625rem)/1.65 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-dk); }
h1, h2, h3, h4 { font-family: var(--body); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h3, h4 { font-weight: 700; letter-spacing: -.01em; }
p, li, dd, td { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.b-wrap { width: var(--wrap); margin-inline: auto; }
.b-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.b-skip:focus { left: 8px; }

/* ---------- buttons, tags, eyebrows ---------- */
.b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.5rem; border: 2px solid var(--orange); border-radius: var(--r-sm);
  background: var(--orange); color: #fff; text-decoration: none; cursor: pointer;
  font: 700 1.02rem/1 var(--body); letter-spacing: 0;
  transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.b-btn:hover { background: var(--orange-dk); border-color: var(--orange-dk); color: #fff; }
.b-btn:active { transform: translateY(1px); }
.b-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.b-btn--ghost:hover { background: rgba(255,255,255,.1); color: inherit; border-color: currentColor; }
.b-btn--ink { background: var(--ink); border-color: var(--ink); }
.b-btn--ink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.b-btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.b-btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.b-btn--sm { min-height: 40px; padding: .55rem 1rem; font-size: .92rem; }
.b-btn--block { width: 100%; }
.b-tag { display: inline-block; font: 700 .64rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dk); background: var(--orange-wash); border-radius: 4px; padding: .28rem .42rem; vertical-align: .15em; margin-left: .3rem; }
.b-eyebrow { font: 700 .78rem/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--orange-dk); margin: 0 0 .8rem; }
/* The dimension line: |------ label ------| as seen on a plan drawing */
.b-eyebrow--dim { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.b-eyebrow--dim::before, .b-eyebrow--dim::after {
  content: ''; flex: 0 1 64px; height: 9px;
  background: linear-gradient(currentColor, currentColor) center/100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) left/1px 100% no-repeat,
              linear-gradient(currentColor, currentColor) right/1px 100% no-repeat;
  opacity: .7;
}

/* ---------- header: HomeAdvisor's two rows ----------
   Top row: logo, help links, the main action. Second row: one tab per project
   group, each opening a two-column list and a column of popular projects. */
.b-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.b-header__top { width: var(--wrap); margin-inline: auto; height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.b-logo { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink); flex: none; }
.b-logo__word { font: 800 1.75rem/1 var(--body); letter-spacing: -.03em; white-space: nowrap; }
.b-logo__word em { font-style: normal; color: var(--orange); }
.b-logo:hover { color: var(--ink); }
.b-logo--light, .b-logo--light:hover { color: #fff; }
.b-logo--light .b-logo__word em { color: var(--orange-lt); }
.b-util { display: flex; align-items: center; gap: 1.7rem; }
.b-util > a:not(.b-btn) { color: var(--ink); text-decoration: none; font: 600 .98rem/1 var(--body); }
.b-util > a:not(.b-btn):hover { color: var(--orange-dk); }
.b-btn--pill { border-radius: 999px; padding-inline: 1.3rem; }
.b-nav { width: var(--wrap); margin-inline: auto; }
.b-nav__list { display: flex; gap: .4rem; list-style: none; margin: 0 0 0 -.8rem; padding: 0; }
.b-nav__trigger {
  display: inline-flex; align-items: center; height: 46px; padding: 0 .8rem; background: none; border: 0;
  border-bottom: 3px solid transparent; color: var(--ink); cursor: pointer; font: 600 .98rem/1 var(--body);
  transition: color .15s, border-color .15s;
}
.b-nav__trigger:hover { color: var(--orange-dk); }
.b-nav__trigger[aria-expanded="true"] { border-bottom-color: var(--orange); color: var(--ink); }
.b-mega { position: absolute; left: 0; right: 0; top: 100%; padding-bottom: 2rem; pointer-events: none; animation: b-drop .2s var(--ease); }
@keyframes b-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.b-mega__inner {
  pointer-events: auto; width: var(--wrap); margin-inline: auto; background: #fff; border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 18px 18px; box-shadow: 0 34px 70px -34px rgba(19,32,44,.45);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding: 2rem 2.4rem 2.2rem;
}
.b-mega__h { font: 800 1.22rem/1.2 var(--body); letter-spacing: -.01em; margin: 0 0 1rem; color: var(--ink); }
.b-mega__find { padding-right: 2.6rem; }
.b-mega__cols { list-style: none; margin: 0 0 1.3rem; padding: 0; columns: 2; column-gap: 2.4rem; }
.b-mega__cols li { break-inside: avoid; }
.b-mega__cols a { display: block; padding: .5rem 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.b-mega__cols a:hover { color: var(--orange-dk); }
.b-mega__plan { border-left: 1px solid var(--line); padding-left: 2.6rem; display: grid; align-content: start; gap: .2rem; }
.b-mcard { display: flex; align-items: center; gap: .95rem; padding: .55rem; margin: 0 -.55rem; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background .15s; }
.b-mcard:hover { background: var(--paper); color: var(--ink); }
.b-mcard__img { flex: none; width: 104px; height: 70px; border-radius: 9px; overflow: hidden; background: var(--paper-2); }
.b-mcard__img img { width: 100%; height: 100%; object-fit: cover; }
.b-mcard__txt b { display: block; font-weight: 700; line-height: 1.25; }
.b-mcard__txt small { display: block; color: var(--muted); font-size: .86rem; margin-top: .2rem; }
.b-mcard:hover b { color: var(--orange-dk); }
.b-mega__inner--guides { grid-template-columns: 1fr; }
.b-mega__guides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem; }
.b-gcard { display: flex; flex-direction: column; gap: .3rem; color: var(--ink); text-decoration: none; }
.b-gcard__img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; margin-bottom: .45rem; background: var(--paper-2); }
.b-gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.b-gcard:hover img { transform: scale(1.04); }
.b-gcard b { font-weight: 700; line-height: 1.25; }
.b-gcard small { color: var(--muted); font-size: .86rem; }
.b-gcard:hover b { color: var(--orange-dk); }

/* ---------- full-bleed photo layer (heroes and bands) ---------- */
.b-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.b-bg img { width: 100%; height: 100%; object-fit: cover; }
.b-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,20,28,.9) 0%, rgba(12,20,28,.7) 38%, rgba(12,20,28,.18) 78%, rgba(12,20,28,.05) 100%), linear-gradient(0deg, rgba(12,20,28,.6) 0%, transparent 45%); }

/* ---------- home hero with project search ---------- */
.b-hero { position: relative; isolation: isolate; color: #fff; }
.b-hero .b-bg img { object-position: 72% 55%; }
.b-hero__inner { width: var(--wrap); margin-inline: auto; padding: clamp(3.5rem, 8vw, 7.5rem) 0 clamp(7rem, 11vw, 9.5rem); }
.b-hero__copy { max-width: 780px; }
.b-hero .b-eyebrow { color: var(--orange-lt); }
.b-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.9vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; }
.b-hero h1 em { font-style: normal; color: var(--orange-lt); }
.b-hero__lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); color: rgba(255,255,255,.86); margin: 1.2rem 0 0; max-width: 40rem; }

.b-search {
  margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) auto; gap: .4rem;
  background: #fff; border-radius: var(--r); padding: .45rem; box-shadow: 0 28px 60px -24px rgba(0,0,0,.6); max-width: 820px;
}
.b-search__f { display: flex; flex-direction: column; justify-content: center; gap: .15rem; padding: .45rem .95rem; border-radius: 10px; color: var(--ink); cursor: text; }
.b-search__f + .b-search__f { border-left: 1px solid var(--line); border-radius: 0 10px 10px 0; }
.b-search__f:focus-within { background: var(--paper); }
.b-search__f > span { font: 700 .7rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.b-search input, .b-search select { width: 100%; min-height: 34px; border: 0; padding: 0; background: transparent; color: var(--ink); font: 600 1.08rem/1.2 var(--body); appearance: none; outline: none; }
.b-search select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.4rem; }
.b-search input::placeholder { color: #8E979F; font-weight: 500; }
.b-search .b-btn { min-height: 62px; padding-inline: 1.7rem; border-radius: 10px; font-size: 1.05rem; }
.b-trust { list-style: none; margin: 1.3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .95rem; color: rgba(255,255,255,.9); }
.b-trust li { display: flex; align-items: center; gap: .5rem; }
.b-trust li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ---------- project icon picker (overlaps the hero) ---------- */
.b-cats { position: relative; z-index: 2; margin-top: -4.4rem; }
.b-cats__inner { width: var(--wrap); margin-inline: auto; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px -22px rgba(19,32,44,.38); border: 1px solid var(--line); padding: .7rem; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.b-cats a { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 1rem .25rem .9rem; border-radius: 10px; color: var(--ink); text-decoration: none; font: 600 .86rem/1.15 var(--body); text-align: center; transition: background .2s, color .2s; }
.b-cats svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease), color .2s; }
.b-cats a:hover { background: var(--orange-wash); color: var(--orange-dk); }
.b-cats a:hover svg { transform: translateY(-2px); }
.b-cats__more { color: var(--orange-dk) !important; }

/* ---------- sections ---------- */
.b-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.b-section--tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.b-section--paper { background: var(--paper); }
.b-section--paper2 { background: var(--paper); }
.b-section--ink { background: var(--ink); color: var(--paper); }
.b-shead { text-align: center; max-width: 54rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.b-shead h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); }
.b-shead__sub { margin: .9rem auto 0; color: var(--ink-soft); font-size: 1.1rem; }
.b-section--ink .b-shead__sub { color: rgba(246,242,234,.75); }
.b-section--ink .b-eyebrow { color: var(--orange-lt); }
.b-shead--left { text-align: left; margin-left: 0; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; max-width: none; }
.b-shead--left .b-eyebrow--dim { justify-content: flex-start; }
.b-shead--left .b-eyebrow--dim::before { display: none; }
.b-link { font-weight: 700; color: var(--orange-dk); text-decoration: none; white-space: nowrap; display: inline-flex; gap: .4rem; align-items: center; }
.b-link::after { content: '\2192'; transition: transform .2s var(--ease); }
.b-link:hover::after { transform: translateX(3px); }
.b-note { text-align: center; font-size: .86rem; color: var(--muted); margin: 1.6rem auto 0; }
.b-note a { color: inherit; }

/* ---------- photo cards ---------- */
.b-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.b-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.b-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-2); color: var(--ink); }
.b-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.b-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.b-card:hover .b-card__img img { transform: scale(1.045); }
.b-card__tag { position: absolute; top: .85rem; left: .85rem; background: #fff; color: var(--ink); font: 800 .68rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: .45rem .6rem; border-radius: 6px; box-shadow: 0 4px 14px -6px rgba(0,0,0,.4); }
.b-card__body { flex: 1; display: flex; flex-direction: column; gap: .3rem; padding: 1.15rem 1.25rem 1.25rem; }
.b-card__title { font: 700 1.25rem/1.2 var(--body); margin: 0; letter-spacing: -.01em; }
.b-card__price { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; margin: .15rem 0 0; }
.b-card__price b { font: 700 1.75rem/1 var(--display); letter-spacing: .01em; }
.b-card__price span, .b-card__desc { font-size: .88rem; color: var(--muted); line-height: 1.35; }
.b-card__desc { margin: 0; }
.b-card__go { margin-top: auto; padding-top: .9rem; font-weight: 700; color: var(--orange-dk); display: flex; align-items: center; gap: .4rem; }
.b-card__go::after { content: '\2192'; transition: transform .2s var(--ease); }
.b-card:hover .b-card__go::after { transform: translateX(3px); }
.b-card--sm .b-card__img { aspect-ratio: 3 / 2; }
.b-card--sm .b-card__body { padding: .9rem 1rem 1rem; }
.b-card--sm .b-card__title { font-size: 1.05rem; }
.b-card--sm .b-card__go { padding-top: .5rem; font-size: .9rem; }

/* All projects browser: tabs by group, small cards */
.b-browse__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.b-browse__tabs button { border: 1px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 999px; padding: .6rem 1.1rem; font: 600 .95rem/1 var(--body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.b-browse__tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.b-browse__tabs button:hover:not([aria-selected="true"]) { border-color: var(--ink); }
.b-browse__panel[hidden], .b-browse__tabs[hidden] { display: none; }
.js .b-browse__panel .b-browse__ghead { display: none; }
.b-browse__ghead { font: 800 1.3rem/1.1 var(--body); margin: 2rem 0 1rem; }
.b-browse__panel:first-of-type .b-browse__ghead { margin-top: 0; }

/* Category tiles: rows always fill. 4 across, 5 across for five, and a wide
   lead tile when a group has 4n+3 items. Leftovers center on smaller screens. */
.b-tiles { --g: clamp(.75rem, 1.6vw, 1.25rem); --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.b-tiles--n5 { --cols: 5; }
.b-tiles > .b-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols)); min-width: 0; }
.b-tiles > .b-card--wide { flex-basis: calc(2 * (100% - (var(--cols) - 1) * var(--g)) / var(--cols) + var(--g)); }
.b-tiles > .b-card--wide .b-card__img { aspect-ratio: auto; flex: 1; min-height: 0; }
.b-tiles > .b-card--wide .b-card__img img { position: absolute; inset: 0; }
.b-tiles > .b-card--wide .b-card__body { flex: none; }

/* ---------- how it works, with photos ---------- */
.b-psteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); counter-reset: ps; }
.b-psteps li { counter-increment: ps; }
.b-psteps__img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; margin-bottom: 1.1rem; background: var(--paper-2); }
.b-psteps__img img { width: 100%; height: 100%; object-fit: cover; }
.b-psteps__img::after { content: counter(ps, decimal-leading-zero); position: absolute; left: .85rem; top: .85rem; background: var(--orange); color: #fff; font: 700 1.1rem/1 var(--display); padding: .45rem .55rem; border-radius: 6px; }
.b-psteps h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.b-psteps p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- lead site vs DougCO Builds ---------- */
.b-compare-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.b-compare { width: 100%; border-collapse: collapse; }
.b-compare th, .b-compare td { padding: 1.05rem 1.3rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.b-compare tr:last-child > * { border-bottom: 0; }
.b-compare thead th { font: 800 .76rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.b-compare thead th.is-us { background: var(--ink); color: #fff; }
.b-compare tbody th { font-weight: 700; width: 24%; }
.b-compare td { color: var(--ink-soft); width: 38%; }
.b-compare td.is-us { background: var(--orange-wash); color: var(--ink); font-weight: 500; position: relative; padding-left: 3.1rem; }
.b-compare td.is-us::before { content: ''; position: absolute; left: 1.2rem; top: 1.15rem; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- cinematic photo band ---------- */
.b-cine { position: relative; isolation: isolate; color: #fff; display: flex; align-items: center; min-height: clamp(440px, 52vw, 640px); }
.b-cine .b-bg img { object-position: 60% 50%; }
.b-cine__inner { width: var(--wrap); margin-inline: auto; padding: 4rem 0; }
.b-cine__copy { max-width: 640px; }
.b-cine .b-eyebrow { color: var(--orange-lt); }
.b-cine h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.9rem); line-height: 1.03; letter-spacing: -.03em; }
.b-cine p { font-size: 1.15rem; color: rgba(255,255,255,.86); margin: 1.1rem 0 1.8rem; }
.b-cine__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.b-cine__fine { font-size: .85rem !important; color: rgba(255,255,255,.62) !important; margin: 1.6rem 0 0 !important; max-width: 34rem; }
.b-cine--end { min-height: clamp(400px, 44vw, 560px); }

/* ---------- image + text split rows ---------- */
.b-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.b-split + .b-split { margin-top: clamp(3rem, 6vw, 5rem); }
.b-split__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.b-split__img img { width: 100%; height: 100%; object-fit: cover; }
.b-split--flip .b-split__img { order: 2; }
.b-split h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem); margin-bottom: .9rem; }
.b-split p { color: var(--ink-soft); margin: 0 0 1rem; }
.b-split ul { margin: 0 0 1.4rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
.b-split li { position: relative; padding-left: 1.9rem; }
.b-split li::before { content: ''; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--orange-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23B9401B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- costs: guide card + regional table ---------- */
.b-costs { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.2rem, 3vw, 2rem); align-items: stretch; }
.b-guidecard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--paper); text-decoration: none; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.b-guidecard:hover { color: var(--paper); box-shadow: var(--shadow); transform: translateY(-3px); }
.b-guidecard__img { aspect-ratio: 16 / 10; overflow: hidden; }
.b-guidecard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.b-guidecard:hover img { transform: scale(1.04); }
.b-guidecard__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.b-guidecard .b-eyebrow { color: var(--orange-lt); margin: 0; }
.b-guidecard h3 { font-size: 1.6rem; }
.b-guidecard p { margin: 0; color: rgba(246,242,234,.78); }
.b-guidecard .b-link { color: var(--orange-lt); margin-top: auto; padding-top: .8rem; }
.b-costbox { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.b-costbox__head { padding: 1.3rem 1.4rem 1rem; }
.b-costbox__head h3 { font-size: 1.35rem; }
.b-costbox__head p { margin: .3rem 0 0; color: var(--muted); font-size: .92rem; }
.b-costbox .b-table { border-top: 1px solid var(--line); }
.b-costbox .b-table caption { padding: .8rem 1.4rem 1.1rem; }

/* ---------- Castle Rock / feature band ---------- */
.b-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.b-band__a { padding: clamp(1.8rem, 4vw, 3rem); border-right: 1px solid var(--line); }
.b-band__b { padding: clamp(1.8rem, 4vw, 3rem); background: var(--paper); }
.b-band__photo { position: relative; min-height: 340px; padding: 0; margin: 0; border-right: 0; }
.b-band__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-band__photo figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(19,32,44,.82); color: #fff; font-size: .82rem; padding: .4rem .7rem; border-radius: 6px; }
.b-band h3 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem); margin-bottom: .8rem; }
.b-band p { color: var(--ink-soft); margin: 0 0 1.2rem; }
.b-band dl { margin: 0 0 1.4rem; display: grid; gap: .9rem; }
.b-band dt { font: 700 .74rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.b-band dd { margin: .3rem 0 0; font-weight: 500; }

/* Two-up explainer split by a vertical dimension line */
.b-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.b-pair__rule { width: 1px; background: currentColor; opacity: .35; position: relative; }
.b-pair__rule::before, .b-pair__rule::after { content: ''; position: absolute; left: -6px; width: 13px; height: 1px; background: currentColor; }
.b-pair__rule::before { top: 0; } .b-pair__rule::after { bottom: 0; }
.b-pair h3 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem); margin-bottom: .8rem; }
.b-pair p { margin: 0 0 1rem; }
.b-pair ul { margin: 0; padding-left: 1.1rem; }
.b-pair li { margin-bottom: .35rem; }
.b-section--ink .b-pair p, .b-section--ink .b-pair li { color: rgba(246,242,234,.82); }

/* Measured timeline: four steps on one dimensioned line */
.b-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; counter-reset: step; }
.b-steps::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--ink); }
.b-steps li { position: relative; padding: 0 1.6rem 0 0; counter-increment: step; }
.b-steps li::before { content: counter(step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 50%; font: 700 1.15rem/1 var(--display); position: relative; margin-bottom: 1.3rem; }
.b-steps li:nth-child(2)::before, .b-steps li:nth-child(4)::before { background: var(--orange); border-color: var(--orange); color: #fff; }
.b-steps h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.b-steps p { margin: 0; color: var(--ink-soft); }

/* Project index (town page): a typeset table of contents */
.b-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.b-index__col { padding: 1.4rem 1.3rem 1.6rem; border-right: 1px solid var(--line); }
.b-index__col:first-child { padding-left: 0; }
.b-index__col:last-child { border-right: 0; padding-right: 0; }
.b-index__head { font: 800 1.3rem/1.1 var(--body); margin: 0 0 .35rem; }
.b-index__blurb { font-size: .9rem; color: var(--muted); margin: 0 0 1rem; min-height: 2.9em; }
.b-index ul { list-style: none; margin: 0; padding: 0; }
.b-index li a { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; padding: .48rem 0; border-bottom: 1px dashed var(--line-2); color: var(--ink); text-decoration: none; font-weight: 500; }
.b-index li a::after { content: '\2192'; color: var(--orange); transition: transform .2s var(--ease); }
.b-index li a:hover { color: var(--orange-dk); }
.b-index li a:hover::after { transform: translateX(3px); }

/* Fee disclosure strip */
.b-fee { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.6rem; }
.b-fee__label { font: 800 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--orange-dk); white-space: nowrap; }
.b-fee p { margin: 0; color: var(--ink-soft); }

/* ---------- page hero (inner pages) ---------- */
.b-phero { background: var(--ink); color: var(--paper); position: relative; isolation: isolate; overflow: hidden; }
.b-phero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 40%); }
.b-phero__inner { width: var(--wrap); margin-inline: auto; position: relative; padding: clamp(2.2rem, 5vw, 4.2rem) 0 clamp(2.4rem, 5vw, 4.4rem); text-align: center; }
.b-phero h1 { font-size: clamp(2.3rem, 1.7rem + 2.8vw, 4rem); line-height: 1.04; max-width: 22ch; margin-inline: auto; letter-spacing: -.03em; }
.b-phero__lede { font-size: clamp(1.06rem, 1rem + .3vw, 1.25rem); color: rgba(246,242,234,.84); max-width: 44rem; margin: 1.1rem auto 0; }
.b-phero__cta { margin-top: 1.8rem; display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.b-phero .b-eyebrow { color: var(--orange-lt); }
.b-crumbs ol { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; font-size: .85rem; }
.b-crumbs li + li::before { content: '/'; margin-right: .35rem; opacity: .5; }
.b-crumbs a { color: rgba(246,242,234,.78); text-decoration: none; }
.b-crumbs a:hover { color: #fff; }
.b-crumbs span { color: var(--orange-lt); }
/* Photo variant: left-aligned copy over a full-bleed photo */
.b-phero--photo { color: #fff; }
.b-phero--photo::before { display: none; }
.b-phero--photo .b-phero__inner { text-align: left; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.2rem, 7vw, 6.2rem); }
.b-phero--photo h1 { margin-inline: 0; }
.b-phero--photo .b-phero__lede { margin-inline: 0; max-width: 40rem; color: rgba(255,255,255,.86); }
.b-phero--photo .b-crumbs ol, .b-phero--photo .b-phero__cta { justify-content: flex-start; }

/* Key facts strip under an inner hero */
.b-facts { background: var(--white); border-bottom: 1px solid var(--line); }
.b-facts ul { width: var(--wrap); margin-inline: auto; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b-facts li { padding: 1.2rem 1.4rem; border-right: 1px solid var(--line); }
.b-facts li:first-child { padding-left: 0; }
.b-facts li:last-child { border-right: 0; }
.b-facts b { display: block; font: 700 1.55rem/1.05 var(--display); }
.b-facts span { font-size: .85rem; color: var(--muted); }

/* ---------- article layout ---------- */
.b-article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.b-prose > * + * { margin-top: 1.1rem; }
.b-prose h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line-2); }
.b-prose h2:first-child { margin-top: 0; }
.b-prose h3 { font-size: 1.3rem; margin-top: 2rem; }
.b-prose p, .b-prose li { color: var(--ink-2); }
.b-prose ul, .b-prose ol { padding-left: 1.25rem; }
.b-prose li + li { margin-top: .45rem; }
.b-prose ol.b-run { list-style: none; padding: 0; counter-reset: run; display: grid; gap: 0; border-left: 2px solid var(--ink); }
.b-prose ol.b-run > li { counter-increment: run; position: relative; padding: .9rem 0 .9rem 2.6rem; margin: 0; border-bottom: 1px dashed var(--line-2); }
.b-prose ol.b-run > li::before { content: counter(run); position: absolute; left: -15px; top: .85rem; width: 28px; height: 28px; background: var(--white); border: 2px solid var(--ink); border-radius: 50%; font: 700 .95rem/24px var(--display); text-align: center; }
.b-prose ol.b-run strong { display: block; font: 700 1.1rem/1.2 var(--body); color: var(--ink); margin-bottom: .2rem; }
.b-callout { border-left: 4px solid var(--orange); background: var(--paper); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1.1rem 1.3rem; margin-top: 1.6rem !important; }
.b-callout__label { font: 800 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dk); margin: 0 0 .45rem; }
.b-callout p { margin: 0; }
.b-callout--blue { border-left-color: var(--blue); }
.b-callout--blue .b-callout__label { color: var(--blue); }
.b-source { font-size: .85rem; color: var(--muted); }
.b-figure { margin: 1.8rem 0 0; }
.b-figure img { width: 100%; border-radius: var(--r); }
.b-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .55rem; }

/* Tables become stacked rows on phones */
.b-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .97rem; }
.b-table caption { caption-side: bottom; text-align: left; font-size: .82rem; color: var(--muted); padding-top: .6rem; }
.b-table th, .b-table td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.b-table thead th { background: var(--ink); color: var(--paper); font: 700 .76rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.b-table tbody th { font: 700 1rem/1.25 var(--body); }
.b-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-costbox .b-table th:first-child, .b-costbox .b-table td:first-child { padding-left: 1.4rem; }
.b-costbox .b-table th:last-child, .b-costbox .b-table td:last-child { padding-right: 1.4rem; }

/* Sidebar */
.b-aside { position: relative; }
.b-aside__stick { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.2rem; }
.b-cta-panel { background: var(--ink); color: var(--paper); padding: 1.6rem; border-radius: var(--r); position: relative; overflow: hidden; }
.b-cta-panel__photo { margin: -1.6rem -1.6rem 1.3rem; aspect-ratio: 16 / 10; overflow: hidden; }
.b-cta-panel__photo img { width: 100%; height: 100%; object-fit: cover; }
.b-cta-panel h2, .b-cta-panel p.b-cta-panel__title { font: 800 1.4rem/1.15 var(--body); margin: 0 0 .6rem; border: 0; padding: 0; color: #fff; }
.b-cta-panel p { color: rgba(246,242,234,.8); font-size: .95rem; margin: 0 0 1.2rem; }
.b-cta-panel small { display: block; margin-top: .9rem; font-size: .78rem; color: rgba(246,242,234,.6); }
.b-toc { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: 1.2rem 1.3rem; }
.b-toc p { font: 700 .74rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.b-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.b-toc li { counter-increment: toc; }
.b-toc a { display: grid; grid-template-columns: 1.6rem 1fr; padding: .38rem 0; color: var(--ink-soft); text-decoration: none; font-size: .93rem; border-bottom: 1px dashed var(--line); }
.b-toc a::before { content: counter(toc, decimal-leading-zero); font: 700 .85rem/1.5 var(--display); color: var(--orange-dk); }
.b-toc a.is-active, .b-toc a:hover { color: var(--ink); }

/* FAQ */
.b-faq { border-top: 1px solid var(--line-2); }
.b-faq details { border-bottom: 1px solid var(--line); }
.b-faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.4rem 1.1rem 0; position: relative; font: 700 1.12rem/1.3 var(--body); }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: ''; position: absolute; right: .3rem; top: 50%; width: 14px; height: 14px; background: linear-gradient(var(--orange), var(--orange)) center/14px 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center/2px 14px no-repeat; transform: translateY(-50%); transition: transform .25s var(--ease); }
.b-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.b-faq details > div { padding: 0 0 1.2rem; color: var(--ink-2); }
.b-faq details > div p { margin: 0; }

/* Related links row */
.b-related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.b-related a { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-height: 132px; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.b-related a span { font: 700 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.b-related a b { font: 700 1.2rem/1.2 var(--body); }
.b-related a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.b-related a:hover b { color: var(--orange-dk); }

/* ---------- project form (/start/) ---------- */
.b-start { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); align-items: start; }
.b-form { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 50px -34px rgba(19,32,44,.4); }
.b-field { display: grid; gap: .4rem; }
.b-field > span, .b-field > label { font: 700 .74rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.b-input, .b-select, .b-textarea {
  width: 100%; min-height: 52px; padding: .8rem .95rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--white); color: var(--ink); font: 500 1.02rem/1.3 var(--body); appearance: none;
}
.b-select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.b-textarea { min-height: 130px; resize: vertical; }
.b-input:focus, .b-select:focus, .b-textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(226,85,43,.25); }
.b-progress { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-2); margin: 0; padding: 0; background: var(--paper); }
.b-progress li { list-style: none; padding: .95rem 1.1rem; font: 700 .78rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); display: flex; gap: .55rem; align-items: center; }
.b-progress li:last-child { border-right: 0; }
.b-progress li b { font: 700 1.1rem/1 var(--display); }
.b-progress li.is-current { color: var(--ink); background: var(--white); box-shadow: inset 0 -3px 0 var(--orange); }
.b-progress li.is-done { color: var(--green); }
.b-step { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.2rem; }
.b-step[hidden] { display: none; }
.b-step h2 { font-size: 1.7rem; }
.b-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.b-chip { position: relative; }
.b-chip input { position: absolute; opacity: 0; inset: 0; }
.b-chip span { display: flex; align-items: center; min-height: 52px; padding: .7rem .9rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.b-chip input:checked + span { border-color: var(--orange); background: var(--orange-wash); }
.b-chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.b-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.b-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.b-check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--orange); flex: none; }
.b-step__nav { display: flex; justify-content: space-between; gap: 1rem; padding-top: .4rem; }
.b-status { min-height: 1.4em; font-weight: 600; margin: 0; }
.b-status.is-err { color: #A3261B; }
.b-hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.b-footer { background: var(--ink); color: rgba(246,242,234,.78); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.b-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.b-footer__brand p { font-size: .95rem; margin: 1.1rem 0 0; max-width: 26rem; }
.b-footer__fee { font-size: .85rem !important; color: rgba(246,242,234,.6); border-left: 2px solid var(--orange); padding-left: .8rem; }
.b-footer__head { font: 800 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin: 0 0 1rem; }
.b-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.b-footer a { color: rgba(246,242,234,.78); text-decoration: none; }
.b-footer a:hover { color: #fff; }
.b-footer__soon { font-size: .88rem; color: rgba(246,242,234,.5); }
.b-footer__base { display: flex; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; padding: 1.3rem 0 1.6rem; border-top: 1px solid var(--line-dk); font-size: .85rem; }
.b-footer__base p { margin: 0; }
.b-footer__base a { margin-left: 1rem; }
.b-footer__ai { flex-basis: 100%; color: rgba(246,242,234,.5); font-size: .8rem; }

/* ---------- mobile dock and sheets ---------- */
.b-dock { display: none; }
.b-sheet { position: fixed; inset: 0; z-index: 80; background: rgba(19,32,44,.5); display: flex; align-items: flex-end; }
.b-sheet[hidden] { display: none; }
.b-sheet__panel { width: 100%; max-height: 82vh; overflow-y: auto; background: var(--white); border-radius: 18px 18px 0 0; padding: 0 1.2rem calc(1.4rem + env(safe-area-inset-bottom)); animation: b-up .28s var(--ease); }
@keyframes b-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.b-sheet__head { position: sticky; top: 0; background: var(--white); display: flex; justify-content: space-between; align-items: center; padding: 1rem 0 .8rem; border-bottom: 1px solid var(--line); }
.b-sheet__head p { margin: 0; font: 800 1.3rem/1 var(--body); }
.b-sheet__x { width: 44px; height: 44px; border: 0; background: none; font-size: 1.9rem; color: var(--ink); cursor: pointer; }
.b-sheet__group summary { padding: 1rem 0; font: 700 1.15rem/1 var(--body); border-bottom: 1px solid var(--line); cursor: pointer; }
.b-sheet__group ul, .b-sheet__list { list-style: none; margin: 0; padding: 0; }
.b-sheet__group li a, .b-sheet__list li > * { display: block; padding: .85rem 0; border-bottom: 1px dashed var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.b-sheet__list em { font-style: normal; color: var(--muted); font-weight: 500; font-size: .9rem; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .b-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-index__col:nth-child(3) { border-right: 0; padding-right: 0; }
  .b-index__col:nth-child(4) { padding-left: 0; }
  .b-index__col:nth-child(n+4) { border-top: 1px solid var(--line); }
  .b-cats__inner { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .b-cards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-psteps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .b-tiles, .b-tiles--n5 { --cols: 3; }
  .b-tiles > .b-card--wide { flex-basis: calc((100% - 2 * var(--g)) / 3); }
  .b-tiles > .b-card--wide .b-card__img { aspect-ratio: 3 / 2; flex: none; }
  .b-tiles > .b-card--wide .b-card__img img { position: static; }
  .b-tiles > .b-card--wide .b-card__body { flex: 1; }
}
@media (max-width: 1024px) {
  .b-article, .b-start { grid-template-columns: minmax(0, 1fr); }
  .b-aside__stick { position: static; }
  .b-toc { display: none; }
  .b-footer__grid { grid-template-columns: 1fr 1fr; }
  .b-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-costs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; --wrap: min(1320px, 100% - 2rem); }
  .b-nav, .b-util { display: none; }
  .b-header__top { justify-content: center; height: 64px; }
  .b-logo__word { font-size: 1.55rem; }
  body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
  .b-dock { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--ink); border-top: 1px solid var(--line-dk); }
  .b-dock__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; border: 0; background: none; color: rgba(246,242,234,.82); text-decoration: none; font: 600 .74rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
  .b-dock__item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .b-dock__item--primary { background: var(--orange); color: #fff; }
  .b-hero .b-bg img { object-position: 64% 50%; }
  .b-bg::after { background: linear-gradient(180deg, rgba(12,20,28,.55) 0%, rgba(12,20,28,.8) 55%, rgba(12,20,28,.92) 100%); }
  .b-search { grid-template-columns: minmax(0, 1fr); padding: .5rem; }
  .b-search__f { padding: .6rem .8rem; }
  .b-search__f + .b-search__f { border-left: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .b-search .b-btn { width: 100%; min-height: 56px; }
  .b-cats { margin-top: -3rem; }
  .b-cats__inner { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem; }
  .b-cats__inner::-webkit-scrollbar { display: none; }
  .b-cats a { flex: 0 0 88px; scroll-snap-align: start; }
  .b-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .b-steps::before { left: 21px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .b-steps li { padding: 0 0 1.8rem 4.2rem; }
  .b-steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .b-index { grid-template-columns: minmax(0, 1fr); }
  .b-index__col { padding: 1.2rem 0 1.4rem !important; border-right: 0 !important; border-top: 1px solid var(--line); }
  .b-index__blurb { min-height: 0; }
  .b-pair { grid-template-columns: minmax(0, 1fr); }
  .b-pair__rule { width: auto; height: 1px; }
  .b-pair__rule::before, .b-pair__rule::after { display: none; }
  .b-band { grid-template-columns: minmax(0, 1fr); }
  .b-band__a { border-right: 0; border-bottom: 1px solid var(--line); }
  .b-band__photo { min-height: 240px; }
  .b-split { grid-template-columns: minmax(0, 1fr); }
  .b-split--flip .b-split__img { order: 0; }
  .b-fee { grid-template-columns: minmax(0, 1fr); gap: .8rem; text-align: left; }
  .b-facts ul { grid-template-columns: 1fr 1fr; }
  .b-facts li { border-bottom: 1px solid var(--line); padding: 1rem 1rem 1rem 0 !important; }
  .b-facts li:nth-child(2n) { border-right: 0; padding-left: 1rem !important; }
  .b-chips { grid-template-columns: 1fr 1fr; }
  .b-row2 { grid-template-columns: minmax(0, 1fr); }
  .b-progress li span { display: none; }
  .b-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .b-footer__base a { margin: 0 1rem 0 0; }
  .b-shead--left { flex-direction: column; align-items: flex-start; }
  .b-table thead, .b-compare thead { display: none; }
  .b-table, .b-table tbody, .b-table tr, .b-table th, .b-table td,
  .b-compare, .b-compare tbody, .b-compare tr, .b-compare th, .b-compare td { display: block; width: 100% !important; }
  .b-table tr { border-bottom: 1px solid var(--line-2); padding: .5rem 0; }
  .b-table td, .b-table tbody th { border: 0; padding: .3rem 1rem; }
  .b-table td::before, .b-compare td::after { content: attr(data-label); }
  .b-table td::before { display: block; font: 700 .7rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .b-compare tr { border-bottom: 1px solid var(--line); }
  .b-compare tbody th { padding: 1rem 1.1rem .4rem; border: 0; font-size: 1.05rem; }
  .b-compare td { border: 0; padding: .55rem 1.1rem; display: flex !important; flex-direction: column-reverse; gap: .15rem; }
  .b-compare td::after { font: 700 .68rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .b-compare td.is-us { padding-left: 3rem; margin-bottom: .8rem; }
  .b-compare td.is-us::before { top: .8rem; left: 1.1rem; }
}
@media (max-width: 640px) {
  .b-cards, .b-cards--4 { grid-template-columns: minmax(0, 1fr); }
  .b-tiles, .b-tiles--n5 { --cols: 2; }
  .b-tiles > .b-card--wide { flex-basis: calc((100% - var(--g)) / 2); }
  .b-tiles .b-card__body { padding: .75rem .8rem .85rem; }
  .b-tiles .b-card__title { font-size: .98rem; }
  .b-psteps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .b-related { grid-template-columns: minmax(0, 1fr); }
  .b-related a { min-height: 0; }
  .b-chips { grid-template-columns: minmax(0, 1fr); }
  .b-phero h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Town hub: one block of photo tiles per project group */
.b-group + .b-group { margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.b-group__head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.b-group__head h3 { font-size: 1.5rem; }
.b-group__head p { margin: 0; color: var(--muted); }

/* Sample True Bid: drawn like a printed scope sheet */
.b-estimate { max-width: 920px; margin-inline: auto; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 30px 60px -36px rgba(19,32,44,.45); padding: clamp(1.4rem, 3vw, 2.4rem); position: relative; }
.b-estimate::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: var(--r) var(--r) 0 0; background: repeating-linear-gradient(90deg, var(--orange) 0 24px, var(--ink) 24px 48px); }
.b-estimate__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.b-estimate__kicker { font: 700 .74rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-dk); margin: .3rem 0 .5rem; }
.b-estimate__title { font: 800 clamp(1.3rem, 1.1rem + .8vw, 1.8rem)/1.1 var(--body); margin: 0; letter-spacing: -.02em; }
.b-estimate__stamp { flex: none; font: 700 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dk); border: 2px solid currentColor; border-radius: 6px; padding: .5rem .7rem; transform: rotate(-3deg); }
.b-estimate__group { padding-top: 1.1rem; }
.b-estimate__g { font: 800 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; }
.b-estimate__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line-2); }
.b-estimate__row span { color: var(--ink-2); }
.b-estimate__row b { flex: none; font: 700 1.05rem/1 var(--display); letter-spacing: .02em; min-width: 4.5rem; text-align: right; }
.b-estimate__foot { margin: 1.2rem 0 0; font-size: .86rem; color: var(--muted); }

/* Cost guides sheet on phones */
.b-sheet__cards { display: grid; gap: .2rem; padding: .8rem 0 .4rem; }
.b-sheet__cards .b-mcard { margin: 0; }

/* HTML sitemap */
.b-sitemap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem 2rem; }
.b-sitemap h2 { font-size: 1.15rem; margin: 0 0 .7rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.b-sitemap h2:not(:first-child) { margin-top: 1.8rem; }
.b-sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.b-sitemap a { color: var(--ink); text-decoration: none; }
.b-sitemap a:hover { color: var(--orange-dk); }
@media (max-width: 900px) { .b-sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .b-sitemap { grid-template-columns: minmax(0, 1fr); } }

/* What every True Bid includes */
.b-incl { flex: 1; margin: 0; padding: 0 1.4rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; column-gap: 1.6rem; }
.b-incl > div { display: flex; flex-direction: column; justify-content: center; }
.b-incl > div { padding: 1rem 0 1rem 2rem; border-bottom: 1px dashed var(--line-2); position: relative; }
.b-incl > div::before { content: ''; position: absolute; left: 0; top: 1.15rem; width: 20px; height: 20px; border-radius: 50%; background: var(--orange-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23B9401B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.b-incl dt { font-weight: 700; }
.b-incl dd { margin: .15rem 0 0; color: var(--ink-soft); font-size: .93rem; }
.b-costbox__more { margin: 1.1rem 1.4rem 1.3rem; }
@media (max-width: 560px) { .b-incl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- inner-page components ---------- */
.b-phero--tall .b-phero__inner { padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4.2rem, 9vw, 7.5rem); }
.b-phero--tall h1 { max-width: 18ch; font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.4rem); }
.b-phero .b-trust { margin-top: 1.6rem; }

/* Generic checked list; --dark for ink backgrounds */
.b-checks { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .6rem; }
.b-checks li { position: relative; padding-left: 1.95rem; }
.b-checks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--orange-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23B9401B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.b-checks--dark li::before { background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Six-step journey: alternating photo rows on a numbered center line */
.b-journey { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: js; }
.b-journey::before { content: ''; position: absolute; left: 50%; top: 2rem; bottom: 2rem; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
.b-jstep { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(4rem, 8vw, 7.5rem); align-items: center; counter-increment: js; }
.b-jstep + .b-jstep { margin-top: clamp(2.8rem, 5vw, 4.5rem); }
.b-jstep::before { content: counter(js, decimal-leading-zero); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; width: 58px; height: 58px; border-radius: 50%; background: var(--orange); color: #fff; font: 700 1.3rem/58px var(--display); text-align: center; box-shadow: 0 0 0 8px var(--white); }
.b-jstep:nth-child(even) .b-jstep__img { order: 2; }
.b-jstep__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.b-jstep__img img { width: 100%; height: 100%; object-fit: cover; }
.b-jstep__body .b-eyebrow { margin-bottom: .5rem; }
.b-jstep h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: .7rem; }
.b-jstep p { color: var(--ink-soft); margin: 0 0 1.2rem; }
.b-jstep__who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; margin: 0; }
.b-jstep__who > div { background: var(--paper); border-radius: 12px; padding: .85rem 1rem; }
.b-jstep__who dt { font: 800 .7rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-dk); margin-bottom: .4rem; }
.b-jstep__who dd { margin: 0; font-weight: 600; font-size: .96rem; line-height: 1.35; }

/* Who does what */
.b-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.b-role { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 2.5vw, 2rem); }
.b-role__sub { font: 700 .74rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.b-role h3 { font-size: 1.7rem; margin-bottom: 1.1rem; }
.b-role .b-checks { margin: 0; }
.b-role--us { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 60px -34px rgba(19,32,44,.7); }
.b-role--us .b-role__sub { color: var(--orange-lt); }

/* Sample True Bid beside its explanation */
.b-sample { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.b-sample h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem); margin-bottom: .9rem; }
.b-sample__copy > p { color: var(--ink-soft); margin: 0 0 1.2rem; }
.b-sample .b-estimate { max-width: none; margin: 0; }

/* Privacy band */
.b-quiet { background: var(--ink); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; overflow: hidden; }
.b-quiet::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.b-quiet__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.b-quiet .b-eyebrow { color: var(--orange-lt); }
.b-quiet h2 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); letter-spacing: -.035em; }
.b-quiet p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin: 0 0 1.3rem; }
.b-quiet .b-checks { margin: 0; color: #fff; font-weight: 600; }

@media (max-width: 900px) {
  .b-journey::before { left: 29px; }
  .b-jstep { grid-template-columns: minmax(0, 1fr); padding-left: 76px; row-gap: 1.1rem; }
  .b-jstep::before { left: 29px; top: 0; transform: translateX(-50%); }
  .b-jstep:nth-child(even) .b-jstep__img { order: 0; }
  .b-roles, .b-sample, .b-quiet__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .b-jstep { padding-left: 64px; }
  .b-journey::before, .b-jstep::before { left: 22px; }
  .b-jstep::before { width: 46px; height: 46px; line-height: 46px; font-size: 1.1rem; }
  .b-jstep__who { grid-template-columns: minmax(0, 1fr); }
}

/* Builder benefits */
.b-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.b-perk { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 2.5vw, 1.9rem); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.b-perk:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.b-perk__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--orange-wash); color: var(--orange-dk); margin-bottom: 1.1rem; }
.b-perk__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.b-perk h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.b-perk p { margin: 0; color: var(--ink-soft); }

/* Application: intro beside the form */
.b-joinwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.b-join__intro h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem); margin-bottom: .8rem; }
.b-join__intro > p { color: var(--ink-soft); margin: 0 0 1.6rem; }
.b-joinsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: jn; }
.b-joinsteps li { counter-increment: jn; position: relative; padding: 1rem 1.1rem 1rem 3.6rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.b-joinsteps li::before { content: counter(jn); position: absolute; left: 1rem; top: 1rem; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1rem/30px var(--display); text-align: center; }
.b-joinsteps b { display: block; font-weight: 700; }
.b-joinsteps span { display: block; color: var(--ink-soft); font-size: .95rem; margin-top: .15rem; }

@media (max-width: 1024px) { .b-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-joinwrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .b-perks { grid-template-columns: minmax(0, 1fr); } }

/* Code of ethics cards */
.b-code { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.b-code__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 2.5vw, 2rem); position: relative; }
.b-code__n { display: inline-block; font: 700 .9rem/1 var(--display); letter-spacing: .08em; color: var(--orange-dk); background: var(--orange-wash); border-radius: 6px; padding: .45rem .6rem; margin-bottom: .9rem; }
.b-code__card h2 { font-size: 1.45rem; margin-bottom: 1rem; }
.b-code__card .b-checks { margin: 0; }
.b-code__card .b-checks li { color: var(--ink-2); }
.b-code__card--cta { background: var(--ink); color: #fff; border-color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; }
.b-code__card--cta .b-code__n { background: rgba(255,255,255,.1); color: var(--orange-lt); }
.b-code__card--cta p { color: rgba(255,255,255,.8); margin: 0 0 1.3rem; }
.b-code__card--cta .b-btn { margin-top: auto; }
.b-quiet__inner--top { align-items: start; }
.b-quiet__h3 { font-size: 1.2rem; margin: 0 0 .8rem; color: #fff; }
.b-quiet .b-checks + .b-quiet__h3 { margin-top: 1.6rem; }
.b-chips--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .b-code { grid-template-columns: minmax(0, 1fr); } }

/* ---------- county service pages ---------- */
.b-prose .b-checks { padding: 0; }
.b-prose .b-checks li + li { margin-top: 0; }
.b-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 1.2rem !important; }
.b-types > div { background: var(--paper); border-radius: 12px; padding: 1.1rem 1.2rem; }
.b-types h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.b-types p { margin: 0; font-size: .96rem; }
.b-drivers { margin: 1.2rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.b-drivers > div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.2rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.b-drivers dt { font-weight: 700; }
.b-drivers dd { margin: 0; color: var(--ink-2); }
.b-qlist { list-style: none; padding: 0 !important; counter-reset: q; display: grid; gap: .6rem; }
.b-qlist li { counter-increment: q; position: relative; padding: .85rem 1rem .85rem 3.2rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink) !important; margin: 0 !important; }
.b-qlist li::before { content: 'Q' counter(q); position: absolute; left: 1rem; top: .85rem; font: 700 .95rem/1.5 var(--display); color: var(--orange-dk); }
.b-towns { background: var(--ink); color: #fff; padding: 2.2rem 0; text-align: center; }
.b-towns .b-eyebrow { color: var(--orange-lt); margin-bottom: .5rem; }
.b-towns__list { margin: 0; font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,.9); }
.b-townlist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.b-townlist > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; }
.b-townlist b { display: block; font-size: 1.15rem; }
.b-townlist span { display: block; color: var(--muted); font-size: .9rem; margin-top: .2rem; }
@media (max-width: 900px) { .b-townlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-drivers > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; } }
@media (max-width: 560px) { .b-types { grid-template-columns: minmax(0, 1fr); } }
.b-types > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Photo and plan upload on the project form */
.b-drop { position: relative; }
.b-drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.b-drop__zone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; padding: 1.5rem 1rem; border: 2px dashed var(--line-2); border-radius: 12px; background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; text-transform: none; letter-spacing: 0; font: inherit; color: var(--ink); }
.b-drop__zone svg { width: 34px; height: 34px; fill: none; stroke: var(--orange-dk); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.b-drop__zone b { font-weight: 700; }
.b-drop__zone small { color: var(--muted); font-size: .88rem; max-width: 30rem; }
.b-drop__zone:hover, .b-drop.is-over .b-drop__zone { border-color: var(--orange); background: var(--orange-wash); }
.b-drop__input:focus-visible + .b-drop__zone { outline: 3px solid var(--orange); outline-offset: 2px; }
.b-drop__list { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.b-drop__list:empty { display: none; }
.b-drop__list li { display: flex; align-items: center; gap: .7rem; padding: .5rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.b-drop__thumb { flex: none; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font: 700 .72rem/1 var(--body); color: var(--muted); }
.b-drop__thumb img { width: 100%; height: 100%; object-fit: cover; }
.b-drop__meta { min-width: 0; flex: 1; display: grid; }
.b-drop__meta b { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-drop__meta small { color: var(--muted); font-size: .8rem; }
.b-drop__x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.b-drop__x:hover { background: var(--orange-wash); color: var(--orange-dk); }
@media (max-width: 560px) { .b-drop__list { grid-template-columns: minmax(0, 1fr); } }
