:root{--dhb-rem:clamp(15px,1vw,20px)}
/* Styles used only by the generated inner pages (about / services / projects /
   testimonials / contact). The homepage does not load this file. */

body.dhb-subpage {
  margin: 0;
  background: #f3f3ec;
  color: #063670;
}

/* the top nav is a fixed floating pill - keep content out from under it */
.dhb-subpage .dhb-main {
  padding-top: clamp(calc(6 * var(--dhb-rem)), 9vw, calc(8 * var(--dhb-rem)));
}

/* ---------- page header ---------- */
.dhb-pagehead {
  padding-bottom: clamp(calc(2.5 * var(--dhb-rem)), 5vw, calc(4 * var(--dhb-rem))) !important;
}
.dhb-pagehead .dhb-inner {
  text-align: center;
}
.dhb-ph-eyebrow {
  display: inline-block;
  font-size: calc(0.68 * var(--dhb-rem));
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b88734;
}
.dhb-ph-title {
  margin: calc(1.1 * var(--dhb-rem)) 0 0;
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: clamp(calc(2.6 * var(--dhb-rem)), 6vw, calc(4.8 * var(--dhb-rem)));
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #063670;
}
.dhb-ph-intro {
  margin: calc(1.2 * var(--dhb-rem)) auto 0;
  max-width: calc(38 * var(--dhb-rem));
  font-size: calc(0.98 * var(--dhb-rem));
  line-height: 1.62;
  color: rgba(6, 54, 112, 0.72);
}

/* ---------- about ---------- */
.dhb-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: calc(3 * var(--dhb-rem)) calc(4 * var(--dhb-rem));
  align-items: start;
}
@media (max-width: 860px) {
  .dhb-about-grid {
    grid-template-columns: 1fr;
    gap: calc(2.5 * var(--dhb-rem));
  }
}
.dhb-about-h {
  margin: 0 0 calc(1.2 * var(--dhb-rem));
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: clamp(calc(1.7 * var(--dhb-rem)), 3vw, calc(2.4 * var(--dhb-rem)));
  font-weight: 400;
  line-height: 1.15;
  text-transform: none;
  color: #063670;
}
.dhb-about-grid .p1 {
  margin: 0 0 calc(1.1 * var(--dhb-rem));
  line-height: 1.68;
  color: rgba(6, 54, 112, 0.82);
}
.dhb-about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(6, 54, 112, 0.16);
  border: 1px solid rgba(6, 54, 112, 0.16);
}
.dhb-about-facts li {
  display: flex;
  flex-direction: column;
  gap: calc(0.35 * var(--dhb-rem));
  padding: calc(1.6 * var(--dhb-rem)) calc(1.3 * var(--dhb-rem));
  background: #f3f3ec;
}
.dhb-af-n {
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: clamp(calc(1.8 * var(--dhb-rem)), 3.4vw, calc(2.5 * var(--dhb-rem)));
  line-height: 1;
  color: #063670;
}
.dhb-af-l {
  font-size: calc(0.64 * var(--dhb-rem));
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(6, 54, 112, 0.6);
}

/* ---------- projects gallery ---------- */
.dhb-gtabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(0.6 * var(--dhb-rem)) calc(0.5 * var(--dhb-rem));
  margin-bottom: calc(2.5 * var(--dhb-rem));
}
.dhb-gtab {
  appearance: none;
  padding: calc(0.8 * var(--dhb-rem)) calc(1.4 * var(--dhb-rem));
  border: 1px solid rgba(6, 54, 112, 0.28);
  background: transparent;
  color: rgba(6, 54, 112, 0.75);
  font-size: calc(0.68 * var(--dhb-rem));
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.dhb-gtab:hover {
  border-color: #063670;
  color: #063670;
}
.dhb-gtab.is-active {
  background: #063670;
  border-color: #063670;
  color: #f3f3ec;
}
.dhb-gpane {
  display: none;
}
.dhb-gpane.is-active {
  display: grid;
}
.dhb-gcard {
  margin: 0;
  overflow: hidden;
  background: rgba(6, 54, 112, 0.06);
  aspect-ratio: 4 / 3;
}
.dhb-gcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.dhb-gcard:hover img {
  transform: scale(1.04);
}

/* ---------- shared cta ---------- */
.dhb-subpage .dhb-cta {
  display: inline-block;
  margin-top: calc(0.8 * var(--dhb-rem));
  padding: calc(1.1 * var(--dhb-rem)) calc(2.1 * var(--dhb-rem));
  background: #063670;
  color: #f3f3ec;
  font-size: calc(0.68 * var(--dhb-rem));
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease;
}
.dhb-subpage .dhb-cta:hover {
  background: #b88734;
}

/* the contact page is a single full-bleed split - no extra frame around it */
.dhb-subpage #quote {
  margin-top: 0;
}

/* tighten the run-in from the page header to the first content section */
.dhb-subpage .dhb-pagehead + .section {
  padding-top: clamp(calc(2 * var(--dhb-rem)), 3.5vw, calc(3 * var(--dhb-rem)));
}

/* ============================================================
   SERVICES - alternating editorial rows
   ============================================================ */
.dhb-srv { background: #f3f3ec; }
.dhb-srv-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: calc(2.5 * var(--dhb-rem)) calc(4 * var(--dhb-rem));
  align-items: center;
  padding: clamp(calc(2.5 * var(--dhb-rem)), 4.5vw, calc(4 * var(--dhb-rem))) 0;
  border-top: 1px solid rgba(6, 54, 112, 0.14);
}
.dhb-srv-row:first-child { border-top: 0; }
.dhb-srv-row:nth-child(even) .dhb-srv-text { order: 2; }
@media (max-width: 860px) {
  .dhb-srv-row { grid-template-columns: 1fr; gap: calc(1.6 * var(--dhb-rem)); }
  .dhb-srv-row:nth-child(even) .dhb-srv-text { order: 0; }
}
.dhb-srv-num {
  display: block;
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: clamp(calc(2.2 * var(--dhb-rem)), 4vw, calc(3.2 * var(--dhb-rem)));
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 135, 52, 0.75);
  margin-bottom: calc(0.9 * var(--dhb-rem));
}
.dhb-srv-title {
  margin: 0 0 calc(1 * var(--dhb-rem));
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: clamp(calc(1.6 * var(--dhb-rem)), 3vw, calc(2.4 * var(--dhb-rem)));
  font-weight: 400;
  line-height: 1.12;
  text-transform: none;
  color: #063670;
}
.dhb-srv-copy {
  margin: 0 0 calc(1.5 * var(--dhb-rem));
  max-width: calc(34 * var(--dhb-rem));
  font-size: calc(0.95 * var(--dhb-rem));
  line-height: 1.7;
  color: rgba(6, 54, 112, 0.78);
}
.dhb-srv-link {
  display: inline-block;
  font-size: calc(0.66 * var(--dhb-rem));
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #063670;
  text-decoration: none;
  border-bottom: 1px solid rgba(6, 54, 112, 0.4);
  padding-bottom: calc(0.35 * var(--dhb-rem));
  transition: border-color 0.25s ease, color 0.25s ease;
}
.dhb-srv-link:hover { color: #b88734; border-bottom-color: #b88734; }
.dhb-srv-fig { margin: 0; overflow: hidden; aspect-ratio: 5 / 4; background: rgba(6, 54, 112, 0.06); }
.dhb-srv-fig img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.dhb-srv-row:hover .dhb-srv-fig img { transform: scale(1.04); }

/* ============================================================
   PROJECTS - sticky filter rail + masonry wall
   ============================================================ */
.dhb-prj { background: #f3f3ec; }
.dhb-prj-layout {
  display: grid;
  grid-template-columns: calc(15 * var(--dhb-rem)) minmax(0, 1fr);
  gap: calc(3 * var(--dhb-rem));
  align-items: start;
}
@media (max-width: 900px) {
  .dhb-prj-layout { grid-template-columns: 1fr; gap: calc(1.75 * var(--dhb-rem)); }
}
.dhb-prj-rail { position: sticky; top: calc(7.5 * var(--dhb-rem)); display: flex; flex-direction: column; }
@media (max-width: 900px) {
  .dhb-prj-rail { position: static; flex-direction: row; flex-wrap: wrap; gap: calc(0.5 * var(--dhb-rem)); }
  .dhb-prj-railhead { width: 100%; }
}
.dhb-prj-railhead {
  font-size: calc(0.64 * var(--dhb-rem)); font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: #b88734; margin-bottom: calc(1 * var(--dhb-rem));
}
.dhb-prj-tab {
  appearance: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(0.75 * var(--dhb-rem));
  width: 100%;
  padding: calc(0.7 * var(--dhb-rem)) 0;
  border: 0;
  border-bottom: 1px solid rgba(6, 54, 112, 0.14);
  background: transparent;
  color: rgba(6, 54, 112, 0.72);
  font: inherit;
  font-size: calc(0.86 * var(--dhb-rem));
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.dhb-prj-tab em { font-style: normal; font-size: calc(0.66 * var(--dhb-rem)); letter-spacing: 0.1em; color: rgba(6, 54, 112, 0.4); }
.dhb-prj-tab:hover { color: #063670; }
.dhb-prj-tab.is-active { color: #063670; border-bottom-color: #b88734; font-weight: 600; }
.dhb-prj-tab.is-active em { color: #b88734; }
@media (max-width: 900px) {
  .dhb-prj-tab { width: auto; padding: calc(0.6 * var(--dhb-rem)) calc(1 * var(--dhb-rem)); border: 1px solid rgba(6, 54, 112, 0.2); }
  .dhb-prj-tab.is-active { background: #063670; color: #f3f3ec; border-color: #063670; }
  .dhb-prj-tab.is-active em { color: rgba(243, 243, 236, 0.7); }
}
.dhb-prj-cta {
  margin-top: calc(1.75 * var(--dhb-rem));
  padding: calc(0.95 * var(--dhb-rem)) calc(1.2 * var(--dhb-rem));
  background: #063670;
  color: #f3f3ec;
  font-size: calc(0.64 * var(--dhb-rem));
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background 0.25s ease;
}
.dhb-prj-cta:hover { background: #b88734; }
/* masonry so the wall reads as a composition, not a uniform grid */
.dhb-prj-wall { display: none; }
.dhb-prj-wall.is-active { display: block; columns: 3; column-gap: calc(1 * var(--dhb-rem)); }
@media (max-width: 1200px) { .dhb-prj-wall.is-active { columns: 2; } }
@media (max-width: 600px) { .dhb-prj-wall.is-active { columns: 1; } }
.dhb-prj-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 calc(1 * var(--dhb-rem));
  overflow: hidden;
  background: rgba(6, 54, 112, 0.06);
}
.dhb-prj-card img {
  width: 100%; height: auto; display: block;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.dhb-prj-card:hover img { transform: scale(1.035); }

/* ============================================================
   TESTIMONIALS - rating band + numbered editorial list
   ============================================================ */
.dhb-tst { background: #f3f3ec; }
.dhb-tst-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(calc(2.5 * var(--dhb-rem)), 4vw, calc(3.5 * var(--dhb-rem)));
  background: rgba(6, 54, 112, 0.16);
  border: 1px solid rgba(6, 54, 112, 0.16);
}
.dhb-tst-band > div {
  display: flex; flex-direction: column; gap: calc(0.4 * var(--dhb-rem));
  padding: calc(1.6 * var(--dhb-rem)) calc(1.4 * var(--dhb-rem)); background: #f3f3ec; text-align: center;
}
.dhb-tst-n {
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: clamp(calc(1.9 * var(--dhb-rem)), 3.6vw, calc(2.7 * var(--dhb-rem))); line-height: 1; color: #063670;
}
.dhb-tst-l {
  font-size: calc(0.62 * var(--dhb-rem)); letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(6, 54, 112, 0.6);
}
.dhb-tst-list { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.dhb-tst-row {
  display: grid;
  grid-template-columns: calc(5 * var(--dhb-rem)) minmax(0, 1fr) calc(14 * var(--dhb-rem));
  gap: calc(1 * var(--dhb-rem)) calc(2.5 * var(--dhb-rem));
  align-items: start;
  padding: clamp(calc(1.6 * var(--dhb-rem)), 2.8vw, calc(2.4 * var(--dhb-rem))) 0;
  border-top: 1px solid rgba(6, 54, 112, 0.14);
}
.dhb-tst-row:first-child { border-top: 0; }
@media (max-width: 860px) {
  .dhb-tst-row { grid-template-columns: calc(3 * var(--dhb-rem)) minmax(0, 1fr); gap: calc(0.6 * var(--dhb-rem)) calc(1.25 * var(--dhb-rem)); }
  .dhb-tst-who { grid-column: 2; }
}
.dhb-tst-idx {
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: calc(1.5 * var(--dhb-rem)); line-height: 1.2; color: transparent;
  -webkit-text-stroke: 1px rgba(184, 135, 52, 0.8);
}
.dhb-tst-quote {
  margin: 0;
  font-size: clamp(calc(1 * var(--dhb-rem)), 1.5vw, calc(1.22 * var(--dhb-rem)));
  line-height: 1.62;
  color: rgba(6, 54, 112, 0.88);
}
.dhb-tst-who { display: flex; flex-direction: column; gap: calc(0.3 * var(--dhb-rem)); margin: 0; }
.dhb-tst-name { font-size: calc(0.82 * var(--dhb-rem)); font-weight: 600; color: #063670; }
.dhb-tst-proj {
  font-size: calc(0.62 * var(--dhb-rem)); letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(6, 54, 112, 0.55);
}
.dhb-tst-foot { margin-top: calc(2.5 * var(--dhb-rem)); text-align: center; }

/* .dhb-block carries its own generous section padding - override it directly
   for the section that follows a page header, otherwise the gap reads as a hole */
.dhb-subpage .dhb-pagehead + .section.dhb-block {
  padding-top: clamp(calc(1.5 * var(--dhb-rem)), 2.5vw, calc(2.25 * var(--dhb-rem))) !important;
}
.dhb-subpage .dhb-pagehead .dhb-inner {
  padding-bottom: 0 !important;
}

/* shared star row */
.dhb-stars { display: block; color: #b88734; font-size: calc(0.9 * var(--dhb-rem)); letter-spacing: 0.2em; line-height: 1; }

/* ============================================================
   ABOUT
   ============================================================ */
.dhb-ab-band { display: block; line-height: 0; }
.dhb-ab-band img { width: 100%; height: clamp(calc(16 * var(--dhb-rem)), 34vw, calc(30 * var(--dhb-rem))); object-fit: cover; display: block; }
.dhb-ab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: calc(3 * var(--dhb-rem)) calc(4 * var(--dhb-rem));
  align-items: start;
}
@media (max-width: 860px) { .dhb-ab-grid { grid-template-columns: 1fr; gap: calc(2.25 * var(--dhb-rem)); } }
.dhb-ab-eyebrow {
  display: block; font-size: calc(0.66 * var(--dhb-rem)); font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: #b88734; margin-bottom: calc(1.1 * var(--dhb-rem));
}
.dhb-ab-h {
  margin: 0 0 calc(1.3 * var(--dhb-rem));
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: clamp(calc(1.8 * var(--dhb-rem)), 3.2vw, calc(2.6 * var(--dhb-rem)));
  font-weight: 400; line-height: 1.14; text-transform: none; color: #063670;
}
.dhb-ab-copy p { margin: 0 0 calc(1.1 * var(--dhb-rem)); font-size: calc(0.97 * var(--dhb-rem)); line-height: 1.7; color: rgba(6, 54, 112, 0.8); }
.dhb-ab-facts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: rgba(6, 54, 112, 0.16); border: 1px solid rgba(6, 54, 112, 0.16);
}
.dhb-ab-facts li { display: flex; flex-direction: column; gap: calc(0.35 * var(--dhb-rem)); padding: calc(1.6 * var(--dhb-rem)) calc(1.3 * var(--dhb-rem)); background: #f3f3ec; }

/* navy pull quote lifted from a real review */
.dhb-ab-quote { background: #063670; padding: clamp(calc(3 * var(--dhb-rem)), 6vw, calc(5 * var(--dhb-rem))) 0; text-align: center; }
.dhb-ab-quote .dhb-stars { margin-bottom: calc(1.4 * var(--dhb-rem)); color: #e8bc5e; }
.dhb-ab-quote blockquote {
  margin: 0 auto; max-width: calc(44 * var(--dhb-rem));
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: clamp(calc(1.4 * var(--dhb-rem)), 2.6vw, calc(2.1 * var(--dhb-rem))); font-weight: 400; line-height: 1.32;
  text-transform: none; color: #f3f3ec;
}
.dhb-ab-cite {
  margin: calc(1.6 * var(--dhb-rem)) 0 0; display: flex; justify-content: center; gap: calc(1.1 * var(--dhb-rem));
  font-size: calc(0.66 * var(--dhb-rem)); letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(243, 243, 236, 0.55);
}
.dhb-ab-cite span { color: #f3f3ec; font-weight: 600; }

.dhb-ab-list { list-style: none; margin: 0 0 calc(2.2 * var(--dhb-rem)); padding: 0; }
.dhb-ab-list li { border-top: 1px solid rgba(6, 54, 112, 0.14); }
.dhb-ab-list li:last-child { border-bottom: 1px solid rgba(6, 54, 112, 0.14); }
.dhb-ab-list a {
  display: flex; align-items: baseline; gap: calc(1.5 * var(--dhb-rem));
  padding: calc(1.1 * var(--dhb-rem)) 0; text-decoration: none;
  color: #063670; transition: color 0.25s ease, padding-left 0.25s ease;
}
.dhb-ab-list a:hover { color: #b88734; padding-left: calc(0.6 * var(--dhb-rem)); }
.dhb-ab-list em {
  font-style: normal; font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: calc(0.95 * var(--dhb-rem)); color: transparent; -webkit-text-stroke: 1px rgba(184, 135, 52, 0.85);
}
.dhb-ab-list span { font-size: clamp(calc(1.05 * var(--dhb-rem)), 1.8vw, calc(1.35 * var(--dhb-rem))); }

/* ============================================================
   TESTIMONIALS - featured quote
   ============================================================ */
.dhb-tst-top { padding-bottom: 0 !important; }
.dhb-tst-feature { background: #063670; padding: clamp(calc(3 * var(--dhb-rem)), 6vw, calc(5 * var(--dhb-rem))) 0; text-align: center; margin-top: clamp(calc(2 * var(--dhb-rem)), 4vw, calc(3 * var(--dhb-rem))); }
.dhb-tst-feature .dhb-stars { margin-bottom: calc(1.4 * var(--dhb-rem)); color: #e8bc5e; }
.dhb-tst-feature blockquote {
  margin: 0 auto; max-width: calc(46 * var(--dhb-rem));
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: clamp(calc(1.45 * var(--dhb-rem)), 2.8vw, calc(2.2 * var(--dhb-rem))); font-weight: 400; line-height: 1.3;
  text-transform: none; color: #f3f3ec;
}
.dhb-tst-fcite {
  margin: calc(1.6 * var(--dhb-rem)) 0 0; display: flex; justify-content: center; gap: calc(1.1 * var(--dhb-rem));
  font-size: calc(0.66 * var(--dhb-rem)); letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(243, 243, 236, 0.55);
}
.dhb-tst-fcite span { color: #f3f3ec; font-weight: 600; }
.dhb-tst-body { display: flex; flex-direction: column; gap: calc(0.8 * var(--dhb-rem)); }
.dhb-tst-body .dhb-stars { font-size: calc(0.75 * var(--dhb-rem)); }

/* ============================================================
   CONTACT - info cards above the split
   ============================================================ */
.dhb-ct { padding-bottom: clamp(calc(2 * var(--dhb-rem)), 3.5vw, calc(3 * var(--dhb-rem))) !important; }
.dhb-ct-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: rgba(6, 54, 112, 0.16); border: 1px solid rgba(6, 54, 112, 0.16);
}
@media (max-width: 800px) { .dhb-ct-cards { grid-template-columns: 1fr; } }
.dhb-ct-cards li {
  display: flex; flex-direction: column; gap: calc(0.5 * var(--dhb-rem));
  padding: calc(1.7 * var(--dhb-rem)) calc(1.5 * var(--dhb-rem)); background: #f3f3ec; min-width: 0;
}
.dhb-ct-k { font-size: calc(0.62 * var(--dhb-rem)); letter-spacing: 0.2em; text-transform: uppercase; color: #b88734; }
.dhb-ct-v {
  font-size: calc(1.02 * var(--dhb-rem)); line-height: 1.35; color: #063670;
  text-decoration: none; overflow-wrap: anywhere; transition: color 0.25s ease;
}
a.dhb-ct-v:hover { color: #b88734; }
.dhb-ct-s { font-size: calc(0.74 * var(--dhb-rem)); color: rgba(6, 54, 112, 0.55); }

/* ============================================================
   CONTACT TABS - In Person / Virtual (shared: homepage + /contact)
   Each mode has its own info column and its own direct message form.
   ============================================================ */
.dhb-ctabs { margin-top: 0; }
.dhb-ctabs-nav {
  display: inline-flex;
  gap: calc(0.6 * var(--dhb-rem));
  margin-bottom: calc(2.4 * var(--dhb-rem));
  border-bottom: 1px solid rgba(6, 54, 112, 0.18);
}
.dhb-ctab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: calc(0.5 * var(--dhb-rem));
  padding: calc(0.9 * var(--dhb-rem)) calc(1.6 * var(--dhb-rem));
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: rgba(6, 54, 112, 0.55);
  font-size: calc(0.85 * var(--dhb-rem));
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.dhb-ctab .dhb-ct-ico { width: calc(1.6 * var(--dhb-rem)); height: calc(1.6 * var(--dhb-rem)); border: 0; color: inherit; }
.dhb-ctab .dhb-ct-ico svg { width: calc(0.95 * var(--dhb-rem)); height: calc(0.95 * var(--dhb-rem)); }
.dhb-ctab:hover { color: #063670; }
.dhb-ctab.is-active { color: #063670; border-color: rgba(6, 54, 112, 0.18); border-bottom-color: #f3f3ec; background: #f3f3ec; }
.dhb-ctab.is-active { position: relative; }
.dhb-ctab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #b88734; }
.dhb-ctab-pane { display: none; }
.dhb-ctab-pane.is-active { display: block; }
.dhb-ctab-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: calc(2.5 * var(--dhb-rem)) calc(3.5 * var(--dhb-rem));
  align-items: stretch;
}
@media (max-width: 800px) { .dhb-ctab-grid { grid-template-columns: 1fr; } }
/* the shorter column (usually the form - it has no map) stretches to match
   the taller one, then pushes its trailing "request a quote instead" note
   down to the bottom via margin-top: auto, so the leftover height reads as
   an anchored footer rather than an empty gap under the submit button */
.dhb-ctab-info,
.dhb-ctab-formcol { display: flex; flex-direction: column; }
.dhb-ctab-copy { margin: 0 0 calc(1.5 * var(--dhb-rem)); font-size: calc(0.96 * var(--dhb-rem)); line-height: 1.65; color: rgba(6, 54, 112, 0.78); }
.dhb-ctab-list { list-style: none; margin: 0 0 calc(1.75 * var(--dhb-rem)); padding: 0; display: grid; gap: calc(1 * var(--dhb-rem)); }
.dhb-ctab-list li { display: flex; align-items: center; gap: calc(0.85 * var(--dhb-rem)); }
.dhb-ctab-list a,
.dhb-ctab-list span { font-size: calc(0.94 * var(--dhb-rem)); color: #063670; text-decoration: none; }
.dhb-ctab-list a:hover { color: #b88734; }
.dhb-ct-ico {
  flex: 0 0 auto;
  width: calc(2.1 * var(--dhb-rem));
  height: calc(2.1 * var(--dhb-rem));
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 54, 112, 0.22);
  color: #063670;
}
.dhb-ct-ico svg { width: calc(1.05 * var(--dhb-rem)); height: calc(1.05 * var(--dhb-rem)); }
.dhb-ctab-map { overflow: hidden; aspect-ratio: 16 / 10; background: rgba(6, 54, 112, 0.06); border: 1px solid rgba(6, 54, 112, 0.14); }
.dhb-ctab-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* the direct message form per mode */
.dhb-ctab-form { margin-top: calc(1.1 * var(--dhb-rem)); display: grid; gap: calc(1 * var(--dhb-rem)); }
.dhb-ctab-form input,
.dhb-ctab-form select,
.dhb-ctab-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: calc(0.9 * var(--dhb-rem)) calc(1.1 * var(--dhb-rem));
  background: #ffffff;
  border: 1px solid rgba(6, 54, 112, 0.22);
  border-radius: 3px;
  color: #063670;
  font: inherit;
  font-size: calc(0.92 * var(--dhb-rem));
  outline: none;
  appearance: none;
  transition: border-color 0.25s ease;
}
.dhb-ctab-form textarea { resize: vertical; min-height: calc(5.5 * var(--dhb-rem)); }
.dhb-ctab-form input:focus,
.dhb-ctab-form select:focus,
.dhb-ctab-form textarea:focus { border-color: #b88734; }
.dhb-ctab-form select {
  background-image: linear-gradient(45deg, transparent 50%, #063670 50%), linear-gradient(135deg, #063670 50%, transparent 50%);
  background-position: calc(100% - calc(1.15 * var(--dhb-rem))) center, calc(100% - calc(0.8 * var(--dhb-rem))) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: calc(2.25 * var(--dhb-rem));
}
.dhb-ctab-submit {
  justify-self: start;
  padding: calc(1 * var(--dhb-rem)) calc(2 * var(--dhb-rem));
  border: 0;
  background: #063670;
  color: #f3f3ec;
  font-size: calc(0.68 * var(--dhb-rem));
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}
.dhb-ctab-submit:hover { background: #b88734; }
.dhb-ctab-submit:disabled { opacity: 0.6; cursor: default; }
.dhb-ctab-status { margin: 0; font-size: calc(0.78 * var(--dhb-rem)); color: #b88734; }

.dhb-ctab-alt {
  margin: calc(2.2 * var(--dhb-rem)) 0 0 0;
  margin-top: auto;
  padding-top: calc(1.6 * var(--dhb-rem));
  border-top: 1px solid rgba(6, 54, 112, 0.14);
  font-size: calc(0.88 * var(--dhb-rem));
  color: rgba(6, 54, 112, 0.7);
}
.dhb-ctab-altlink {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #063670;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.dhb-ctab-altlink:hover { color: #b88734; }

/* dark-theme text/border colors for the homepage's embedded copy of the tabs
   component, which sits inside a navy .theme_on-dark section rather than the
   cream page. */
.theme_on-dark .dhb-ctabs-nav { border-bottom-color: rgba(243, 243, 236, 0.22); }
.theme_on-dark .dhb-ctab { color: rgba(243, 243, 236, 0.55); }
.theme_on-dark .dhb-ctab:hover { color: #f3f3ec; }
.theme_on-dark .dhb-ctab.is-active { color: #063670; background: #f3f3ec; }
.theme_on-dark .dhb-ctab-copy { color: rgba(243, 243, 236, 0.78); }
.theme_on-dark .dhb-ctab-list a,
.theme_on-dark .dhb-ctab-list span { color: #f3f3ec; }
.theme_on-dark .dhb-ctab-list a:hover { color: #e8bc5e; }
.theme_on-dark .dhb-ct-ico { border-color: rgba(243, 243, 236, 0.3); color: #f3f3ec; }
.theme_on-dark .dhb-ctab .dhb-ct-ico { border-color: transparent; color: inherit; }
.theme_on-dark .dhb-ctab-map { border-color: rgba(243, 243, 236, 0.22); background: rgba(243, 243, 236, 0.08); }
.theme_on-dark .dhb-ctab-alt { border-top-color: rgba(243, 243, 236, 0.18); color: rgba(243, 243, 236, 0.65); }
.theme_on-dark .dhb-ctab-altlink { color: #f3f3ec; }
.theme_on-dark .dhb-ctab-altlink:hover { color: #e8bc5e; }
.theme_on-dark .dhb-ctab-submit { background: #e8bc5e; color: #063670; }
.theme_on-dark .dhb-ctab-submit:hover { background: #f3f3ec; }
.theme_on-dark .dhb-ctab-status { color: #e8bc5e; }

/* ============================================================
   MOBILE NAV - lightweight substitute for inner pages (<992px)
   ============================================================ */
.dhb-mnav-btn {
  display: none;
  position: fixed;
  top: calc(1.5 * var(--dhb-rem));
  right: calc(1.6 * var(--dhb-rem));
  z-index: 130;
  align-items: center;
  gap: calc(0.35 * var(--dhb-rem));
  padding: 0;
  border: 0;
  background: transparent;
  color: #063670;
  cursor: pointer;
  font-family: var(--_fonts---font-body, "Maison Neue Extended", Arial, sans-serif);
  font-size: calc(0.72 * var(--dhb-rem));
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.dhb-mnav-btn svg { display: block; }
@media (max-width: 991px) { .dhb-mnav-btn { display: flex; } }

.dhb-mnav-overlay { display: none; }
.dhb-mnav-panel {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #7d5724;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24vh calc(2 * var(--dhb-rem)) calc(2.5 * var(--dhb-rem));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.dhb-mnav.is-open .dhb-mnav-panel { opacity: 1; visibility: visible; }
.dhb-mnav-close {
  position: absolute;
  top: calc(1.5 * var(--dhb-rem));
  right: calc(1.6 * var(--dhb-rem));
  display: flex;
  align-items: center;
  gap: calc(0.35 * var(--dhb-rem));
  padding: 0;
  border: 0;
  background: transparent;
  color: #f3f3ec;
  cursor: pointer;
  font-family: var(--_fonts---font-body, "Maison Neue Extended", Arial, sans-serif);
  font-size: calc(0.72 * var(--dhb-rem));
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.dhb-mnav-panel ul { list-style: none; margin: 0 0 calc(2 * var(--dhb-rem)); padding: 0; display: grid; gap: calc(1.3 * var(--dhb-rem)); text-align: center; }
.dhb-mnav-panel a {
  color: #f3f3ec;
  text-decoration: none;
  font-family: var(--_fonts---font-body, "Maison Neue Extended", Arial, sans-serif);
  font-size: calc(0.9 * var(--dhb-rem));
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.dhb-mnav-panel a.dhb-mnav-cta {
  display: block;
  padding: 0;
  background: transparent;
  color: #b88734;
  text-align: center;
}

/* ---------- about: what we do (card grid) ---------- */
.dhb-wd-head { text-align: center; max-width: calc(40 * var(--dhb-rem)); margin: 0 auto calc(2.6 * var(--dhb-rem)); }
.dhb-wd-head .dhb-ab-h { margin: 0; }
.dhb-wd-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(1.1 * var(--dhb-rem));
}
@media (max-width: 980px) { .dhb-wd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dhb-wd-grid { grid-template-columns: 1fr; } }
.dhb-wd-card {
  position: relative; display: block; overflow: hidden; min-height: calc(18 * var(--dhb-rem));
  text-decoration: none; color: #f3f3ec; background: #063670;
}
.dhb-wd-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.dhb-wd-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 24, 46, 0) 20%, rgba(4, 24, 46, 0.6) 55%, rgba(4, 24, 46, 0.92) 100%);
  transition: background 0.4s ease;
}
.dhb-wd-body {
  position: absolute; inset: auto 0 0 0; padding: calc(1.4 * var(--dhb-rem)) calc(1.5 * var(--dhb-rem)) calc(1.5 * var(--dhb-rem));
  display: grid; gap: calc(0.35 * var(--dhb-rem));
}
.dhb-wd-body em {
  font-style: normal; font-size: calc(0.7 * var(--dhb-rem)); letter-spacing: 0.2em; color: #e8bc5e;
}
.dhb-wd-body strong {
  font-family: var(--_fonts---font-display, Georgia, serif);
  font-size: clamp(calc(1.25 * var(--dhb-rem)), 2vw, calc(1.6 * var(--dhb-rem))); font-weight: 400; line-height: 1.15;
}
.dhb-wd-body small {
  font-size: calc(0.82 * var(--dhb-rem)); line-height: 1.5; color: rgba(243, 243, 236, 0.82);
  max-width: calc(22 * var(--dhb-rem));
}
.dhb-wd-body i {
  font-style: normal; font-size: calc(1.1 * var(--dhb-rem)); color: #e8bc5e;
  transition: transform 0.3s ease; justify-self: start; margin-top: calc(0.3 * var(--dhb-rem));
}
.dhb-wd-card:hover img { transform: scale(1.06); }
.dhb-wd-card:hover .dhb-wd-shade { background: linear-gradient(180deg, rgba(4, 24, 46, 0.25) 10%, rgba(4, 24, 46, 0.92) 100%); }
.dhb-wd-card:hover .dhb-wd-body i { transform: translateX(6px); }
.dhb-wd-cta { display: flex; justify-content: center; margin-top: calc(2.4 * var(--dhb-rem)); }

/* ---------- tighter vertical rhythm on phones ---------- */
@media (max-width: 767px) {
  .dhb-block .dhb-inner { padding: calc(3 * var(--dhb-rem)) 0 calc(3.25 * var(--dhb-rem)); }
  .dhb-pagehead { padding-bottom: 0 !important; }
  .dhb-pagehead .dhb-inner { padding-bottom: calc(1.25 * var(--dhb-rem)); }
  .dhb-subpage .dhb-main { padding-top: calc(5.5 * var(--dhb-rem)); }
}

/* MENU button follows the header: it slides away with the pill on scroll-down and returns with it. */
@media (max-width: 991px) {
  .dhb-mnav-btn { transition: opacity 0.3s ease, visibility 0.3s; }
  .dhb-topnav.is-hidden + .dhb-mnav:not(.is-open) .dhb-mnav-btn { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ---------- in-between widths: projects filter + page-header spacing ---------- */
@media (max-width: 900px) {
  .dhb-prj-rail { align-items: flex-start; }
  .dhb-prj-cta { flex: 0 0 100%; margin-top: calc(0.75 * var(--dhb-rem)); }
}
@media (max-width: 767px) {
  .dhb-pagehead .dhb-inner { padding-bottom: calc(2.25 * var(--dhb-rem)); }
}

@media (max-width: 767px) {
  /* keep the blue feature quotes off the screen edges */
  .dhb-tst-feature .dhb-inner,
  .dhb-ab-quote .dhb-inner { padding-left: calc(1.5 * var(--dhb-rem)); padding-right: calc(1.5 * var(--dhb-rem)); box-sizing: border-box; }
}

/* MENU button centred on the header pill (position published by /js/dhb-nav-sync.js) */
@media (max-width: 991px) {
  .dhb-mnav-btn { top: var(--dhb-pill-top, 14px); height: var(--dhb-pill-h, 62px); }
}
