/* BFB Carpentry site styles. Everything is scoped to .bh so legacy WordPress styles stay out of the way. */
.bh {
  --teal: #243b41;
  --teal-deep: #1b2e33;
  --ink: #1f1f1f;
  --paper: #f7f7f7;
  --gold: #c2a46d;
  --muted: #8a8a8a;
  --title: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --heading: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --label: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Open Sans", system-ui, sans-serif;
  --wrap: min(1200px, calc(100% - 40px));
  font-family: var(--sans);
  color: var(--paper);
}
.bh *, .bh *::before, .bh *::after { box-sizing: border-box; }
.bh img { display: block; max-width: 100%; }
.bh-wrap { width: var(--wrap); margin: 0 auto; }
body.bfb-theme { overflow-x: clip; }

/* Full-bleed sections inside the WordPress constrained layout */
.bh-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: clamp(72px, 10vw, 128px) 0;
}
.bh-section--paper { background: var(--paper); color: var(--ink); }
.bh-section--teal { background: var(--teal); }
.bh-section--ink { background: var(--ink); }

/* Type */
.bfb-theme .bh h1,
.bfb-theme .bh h2,
.bfb-theme .bh h3 {
  font-family: var(--heading) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  margin: 0;
}
.bfb-theme .bh h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem) !important;
  line-height: 1.08 !important;
  color: #fff !important;
}
.bfb-theme .bh-section--paper h2,
.bfb-theme .bh-section--paper h3 { color: var(--ink) !important; }
.bfb-theme .bh h2 em,
.bfb-theme .bh h1 em { font-style: normal; color: var(--gold); }
.bfb-theme .bh h2 em,
.bfb-theme .bh h1 em { display: block; }
.bfb-theme .bh p,
.bfb-theme .bh li {
  font-family: var(--sans) !important;
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
  color: rgba(247, 247, 247, 0.82) !important;
  margin: 0;
}
.bfb-theme .bh-section--paper p,
.bfb-theme .bh-section--paper li { color: #4a4a4a !important; }

.bh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font: 600 0.75rem/1 var(--label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.bh-kicker::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.bh-section--paper .bh-kicker { color: #9a7d45; }
.bh-section--paper .bh-kicker::before { background: #9a7d45; }

.bh-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.bh-head p { margin-top: 18px !important; max-width: 56ch; }
.bh-head--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.bh-head--split > div { max-width: 640px; }

/* Buttons */
.bfb-theme .bh-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font: 600 0.8125rem/1 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.bfb-theme .bh-btn--solid { background: var(--gold); color: var(--ink); }
.bfb-theme .bh-btn--solid:hover { background: #d3b984; transform: translateY(-2px); }
.bfb-theme .bh-btn--line { background: transparent; color: #fff; border-color: rgba(247, 247, 247, 0.45); }
.bfb-theme .bh-btn--line:hover { border-color: var(--gold); color: var(--gold); }
.bfb-theme .bh-btn--dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bfb-theme .bh-btn--dark:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.bh-btn span { transition: transform 0.3s; }
.bh-btn:hover span { transform: translateX(4px); }

.bfb-theme .bh-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.8125rem/1 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
}
.bh-section--paper .bh-link { color: var(--teal); }

/* Hero */
.bh-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--teal-deep);
}
.bh-hero__media { position: absolute; inset: 0; }
.bh-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  transform: scale(1.06);
  animation: bh-settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.bh-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 46, 51, 0.94) 0%, rgba(27, 46, 51, 0.78) 38%, rgba(27, 46, 51, 0.2) 70%, rgba(27, 46, 51, 0.05) 100%),
    linear-gradient(0deg, rgba(27, 46, 51, 0.55) 0%, transparent 30%);
}
.bh-hero__inner { position: relative; z-index: 1; padding: 120px 0 140px; }
.bh-hero__copy { max-width: 760px; }
.bfb-theme .bh-hero h1 {
  font-family: var(--title) !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
  font-size: clamp(2.9rem, 7vw, 5.6rem) !important;
  line-height: 0.98 !important;
  color: #fff !important;
  max-width: none !important;
}
.bfb-theme .bh-hero p.bh-hero__lead {
  margin-top: 26px !important;
  font-size: 1.1875rem !important;
  max-width: 44ch;
  color: rgba(247, 247, 247, 0.88) !important;
}
.bh-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.bh-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 44px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
.bfb-theme .bh-hero__trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem !important;
  color: rgba(247, 247, 247, 0.78) !important;
}
.bh-hero__trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.bh-hero__tag {
  position: absolute;
  right: max(20px, calc((100vw - 1200px) / 2));
  bottom: 36px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(27, 46, 51, 0.72);
  backdrop-filter: blur(8px);
  border-left: 2px solid var(--gold);
  font: 500 0.8125rem/1.3 var(--sans);
  color: var(--paper);
}
.bh-hero__tag small { display: block; color: var(--gold); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 3px; }
.bh-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--gold), transparent);
  animation: bh-drip 2.2s ease-in-out infinite;
}

/* Services */
.bh-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.bfb-theme a.bh-service {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 1px 0 rgba(31, 31, 31, 0.06);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s;
}
.bh-service:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(36, 59, 65, 0.35); }
.bh-service__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.bh-service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bh-service:hover .bh-service__img img { transform: scale(1.06); }
.bh-service__num {
  position: absolute;
  left: 18px;
  top: 16px;
  font: 300 1.125rem/1 var(--heading);
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.bh-service__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.bfb-theme .bh-service h3 { font-size: 1.5rem !important; line-height: 1.2 !important; color: var(--ink) !important; }
.bfb-theme .bh-service p { margin-top: 10px !important; font-size: 0.975rem !important; color: #5b5b5b !important; }
.bh-service__more {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 600 0.75rem/1 var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.bh-service__more::after {
  content: "→";
  font-size: 1rem;
  letter-spacing: 0;
  transition: transform 0.3s;
}
.bh-service:hover .bh-service__more::after { transform: translateX(6px); color: #9a7d45; }

/* Why BFB */
.bh-why { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.bh-why__photos { position: relative; padding: 0 0 70px 0; }
.bh-why__main { width: 82%; aspect-ratio: 4 / 5; object-fit: cover; }
.bh-why__detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid var(--teal);
}
.bh-why__photos::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  width: 42%;
  height: 42%;
  border-left: 1px solid var(--gold);
  border-top: 1px solid var(--gold);
}
.bh-why__copy p + p { margin-top: 16px !important; }
.bh-why__copy h2 { margin-bottom: 26px !important; }
.bfb-theme .bh-why__copy h2 { font-size: clamp(2rem, 3.1vw, 2.3rem) !important; }
.bfb-theme .bh-why__copy a:not(.bh-link) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.bh-points { list-style: none; margin: 36px 0 0 !important; padding: 0 !important; }
.bh-points li {
  display: grid;
  grid-template-columns: 56px 1fr;
  padding: 22px 0 !important;
  border-top: 1px solid rgba(194, 164, 109, 0.25);
}
.bh-points li:last-child { border-bottom: 1px solid rgba(194, 164, 109, 0.25); }
.bh-points b { font: 300 1.375rem/1.2 var(--heading); color: var(--gold); }
.bh-points strong { display: block; font-family: var(--heading); font-weight: 400; font-size: 1.3rem; color: #fff; margin-bottom: 4px; }

/* Work gallery */
.bh-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(200px, 22vw, 290px);
  gap: 14px;
}
.bh-shot { position: relative; margin: 0; overflow: hidden; background: #2a2a2a; }
.bh-shot--big { grid-column: span 2; grid-row: span 2; }
.bh-shot--tall { grid-row: span 2; }
.bh-shot--wide { grid-column: span 2; }
.bh-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s; }
.bh-shot:hover img { transform: scale(1.05); }
.bh-shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(20, 20, 20, 0.82));
  font: 400 1.125rem/1.25 var(--heading);
  color: #fff;
}
.bh-shot figcaption small {
  display: block;
  margin-bottom: 6px;
  font: 600 0.6875rem/1 var(--label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Process */
.bh-process { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.bh-sketch {
  margin: 0;
  padding: 14px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(31, 31, 31, 0.35);
  transform: rotate(-1.2deg);
  transition: transform 0.6s;
}
.bh-sketch:hover { transform: rotate(0deg); }
.bh-sketch img { width: 100%; height: auto; }
.bh-blueprint .blueprint-card { margin: 0 !important; }
.bh-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(48px, 6vw, 72px) 0 0 !important;
  padding: 0 !important;
  list-style: none;
  counter-reset: step;
}
.bh-steps li {
  position: relative;
  padding: 34px 32px 0 0 !important;
  border-top: 1px solid rgba(31, 31, 31, 0.16);
}
.bh-steps li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}
.bh-steps b { display: block; font: 300 3.25rem/1 var(--heading); color: #9a7d45; margin-bottom: 14px; }
.bfb-theme .bh-steps h3 { font-size: 1.625rem !important; margin-bottom: 8px !important; }

/* Reviews */
.bh-reviews { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.bh-stars { display: flex; gap: 6px; color: var(--gold); font-size: 1.25rem; letter-spacing: 2px; margin-bottom: 26px; }
.bh-quote { margin: 0; }
.bfb-theme .bh-quote p {
  font-family: var(--heading) !important;
  font-size: clamp(1.4rem, 2.3vw, 2rem) !important;
  line-height: 1.3 !important;
  color: #fff !important;
}
.bh-quote p::before { content: "“"; color: var(--gold); margin-right: 2px; }
.bh-quote p::after { content: "”"; color: var(--gold); }
.bfb-theme .bh-quote footer,
.bfb-theme .bh-quote--small footer { margin-top: 22px !important; padding: 0 !important; font: 600 0.75rem/1.4 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.bh-quote footer span { color: rgba(247, 247, 247, 0.55); letter-spacing: 0.08em; text-transform: none; font-weight: 400; margin-left: 8px; }
.bh-quote--small { padding: 30px 0 0; border-top: 1px solid rgba(194, 164, 109, 0.3); }
.bfb-theme .bh-quote--small p { font-size: 1.375rem !important; }

/* CTA with a subtle oak-grain texture */
.bh-cta {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
}
.bh-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004 0.18' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.32 0 0 0 0 0.15 0 0 0 1.4 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 900px 300px;
}
.bh-cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.bfb-theme .bh-cta h2 { color: var(--ink) !important; font-size: clamp(2rem, 3.6vw, 2.8rem) !important; }
.bh-cta__inner > div:first-child { flex: 1 1 560px; }
.bfb-theme .bh-cta h2 em { color: var(--teal); }
.bfb-theme .bh-cta p { color: rgba(31, 31, 31, 0.78) !important; margin-top: 16px !important; max-width: 48ch; }
.bh-cta__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.bfb-theme .bh-cta__phone { font: 400 1.75rem/1 var(--heading); color: var(--ink); text-decoration: none; }
.bh-cta__phone small { display: block; font: 600 0.6875rem/1 var(--label); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 8px; color: rgba(31, 31, 31, 0.65); }

/* Scroll reveal (only when JS is running) */
.bh-js .bh [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.bh-js .bh [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes bh-settle { to { transform: scale(1); } }
@keyframes bh-drip {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (prefers-reduced-motion: reduce) {
  .bh *, .bh *::before, .bh *::after { animation: none !important; transition: none !important; }
  .bh-hero__media img { transform: none; }
  .bh-js .bh [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .bh-services { grid-template-columns: repeat(2, 1fr); }
  .bh-process { grid-template-columns: 1fr; }
  .bh-reviews { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .bh-hero { min-height: 0; }
  .bh-hero::after {
    background: linear-gradient(0deg, rgba(27, 46, 51, 0.96) 0%, rgba(27, 46, 51, 0.82) 55%, rgba(27, 46, 51, 0.35) 100%);
  }
  .bh-hero__inner { padding: 96px 0 110px; }
  .bh-hero__tag, .bh-scroll { display: none; }
  .bh-services { grid-template-columns: 1fr; gap: 20px; }
  .bh-why { grid-template-columns: 1fr; }
  .bh-why__photos { padding-bottom: 50px; margin-left: 18px; }
  .bh-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; }
  .bh-shot--big { grid-column: span 2; grid-row: span 2; }
  .bh-shot--tall { grid-row: span 2; }
  .bh-shot--wide { grid-column: span 2; }
  .bh-shot figcaption { padding: 36px 14px 12px; font-size: 0.95rem; }
  .bh-steps { grid-template-columns: 1fr; gap: 36px; }
  .bh-steps li { padding-right: 0 !important; }
  .bh-sketch { transform: none; }
}

/* Animated design-concept drawing (moved from the old inline styles) */
.bh .blueprint-card {
  position: relative;
  background: #1a3040;
  border: 1px solid rgba(194, 164, 109, 0.25);
  padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
  transform: rotate(0.8deg);
  overflow: visible;
}
.bh .blueprint-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(194, 164, 109, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.bh .blueprint-card::after {
  content: "";
  position: absolute;
  top: -14px;
  right: 34px;
  width: 94px;
  height: 28px;
  background: rgba(194, 164, 109, 0.4);
  transform: rotate(4deg);
}
.bh .blueprint-label {
  font: 700 0.72rem/1 monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(194, 164, 109, 0.7);
  margin-bottom: 18px;
}
.bh .blueprint-svg-wrap { position: relative; width: 100%; }
.bh .bp-path, .bh .bp-path-thin, .bh .bp-path-dim { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bh .bp-path { stroke: #c2a46d; stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 2.4s cubic-bezier(0.4, 0, 0.2, 1); }
.bh .bp-path-thin { stroke: rgba(194, 164, 109, 0.45); stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s; }
.bh .bp-path-dim { stroke: rgba(194, 164, 109, 0.28); stroke-dasharray: 4 6; stroke-dashoffset: 800; transition: stroke-dashoffset 1.6s ease 1.2s; }
.bh .bp-text { font-family: monospace; font-size: 9px; fill: rgba(194, 164, 109, 0.6); opacity: 0; transition: opacity 0.6s ease 2.2s; }
.bh .bp-dot { fill: #c2a46d; opacity: 0; transition: opacity 0.4s ease 2s; }
.bh .blueprint-card.is-drawn .bp-path,
.bh .blueprint-card.is-drawn .bp-path-thin,
.bh .blueprint-card.is-drawn .bp-path-dim { stroke-dashoffset: 0; }
.bh .blueprint-card.is-drawn .bp-text,
.bh .blueprint-card.is-drawn .bp-dot { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .bh .bp-path, .bh .bp-path-thin, .bh .bp-path-dim { stroke-dashoffset: 0; }
  .bh .bp-text, .bh .bp-dot { opacity: 1; }
}
@media (max-width: 1024px) { .bh .blueprint-card { transform: none; } }

/* ---------- Inner pages ---------- */

/* Page hero: shorter than the homepage, with an optional side panel */
.bh-hero--page { min-height: min(72vh, 640px); }
.bh-hero--page .bh-hero__inner { padding: 110px 0 120px; }
.bh-hero__grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 48px; align-items: center; }
.bh-hero__grid .bh-hero__copy { max-width: none; }
.bfb-theme .bh-hero--page h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem) !important; }
.bfb-theme .bh-hero--page p.bh-hero__lead { font-size: 1.125rem !important; max-width: 52ch; }
.bfb-theme .bh-hero--page p.bh-hero__lead a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.bh-hero__panel {
  padding: 28px 30px;
  background: rgba(27, 46, 51, 0.72);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--gold);
}
.bh-hero__panel .bh-kicker { margin-bottom: 16px; }
.bh-hero__panel ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.bfb-theme .bh-hero__panel li {
  position: relative;
  padding: 10px 0 10px 22px !important;
  border-bottom: 1px solid rgba(247, 247, 247, 0.1);
  font-size: 0.975rem !important;
  color: rgba(247, 247, 247, 0.88) !important;
}
.bh-hero__panel li:last-child { border-bottom: 0; }
.bh-hero__panel li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.bh-hero--short { min-height: 0; }
.bh-hero--short .bh-hero__inner { padding: 96px 0 88px; }

/* Text + photo split */
.bh-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.bh-split--flip .bh-split__media { order: -1; }
.bh-split__media { position: relative; }
.bh-split__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bh-split__media::before {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 42%;
  height: 42%;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.bh-split--flip .bh-split__media::before { right: auto; left: -18px; border-right: 0; border-left: 1px solid var(--gold); }
.bh-split__copy h2 { margin-bottom: 24px !important; }
.bh-split__copy p + p { margin-top: 16px !important; }
.bh-split__copy .bh-points { margin-top: 30px !important; }
.bh-section--paper .bh-points li { border-color: rgba(31, 31, 31, 0.14); }
.bh-section--paper .bh-points b { color: #9a7d45; }
.bh-section--paper .bh-points strong { color: var(--ink); }

/* Card grids */
.bh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bh-cards--2 { grid-template-columns: repeat(2, 1fr); }
.bh-cards + .bh-split, .bh-split + .bh-cards { margin-top: clamp(48px, 7vw, 80px); }
.bfb-theme .bh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 32px;
  background: rgba(247, 247, 247, 0.04);
  border: 1px solid rgba(194, 164, 109, 0.22);
  color: inherit;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.45s;
}
.bh-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 48px; height: 2px; background: var(--gold); transition: width 0.45s; }
.bh-card:hover { transform: translateY(-4px); border-color: rgba(194, 164, 109, 0.5); }
.bh-card:hover::before { width: calc(100% + 2px); }
.bfb-theme .bh-section--paper .bh-card { background: #fff; border-color: rgba(31, 31, 31, 0.08); }
.bh-card__num { font: 300 2.25rem/1 var(--heading); color: var(--gold); margin-bottom: 22px; }
.bh-section--paper .bh-card__num { color: #9a7d45; }
.bh-card__tag { font: 600 0.6875rem/1 var(--label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.bh-section--paper .bh-card__tag { color: #9a7d45; }
.bfb-theme .bh-card h3 { font-size: 1.375rem !important; line-height: 1.25 !important; margin-bottom: 10px !important; color: #fff !important; }
.bfb-theme .bh-section--paper .bh-card h3 { color: var(--ink) !important; }
.bfb-theme .bh-card p { font-size: 0.975rem !important; }
.bfb-theme .bh-card p + p { margin-top: 12px !important; }
.bfb-theme .bh-card a:not(.bh-btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.bh-section--paper .bh-card a:not(.bh-btn) { color: var(--teal); }
.bfb-theme .bh-card ul { margin: 4px 0 0 !important; padding: 0 !important; list-style: none; }
.bfb-theme .bh-card li { padding: 6px 0 6px 18px !important; position: relative; font-size: 0.975rem !important; }
.bh-card li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.bh-card__more { margin-top: auto; padding-top: 22px; font: 600 0.75rem/1 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.bh-section--paper .bh-card__more { color: var(--teal); }
.bh-card__more::after { content: " →"; }

/* Image service cards (Our Services) */
.bh-services--5 { grid-template-columns: repeat(6, 1fr); }
.bh-services--5 > * { grid-column: span 2; }
.bh-services--5 > :nth-child(4) { grid-column: 2 / span 2; }
.bh-service__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 100%; }
.bh-service__duo img { height: 100%; }
.bh-service__tag { font: 600 0.6875rem/1 var(--label); letter-spacing: 0.18em; text-transform: uppercase; color: #9a7d45; margin-bottom: 12px; }

/* Even photo grid with captions */
.bh-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bh-photo-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bh-photo-grid .bh-shot { aspect-ratio: 4 / 5; }

/* FAQs */
.bh-faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.bh-faq__intro { position: sticky; top: 110px; }
.bh-faq__intro h2 { margin-bottom: 20px !important; }
.bh-faq__intro p + p { margin-top: 14px !important; }
.bh-faq__list details { border-top: 1px solid rgba(194, 164, 109, 0.28); }
.bh-faq__list details:last-child { border-bottom: 1px solid rgba(194, 164, 109, 0.28); }
.bh-section--paper .bh-faq__list details { border-color: rgba(31, 31, 31, 0.14); }
.bh-faq__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font: 500 1.1875rem/1.35 var(--heading);
  color: #fff;
}
.bh-section--paper .bh-faq__list summary { color: var(--ink); }
.bh-faq__list summary::-webkit-details-marker { display: none; }
.bh-faq__list summary::after {
  content: "+";
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font: 300 1.25rem/1 var(--heading);
  color: var(--gold);
  transition: transform 0.3s, background-color 0.3s, color 0.3s;
}
.bh-faq__list details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--ink); }
.bfb-theme .bh-faq__list details p { padding: 0 56px 26px 0 !important; }

/* Long-form text: policies and blog posts */
.bh-prose { max-width: 760px; margin: 0 auto; }
.bfb-theme .bh-prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem) !important; line-height: 1.2 !important; margin: 48px 0 16px !important; color: var(--ink) !important; }
.bfb-theme .bh-prose h3 { font-size: 1.25rem !important; margin: 30px 0 10px !important; color: var(--ink) !important; }
.bh-prose > :first-child { margin-top: 0 !important; }
.bfb-theme .bh-prose p + p { margin-top: 16px !important; }
.bfb-theme .bh-prose ul, .bfb-theme .bh-prose ol { margin: 14px 0 18px !important; padding-left: 22px !important; }
.bfb-theme .bh-prose li { padding: 3px 0 !important; }
.bh-prose li::marker { color: #9a7d45; }
.bh-prose hr { border: 0; border-top: 1px solid rgba(31, 31, 31, 0.12); margin: 44px 0 0; }
.bfb-theme .bh-prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.bh-prose strong { color: var(--ink); }
.bfb-theme .bh-prose p.bh-lede { font-size: 1.25rem !important; line-height: 1.6 !important; color: var(--ink) !important; }
.bh-prose__meta { display: flex; gap: 18px; align-items: center; margin-bottom: 36px; font: 600 0.75rem/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: #9a7d45; }
.bh-prose__meta::before { content: ""; width: 36px; height: 1px; background: currentColor; }

/* Blog cards */
.bh-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.bfb-theme a.bh-post-card { display: flex; flex-direction: column; background: #fff; color: var(--ink); text-decoration: none; transition: transform 0.45s, box-shadow 0.45s; }
.bh-post-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(36, 59, 65, 0.35); }
.bh-post-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.bh-post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s; }
.bh-post-card:hover .bh-post-card__img img { transform: scale(1.05); }
.bh-post-card__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.bh-post-card__date { font: 600 0.6875rem/1 var(--label); letter-spacing: 0.18em; text-transform: uppercase; color: #9a7d45; margin-bottom: 14px; }
.bfb-theme .bh-post-card h2 { font-size: 1.5rem !important; line-height: 1.25 !important; color: var(--ink) !important; margin-bottom: 12px !important; }
.bfb-theme .bh-post-card p { color: #5b5b5b !important; font-size: 0.975rem !important; }

/* Contact */
.bh-contact { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.bh-form-card { background: #fff; padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 60px -36px rgba(31, 31, 31, 0.35); }
.bfb-theme .bh-form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem) !important; color: var(--ink) !important; margin-bottom: 12px !important; }
.bfb-theme .bh-form-card > p { margin-bottom: 28px !important; }
.bh #bfb-contact-form .wp-block-jetpack-contact-form { gap: 20px; }
.bfb-theme .bh #bfb-contact-form label {
  display: block;
  margin-bottom: 8px;
  font: 600 0.75rem/1.2 var(--label) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink) !important;
}
.bh .grunion-label-required { margin-left: 6px; color: var(--muted); letter-spacing: 0.04em; text-transform: none; font-weight: 400; }
.bfb-theme .bh #bfb-contact-form input.grunion-field,
.bfb-theme .bh #bfb-contact-form textarea.grunion-field {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid rgba(31, 31, 31, 0.14);
  border-radius: 2px;
  color: var(--ink) !important;
  font: 400 1rem/1.5 var(--sans) !important;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.bh #bfb-contact-form .grunion-field:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(194, 164, 109, 0.25); }
.bfb-theme .bh #bfb-contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 2px;
  font: 600 0.8125rem/1 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
}
.bh #bfb-contact-form button[type="submit"]:hover { background: var(--teal); }
.bh #bfb-contact-form button[disabled] { opacity: 0.6; cursor: wait; }
.bfb-theme .bh .bfb-form-status { color: #9b3b2e !important; }
.bh #bfb-form-success h4 { font: 600 1.5rem/1.3 var(--heading); color: var(--ink); margin: 0 0 8px; }
.bfb-theme .bh #bfb-form-success p { color: #4a4a4a !important; }
.bh-contact__side { display: grid; gap: 20px; }
.bh-detail { padding: 28px 30px; background: var(--teal); color: var(--paper); }
.bh-detail .bh-kicker { margin-bottom: 14px; }
.bfb-theme .bh-detail a:not(.bh-btn) { color: #fff; text-decoration: none; }
.bh-detail__line { display: block; font: 500 1.25rem/1.4 var(--heading); color: #fff; }
.bh-detail__line + .bh-detail__line { margin-top: 6px; }
.bh-detail .bh-hero__actions { margin-top: 22px; gap: 10px; }
.bfb-theme .bh-detail .bh-btn { padding: 13px 20px; }
.bh-detail--paper { background: #fff; color: var(--ink); }
.bfb-theme .bh-detail--paper li { color: #4a4a4a !important; }
.bh-detail ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.bfb-theme .bh-detail li { position: relative; padding: 6px 0 6px 18px !important; font-size: 0.975rem !important; }
.bh-detail li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.bh-map { margin-top: clamp(40px, 6vw, 72px); }
.bh-map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(0.35) contrast(1.05); }

/* Our Work: filter chips, project grids and lightbox */
.bh-filter {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  background: rgba(31, 31, 31, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(194, 164, 109, 0.2);
}
.bh-filter .bh-wrap { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 0; }
.bfb-theme .bh .filter-btn {
  padding: 11px 18px;
  background: transparent;
  border: 1px solid rgba(247, 247, 247, 0.25);
  border-radius: 999px;
  color: var(--paper);
  font: 600 0.75rem/1 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.bh .filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.bfb-theme .bh .filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.bh .portfolio-section .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bh .grid-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: #2a2a2a; }
.bh .grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bh .grid-item:hover img { transform: scale(1.06); }
.bh .grid-item .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(transparent 50%, rgba(20, 20, 20, 0.78));
  opacity: 0;
  transition: opacity 0.35s;
}
.bh .grid-item:hover .overlay, .bh .grid-item:focus-visible .overlay { opacity: 1; }
.bh .overlay-text { font: 500 1rem/1.3 var(--heading); color: #fff; }
.bh .lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 15, 0.94);
}
.bh .lightbox.open { display: flex; }
.bh .lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.bfb-theme .bh .lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  background: rgba(247, 247, 247, 0.08);
  border: 1px solid rgba(194, 164, 109, 0.5);
  border-radius: 50%;
  color: var(--paper);
  font: 300 1.75rem/1 var(--heading);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.bh .lightbox button:hover { background: var(--gold); color: var(--ink); }
.bh .lightbox-close { top: 24px; right: 24px; }
.bh .lightbox-nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.bh .lightbox-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }

/* About photo trio */
.bh-trio { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.bh-trio img { width: 100%; height: clamp(260px, 32vw, 460px); object-fit: cover; }

@media (max-width: 1024px) {
  .bh-hero__grid { grid-template-columns: 1fr; }
  .bh-hero__panel { max-width: 520px; }
  .bh-cards { grid-template-columns: repeat(2, 1fr); }
  .bh-services--5 { grid-template-columns: repeat(2, 1fr); }
  .bh-services--5 > *, .bh-services--5 > :nth-child(4) { grid-column: auto; }
  .bh-photo-grid { grid-template-columns: repeat(3, 1fr); }
  .bh-faq { grid-template-columns: 1fr; }
  .bh-faq__intro { position: static; }
  .bh-contact { grid-template-columns: 1fr; }
  .bh .portfolio-section .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .bh-hero--page .bh-hero__inner { padding: 88px 0 72px; }
  .bh-split { grid-template-columns: 1fr; }
  .bh-split--flip .bh-split__media { order: 0; }
  .bh-split__media { margin: 0 18px 18px 0; }
  .bh-split--flip .bh-split__media { margin: 0 0 18px 18px; }
  .bh-cards, .bh-cards--2 { grid-template-columns: 1fr; }
  .bh-services--5 { grid-template-columns: 1fr; }
  .bh-photo-grid, .bh-photo-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bfb-theme .bh-faq__list details p { padding-right: 0 !important; }
  .bh-faq__list summary { font-size: 1.0625rem; }
  .bh .portfolio-section .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .bh .grid-item .overlay { opacity: 1; padding: 10px; }
  .bh .overlay-text { font-size: 0.8125rem; }
  .bh .lightbox-nav.prev { left: 10px; }
  .bh .lightbox-nav.next { right: 10px; }
  .bh-trio { grid-template-columns: 1fr 1fr; }
  .bh-trio img:first-child { grid-column: span 2; }
  .bh-trio img { height: 220px; }
  .bh-map iframe { height: 320px; }
}

/* Labels inside the gold band, and wide photos in even grids */
.bh-cta .bh-kicker { color: var(--teal); }
.bh-cta .bh-kicker::before { background: var(--teal); }
.bh-photo-grid .bh-shot--wide { grid-column: span 2; aspect-ratio: auto; }

/* Headings in half-width columns: smaller so each half fits on one line */
.bfb-theme .bh-split__copy h2 { font-size: clamp(1.9rem, 2.9vw, 2.25rem) !important; }
.bfb-theme .bh-faq__intro h2 { font-size: clamp(1.8rem, 2.5vw, 2.1rem) !important; }
.bh-hero__grid--solo { grid-template-columns: 1fr; }
.bh-hero__grid--solo .bh-hero__copy { max-width: 980px; }
.bfb-theme .bh-hero--short h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem) !important; }
.bh-photo-grid .bh-shot--wide img { position: absolute; inset: 0; }
.bh-posts:has(> :only-child) { grid-template-columns: 1fr; }
.bh-posts > .bh-post-card:only-child { flex-direction: row; }
.bh-posts > .bh-post-card:only-child .bh-post-card__img { flex: 0 0 52%; aspect-ratio: auto; min-height: 340px; }
.bh-posts > .bh-post-card:only-child .bh-post-card__body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.bfb-theme .bh-posts > .bh-post-card:only-child h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important; }
@media (max-width: 760px) { .bh-posts > .bh-post-card:only-child { flex-direction: column; } .bh-posts > .bh-post-card:only-child .bh-post-card__img { min-height: 0; aspect-ratio: 16 / 10; } }
