/* Components and page-specific UI. */

:root {
  --bg-card-bg: rgba(255, 255, 255, 0.9);
  --bg-panel-bg: rgba(241, 244, 239, 0.68);
  --bg-warm-panel: #f4eadf;
  --bg-blue-panel: #edf4f7;
  --bg-sage-panel: #dfe6dc;
  --bg-soft-green: #748572;
  --bg-soft-brown: #79683e;
  --bg-hairline: rgba(35, 35, 31, 0.08);
  --bg-burgundy: #810e1f;
  --bg-burgundy-dark: #690918;
}

/* Header */
.bg-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 5.75rem;
  display: flex;
  align-items: center;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid rgba(100, 121, 101, 0.14);
  box-shadow: 0 10px 34px rgba(35, 35, 31, 0.035);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.bg-header.is-scrolled {
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 12px 34px rgba(35, 35, 31, 0.055);
}

.bg-header__inner {
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bg-brand__link,
.bg-footer__logo,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.bg-brand__link {
  gap: 0.78rem;
}

.bg-brand__logo,
.custom-logo {
  width: auto;
  max-width: 4.85rem;
  max-height: 4.85rem;
  object-fit: contain;
}

.bg-brand__text {
  max-width: 12rem;
  color: var(--bg-ink);
  font-family: var(--bg-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.bg-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.bg-menu,
.bg-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bg-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: rgba(35, 35, 31, 0.78);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.bg-menu a {
  position: relative;
  padding-block: 0.25rem;
}

.bg-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12rem;
  height: 1px;
  background: var(--bg-action);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.bg-menu a:hover {
  color: var(--bg-action-dark);
}

.bg-menu a:hover::after,
.bg-menu .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.bg-menu-toggle {
  display: none;
  border: 0;
  color: var(--bg-ink);
  background: transparent;
  align-items: center;
  gap: 0.6rem;
}

.bg-menu-toggle__label {
  font-size: 0.78rem;
}

.bg-menu-toggle__icon,
.bg-menu-toggle__icon::before,
.bg-menu-toggle__icon::after {
  display: block;
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.bg-menu-toggle__icon::before,
.bg-menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.bg-menu-toggle__icon::before { top: -0.42rem; }
.bg-menu-toggle__icon::after { top: 0.42rem; }

.bg-menu-toggle.is-active .bg-menu-toggle__icon {
  background: transparent;
}

.bg-menu-toggle.is-active .bg-menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.bg-menu-toggle.is-active .bg-menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Buttons and labels */
.bg-btn,
.bg-text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.52rem;
  font-weight: 600;
}

.bg-btn {
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.bg-btn::after,
.bg-text-link::after {
  content: "";
  width: 0.56rem;
  height: 0.56rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.bg-btn:hover::after,
.bg-text-link:hover::after {
  transform: translateX(0.18rem) rotate(45deg);
}

.bg-btn--primary {
  color: var(--bg-white);
  background: var(--bg-action-dark);
}

.bg-btn--primary:hover {
  background: var(--bg-action);
}

.bg-btn--secondary,
.bg-btn--ghost {
  color: var(--bg-action-dark);
  background: transparent;
  border-color: rgba(100, 121, 101, 0.3);
}

.bg-btn--green-solid {
  color: var(--bg-white);
  background: var(--bg-action-dark);
}

.bg-btn--green-solid:hover {
  background: var(--bg-action);
}

.bg-btn--green-outline {
  color: var(--bg-action-dark);
  background: transparent;
  border-color: rgba(100, 121, 101, 0.3);
}

.bg-btn--green-outline:hover {
  color: var(--bg-action-dark);
  border-color: rgba(100, 121, 101, 0.52);
  background: rgba(100, 121, 101, 0.08);
}

.bg-btn--burgundy-solid {
  color: var(--bg-white);
  background: var(--bg-burgundy);
}

.bg-btn--burgundy-solid:hover {
  background: var(--bg-burgundy-dark);
}

.bg-btn--burgundy-outline {
  color: var(--bg-burgundy);
  background: transparent;
  border-color: rgba(129, 14, 31, 0.34);
}

.bg-btn--burgundy-outline:hover {
  color: var(--bg-burgundy-dark);
  border-color: rgba(129, 14, 31, 0.58);
  background: rgba(129, 14, 31, 0.07);
}

.bg-btn--small {
  min-height: 2.35rem;
  padding-inline: 1rem;
  font-size: 0.93rem;
}

.bg-text-green {
  color: var(--bg-action-dark) !important;
}

.bg-text-burgundy {
  color: var(--bg-burgundy) !important;
}

.bg-mobile-br,
.bg-br-mobile {
  display: none;
}

.bg-text-link {
  color: var(--bg-action-dark);
  font-size: 0.93rem;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(100, 121, 101, 0.34);
  text-underline-offset: 0.22em;
}

.bg-text-link.get-directions-link {
  font-size: 1rem;
}

.bg-eyebrow,
.bg-script-label {
  margin: 0 0 0.55rem;
  color: var(--bg-sage-700);
  font-family: var(--bg-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bg-post-card__meta,
.bg-post-meta {
  margin: 0 0 0.55rem;
  color: var(--bg-sage-700);
  font-family: var(--bg-font-body);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bg-text-large,
.bg-hero__text {
  margin-top: 0.78rem;
  color: rgba(35, 35, 31, 0.66);
  font-size: 1.03rem;
  line-height: 1.7;
}

.bg-rich-content strong,
.bg-rich-content b,
.bg-text-large strong,
.bg-text-large b,
.bg-card-text strong,
.bg-card-text b,
.bg-section-heading__text strong,
.bg-section-heading__text b,
.bg-section-cta strong,
.bg-section-cta b {
  font-weight: 600;
}

/* Home hero */
.bg-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: calc(var(--bg-header-height) + clamp(2.25rem, 4.8vw, 4.75rem)) clamp(2.25rem, 4.8vw, 4.75rem);
  background:
    radial-gradient(circle at 88% 22%, rgba(143, 177, 212, 0.2), transparent 26rem),
    linear-gradient(90deg, rgba(223, 230, 220, 0.84), rgba(241, 244, 239, 0.42) 52%, rgba(255, 253, 249, 0) 90%),
    var(--bg-sage-50);
  overflow: hidden;
}

.bg-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.4rem, 5.5vw, 5rem);
  align-items: center;
}

.bg-home h1,
.bg-home h2,
.bg-page-hero h1,
.bg-single-hero h1,
.bg-work-section h2,
.bg-rich-content h2 {
  color: var(--bg-burgundy);
  font-family: var(--bg-font-accent);
  font-weight: 400;
  letter-spacing: 0;
}

.bg-home h1 {
  max-width: 15ch;
  font-size: 2.32rem;
  line-height: 1.04;
}

.bg-home h2,
.bg-page-hero h1,
.bg-single-hero h1 {
  font-size: 2.12rem;
  line-height: 1.05;
}

.bg-archive .bg-page-hero h1,
.bg-blog-index .bg-page-hero h1,
.bg-page-layout--static .bg-page-hero h1,
.bg-single-hero h1 {
  font-size: clamp(2.44rem, 7vw, 3.2rem);
  line-height: 1;
}

.bg-hero__actions,
.bg-about__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Media and ornamental line art */
.bg-media-stage {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.bg-media-stage > .bg-hero-card,
.bg-media-stage > .bg-organic-media,
.bg-media-stage > .bg-portrait-card {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 42px rgba(35, 35, 31, 0.12));
}

.bg-hero-card,
.bg-organic-media,
.bg-portrait-card,
.bg-quote-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 1.15rem;
  background: transparent;
  box-shadow: none;
}

.bg-hero-card {
  width: min(100%, 490px);
  aspect-ratio: 0.95;
}

.bg-organic-media {
  width: min(100%, 520px);
  aspect-ratio: 0.9;
}

.bg-portrait-card {
  width: min(100%, 430px);
  aspect-ratio: 0.96;
}

.bg-media-stage--about {
  width: min(100%, 430px);
  margin-inline: auto;
}

.bg-hero-card img,
.bg-hero-card__image,
.bg-organic-media img,
.bg-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-approach-logo-media {
  width: min(100%, 300px);
  aspect-ratio: 1;
  display: grid;
  align-self: center;
  place-items: center;
  overflow: visible;
  margin-bottom: 0;
  max-height: min(100%, 300px);
}

.bg-approach-logo-media img {
  width: min(100%, 290px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.bg-about-logo {
  position: absolute;
  right: clamp(-1rem, -1vw, 8rem);
  bottom: clamp(2rem, -2vw, -0.35rem);
  z-index: 2;
  width: clamp(5.2rem, 16vw, 9rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 14px 32px rgba(35, 35, 31, 0.1);
}

.bg-about-logo__image {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.bg-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.72), rgba(223, 230, 220, 0.82)),
    var(--bg-sage-50);
}

.bg-photo-mask {
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.bg-photo-mask--arch {
  border-radius: 42% 42% 0 0 / 28% 28% 0 0;
  -webkit-mask-image: url("../img/masks/mask-arch.svg");
  mask-image: url("../img/masks/mask-arch.svg");
}

.bg-photo-mask--soft {
  border-radius: 48% 52% 44% 56% / 48% 46% 54% 52%;
  -webkit-mask-image: url("../img/masks/mask-soft.svg");
  mask-image: url("../img/masks/mask-soft.svg");
}

.bg-photo-mask--organic {
  border-radius: 52% 48% 50% 50% / 44% 54% 46% 56%;
  -webkit-mask-image: url("../img/masks/mask-organic.svg");
  mask-image: url("../img/masks/mask-organic.svg");
}

.bg-photo-mask--wave {
  border-radius: 48% 52% 46% 54% / 40% 42% 58% 60%;
  -webkit-mask-image: url("../img/masks/mask-vertical-wave.svg");
  mask-image: url("../img/masks/mask-vertical-wave.svg");
}

.bg-photo-mask--grounded {
  border-radius: 42% 42% 0 0 / 28% 28% 0 0;
  -webkit-mask-image: url("../img/masks/mask-arch.svg");
  mask-image: url("../img/masks/mask-arch.svg");
}

.bg-media-ornament {
  position: absolute;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.bg-media-ornament .bg-line-art {
  opacity: 1;
}

.bg-line-art {
  display: block;
}

.bg-line-art svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.bg-line-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bg-media-ornament--hero {
  width: clamp(12.5rem, 26vw, 20.5rem);
  height: clamp(23rem, 46vw, 36rem);
  right: clamp(-6rem, -7vw, -2.6rem);
  top: 53%;
  transform: translateY(-50%);
}

/* Cards and home sections */
.bg-approach {
  background:
    linear-gradient(180deg, rgba(244, 234, 223, 0.78) 0%, rgba(255, 253, 249, 0.96) 72%),
    radial-gradient(circle at 88% 8%, rgba(143, 177, 212, 0.14), transparent 24rem),
    var(--bg-cream);
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
  overflow: hidden;
}

.bg-approach .bg-container {
  align-items: center;
}

.bg-approach .bg-split__media {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-approach .bg-organic-media {
  align-self: flex-end;
  margin-bottom: -1px;
  max-height: clamp(23rem, 42vw, 35rem);
}

.bg-approach .bg-approach-logo-media {
  align-self: center;
  margin-bottom: 0;
  max-height: min(100%, 300px);
}

.bg-approach .bg-split__content {
  padding-bottom: 0;
}

.bg-focus {
  background:
    linear-gradient(180deg, rgba(244, 234, 223, 0.78) 0%, rgba(255, 253, 249, 0.96) 72%),
    radial-gradient(circle at 88% 8%, rgba(143, 177, 212, 0.14), transparent 24rem),
    var(--bg-cream);
}

.bg-process {
  background:
    linear-gradient(180deg, rgba(223, 230, 220, 0.96) 0%, rgba(241, 244, 239, 0.82) 54%, rgba(255, 253, 249, 0.96) 100%),
    radial-gradient(circle at 18% 0%, rgba(143, 177, 212, 0.22), transparent 24rem),
    var(--bg-sage-50);
}

.bg-areas {
  background:
    linear-gradient(180deg, rgba(244, 234, 223, 0.78) 0%, rgba(255, 253, 249, 0.96) 72%),
    radial-gradient(circle at 88% 8%, rgba(143, 177, 212, 0.14), transparent 24rem),
    var(--bg-cream);
}

.bg-about {
  background:
    radial-gradient(circle at 88% 12%, rgba(143, 177, 212, 0.2), transparent 24rem),
    var(--bg-sage-panel);
}

.bg-blog-preview {
  background: var(--bg-paper);
}

.bg-focus__grid,
.bg-process__grid,
.bg-areas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.bg-soft-features {
  padding-block: clamp(3.8rem, 6.5vw, 6.2rem);
}

.bg-soft-features .bg-focus__grid {
  gap: clamp(2rem, 4vw, 4rem);
}

.bg-soft-feature-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.bg-soft-feature-card__visual {
  position: relative;
  width: min(100%, 28rem);
  aspect-ratio: 1.46;
  margin-inline: auto;
}

.bg-soft-feature-card__visual::before {
  content: "";
  position: absolute;
  inset: 5% 10% 3% 14%;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.48), rgba(223, 230, 220, 0.38)),
    var(--bg-sage-100);
  -webkit-mask-image: url("../img/masks/mask-organic.svg");
  mask-image: url("../img/masks/mask-organic.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.bg-soft-feature-card__blob,
.bg-soft-feature-card__outline,
.bg-soft-feature-card__photo,
.bg-soft-feature-card__icon {
  position: absolute;
  display: block;
  pointer-events: none;
}

.bg-soft-feature-card__blob {
  z-index: 1;
  width: 42%;
  aspect-ratio: 1.18;
  left: 0;
  bottom: -3%;
  background: var(--bg-blue);
  -webkit-mask: url("../img/blobs/blob-blue.svg") center / 100% 100% no-repeat;
  mask: url("../img/blobs/blob-blue.svg") center / 100% 100% no-repeat;
}

.bg-soft-feature-card__outline {
  z-index: 4;
  width: 38%;
  aspect-ratio: 1.2;
  left: 1%;
  bottom: -1%;
  color: rgba(100, 121, 101, 0.38);
  background: currentColor;
  -webkit-mask: url("../img/blobs/blob-outline.svg") center / 100% 100% no-repeat;
  mask: url("../img/blobs/blob-outline.svg") center / 100% 100% no-repeat;
}

.bg-soft-feature-card__photo {
  inset: 9% 8% 7% 12%;
  z-index: 3;
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: url("../img/masks/mask-organic.svg");
  mask-image: url("../img/masks/mask-organic.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.bg-soft-feature-card__image,
.bg-soft-feature-card__image-placeholder {
  width: 100%;
  height: 100%;
}

.bg-soft-feature-card__image {
  object-fit: cover;
}

.bg-soft-feature-card__image-placeholder {
  display: block;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.9), rgba(223, 230, 220, 0.78)),
    var(--bg-sage-50);
}

.bg-soft-feature-card__icon {
  z-index: 5;
  right: 11%;
  top: 27%;
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  color: var(--bg-action-dark);
}

.bg-soft-feature-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 1.2;
}

.bg-soft-feature-card--2 .bg-soft-feature-card__blob {
  left: auto;
  right: 1%;
  bottom: -6%;
  background: var(--bg-soft-green);
  -webkit-mask-image: url("../img/blobs/blob-sage.svg");
  mask-image: url("../img/blobs/blob-sage.svg");
}

.bg-soft-feature-card--2 .bg-soft-feature-card__outline {
  left: auto;
  right: 7%;
  bottom: 6%;
}

.bg-soft-feature-card--2 .bg-soft-feature-card__icon {
  left: 13%;
  right: auto;
  color: var(--bg-soft-brown);
}

.bg-soft-feature-card--2 .bg-soft-feature-card__photo {
  inset: 9% 11% 7% 7%;
}

.bg-soft-feature-card h2,
.bg-soft-feature-card p,
.bg-soft-feature-card .bg-card-text,
.bg-soft-feature-card .bg-text-link {
  width: min(100%, 28rem);
  margin-inline: auto;
}

.bg-focus-card,
.bg-step-card,
.bg-area-card,
.bg-contact-card,
.bg-work-section,
.bg-work-cta,
.bg-empty-state {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 2.2vw, 1.65rem);
  border: 1px solid var(--bg-hairline);
  border-radius: 1.35rem;
  background: var(--bg-card-bg);
  box-shadow: 0 16px 34px rgba(35, 35, 31, 0.035);
}

.bg-area-card h3,
.bg-rich-content h3 {
  color: var(--bg-ink);
  font-family: var(--bg-font-body);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.22;
}

.bg-focus-card h2, .bg-step-card h3 {
  color: var(--bg-ink);
  font-family: var(--bg-font-body);
  font-size: 1.8rem !important;
  font-weight: 600;
  line-height: 1.22;
}

.bg-soft-feature-card h2 {
  min-height: calc(2em * 1.22);
}

.bg-focus-card p,
.bg-step-card p,
.bg-area-card p {
  margin-top: 0.7rem;
  color: rgba(35, 35, 31, 0.64);
  font-size: 1rem;
}

.bg-card-text {
  margin-top: 0.7rem;
  color: rgba(35, 35, 31, 0.64);
  font-size: 1rem;
}

.bg-card-text > * {
  margin: 0;
}

.bg-card-text > * + * {
  margin-top: 0.55rem;
}

.bg-card-text a,
.bg-section-heading__text a {
  color: var(--bg-action-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.bg-soft-feature-card p {
  margin-bottom: 0;
}

.bg-soft-feature-card .bg-text-link {
  align-self: flex-end;
  margin-top: auto;
  justify-content: flex-end;
}

.bg-focus-card__icon,
.bg-area-card__icon {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 0.55rem;
  color: var(--bg-action-dark);
  background: var(--bg-sage-50);
}

.bg-focus-card__icon svg,
.bg-area-card__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.bg-step-card__number,
.bg-work-section__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: var(--bg-action-dark);
  background: rgba(100, 121, 101, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
}

.bg-area-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bg-area-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: rgba(100, 121, 101, 0.24);
}

.bg-area-card__media {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.bg-area-card__illustration {
  width: 6.1rem;
  height: 6.1rem;
  object-fit: contain;
}

.bg-area-card .bg-text-link {
  display: flex;
  width: 100%;
  margin-top: auto;
  padding-top: 1rem;
  justify-content: flex-end;
}

.bg-section-cta {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: 1.15rem 1.25rem;
  border-radius: 1.5rem;
  color: var(--bg-white);
  background: var(--bg-soft-green);
}

.bg-section-cta p {
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 550;
}

.bg-section-cta .bg-btn--primary {
  color: var(--bg-action-dark);
  background: var(--bg-white);
}

.bg-section-cta--process {
  width: fit-content;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.bg-section-cta--process .bg-btn--primary {
  color: var(--bg-white);
  background: var(--bg-action-dark);
}

.bg-section-cta--process .bg-btn--primary:hover {
  background: var(--bg-action);
}

.bg-location h2,
.bg-location p,
.bg-location .bg-script-label {
  color: var(--bg-white);
}

.bg-location {
  background:
    radial-gradient(circle at 88% 20%, rgba(143, 177, 212, 0.18), transparent 22rem),
    var(--bg-sage-700);
}

.bg-location .bg-eyebrow,
.bg-location .bg-text-large,
.bg-location .bg-text-large p {
  color: rgba(255, 255, 255, 0.78);
}

.bg-location .bg-btn--primary {
  color: var(--bg-action-dark);
  background: var(--bg-white);
}

.bg-location .bg-btn--primary:hover {
  color: var(--bg-white);
  background: var(--bg-action-dark);
  border-color: rgba(255, 255, 255, 0.38);
}

.bg-location__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: end;
}

/* Posts */
.bg-post-grid,
.bg-post-grid--archive,
.bg-blog-preview .bg-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: stretch;
  grid-auto-flow: row;
  grid-auto-rows: 1fr;
  column-count: initial;
  columns: initial;
}

.bg-post-grid > *,
.bg-post-card {
  align-self: stretch;
  margin-top: 0;
  transform: none;
}

.bg-post-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--bg-hairline);
  border-radius: 1rem;
  background: var(--bg-card-bg);
}

.bg-post-card:hover {
  transform: none;
}

.bg-post-card__media {
  display: block;
  /*aspect-ratio: 1.52;*/
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-sage-50);
}

.bg-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.bg-post-card:hover .bg-post-card__media img {
  transform: scale(1.025);
}

.bg-post-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--bg-sage-700);
}

.bg-post-card__placeholder svg {
  width: 3.5rem;
  height: 3.5rem;
}

.bg-post-card__content {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0.62rem;
  padding: 1rem;
}

.bg-post-card__meta,
.bg-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0;
}

.bg-post-card__meta a {
  color: inherit;
}

.bg-post-card__meta a:hover {
  color: var(--bg-action-dark);
}

.bg-post-card h3 {
  min-height: calc(2em * 1.2);
  margin: 0;
  font-family: var(--bg-font-body);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.bg-post-card h3 a:hover {
  color: var(--bg-action-dark);
}

.bg-post-card p {
  display: block;
  margin: 0;
  color: rgba(35, 35, 31, 0.62);
  font-size: 0.93rem;
  line-height: 1.58;
  max-height: calc(0.93rem * 1.58 * 4);
  overflow: hidden;
}

.bg-category-card {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(223, 230, 220, 0.92), rgba(255, 253, 249, 0.94)),
    var(--bg-sage-50);
}

.bg-category-card__content {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(1.35rem, 2.4vw, 1.8rem);
}

.bg-category-card h3,
.bg-sidebar-categories__title {
  margin: 0 0 1.15rem;
  color: var(--bg-burgundy);
  font-family: var(--bg-font-accent);
  font-size: 1.72rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
}

.bg-sidebar-categories__title {
  font-size: 2.1rem !important;
}

.bg-category-card .bg-sidebar-block {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.bg-sidebar-categories {
  background:
    linear-gradient(180deg, rgba(223, 230, 220, 0.92), rgba(255, 253, 249, 0.94)),
    var(--bg-sage-50);
}

.bg-blog-index .bg-sidebar-categories {
  border-color: rgba(100, 121, 101, 0.16);
  background:
    linear-gradient(180deg, rgba(223, 230, 220, 0.92), rgba(255, 253, 249, 0.94)),
    var(--bg-sage-50);
}

.bg-category-card__links {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
}

.bg-category-card__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.62rem;
  border-bottom: 1px solid rgba(100, 121, 101, 0.16);
  color: var(--bg-action-dark);
  font-weight: 600;
}

.bg-category-card__links a:hover {
  color: var(--bg-action);
}

.bg-category-card__links small {
  min-width: 1.65rem;
  min-height: 1.65rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--bg-ink);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

/* Pages and rich content */
.bg-page-layout,
.bg-single-layout {
  max-width: 780px;
  margin-inline: auto;
}

.bg-single-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.bg-single-primary {
  min-width: 0;
}

.bg-single-primary .bg-page-layout,
.bg-single-primary .bg-single-layout {
  margin-inline: 0;
}

.bg-page-layout--static {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bg-page-hero,
.bg-single-hero {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.bg-page-hero__intro,
.bg-single-hero__subtitle {
  margin-top: 0.78rem;
  max-width: 70ch;
  color: rgba(35, 35, 31, 0.66);
  font-size: 1.03rem;
  line-height: 1.7;
}

.bg-page-featured-image,
.bg-single-image {
  overflow: hidden;
  border: 1px solid var(--bg-hairline);
  border-radius: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.bg-page-featured-image img,
.bg-single-image img {
  width: 100%;
}

.bg-related {
  max-width: 780px;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--bg-rule);
}

.bg-related .bg-post-card__meta {
  font-size: 0.78rem;
}

.bg-single-sidebar {
  min-width: 0;
}

.bg-sidebar-block {
  padding: clamp(1.25rem, 2.2vw, 1.65rem);
  border: 1px solid var(--bg-hairline);
  border-radius: 1rem;
  background: var(--bg-card-bg);
  box-shadow: 0 16px 34px rgba(35, 35, 31, 0.035);
}

.bg-sidebar-block + .bg-sidebar-block {
  margin-top: 1.5rem;
}

.bg-sidebar-block__title {
  margin: 0 0 1rem;
  color: var(--bg-ink);
  font-family: var(--bg-font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.bg-sidebar-latest__items {
  display: grid;
}

.bg-sidebar-latest__item {
  display: grid;
  gap: 0.28rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--bg-rule);
}

.bg-sidebar-latest__item:first-child {
  padding-top: 0;
}

.bg-sidebar-latest__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.bg-sidebar-latest__number {
  color: var(--bg-sage-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bg-sidebar-latest__item h3 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.2;
}

.bg-sidebar-latest__item a:hover {
  color: var(--bg-action-dark);
}

.bg-sidebar-about {
  background:
    linear-gradient(180deg, rgba(244, 234, 223, 0.58), rgba(255, 253, 249, 0.86)),
    var(--bg-card-bg);
}

.bg-sidebar-about__image {
  width: 6.5rem;
  height: 6.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  object-fit: cover;
}

.bg-sidebar-about p {
  margin: 0;
  color: rgba(35, 35, 31, 0.66);
  font-size: 0.93rem;
  line-height: 1.65;
}

.bg-sidebar-about__links {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.bg-sidebar-about__links .bg-text-link {
  width: 100%;
  justify-content: space-between;
}

.bg-toc {
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  border: 1px solid var(--bg-hairline);
  border-radius: 1rem;
  background: var(--bg-panel-bg);
}

.bg-toc__title {
  margin-bottom: 1rem;
  color: var(--bg-sage-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bg-toc__list {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bg-toc__list li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.bg-toc__number {
  color: var(--bg-action-dark);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.bg-toc__list a {
  color: var(--bg-ink);
  font-size: 0.92rem;
  line-height: 1.45;
  text-decoration: none;
}

.bg-toc__list a:hover {
  color: var(--bg-action-dark);
}

.bg-toc .toc-level-3 {
  padding-left: 1.2rem;
}

.bg-rich-content {
  color: var(--bg-ink);
}

.bg-page-grid:has(.bg-longform-content) .bg-single-sidebar {
  display: none;
}

.bg-rich-content > * + * {
  margin-top: 0.9rem;
}

.bg-rich-content h2,
.bg-rich-content h3,
.bg-rich-content h4 {
  margin-top: 2rem;
}

.bg-rich-content h2 {
  font-size: 2.1rem;
}

.bg-rich-content h3 {
  font-size: 1.2rem;
}

.bg-rich-content p,
.bg-rich-content li {
  color: rgba(35, 35, 31, 0.68);
  font-size: 1rem;
}

.bg-rich-content a {
  color: var(--bg-action-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.bg-rich-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem;
  border-left: 3px solid var(--bg-action);
  background: var(--bg-panel-bg);
  border-radius: 0 0.75rem 0.75rem 0;
}

.bg-rich-content .privacy-services {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.bg-rich-content .privacy-services > h3 {
  margin: 0.5rem 0 0;
}

.bg-rich-content .service-block {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--bg-hairline);
  border-radius: 0.5rem;
  background: var(--bg-sage-50);
  overflow-wrap: anywhere;
}

.bg-rich-content .service-block h4 {
  margin-top: 0.5rem;
  margin-bottom: 0.45rem;
  color: var(--bg-ink);
  font-size: 1.36rem;
  font-weight: 600;
  line-height: 1.28;
}

.bg-rich-content .table-x-scroll,
.bg-rich-content .wp-block-table {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bg-rich-content .table-x-scroll::-webkit-scrollbar,
.bg-rich-content .wp-block-table::-webkit-scrollbar {
  display: none;
}

.bg-rich-content .table-x-scroll table,
.bg-rich-content .wp-block-table table {
  width: 100%;
  min-width: 42rem;
  margin-top: 1rem;
  border-collapse: collapse;
  border-bottom: 1px solid var(--bg-hairline);
}

.bg-rich-content .table-x-scroll th,
.bg-rich-content .table-x-scroll td,
.bg-rich-content .wp-block-table th,
.bg-rich-content .wp-block-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--bg-hairline);
}

.bg-rich-content .table-x-scroll th,
.bg-rich-content .wp-block-table th {
  color: var(--bg-ink);
  font-weight: 600;
  background: rgba(100, 121, 101, 0.06);
}

.bg-rich-content .table-x-scroll td,
.bg-rich-content .wp-block-table td {
  color: rgba(35, 35, 31, 0.68);
}

.bg-rich-content--compact h2,
.bg-rich-content--compact h3 {
  margin-top: 1.25rem;
}

/* Contact and forms */
.bg-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.bg-contact-card {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
}

.bg-contact-card span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--bg-sage-700);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bg-contact-card a {
  color: var(--bg-action-dark);
  font-weight: 600;
}

.bg-contact-form-wrap {
  align-self: start;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--bg-hairline);
  border-radius: 1rem;
  background: var(--bg-card-bg);
}

.bg-contact-form {
  display: grid;
  gap: 0.75rem;
}

.bg-contact-form label {
  color: var(--bg-sage-700);
  font-size: 0.88rem;
  font-weight: 600;
}

.bg-contact-form input:not([type="checkbox"]),
.bg-contact-form textarea,
.bg-search-form input {
  width: 100%;
  border: 1px solid var(--bg-border);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  color: var(--bg-ink);
  background: var(--bg-cream);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.bg-contact-form input:focus,
.bg-contact-form textarea:focus,
.bg-search-form input:focus {
  border-color: var(--bg-sage-700);
  box-shadow: 0 0 0 4px rgba(116, 133, 114, 0.12);
}

.bg-form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.bg-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.4rem 0;
}

.bg-form-consent label {
  color: var(--bg-muted);
  font-weight: 400;
}

.bg-contact-alert {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

.bg-contact-alert.is-success {
  color: var(--bg-sage-700);
  background: rgba(131, 157, 142, 0.14);
}

.bg-contact-alert.is-error {
  color: var(--bg-brand-red);
  background: rgba(139, 24, 36, 0.08);
}

/* Work page, search, pagination */
.bg-work-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.bg-work-index {
  padding: 1.25rem;
  border: 1px solid var(--bg-hairline);
  border-radius: 1rem;
  background: var(--bg-card-bg);
}

.bg-work-index p {
  color: var(--bg-action-dark);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.bg-work-index ol {
  display: grid;
  gap: 0.5rem;
  padding-left: 1rem;
  color: var(--bg-muted);
}

.bg-work-index a:hover {
  color: var(--bg-action-dark);
}

.bg-work-sections {
  display: grid;
  gap: 1rem;
}

.bg-work-cta {
  background: var(--bg-sage-700);
}

.bg-work-cta h2,
.bg-work-cta p {
  color: var(--bg-white);
}

.bg-work-cta .bg-btn {
  margin-top: 1.25rem;
}

.bg-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: var(--bg-sage-700);
  font-size: 0.78rem;
}

.bg-breadcrumbs a:hover {
  color: var(--bg-action-dark);
}

.bg-search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.navigation.pagination {
  margin-top: 2.5rem;
}

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

.page-numbers {
  min-width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg-border);
  border-radius: 999px;
  color: var(--bg-sage-700);
  background: var(--bg-white);
}

.page-numbers.current {
  color: var(--bg-white);
  background: var(--bg-action-dark);
  border-color: var(--bg-action-dark);
}

.bg-empty-state {
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.bg-empty-state--large {
  max-width: 720px;
  margin-inline: auto;
}

.bg-empty-state .bg-btn {
  margin-top: 1.25rem;
}

/* Footer */
.bg-prefooter {
  padding-block: clamp(3rem, 6vw, 5rem);
  color: var(--bg-white);
  background:
    radial-gradient(circle at 88% 20%, rgba(143, 177, 212, 0.2), transparent 24rem),
    linear-gradient(135deg, rgba(100, 121, 101, 0.98), rgba(62, 86, 65, 0.98));
}

.bg-prefooter__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.bg-prefooter h2,
.bg-prefooter h3,
.bg-prefooter .bg-eyebrow,
.bg-prefooter address,
.bg-prefooter a {
  color: var(--bg-white);
}

.bg-prefooter .bg-text-large,
.bg-prefooter .bg-text-large p,
.bg-prefooter-card__text,
.bg-prefooter-card__text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.bg-prefooter-card__text, .get-directions-link {
  margin-top: 1rem;
}

.bg-prefooter__intro {
  max-width: 640px;
}

.bg-prefooter__cards {
  display: grid;
  gap: 1rem;
}

.bg-prefooter-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.bg-prefooter-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--bg-font-body);
  font-size: 1.16rem;
  font-weight: 700;
}

.bg-prefooter-card address {
  margin-top: 1rem;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.65;
}

.bg-prefooter-contact-list {
  display: grid;
  gap: 0.55rem;
}

.bg-prefooter-contact-list p {
  margin: 0;
  font-size: 1rem;
}

.bg-prefooter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.bg-prefooter__actions .bg-btn {
  min-width: 10.5rem;
}

.bg-btn--icon {
  gap: 0.58rem;
}

.bg-btn--icon::after {
  display: none;
}

.bg-btn__icon {
  width: 1.18rem;
  height: 1.18rem;
  display: inline-flex;
  flex: 0 0 auto;
}

.bg-btn__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.bg-prefooter .bg-btn--primary {
  color: var(--bg-action-dark);
  background: var(--bg-white);
}

.bg-prefooter .bg-btn--ghost {
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.38);
}

.bg-prefooter__actions .bg-btn {
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.bg-prefooter__actions .bg-btn:hover {
  box-shadow: 0 0 0 3px rgba(129, 14, 31, 0.12);
}

.bg-prefooter__actions .bg-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.bg-prefooter__actions .bg-btn--burgundy-solid:hover {
  box-shadow: 0 0 0 3px rgba(129, 14, 31, 0.14);
}

.bg-prefooter__actions .bg-btn--burgundy-outline {
  color: var(--bg-burgundy);
  border-color: rgba(129, 14, 31, 0.38);
  background: rgba(255, 253, 249, 0.32);
}

.bg-prefooter__actions .bg-btn--burgundy-outline:hover {
  color: var(--bg-burgundy-dark);
  border-color: rgba(129, 14, 31, 0.62);
  background: rgba(255, 253, 249, 0.46);
  box-shadow: 0 0 0 3px rgba(129, 14, 31, 0.1);
}

.bg-footer {
  padding-block: clamp(3rem, 6vw, 5rem) 1.5rem;
  color: var(--bg-muted);
  background: var(--bg-sage-50);
}

.bg-footer p,
.bg-footer a {
  color: var(--bg-muted);
}

.bg-footer a:hover {
  color: var(--bg-action-dark);
}

.bg-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.bg-footer__brand p,
.bg-footer__text {
  max-width: 38ch;
  margin-top: 1rem;
}

.bg-footer__text > * {
  margin: 0;
}

.bg-footer__text > * + * {
  margin-top: 0.55rem;
}

.bg-footer__logo-image,
.bg-footer__brand .custom-logo {
  width: auto;
  max-width: 8.5rem;
  max-height: 8.5rem;
  object-fit: contain;
  opacity: 0.92;
}

.bg-footer__title {
  color: var(--bg-burgundy);
  font-family: var(--bg-font-accent);
  font-size: 1.76rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
  margin-bottom: 0;
}

.bg-footer__nav,
.bg-footer-menu,
.bg-footer__contact {
  display: grid;
  gap: 0.88rem;
  align-content: start;
}

.bg-footer__nav .bg-footer-menu {
  gap: 0.88rem;
}

.bg-footer-menu li {
  margin: 0;
  line-height: 1.22;
}

.bg-footer-menu a,
.bg-footer__contact > a {
  display: block;
  margin: 0;
  line-height: 1.22;
  padding-block: 0;
}

.bg-footer__socials {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-top: 0.35rem;
}

.bg-footer__socials a {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(100, 121, 101, 0.22);
  border-radius: 999px;
  color: var(--bg-action-dark);
  background: rgba(255, 253, 249, 0.48);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.bg-footer__socials a:hover {
  color: var(--bg-burgundy);
  border-color: rgba(129, 14, 31, 0.34);
  background: rgba(255, 253, 249, 0.78);
}

.bg-footer__socials svg {
  width: 1.38rem;
  height: 1.38rem;
  fill: currentColor;
}

.bg-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bg-rule);
  font-size: 0.93rem;
}

.bg-footer__bottom p,
.bg-footer__bottom a {
  font-size: 0.93rem;
}

.bg-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive */
@media (min-width: 48rem) {
  .bg-home h1 {
    font-size: 3.2rem;
  }

  .bg-home h2,
  .bg-page-hero h1 {
    font-size: 2.72rem;
  }

  .bg-post-card h3 {
    font-size: 1.4rem;
  }

  .bg-footer__title {
    font-size: 2.22rem;
  }

  .bg-category-card h3,
  .bg-sidebar-categories__title {
    font-size: 2.1rem !important;
  }

  .bg-archive .bg-page-hero h1,
  .bg-blog-index .bg-page-hero h1,
  .bg-page-layout--static .bg-page-hero h1,
  .bg-single-hero h1 {
    font-size: clamp(2.72rem, 4.6vw, 3.2rem);
  }

  .bg-focus__grid,
  .bg-process__grid,
  .bg-areas__grid,
  .bg-post-grid,
  .bg-post-grid--archive,
  .bg-blog-preview .bg-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bg-location__inner,
  .bg-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .bg-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 64rem) {
  .bg-hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
  }

  .bg-single-grid {
    grid-template-columns: minmax(0, 3fr) minmax(270px, 1fr);
  }

  .bg-single-sidebar {
    position: sticky;
    top: calc(var(--bg-header-height) + 1.5rem);
  }

  .bg-approach .bg-split {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  }

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

  .bg-post-grid,
  .bg-post-grid--archive,
  .bg-blog-preview .bg-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bg-blog-index .bg-post-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bg-prefooter__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    align-items: start;
  }

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

  .bg-contact-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  }

  .bg-work-layout {
    grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  }

  .bg-work-index {
    position: sticky;
    top: calc(var(--bg-header-height) + 1.5rem);
  }

  .bg-footer__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(160px, 0.6fr) minmax(240px, 0.8fr);
  }
}

@media (max-width: 63.99rem) {
  .bg-focus-card h2,
  .bg-step-card h3 {
    font-size: 1.72rem !important;
  }

  .bg-approach .bg-split {
    gap: clamp(1.5rem, 5vw, 2.4rem);
  }

  .bg-approach .bg-split__content {
    order: 1;
    padding-bottom: 0;
  }

  .bg-approach .bg-split__media {
    order: 2;
    justify-content: center;
  }

  .bg-approach .bg-organic-media {
    margin-bottom: -1px;
  }

  .bg-approach .bg-approach-logo-media {
    width: min(100%, 260px);
    margin: 0 auto;
  }

  .bg-media-stage--about {
    width: min(100%, 430px);
  }

  .bg-about-logo {
    right: clamp(1rem, 5vw, 2.4rem);
    bottom: clamp(0.5rem, 1.8vw, 1.15rem);
    width: clamp(5.4rem, 12vw, 6.7rem);
  }
}

@media (max-width: 58rem) {
  :root {
    --bg-header-height: 4.75rem;
  }

  .bg-main:not(.bg-home) {
    padding-top: calc(var(--bg-header-height) + 1.5rem);
  }

  .bg-header,
  .bg-header__inner {
    height: 4.75rem;
    min-height: 4.75rem;
  }

  .bg-brand__logo,
  .custom-logo {
    max-width: 3.8rem;
    max-height: 3.8rem;
  }

  .bg-brand__text {
    display: none;
  }

  .bg-menu-toggle {
    display: inline-flex;
  }

  .bg-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    height: calc(100dvh - var(--bg-header-height));
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
    overflow-y: auto;
    padding: clamp(1.5rem, 7vw, 2.25rem);
    background: rgba(255, 253, 249, 0.98);
    border-top: 1px solid var(--bg-border);
    box-shadow: 0 22px 44px rgba(35, 35, 31, 0.08);
  }

  .bg-home h1,
  .bg-home h2 {
    font-size: 2.5rem;
  }

  .bg-mobile-br,
  .bg-br-mobile {
    display: block;
  }

  .bg-prefooter h2 {
    font-size: 2.5rem;
  }

  .bg-archive .bg-page-hero h1,
  .bg-blog-index .bg-page-hero h1,
  .bg-page-layout--static .bg-page-hero h1,
  .bg-single-hero h1 {
    font-size: clamp(2.52rem, 8vw, 3.2rem);
  }

  .bg-footer__title {
    font-size: 2.05rem;
  }

  .bg-nav.is-open {
    display: flex;
  }

  .bg-menu {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    font-size: 0.93rem;
  }

  .bg-header__cta {
    width: fit-content;
    margin-top: 0;
  }

  .bg-hero-card {
    width: min(100%, 480px);
    margin-inline: auto;
    aspect-ratio: 1;
  }

  .bg-media-ornament {
    opacity: 0.32;
  }

  .bg-media-ornament--hero {
    width: clamp(9.5rem, 36vw, 14rem);
    height: clamp(17rem, 68vw, 25rem);
    right: -3.1rem;
    top: 54%;
    transform: translateY(-50%);
  }

  .bg-approach .bg-split {
    gap: clamp(2.1rem, 8vw, 3rem);
  }

  .bg-approach .bg-split__content {
    order: 1;
    padding-bottom: 0;
  }

  .bg-approach .bg-split__media {
    order: 2;
    align-self: auto;
    min-height: 0;
  }

  .bg-approach .bg-organic-media {
    width: min(100%, 390px);
    margin: 0 auto -1px;
    max-height: none;
    aspect-ratio: 0.82;
  }

  .bg-approach .bg-approach-logo-media {
    width: min(100%, 235px);
    margin: 0 auto;
    max-height: none;
    aspect-ratio: 1;
  }

  .bg-portrait-card {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .bg-media-stage--about {
    width: min(100%, 360px);
  }

  .bg-about-logo {
    right: clamp(2rem, 2vw, 0.9rem);
    bottom: clamp(0.2rem, 1.5vw, 0.65rem);
    width: clamp(5.8rem, 24vw, 7rem);
  }
}

@media (max-width: 38rem) {
  .bg-focus-card h2,
  .bg-step-card h3 {
    font-size: 1.58rem !important;
  }
}
