/* VHB Portfolio — live-style layout */
body.single-portfolio .main-wrapper,
body.single-portfolio .page-wrapper {
  background: #fff !important;
}

/* Portfolio singles: full-width page canvas */
body.single-portfolio .sections-container,
body.vhb-portfolio-layout .sections-container,
body.single-portfolio .main-wrapper,
body.vhb-portfolio-layout .main-wrapper,
body.single-portfolio .page-wrapper,
body.vhb-portfolio-layout .page-wrapper {
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
}

/* Gallery fade-in (CSS-grid fallback only; isotope uses Uncode alpha-anim) */
.vhb-portfolio-masonry .vhb-gallery-item.vhb-reveal {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  will-change: opacity, transform;
}
.vhb-portfolio-masonry .vhb-gallery-item.vhb-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .vhb-portfolio-masonry .vhb-gallery-item.vhb-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
  }
}

.vhb-portfolio-single {
  background: #fff;
  padding-bottom: 0;
  width: 100%;
  max-width: none;
}
.vhb-portfolio-single section {
  width: 100%;
  max-width: none;
}
/* Kill Uncode transparent-menu opacity flicker on portfolio */
@media (min-width: 960px) {
  body.vhb-portfolio-layout:not(.navbar-hover) .menu-wrapper:not(.no-header) #masthead.menu-transparent.style-dark-original:not(.is_stuck),
  body.vhb-portfolio-layout:not(.navbar-hover) .menu-wrapper:not(.no-header) #masthead.menu-transparent.style-dark-original:not(.is_stuck) > *,
  body.vhb-portfolio-layout .menu-wrapper:not(.no-header) #masthead.menu-transparent:not(.is_stuck),
  body.vhb-portfolio-layout .menu-wrapper:not(.no-header) #masthead.menu-transparent:not(.is_stuck) > * {
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    background: transparent !important;
    background-color: transparent !important;
  }
}
/*
 * Collapse the menu row so the hero starts at the top of the page and the
 * absolute nav overlays it (otherwise white page canvas shows as a "white nav").
 */
body.vhb-portfolio-layout .menu-wrapper {
  display: block !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: visible !important;
  position: relative;
  z-index: 200;
  background: transparent !important;
}
body.vhb-portfolio-layout #masthead.menu-absolute,
body.vhb-portfolio-layout #masthead {
  position: absolute !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100% !important;
  z-index: 200;
}
/* Tighten vertical padding so logo sits closer to the top edge */
body.vhb-portfolio-layout #masthead:not(.is_stuck) .menu-container,
body.vhb-portfolio-layout #masthead:not(.is_stuck) .row-menu-inner,
body.vhb-portfolio-layout #masthead:not(.is_stuck) .row-menu {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.vhb-portfolio-layout #masthead:not(.is_stuck) .logo-container,
body.vhb-portfolio-layout #masthead:not(.is_stuck) .main-menu-container {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
/* Transparent nav over hero — kill solid accent bar */
body.vhb-portfolio-layout #masthead:not(.is_stuck),
body.vhb-portfolio-layout #masthead:not(.is_stuck) .menu-container,
body.vhb-portfolio-layout #masthead:not(.is_stuck) .menu-container.style-accent-bg,
body.vhb-portfolio-layout #masthead:not(.is_stuck) .menu-container .row-menu,
body.vhb-portfolio-layout #masthead:not(.is_stuck) .menu-container .row-brand,
body.vhb-portfolio-layout #masthead:not(.is_stuck) .navbar-header,
body.vhb-portfolio-layout #masthead:not(.is_stuck) .row-menu-inner,
body.vhb-portfolio-layout #masthead:not(.is_stuck) .logo-container {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
  opacity: 1 !important;
}
body.vhb-portfolio-layout #masthead.menu-transparent.is_stuck .menu-container.style-accent-bg,
body.vhb-portfolio-layout #masthead.is_stuck .menu-container.style-accent-bg {
  background-color: #502c6d !important;
}
html body.vhb-portfolio-layout #masthead.menu-transparent.menu-dark:not(.is_stuck):not(.is_mobile_open) .menu-smart > li > a,
html body.vhb-portfolio-layout #masthead.menu-dark:not(.is_stuck):not(.is_mobile_open) .menu-smart > li > a {
  color: #fff !important;
}
body.vhb-portfolio-layout #masthead.is_stuck.menu-transparent.menu-dark .menu-smart > li > a,
body.vhb-portfolio-layout #masthead.is_stuck.menu-dark .menu-smart > li > a {
  color: #fff !important;
}
/* Page canvas white below the hero (not behind the nav strip) */
body.vhb-portfolio-layout .main-wrapper,
body.vhb-portfolio-layout .page-body,
body.vhb-portfolio-layout .sections-container,
body.vhb-portfolio-layout .page-wrapper {
  background: #fff !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.vhb-portfolio-layout .vhb-portfolio-single {
  margin-top: 0;
}
/* Hero fade-in on load */
.vhb-portfolio-hero {
  position: relative;
  width: 100%;
  max-width: none;
  height: 50vh;
  min-height: 280px;
  max-height: 640px;
  overflow: hidden;
  background-color: #111;
  margin-top: 0;
}
.vhb-portfolio-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(96px, 18vh, 160px);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
}
.vhb-portfolio-hero-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: var(--vhb-hero-pos, center center) !important;
  opacity: 0;
  transition: opacity 0.85s ease;
}
.vhb-portfolio-hero.is-visible .vhb-portfolio-hero-img,
.vhb-portfolio-hero.vhb-hero-in .vhb-portfolio-hero-img {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .vhb-portfolio-hero-img {
    opacity: 1 !important;
    transition: none !important;
  }
}
.vhb-portfolio-intro { padding: 56px 0 48px; }
.vhb-portfolio-intro-inner {
  max-width: 1140px !important;
  margin: 0 auto;
  padding: 0 36px;
}
.vhb-portfolio-title {
  font-family: 'Campton-Bold', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #303133;
  margin: 0 0 20px;
  line-height: 1.1;
}
.vhb-portfolio-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(160px, 0.65fr);
  gap: 32px 56px;
  align-items: start;
}
/* ROLE label — match All / By type tab type */
.vhb-portfolio-single .vhb-portfolio-meta-label,
.vhb-portfolio-meta-label {
  margin: 0 0 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2;
  height: auto;
  text-transform: uppercase;
  color: #111 !important;
}
.vhb-portfolio-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #303133;
  max-width: 40rem;
}
.vhb-portfolio-lead p { margin: 0 0 1em; }
.vhb-portfolio-lead p:last-child { margin-bottom: 0; }
.vhb-portfolio-roles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0.65em;
}
.vhb-portfolio-role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.vhb-portfolio-role-item {
  margin: 0 0 4px;
}
.vhb-portfolio-role-item a {
  display: inline-block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 19px;
  font-weight: 700;
  height: 22.8px;
  line-height: 22.8px;
  letter-spacing: normal;
  text-transform: uppercase;
  text-decoration: none !important;
  color: #111 !important;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.vhb-portfolio-role-item a:hover,
.vhb-portfolio-role-item a:focus {
  color: #8200ff !important;
  border-bottom-color: #8200ff;
}
.vhb-portfolio-role-list.is-collapsible:not(.is-expanded) .vhb-portfolio-role-item.is-extra {
  display: none;
}
.vhb-portfolio-roles-more {
  margin: 2px 0 0;
  padding: 0;
  border: none;
  background: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8200ff;
  cursor: pointer;
}
.vhb-portfolio-roles-more:hover,
.vhb-portfolio-roles-more:focus {
  color: #6b00d6;
}
.vhb-portfolio-visit {
  margin-top: 22px;
}
.vhb-portfolio-visit-btn {
  display: inline-block;
  background: #8200ff;
  color: #fff !important;
  font-family: 'Campton-Bold', sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: none;
  border-radius: 0;
  padding: 12px 24px;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}
.vhb-portfolio-visit-btn:hover,
.vhb-portfolio-visit-btn:focus {
  background: #6b00d6;
  color: #fff !important;
}
@media (max-width: 767px) {
  .vhb-portfolio-meta {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .vhb-portfolio-roles {
    padding-top: 0;
  }
  .vhb-portfolio-intro-inner {
    padding: 0 20px;
  }
}
.vhb-portfolio-gallery-wrap {
  padding: 0 0 72px;
  width: 100%;
  max-width: none;
  overflow: hidden;
}
.vhb-portfolio-gallery-wrap .vhb-portfolio-gallery,
.vhb-portfolio-gallery-wrap .vhb-portfolio-masonry {
  width: 100%;
  max-width: none;
}
.vhb-portfolio-gallery { width: 100%; max-width: 100%; }
.vhb-portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
@media (max-width: 960px) { .vhb-portfolio-masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vhb-portfolio-masonry { grid-template-columns: 1fr; } }
.vhb-gallery-item { margin: 0; padding: 0; overflow: hidden; }
.vhb-gallery-item .t-entry-visual, .vhb-gallery-item .t-entry-visual-cont { margin: 0; padding: 0; }
.vhb-gallery-item img { width: 100%; height: auto; display: block; }
/* Uncode .tmb anchors are position:absolute; without ratio dummy the grid collapses to 0 height */
.vhb-portfolio-masonry .vhb-gallery-item.tmb .t-entry-visual,
.vhb-portfolio-masonry .vhb-gallery-item.tmb .t-entry-visual-cont {
  position: relative;
  height: auto;
  width: 100%;
}
.vhb-portfolio-masonry .vhb-gallery-item.tmb .t-entry-visual-cont > a,
.vhb-portfolio-masonry .vhb-gallery-item.tmb .t-entry-visual .pushed {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.vhb-portfolio-masonry .vhb-gallery-item.tmb .t-entry-visual img {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  display: block;
}

.vhb-gallery-item a { display: block; line-height: 0; }

/* -------------------------------------------------------------------------
 * Type pages — white canvas + solid (normal) nav
 * ---------------------------------------------------------------------- */
body.vhb-type-layout,
body.vhb-type-layout .page-body,
body.vhb-type-layout .sections-container,
body.vhb-type-layout .main-wrapper,
body.vhb-type-layout .page-wrapper {
  background: #fff !important;
}
/* Solid purple nav on white type/contact-style pages (override any transparent leftovers) */
body.vhb-solid-nav .menu-wrapper {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  position: relative !important;
}
body.vhb-solid-nav #masthead,
body.vhb-solid-nav #masthead.menu-absolute {
  position: relative !important;
  top: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.vhb-solid-nav .menu-wrapper:not(.no-header) #masthead.menu-transparent.style-dark-original:not(.is_stuck),
body.vhb-solid-nav .menu-wrapper:not(.no-header) #masthead.menu-transparent.style-dark-original:not(.is_stuck) > *,
body.vhb-solid-nav .menu-wrapper:not(.no-header) #masthead.menu-transparent:not(.is_stuck),
body.vhb-solid-nav .menu-wrapper:not(.no-header) #masthead.menu-transparent:not(.is_stuck) > * {
  opacity: 1 !important;
  visibility: visible !important;
}
body.vhb-solid-nav #masthead .menu-container,
body.vhb-solid-nav #masthead .menu-container.style-accent-bg {
  background-color: #502c6d !important;
  background: #502c6d !important;
  opacity: 1 !important;
}
body.vhb-solid-nav #masthead .menu-smart > li > a {
  color: #fff !important;
}

.vhb-type-page {
  background: #fff;
  color: #111;
  min-height: 50vh;
  padding: 0 0 80px;
  width: 100%;
  max-width: none;
}
.vhb-type-page.vhb-type-hub {
  /* Small gap above footer (grid stays full-bleed horizontally) */
  padding-bottom: 24px;
}

/* SEO-only titles on type pages (tabs act as visible title) */
.vhb-type-hero--sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Hub: match Work / All — full-bleed 3-col, no gutters */
.vhb-type-hub .vhb-work-tabs {
  padding: 28px 18px 8px;
}
.vhb-type-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media (max-width: 959px) {
  .vhb-type-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 569px) {
  .vhb-type-hub-grid { grid-template-columns: 1fr; }
}
.vhb-type-hub-tile {
  --vhb-tint: 36, 32, 48;
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none !important;
  background: #111;
  color: #fff;
}
/* Match Work / All fade-up */
.vhb-type-hub-tile.vhb-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
.vhb-type-hub-tile.vhb-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .vhb-type-hub-tile.vhb-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.vhb-type-hub-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  margin: 0 !important;
  max-width: none !important;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 0.55s ease;
}
.vhb-type-hub-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Image-derived tint + soft dark wash — unique per tile, not one purple slab */
  background:
    linear-gradient(
      160deg,
      rgba(var(--vhb-tint), 0.78) 0%,
      rgba(var(--vhb-tint), 0.42) 48%,
      rgba(10, 8, 14, 0.55) 100%
    );
  opacity: 1;
  transition: opacity 0.4s ease;
}
.vhb-type-hub-title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.25rem;
  text-align: center;
  color: #fff !important;
  text-transform: uppercase;
  font-family: 'Campton-Bold', system-ui, sans-serif !important;
  font-size: clamp(1.05rem, 2vw, 1.45rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.vhb-type-hub-tile:hover .vhb-type-hub-scrim,
.vhb-type-hub-tile:focus-visible .vhb-type-hub-scrim {
  opacity: 0;
}
.vhb-type-hub-tile:hover .vhb-type-hub-title,
.vhb-type-hub-tile:focus-visible .vhb-type-hub-title {
  opacity: 0;
  transform: translateY(6px);
}
.vhb-type-hub-tile:hover .vhb-type-hub-img,
.vhb-type-hub-tile:focus-visible .vhb-type-hub-img {
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .vhb-type-hub-img,
  .vhb-type-hub-scrim,
  .vhb-type-hub-title {
    transition: none;
  }
  .vhb-type-hub-tile:hover .vhb-type-hub-img,
  .vhb-type-hub-tile:focus-visible .vhb-type-hub-img {
    transform: none;
  }
}

/* Type term intro — same title/lead as portfolio when present */
.vhb-type-term .vhb-portfolio-intro {
  padding: 40px 0 32px;
}
.vhb-type-term .vhb-type-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
}
.vhb-type-term .vhb-type-kicker a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}
.vhb-type-term .vhb-type-kicker a:hover {
  color: #8200ff;
  border-bottom-color: #8200ff;
}
.vhb-type-term .vhb-portfolio-about {
  max-width: 40rem;
}
.vhb-type-term.has-type-hero .vhb-work-tabs {
  /* Tabs sit on white below hero (nav is transparent over hero). */
  margin-top: 0;
}

/* Term gallery — match portfolio page half-gutter / full-bleed spacing */
.vhb-type-page.vhb-type-term {
  padding: 0 0 72px;
}
.vhb-type-term .vhb-work-tabs {
  padding: 24px 18px 8px;
  justify-content: center;
}
.vhb-type-term-gallery,
body.vhb-type-layout .vhb-type-term .vhb-portfolio-gallery-wrap {
  padding: 0 18px 72px !important;
  width: 100% !important;
  max-width: none !important;
  overflow: hidden;
}
body.vhb-type-layout .vhb-type-term .vhb-portfolio-gallery,
body.vhb-type-layout .vhb-type-term .vhb-portfolio-masonry {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.vhb-type-layout .vhb-type-term .vhb-portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 960px) {
  body.vhb-type-layout .vhb-type-term .vhb-portfolio-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  body.vhb-type-layout .vhb-type-term .vhb-portfolio-masonry {
    grid-template-columns: 1fr;
  }
  .vhb-type-term-gallery,
  body.vhb-type-layout .vhb-type-term .vhb-portfolio-gallery-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
.vhb-type-term .vhb-portfolio-masonry .vhb-gallery-item .t-overlay-wrap,
.vhb-type-term .vhb-portfolio-masonry .vhb-gallery-item .t-entry-visual-overlay {
  display: none !important;
}
.vhb-type-term .vhb-portfolio-masonry .vhb-gallery-item a.pushed:hover img,
.vhb-type-term .vhb-portfolio-masonry .vhb-gallery-item a.pushed:focus img {
  transform: none;
  filter: none;
}

/* legacy unused waterfall kept for safety */
.vhb-type-empty {
  padding: 48px 24px;
  max-width: 40rem;
  margin: 0 auto;
  color: #666;
  text-align: center;
}
.vhb-type-term-grid,
.vhb-type-waterfall {
  display: none;
}

/* legacy type list/grid kept unused */
.vhb-type-intro { max-width: 40rem; color: #555; margin: 0 0 1.5rem; }
.vhb-type-list { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.vhb-type-list a { text-decoration: none; color: #111; font-weight: 600; }
.vhb-type-count { color: #888; font-weight: 400; }
.vhb-type-media-grid { display: none; }

.vhb-portfolio-link {
  margin-top: 1.25rem;
}
.vhb-portfolio-link a {
  color: #8200ff;
  font-weight: 600;
  text-decoration: none;
}

.vhb-work-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: none;
  margin: 0 auto;
  padding: 28px 18px 8px;
  border-bottom: none;
}
.vhb-work-tab {
  display: inline-block;
  padding: 10px 22px 12px;
  margin-bottom: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: #777 !important;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.vhb-work-tab:hover {
  color: #111 !important;
}
.vhb-work-tab.is-active {
  color: #111 !important;
  border-bottom-color: #8200ff;
}
/* Hide leftover intro paragraph if still in page content */
.vhb-work-type-nav {
  display: none !important;
}

/* SEO content pages — readable, on-brand, solid purple nav already via body class hooks */
.vhb-seo-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 48px 24px 80px;
  color: #303133;
}
.vhb-seo-page .vhb-seo-kicker {
  margin: 0 0 12px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}
.vhb-seo-page h1 {
  font-family: 'Campton-Bold', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #111;
}
.vhb-seo-page h2 {
  font-family: 'Campton-Bold', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2rem 0 0.75rem;
  color: #111;
}
.vhb-seo-page p,
.vhb-seo-page li {
  font-size: 16px;
  line-height: 1.7;
}
.vhb-seo-page a {
  color: #8200ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(130, 0, 255, 0.35);
}
.vhb-seo-page a:hover {
  border-bottom-color: #8200ff;
}
.vhb-seo-page .vhb-seo-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 12px 22px;
  background: #8000ff;
  color: #fff !important;
  border: none;
  border-bottom: none !important;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.vhb-seo-page .vhb-seo-cta:hover {
  background: #6b00d6;
}

body.single-portfolio .vhb-gallery-full-bleed,
body.vhb-portfolio-layout .vhb-gallery-full-bleed {
  max-width: none !important;
  width: 100% !important;
}
body.single-portfolio .vhb-portfolio-gallery-wrap .vhb-gallery-full-bleed.row-parent,
body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .vhb-gallery-full-bleed.row-parent {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/*
 * Gallery must be full-bleed. Uncode caps width via .limit-width { max-width: 1200px }
 * (inline in wp_head). Target row-parent with OR without that class.
 */
body.single-portfolio .vhb-portfolio-gallery-wrap .row-container,
body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .row-container,
body.single-portfolio .vhb-portfolio-gallery-wrap .row-parent,
body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .row-parent,
body.single-portfolio .row-parent.limit-width:has(.isotope-system),
body.vhb-portfolio-layout .row-parent.limit-width:has(.isotope-system),
body.single-portfolio .row-parent.limit-width:has(.isotope-container),
body.vhb-portfolio-layout .row-parent.limit-width:has(.isotope-container) {
  max-width: none !important;
  width: 100% !important;
}
body.single-portfolio .vhb-portfolio-gallery-wrap > .row-container > .row-parent,
body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap > .row-container > .row-parent {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Full-bleed Uncode isotope gallery — live uses half-gutter (~18px between tiles) */
.vhb-portfolio-gallery-wrap .isotope-system,
.vhb-portfolio-gallery-wrap .isotope-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.vhb-portfolio-gallery-wrap .isotope-wrapper.half-gutter {
  padding-left: 18px !important;
  padding-right: 18px !important;
  box-sizing: border-box;
}
/* Portfolio isotope fade-in — animation class lives on .tmb, not .t-inside */
body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .isotope-container .tmb.animate_when_almost_visible,
body.single-portfolio .vhb-portfolio-gallery-wrap .isotope-container .tmb.animate_when_almost_visible,
body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .isotope-container .tmb.vhb-will-fade,
body.single-portfolio .vhb-portfolio-gallery-wrap .isotope-container .tmb.vhb-will-fade {
  opacity: 0 !important;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.55s ease, transform 0.55s ease !important;
}
body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .isotope-container .tmb.animate_when_almost_visible.start_animation,
body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .isotope-container .tmb.animate_when_almost_visible.is-revealed,
body.single-portfolio .vhb-portfolio-gallery-wrap .isotope-container .tmb.animate_when_almost_visible.start_animation,
body.single-portfolio .vhb-portfolio-gallery-wrap .isotope-container .tmb.animate_when_almost_visible.is-revealed,
body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .isotope-container .tmb.vhb-will-fade.is-revealed,
body.single-portfolio .vhb-portfolio-gallery-wrap .isotope-container .tmb.vhb-will-fade.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0);
}
/* Prefer smooth opacity even if Uncode keyframes are blocked */
body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .isotope-container .tmb.alpha-anim.start_animation,
body.single-portfolio .vhb-portfolio-gallery-wrap .isotope-container .tmb.alpha-anim.start_animation {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .isotope-container .tmb.animate_when_almost_visible,
  body.single-portfolio .vhb-portfolio-gallery-wrap .isotope-container .tmb.animate_when_almost_visible,
  body.vhb-portfolio-layout .vhb-portfolio-gallery-wrap .isotope-container .tmb.vhb-will-fade,
  body.single-portfolio .vhb-portfolio-gallery-wrap .isotope-container .tmb.vhb-will-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.vhb-portfolio-single .post-after,
.vhb-type-term .post-after {
  margin-top: 0;
  text-align: center;
}
.vhb-portfolio-single .post-after .heading-text,
.vhb-portfolio-single .post-after .t-entry-title,
.vhb-portfolio-single .post-after .owl-carousel-wrapper,
.vhb-type-term .post-after .heading-text,
.vhb-type-term .post-after .t-entry-title,
.vhb-type-term .post-after .owl-carousel-wrapper {
  text-align: center;
}
.vhb-portfolio-single .post-after .owl-carousel-container,
.vhb-type-term .post-after .owl-carousel-container {
  margin-left: auto;
  margin-right: auto;
}

/* Bottom sections: related works uses content grid; nav stays full width */
body.single-portfolio .post-after.row-container,
body.vhb-portfolio-layout .post-after.row-container,
body.vhb-type-layout .post-after.row-container,
body.single-portfolio .post-after > .row-container,
body.vhb-portfolio-layout .post-after > .row-container,
body.single-portfolio .row-navigation.row-container,
body.vhb-portfolio-layout .row-navigation.row-container {
  width: 100%;
  max-width: 100%;
}
body.single-portfolio .post-after .row-parent.limit-width,
body.vhb-portfolio-layout .post-after .row-parent.limit-width,
body.vhb-type-layout .post-after .row-parent.limit-width {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 36px !important;
  padding-right: 36px !important;
  box-sizing: border-box;
}
body.single-portfolio .row-navigation .row-parent.limit-width,
body.vhb-portfolio-layout .row-navigation .row-parent.limit-width {
  max-width: none !important;
  width: 100% !important;
}
.vhb-portfolio-single .post-after .column_parent.align_center .uncont,
.vhb-type-term .post-after .column_parent.align_center .uncont {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vhb-portfolio-single .post-after .heading-text,
.vhb-type-term .post-after .heading-text {
  text-align: center !important;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Related Works carousel — 3 visible, centered in 1200px content grid */
.vhb-portfolio-single .post-after .owl-carousel-wrapper,
.vhb-portfolio-single .post-after .owl-carousel-container,
.vhb-type-term .post-after .owl-carousel-wrapper,
.vhb-type-term .post-after .owl-carousel-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
@media (min-width: 960px) {
  .vhb-portfolio-single .post-after .owl-carousel-container.single-gutter,
  .vhb-type-term .post-after .owl-carousel-container.single-gutter {
    padding-left: 36px;
    padding-right: 36px;
    box-sizing: border-box;
  }
}

.vhb-portfolio-single .post-after .owl-carousel .t-entry-title,
.vhb-type-term .post-after .owl-carousel .t-entry-title {
  text-align: center;
}

/* Related Works — uniform cropped thumbnails */
.vhb-portfolio-single .post-after .owl-carousel .t-entry-visual-cont,
.vhb-type-term .post-after .owl-carousel .t-entry-visual-cont {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  height: auto !important;
}
.vhb-portfolio-single .post-after .owl-carousel .t-entry-visual-cont .dummy,
.vhb-type-term .post-after .owl-carousel .t-entry-visual-cont .dummy {
  display: none !important;
}
.vhb-portfolio-single .post-after .owl-carousel .t-entry-visual-cont > a.pushed,
.vhb-type-term .post-after .owl-carousel .t-entry-visual-cont > a.pushed {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.vhb-portfolio-single .post-after .owl-carousel .t-entry-visual-cont img,
.vhb-type-term .post-after .owl-carousel .t-entry-visual-cont img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
}

/* Related Works — tighter title + dot spacing */
.vhb-portfolio-single .post-after .owl-carousel .t-entry-text .t-entry-text-tc.single-block-padding,
.vhb-type-term .post-after .owl-carousel .t-entry-text .t-entry-text-tc.single-block-padding {
  padding: 10px 0 0 !important;
}
.vhb-portfolio-single .post-after .owl-carousel .t-entry-title,
.vhb-type-term .post-after .owl-carousel .t-entry-title {
  margin: 0;
}
.vhb-portfolio-single .post-after .owl-carousel.owl-dots-outside[data-dots="true"],
.vhb-type-term .post-after .owl-carousel.owl-dots-outside[data-dots="true"] {
  margin-bottom: 28px !important;
}
.vhb-portfolio-single .post-after .owl-carousel.owl-dots-outside .owl-dots,
.vhb-type-term .post-after .owl-carousel.owl-dots-outside .owl-dots {
  padding-top: 6px !important;
  bottom: -28px !important;
}
.vhb-portfolio-single .post-after .owl-carousel-container,
.vhb-type-term .post-after .owl-carousel-container {
  padding-bottom: 0 !important;
}

/* Related works — match portfolio post-after (1200px + 36px sides, no extra inset) */
.vhb-related-fallback-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.vhb-related-heading {
  /* Match Uncode Related Posts block: h5 + fontsize-160000 + font-762333 */
  font-family: 'Campton-Bold', Poppins, system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.2em;
  margin: 0 0 28px;
  color: #303133;
}
.vhb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .vhb-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vhb-related-grid { grid-template-columns: 1fr; } }
.vhb-related-item a { display: block; text-decoration: none; color: inherit; }
.vhb-related-item .vhb-related-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.vhb-related-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s ease;
}
.vhb-related-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #8000ff;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.vhb-related-plus {
  position: relative;
  width: 22px;
  height: 22px;
}
.vhb-related-plus::before,
.vhb-related-plus::after {
  content: '';
  position: absolute;
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.vhb-related-plus::before {
  width: 22px;
  height: 2px;
}
.vhb-related-plus::after {
  width: 2px;
  height: 22px;
}
.vhb-related-item a:hover .vhb-related-overlay,
.vhb-related-item a:focus .vhb-related-overlay {
  opacity: 0.9;
}
.vhb-related-item a:hover .vhb-related-thumb img,
.vhb-related-item a:focus .vhb-related-thumb img {
  transform: none;
}
.vhb-related-title {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  text-align: center;
  color: #303133;
}
.post-after .owl-carousel .vhb-related-item {
  padding: 0 9px;
  box-sizing: border-box;
}
/* Type-term related: same content width as portfolio singles */
body.vhb-type-layout .vhb-type-term .post-after .row-parent.limit-width {
  max-width: 1200px !important;
  padding-left: 36px !important;
  padding-right: 36px !important;
}

/* Lightbox captions — white on dark overlay, quiet brand link */
.ilightbox-holder .ilightbox-container .ilightbox-caption,
.ilightbox-holder.white .ilightbox-container .ilightbox-caption,
.ilightbox-holder.black .ilightbox-container .ilightbox-caption {
  color: #fff !important;
  background: transparent !important;
  font-family: 'Campton-Book', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 12px 6px;
  line-height: 1.4;
}
.ilightbox-holder .ilightbox-container .ilightbox-caption .vhb-lb-label {
  display: block;
  margin-bottom: 4px;
  font-family: 'Campton-Book', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.65);
}
.ilightbox-holder .ilightbox-container .ilightbox-caption a,
.ilightbox-holder .ilightbox-container .ilightbox-caption a.vhb-lb-project {
  color: #fff !important;
  font-family: 'Campton-Book', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ilightbox-holder .ilightbox-container .ilightbox-caption a:hover,
.ilightbox-holder .ilightbox-container .ilightbox-caption a:focus,
.ilightbox-holder .ilightbox-container .ilightbox-caption a.vhb-lb-project:hover,
.ilightbox-holder .ilightbox-container .ilightbox-caption a.vhb-lb-project:focus {
  color: #c48fff !important;
  border-bottom-color: #8000ff;
}
