:root {
  color-scheme: light;
  --bh-red: #c8102e;
  --bh-red-dark: #980c22;
  --bh-green: #2f6a28;
  --bh-green-dark: #214d1d;
  --bh-ink: #171717;
  --bh-muted: #60656c;
  --bh-border: #e2e4e7;
  --bh-surface: #f7f8f6;
  --bh-demo: #fff0f2;
  --bh-white: #fff;
  --bh-focus: #0b57d0;
  --bh-font-display: "Arial Narrow", "Roboto Condensed",
    "Liberation Sans Narrow", sans-serif;
  --bh-font-body: Inter, "Segoe UI", Arial, sans-serif;
  --bh-container: 82.5rem;
  --bh-gutter: clamp(1rem, 4vw, 2rem);
  --bh-radius-sm: 0.375rem;
  --bh-radius-md: 0.625rem;
  --bh-radius-lg: 0.875rem;
  --bh-shadow-card: 0 0.75rem 2.5rem rgb(23 23 23 / 0.08);
  --bh-transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--bh-white);
  color: var(--bh-ink);
  font-family: var(--bh-font-body);
  font-size: 1rem;
  line-height: 1.55;
}

body.admin-bar .bh-site-header {
  top: 32px;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--bh-red);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--bh-red-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  font-family: var(--bh-font-display);
  font-weight: 700;
  line-height: 1;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--bh-focus);
  outline-offset: 3px;
}

.bh-screen-reader-text,
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.bh-skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: var(--bh-radius-sm);
  background: var(--bh-ink);
  color: var(--bh-white);
  font-weight: 700;
}

.bh-skip-link:focus {
  transform: translateY(0);
}

.bh-container {
  width: min(100% - (var(--bh-gutter) * 2), var(--bh-container));
  margin-inline: auto;
}

.bh-site-main {
  min-height: 55vh;
}

.bh-section {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.bh-section--surface {
  background: var(--bh-surface);
}

.bh-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--bh-green);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bh-section-heading {
  max-width: 56rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.bh-section-heading h2 {
  margin-bottom: 0;
}

.bh-button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--bh-radius-sm);
  padding: 0.8rem 1.35rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    color var(--bh-transition),
    background-color var(--bh-transition),
    border-color var(--bh-transition),
    transform var(--bh-transition);
}

.bh-button:hover {
  transform: translateY(-1px);
}

.bh-button--primary {
  background: var(--bh-red);
  color: var(--bh-white);
}

.bh-button--primary:hover {
  background: var(--bh-red-dark);
  color: var(--bh-white);
}

.bh-button--secondary {
  border-color: var(--bh-red);
  background: var(--bh-white);
  color: var(--bh-red);
}

.bh-button--secondary:hover {
  background: var(--bh-demo);
}

.bh-button--on-red {
  border-color: var(--bh-white);
  background: transparent;
  color: var(--bh-white);
}

.bh-button--on-red:hover {
  background: var(--bh-white);
  color: var(--bh-red-dark);
}

.bh-text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--bh-red);
  font-weight: 750;
}

.bh-badge {
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  border-radius: var(--bh-radius-sm);
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.bh-badge--demo {
  border: 1px solid var(--bh-red);
  background: var(--bh-white);
  color: var(--bh-red);
}

.bh-demo-notice {
  border-left: 4px solid var(--bh-red);
  border-radius: var(--bh-radius-sm);
  background: var(--bh-demo);
  padding: 0.9rem 1rem;
  color: var(--bh-red-dark);
  font-weight: 750;
}

.bh-safety-notice {
  margin-block: 2rem;
  border-left: 4px solid var(--bh-red);
  border-radius: var(--bh-radius-sm);
  background: var(--bh-surface);
  padding: 1.25rem;
}

.bh-safety-notice strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--bh-font-display);
  font-size: 1.35rem;
}

.bh-safety-notice p {
  margin: 0;
  color: var(--bh-muted);
}

/* Header */
.bh-site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--bh-border);
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: blur(0.8rem);
}

.bh-site-header__inner {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.bh-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--bh-ink);
  text-decoration: none;
}

.bh-brand:hover {
  color: var(--bh-ink);
}

.bh-brand__logo {
  width: 3.75rem;
  height: 3.75rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.bh-brand__name {
  font-family: var(--bh-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.bh-primary-nav {
  margin-left: auto;
}

.bh-menu,
.bh-footer-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-menu a,
.bh-footer-menu a {
  position: relative;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--bh-ink);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.bh-menu a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--bh-red);
  content: "";
  transition: transform var(--bh-transition);
}

.bh-menu a:hover::after,
.bh-menu .current-menu-item > a::after,
.bh-menu .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.bh-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bh-header-phone {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--bh-red);
  font-weight: 750;
  text-decoration: none;
}

.bh-menu-toggle {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: none;
  place-items: center;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--bh-green-dark);
  cursor: pointer;
}

.bh-menu-toggle__icon,
.bh-menu-toggle__icon::before,
.bh-menu-toggle__icon::after {
  width: 1.75rem;
  height: 2px;
  display: block;
  background: currentcolor;
  content: "";
  transition: transform var(--bh-transition);
}

.bh-menu-toggle__icon {
  position: relative;
}

.bh-menu-toggle__icon::before {
  position: absolute;
  top: -0.5rem;
}

.bh-menu-toggle__icon::after {
  position: absolute;
  top: 0.5rem;
}

.bh-menu-toggle[aria-expanded="true"] .bh-menu-toggle__icon {
  background: transparent;
}

.bh-menu-toggle[aria-expanded="true"] .bh-menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.bh-menu-toggle[aria-expanded="true"] .bh-menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Breadcrumbs */
.bh-breadcrumbs {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  color: var(--bh-muted);
  font-size: 0.875rem;
}

.bh-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-breadcrumbs li:not(:last-child)::after {
  margin-left: 0.5rem;
  color: var(--bh-border);
  content: "/";
}

.bh-breadcrumbs a {
  color: inherit;
}

/* Front page */
.bh-home-hero {
  overflow: hidden;
}

.bh-home-hero__grid {
  min-height: min(48rem, calc(100vh - 5.5rem));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 8vw, 7rem);
}

.bh-home-hero__copy {
  max-width: 48rem;
}

.bh-home-hero__copy p:not(.bh-eyebrow) {
  max-width: 42rem;
  margin-bottom: 1.75rem;
  color: var(--bh-muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.bh-home-hero__visual {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--bh-radius-lg);
  background-color: #d6c4aa;
  background-image: image-set(
    url("../images/home/modular-house-demo.avif") type("image/avif"),
    url("../images/home/modular-house-demo.webp") type("image/webp")
  );
  background-position: center;
  background-size: cover;
  box-shadow: var(--bh-shadow-card);
}

.bh-direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bh-direction-card {
  overflow: hidden;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-lg);
  background: var(--bh-white);
  color: var(--bh-ink);
  text-decoration: none;
  transition:
    transform var(--bh-transition),
    box-shadow var(--bh-transition);
}

.bh-direction-card:hover {
  transform: translateY(-3px);
  color: var(--bh-ink);
  box-shadow: var(--bh-shadow-card);
}

.bh-direction-card__visual {
  min-height: 12rem;
  display: block;
  background-color: #c89c6e;
  background-image: image-set(
    url("../images/home/timber-demo.avif") type("image/avif"),
    url("../images/home/timber-demo.webp") type("image/webp")
  );
  background-position: center;
  background-size: cover;
}

.bh-direction-card--houses .bh-direction-card__visual {
  background-color: #d6c4aa;
  background-image: image-set(
    url("../images/home/modular-house-demo.avif") type("image/avif"),
    url("../images/home/modular-house-demo.webp") type("image/webp")
  );
}

.bh-direction-card--investment .bh-direction-card__visual {
  background-color: var(--bh-green-dark);
  background-image: image-set(
    url("../images/home/investment-demo.avif") type("image/avif"),
    url("../images/home/investment-demo.webp") type("image/webp")
  );
}

.bh-direction-card__body {
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem;
}

.bh-direction-card__body strong {
  font-family: var(--bh-font-display);
  font-size: 1.75rem;
  line-height: 1;
}

.bh-direction-card__body > span:not(.bh-direction-card__action) {
  color: var(--bh-muted);
}

.bh-direction-card__action {
  color: var(--bh-red);
  font-weight: 750;
}

/* Page and archive */
.bh-page-header {
  max-width: 64rem;
}

.bh-page-header--archive {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.bh-page-header__copy,
.bh-product-summary__lead {
  max-width: 48rem;
  margin-bottom: 1.75rem;
  color: var(--bh-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.bh-page-header__copy > :last-child,
.bh-product-summary__lead > :last-child {
  margin-bottom: 0;
}

.bh-term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.bh-term-list a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-pill, 999px);
  padding: 0.55rem 0.9rem;
  color: var(--bh-ink);
  text-decoration: none;
}

.bh-term-list a:hover {
  border-color: var(--bh-green);
  color: var(--bh-green-dark);
}

.bh-content-list {
  display: grid;
  gap: 1rem;
}

.bh-content-card {
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-md);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.bh-content-card h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.bh-content-card h2 a {
  color: var(--bh-ink);
  text-decoration: none;
}

.bh-content-card__meta,
.bh-entry-meta {
  color: var(--bh-muted);
  font-size: 0.875rem;
}

.bh-empty-state,
.bh-error-page {
  max-width: 52rem;
}

.bh-empty-state {
  border: 1px dashed var(--bh-border);
  border-radius: var(--bh-radius-md);
  background: var(--bh-surface);
  padding: clamp(1.5rem, 5vw, 3rem);
}

.bh-empty-state h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

/* Project cards */
.bh-project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.bh-project-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--bh-radius-lg);
  background: var(--bh-green-dark);
  color: var(--bh-white);
  isolation: isolate;
}

.bh-project-card__link {
  position: absolute;
  inset: 0;
  color: inherit;
  text-decoration: none;
}

.bh-project-card__media,
.bh-project-card__image,
.bh-project-card__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bh-project-card__image {
  object-fit: cover;
  transition: transform 400ms ease;
}

.bh-project-card__placeholder {
  background:
    linear-gradient(to top, rgb(0 0 0 / 0.45), transparent),
    repeating-linear-gradient(90deg, #9f7047 0 0.55rem, #c39466 0.55rem 1.1rem);
}

.bh-project-card__placeholder::before {
  position: absolute;
  inset: 16% 10% 24%;
  border: 0.7rem solid #172120;
  background:
    linear-gradient(135deg, transparent 48%, #172120 49% 54%, transparent 55%) top / 100% 45% no-repeat,
    linear-gradient(45deg, transparent 48%, #172120 49% 54%, transparent 55%) top / 100% 45% no-repeat,
    linear-gradient(90deg, #172120 0 30%, #d3b78f 31% 34%, #172120 35% 65%, #d3b78f 66% 69%, #172120 70%);
  content: "";
}

.bh-project-card__link::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.9), transparent 62%);
  content: "";
}

.bh-project-card__link:hover {
  color: var(--bh-white);
}

.bh-project-card__link:hover .bh-project-card__image {
  transform: scale(1.025);
}

.bh-project-card__badge {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
}

.bh-project-card__overlay {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
}

.bh-project-card__overlay h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 8vw, 3.25rem);
}

.bh-project-card__overlay p {
  margin-bottom: 0.75rem;
  color: rgb(255 255 255 / 0.82);
}

.bh-project-card__action {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-weight: 800;
}

/* Timber cards */
.bh-timber-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.bh-timber-card {
  overflow: hidden;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-lg);
  background: var(--bh-white);
}

.bh-timber-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #c69868;
}

.bh-timber-card__media img,
.bh-timber-card__placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bh-timber-card__placeholder {
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.15), transparent),
    repeating-linear-gradient(90deg, #a87549 0 0.7rem, #d0a273 0.7rem 1.4rem);
}

.bh-timber-card__media .bh-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.bh-timber-card__body {
  padding: 1.25rem;
}

.bh-timber-card__body h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.bh-timber-card__body h2 a {
  color: var(--bh-ink);
  text-decoration: none;
}

.bh-timber-card__body p {
  color: var(--bh-muted);
}

/* Product */
.bh-product-hero {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.bh-product-hero__grid {
  display: grid;
  grid-template-areas:
    "summary"
    "gallery";
  gap: clamp(1.5rem, 4vw, 3rem);
}

.bh-product-summary {
  grid-area: summary;
}

.bh-product-summary > .bh-badge {
  margin-bottom: 1rem;
}

.bh-product-summary h1 {
  margin-bottom: 1.25rem;
}

.bh-product-gallery {
  grid-area: gallery;
}

.bh-product-gallery__image,
.bh-product-gallery__placeholder {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border-radius: var(--bh-radius-lg);
  object-fit: cover;
}

.bh-product-gallery__placeholder {
  position: relative;
  background:
    linear-gradient(to top, rgb(0 0 0 / 0.2), transparent),
    repeating-linear-gradient(90deg, #9f7047 0 0.65rem, #c39466 0.65rem 1.3rem);
}

.bh-product-gallery__placeholder::before {
  position: absolute;
  inset: 16% 10% 22%;
  border: 0.8rem solid #172120;
  background:
    linear-gradient(135deg, transparent 48%, #172120 49% 54%, transparent 55%) top / 100% 45% no-repeat,
    linear-gradient(45deg, transparent 48%, #172120 49% 54%, transparent 55%) top / 100% 45% no-repeat,
    linear-gradient(90deg, #172120 0 30%, #d3b78f 31% 34%, #172120 35% 65%, #d3b78f 66% 69%, #172120 70%);
  content: "";
}

.bh-product-gallery figcaption {
  margin-top: 0.65rem;
  color: var(--bh-muted);
  font-size: 0.875rem;
}

.bh-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-block: 1.5rem;
}

.bh-spec-grid > div {
  min-height: 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-md);
  padding: 0.9rem;
  text-align: center;
}

.bh-spec-grid dt {
  order: 2;
  color: var(--bh-muted);
  font-size: 0.875rem;
}

.bh-spec-grid dd {
  margin: 0;
  color: var(--bh-green-dark);
  font-family: var(--bh-font-display);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
}

.bh-price-card {
  display: grid;
  gap: 0.6rem;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-md);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.bh-price-card p,
.bh-price-card span {
  margin: 0;
  color: var(--bh-muted);
}

.bh-price-card strong {
  font-family: var(--bh-font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1;
}

.bh-price-card .bh-button {
  margin-top: 0.65rem;
}

.bh-product-content {
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
  padding-block: clamp(2rem, 6vw, 5rem);
}

.bh-product-section {
  scroll-margin-top: 6rem;
}

.bh-entry {
  max-width: 64rem;
}

.bh-entry--front {
  max-width: none;
}

.bh-entry-content {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.bh-entry-content > * {
  max-width: 51rem;
  margin-right: auto;
  margin-left: auto;
}

.bh-entry-content > .alignwide {
  max-width: var(--bh-container);
}

.bh-entry-content > .alignfull {
  max-width: none;
}

.bh-entry-content img {
  border-radius: var(--bh-radius-md);
}

.bh-prose {
  max-width: 52rem;
  color: var(--bh-muted);
  font-size: 1.05rem;
}

.bh-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.bh-info-card {
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-md);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.bh-info-card--accent {
  border-left: 4px solid var(--bh-red);
}

.bh-info-card h2,
.bh-info-card h3 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
}

.bh-info-card > :last-child {
  margin-bottom: 0;
}

.bh-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.bh-process-card {
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-md);
  background: var(--bh-white);
  padding: clamp(1.25rem, 4vw, 1.75rem);
}

.bh-process-card > span {
  display: block;
  margin-bottom: 1rem;
  color: var(--bh-green);
  font-family: var(--bh-font-display);
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  font-weight: 700;
  line-height: 0.85;
}

.bh-process-card h3 {
  margin-bottom: 0.5rem;
}

.bh-process-card p {
  margin: 0;
  color: var(--bh-muted);
}

.bh-cta {
  display: grid;
  gap: 1.5rem;
  border-radius: var(--bh-radius-lg);
  background: linear-gradient(135deg, var(--bh-red), var(--bh-red-dark));
  padding: clamp(1.5rem, 6vw, 3.5rem);
  color: var(--bh-white);
}

.bh-cta h2 {
  max-width: 46rem;
}

.bh-cta p {
  margin: 0;
  color: rgb(255 255 255 / 0.82);
}

/* Footer */
.bh-site-footer {
  margin-top: clamp(3rem, 8vw, 7rem);
  border-top: 1px solid var(--bh-border);
  background: var(--bh-surface);
}

.bh-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.bh-brand--footer {
  margin-bottom: 1rem;
}

.bh-site-footer__summary {
  max-width: 24rem;
  color: var(--bh-muted);
}

.bh-footer-menu {
  display: grid;
  align-items: start;
  gap: 0.35rem;
}

.bh-footer-contacts h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.bh-footer-contacts ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-footer-contacts a {
  color: var(--bh-ink);
}

.bh-site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid var(--bh-border);
  padding-block: 1rem;
  color: var(--bh-muted);
  font-size: 0.875rem;
}

.bh-site-footer__company {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.bh-site-footer__company a {
  color: var(--bh-green-dark);
  font-weight: 700;
}

.bh-requisites {
  display: grid;
  max-width: 58rem;
  margin: 0;
  border-top: 1px solid var(--bh-border);
}

.bh-requisites__row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem 2rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--bh-border);
}

.bh-requisites dt {
  color: var(--bh-muted);
  font-weight: 650;
}

.bh-requisites dd {
  margin: 0;
  color: var(--bh-ink);
  overflow-wrap: anywhere;
}

.bh-requisites a {
  color: var(--bh-green-dark);
}

.bh-contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-contact-list a {
  color: var(--bh-green-dark);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 750;
}

.bh-contact-list address {
  max-width: 42rem;
  color: var(--bh-ink);
  font-size: 1rem;
  font-style: normal;
}

.bh-mobile-contacts {
  display: none;
}

/* Pagination */
.navigation.pagination {
  margin-top: 2rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-links .page-numbers {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius-sm);
  color: var(--bh-ink);
  text-decoration: none;
}

.nav-links .current {
  border-color: var(--bh-red);
  background: var(--bh-red);
  color: var(--bh-white);
}

@media (min-width: 48rem) {
  .bh-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bh-timber-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bh-info-grid,
  .bh-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bh-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 64rem) {
  .bh-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bh-timber-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bh-product-hero__grid {
    grid-template-areas: "gallery summary";
    grid-template-columns: minmax(0, 1.25fr) minmax(22rem, 0.75fr);
    align-items: start;
  }

  .bh-product-summary {
    position: sticky;
    top: 2rem;
  }

  .bh-spec-grid--timber {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bh-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 70rem) {
  .bh-header-phone__text,
  .bh-header-cta {
    display: none;
  }
}

@media (max-width: 63.99rem) {
  .bh-home-hero__grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-home-hero__copy {
    max-width: 52rem;
  }

  .bh-home-hero__visual {
    max-width: 48rem;
  }

  .bh-direction-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-direction-card {
    display: grid;
    grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.2fr);
  }

  .bh-direction-card__visual {
    min-height: 100%;
  }

  .bh-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 47.99rem) {
  body.admin-bar .bh-site-header {
    top: 46px;
  }

  .bh-has-mobile-contacts .bh-site-footer {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
  }

  .bh-site-header__inner {
    min-height: 4.5rem;
    flex-wrap: wrap;
  }

  .bh-brand__logo {
    width: 2.75rem;
    height: 2.75rem;
  }

  .bh-brand__name {
    font-size: 1.15rem;
  }

  .js .bh-menu-toggle {
    display: grid;
  }

  .bh-primary-nav {
    width: 100%;
    margin: 0;
    padding-bottom: 1rem;
  }

  .js .bh-primary-nav:not([data-open="true"]) {
    display: none;
  }

  .bh-menu {
    display: grid;
    gap: 0;
  }

  .bh-menu a {
    min-height: 3rem;
    width: 100%;
    border-bottom: 1px solid var(--bh-border);
  }

  .bh-header-actions {
    margin-left: auto;
  }

  .bh-header-phone {
    font-size: 1.35rem;
  }

  .bh-home-hero__grid {
    gap: 2rem;
    padding-block: 2.5rem;
  }

  .bh-home-hero__visual {
    width: 100%;
  }

  .bh-direction-card {
    display: block;
  }

  .bh-direction-card__visual {
    min-height: 11rem;
  }

  .bh-button {
    width: 100%;
  }

  .bh-project-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-project-card {
    width: 100%;
    aspect-ratio: 1;
  }

  .bh-project-card__overlay {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .bh-project-card__overlay h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .bh-product-gallery__image,
  .bh-product-gallery__placeholder {
    aspect-ratio: 1;
  }

  .bh-spec-grid > div {
    min-height: 5.75rem;
  }

  .bh-site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-site-footer__bottom,
  .bh-requisites__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-mobile-contacts {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--bh-border);
    background: var(--bh-white);
    box-shadow: 0 -0.5rem 2rem rgb(23 23 23 / 0.1);
  }

  .bh-has-mobile-contacts .bh-mobile-contacts {
    display: grid;
  }

  .bh-mobile-contacts a {
    min-width: 0;
    min-height: 4.5rem;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.1rem;
    border-right: 1px solid var(--bh-border);
    color: var(--bh-green-dark);
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.1;
    text-decoration: none;
  }

  .bh-mobile-contacts a:last-child {
    border-right: 0;
  }

  .bh-mobile-contacts a > span:first-child {
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
