@charset "UTF-8";
/*==========================================================================
  THE BREW MEDIA — PREMIUM DARK DESIGN SYSTEM
  --------------------------------------------------------------------------
  Loaded last, after vendor/css/main.css. Purely additive: it re-skins the
  existing Agntix component set without altering markup, layout or behaviour.

  Structure
    01. Design tokens
    02. Global canvas & typography
    03. Surface levels (sections, cards, elevation)
    04. Header, navigation & dropdowns
    05. Offcanvas / mobile navigation
    06. Buttons & CTAs
    07. Links, arrows & icon controls
    08. Editorial content: hero, about, services, work, steps
    09. Cards & grids: projects, blog, team, case studies
    10. Testimonials, brand strip & marquees
    11. Blog index / search / pagination / 404 (uncompiled-utility fallback)
    12. Forms, inputs & validation (incl. autofill)
    13. Footer & copyright
    14. Images & media treatment
    15. Focus, accessibility & reduced motion
    16. Responsive refinements
==========================================================================*/

/*--------------------------------------------------------------
  01. DESIGN TOKENS
--------------------------------------------------------------*/
:root {
  /* Surface ladder — dominant black, four restrained steps */
  --bm-bg:            #0A0A0B;  /* page canvas — deep black          */
  --bm-bg-alt:        #101012;  /* alternating section — near-black  */
  --bm-surface:       #16161A;  /* cards / panels — charcoal         */
  --bm-surface-2:     #1D1D22;  /* elevated / hovered card           */
  --bm-surface-3:     #26262C;  /* inset chips, thumbs, tags         */

  /* Borders — low contrast, never louder than the content */
  --bm-border:        rgba(255, 255, 255, 0.08);
  --bm-border-strong: rgba(255, 255, 255, 0.14);
  --bm-border-accent: rgba(246, 152, 28, 0.38);

  /* Typography */
  --bm-text:          #F4F3F1;  /* primary — soft white, not #fff    */
  --bm-text-2:        rgba(244, 243, 241, 0.64); /* secondary        */
  /* 0.55 is the lowest alpha that still clears 4.5:1 on every surface
     level in the ladder above — do not lower it. */
  --bm-text-3:        rgba(244, 243, 241, 0.55); /* meta / captions  */
  --bm-text-invert:   #0A0A0B;  /* text sitting on orange/white      */

  /* Brand accent — Brew Media orange, used with restraint */
  --bm-accent:        #F6981C;
  --bm-accent-hi:     #FFAE3E;  /* hover / brighter step             */
  --bm-accent-lo:     #C7770F;  /* pressed / active                  */
  --bm-accent-soft:   rgba(246, 152, 28, 0.12);
  --bm-accent-line:   rgba(246, 152, 28, 0.55);

  /* State colours */
  --bm-danger:        #FF6B5A;
  --bm-danger-soft:   rgba(255, 107, 90, 0.12);
  --bm-success:       #4ED08A;
  --bm-success-soft:  rgba(78, 208, 138, 0.12);

  /* Motion — fast, intentional, never bouncy */
  --bm-ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
  --bm-dur:           0.28s;
  --bm-dur-fast:      0.18s;

  /* Radii — one consistent family */
  --bm-radius-sm:     8px;
  --bm-radius:        14px;
  --bm-radius-lg:     22px;

  /* Elevation — shadow, never glow */
  --bm-shadow:        0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.42);
  --bm-shadow-hi:     0 2px 4px rgba(0, 0, 0, 0.55), 0 22px 52px rgba(0, 0, 0, 0.55);

  /* Remap the template's own accent so third-party rules stay on-brand */
  --tp-common-green-regular: #F6981C;
  --tp-common-red-3: #F6981C;
  --tp-common-yellow-green: #F6981C;
  --tp-common-green-light: #F6981C;
  --tp-text-body: rgba(244, 243, 241, 0.64);
  --tp-border-1: rgba(255, 255, 255, 0.08);
  --tp-border-2: rgba(255, 255, 255, 0.08);
}

/*--------------------------------------------------------------
  02. GLOBAL CANVAS & TYPOGRAPHY
--------------------------------------------------------------*/
html {
  background-color: var(--bm-bg);
  color-scheme: dark;
}

body {
  background-color: var(--bm-bg);
  color: var(--bm-text-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection reads as brand, stays legible */
::selection      { background: var(--bm-accent); color: var(--bm-text-invert); }
::-moz-selection { background: var(--bm-accent); color: var(--bm-text-invert); }

/* Scrollbars follow the surface ladder rather than the OS light default */
* { scrollbar-color: var(--bm-surface-3) var(--bm-bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bm-bg); }
::-webkit-scrollbar-thumb {
  background: var(--bm-surface-3);
  border-radius: 10px;
  border: 2px solid var(--bm-bg);
}
::-webkit-scrollbar-thumb:hover { background: #34343C; }

/* Heading hierarchy: white carries the structure, weight is untouched */
h1, h2, h3, h4, h5, h6,
.tp-section-title,
.tp-section-title-grotesk,
.dgm-hero-title,
.dgm-hero-subtitle,
.dgm-step-title,
.dgm-step-title-sm,
.dgm-service-title-sm,
.dgm-team-title-sm,
.dgm-blog-title-sm,
.dgm-project-title-sm,
.dgm-testimonial-author-name,
.tp-brand-title,
.tp-work-title,
.tp-career-title,
.tp-pd-2-title,
.tp-pd-2-overview-title,
.tp-portfolio-inner-title,
.ar-about-us-4-title,
.ar-about-us-4-text-warp.title-black-color .ar-about-us-4-text-title,
.postbox-title,
.postbox-details-nevigation-title,
.tp-blog-details-without-heading h4 {
  color: var(--bm-text);
}

/* Body copy — muted, but comfortably above 4.5:1 on every surface level */
p,
li,
.tp-about-text p,
.dgm-about-content p,
.dgm-hero-content p,
/* .dgm-hero-text-box p intentionally excluded — it sits on a white card */
.tp-work-content p,
.dgm-testimonial-text p,
.dgm-step-item p,
.ar-about-us-4-title-box p,
.tp-service-4-process-wrapper p,
.tp-service-5-text p,
.tp-pd-2-overview-wrap p,
.tp-pd-2-overview-wrap ul li,
.postbox-details-text p,
.postbox-details-text li,
.dgm-footer-widget-paragraph p {
  color: var(--bm-text-2);
}

/* Meta, captions, timestamps — the quietest tier */
.dgm-blog-meta span,
.dgm-team-content span,
.dgm-testimonial-author-info span,
.tp-portfolio-inner-content span,
.tp-pd-2-bottom-item span,
.tp-pd-2-categories span,
.dgm-project-top-text p {
  color: var(--bm-text-3);
}

/* Emphasis inside long-form editorial */
strong, b { color: var(--bm-text); }
blockquote {
  color: var(--bm-text);
  border-left: 2px solid var(--bm-accent);
  background: var(--bm-accent-soft);
  padding: 22px 28px;
  border-radius: 0 var(--bm-radius-sm) var(--bm-radius-sm) 0;
}
code, kbd, pre, samp {
  background: var(--bm-surface);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-sm);
  color: var(--bm-accent-hi);
}
pre { padding: 18px 22px; overflow-x: auto; }
hr { border-color: var(--bm-border); opacity: 1; }

/* Eyebrow / kicker — the one place orange carries small type */
.tp-section-subtitle,
.tp-section-subtitle.subtitle-black,
.dgm-hero-social-text span,
.dgm-hero-rotate-text span,
.blogs-listing-page .tp-blog-heading-wrap .tp-section-subtitle {
  color: var(--bm-accent);
}
.tp-section-subtitle.subtitle-grey { color: var(--bm-text-3); }

/* .tp-line-black / .tp-line-white are NOT rules — they are the link text
   itself, drawing a hover underline from two `background-image` gradients
   sized `0% 1px`. Setting `background-color` on them paints a slab across
   the word and, on a title whose ink is also light, swallows it whole.
   They only ever need to inherit their heading's colour; `currentcolor`
   then draws the underline in the right ink for free. */
.tp-line-black,
.tp-line-white {
  background-color: transparent !important;
  color: inherit !important;
}

/* Titles that link out must not fall back to the vendor's #000 ink */
.tp-portfolio-inner-title,
.tp-portfolio-inner-title a,
.dgm-team-title-sm,
.dgm-team-title-sm a,
.dgm-blog-title-sm a,
.dgm-project-title-sm a,
.tp-work-title a,
.postbox-title a {
  color: var(--bm-text) !important;
  opacity: 1;
  visibility: visible;
}
.tp-portfolio-inner-title a:hover,
.dgm-team-title-sm a:hover,
.dgm-blog-title-sm a:hover,
.dgm-project-title-sm a:hover,
.postbox-title a:hover {
  color: var(--bm-accent) !important;
}
.tp-section-title-shape svg [fill]:not([fill="none"]) { fill: var(--bm-accent); }
.tp-section-title-shape svg [stroke]:not([stroke="none"]) { stroke: var(--bm-accent); }

/*--------------------------------------------------------------
  03. SURFACE LEVELS
  Only three section treatments exist site-wide: canvas, alt canvas
  and card. Hierarchy comes from spacing and borders, not from
  giving every band its own shade of grey.
--------------------------------------------------------------*/
.grey-bg-2,
.tp-about-area,
.dgm-testimonial-area,
.dgm-hero-ptb,
.tp-service-4-process-wrapper {
  background-color: var(--bm-bg-alt) !important;
}

/* The template's own "black" bands are normalised onto the ladder so no
   page ends up with a second, slightly different black. */
.black-bg-5,
.dgm-service-area,
.dgm-project-area,
.tp-brand-area,
.dgm-footer-area,
.tp-copyright-2-area {
  background-color: var(--bm-bg) !important;
}
.black-bg-6 { background-color: var(--bm-surface) !important; }

/* Rounded section shells keep their radius but pick up a hairline edge */
.dgm-service-radius,
.dgm-testimonial-radius {
  border: 1px solid var(--bm-border);
}

/*--------------------------------------------------------------
  04. HEADER, NAVIGATION & DROPDOWNS
--------------------------------------------------------------*/
.tp-header-area {
  background-color: transparent;
}

/* Unified header style - dark grey background with rounded edges */
.tp-header-unified-style {
  background-color: #1a1a1d !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 20px auto;
  max-width: 1750px;
  padding: 18px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tp-header-unified-style .container {
  max-width: 1750px;
  padding: 0 30px;
}

/* Logo styling in unified header */
.tp-header-unified-style .tp-header-logo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

/* The condensed sticky bar is defined once, in section 19, at the
   specificity needed to beat main.css's `.header-sticky.sticky-white-bg`.
   Defining it here too left three overlapping declarations of the same
   surface, which is exactly how the light-header bug slipped through. */

/* Primary nav links */
.tp-header-3-style .tp-header-menu > nav > ul > li > a,
.tp-header-inner-style .tp-header-menu > nav > ul > li > a,
.tp-header-unified-style .tp-header-menu > nav > ul > li > a,
.tp-header-menu > nav > ul > li > a {
  color: var(--bm-text);
  transition: color var(--bm-dur-fast) var(--bm-ease);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.01em;
}
.tp-header-menu > nav > ul > li > a:hover,
.tp-header-menu > nav > ul > li > a:focus-visible,
.tp-header-menu > nav > ul > li.current-menu-item > a,
.tp-header-menu > nav > ul > li.current_page_item > a,
.tp-header-unified-style .tp-header-menu > nav > ul > li.current-menu-item > a {
  color: var(--bm-accent);
}

/* Active / current page marker — a short orange rule under the label.
   The nav links carry `padding: 35px 0` in the home header and `10px 0`
   in the inner header, so an absolutely positioned underline lands
   35px below the text on the homepage (this is what produced the
   detached orange line). Painting it as a background image instead
   anchors it to the text box, independent of whatever padding the
   template applies. */
.tp-header-menu > nav > ul > li { position: relative; }
.tp-header-menu > nav > ul > li > a {
  background-image: linear-gradient(var(--bm-accent), var(--bm-accent));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 calc(50% + 0.78em);
  transition: color var(--bm-dur-fast) var(--bm-ease),
              background-size var(--bm-dur) var(--bm-ease);
}
.tp-header-menu > nav > ul > li > a:hover,
.tp-header-menu > nav > ul > li.current-menu-item > a,
.tp-header-menu > nav > ul > li.current_page_item > a,
.tp-header-menu > nav > ul > li.current-menu-ancestor > a,
.tp-header-unified-style .tp-header-menu > nav > ul > li.current-menu-item > a {
  background-size: 100% 2px;
}

/* Unified header nav spacing */
.tp-header-unified-style .tp-header-menu > nav > ul > li {
  margin: 0 15px;
}
.tp-header-unified-style .tp-header-menu > nav > ul > li:first-child {
  margin-left: 0;
}
.tp-header-unified-style .tp-header-menu > nav > ul > li:last-child {
  margin-right: 0;
}

/* Dropdown caret */
.tp-header-3-style .tp-header-dropdown nav ul li.has-dropdown::after,
.tp-header-inner-style .tp-header-dropdown nav ul li.has-dropdown::after,
.tp-header-unified-style .tp-header-dropdown nav ul li.has-dropdown::after {
  color: var(--bm-text-3);
  font-size: 10px;
  margin-left: 6px;
}
.tp-header-dropdown nav ul li.has-dropdown:hover::after,
.tp-header-unified-style .tp-header-dropdown nav ul li.has-dropdown:hover::after { color: var(--bm-accent); }

/* Inner-page nav pill background */
.tp-header-inner-style .tp-header-menu > nav > ul {
  background-color: rgba(22, 22, 26, 0.72) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--bm-border);
}

/* Submenu panel */
.dropdown-white-bg nav ul li .tp-submenu,
.tp-submenu.submenu {
  background-color: rgba(18, 18, 22, 0.96) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
  box-shadow: var(--bm-shadow);
  overflow: hidden;
}
.dropdown-white-bg nav ul li .tp-submenu li a,
.tp-submenu.submenu li a {
  color: var(--bm-text-2);
  transition: color var(--bm-dur-fast) var(--bm-ease),
              background-color var(--bm-dur-fast) var(--bm-ease),
              padding-left var(--bm-dur-fast) var(--bm-ease);
}
.dropdown-white-bg nav ul li .tp-submenu li:hover > a,
.tp-submenu.submenu li:hover > a,
.tp-submenu.submenu li.current-menu-item > a {
  color: var(--bm-accent) !important;
  background-color: var(--bm-accent-soft) !important;
}
.dropdown-white-bg nav ul li .tp-submenu li.menu-item-has-children > a::after {
  color: var(--bm-text-3);
}
.dropdown-white-bg nav ul li .tp-submenu li.menu-item-has-children:hover > a::after {
  color: var(--bm-accent);
}
.megamenu-white-bg {
  background-color: rgba(18, 18, 22, 0.96) !important;
  border: 1px solid var(--bm-border);
}

/* Hamburger */
.tp-offcanvas-open-btn {
  background-color: transparent !important;
  border: 1px solid var(--bm-border-strong);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color var(--bm-dur) var(--bm-ease),
              background-color var(--bm-dur) var(--bm-ease);
}
/* main.css ships `.tp-header-bar button i:nth-child(2) { width: 24px }`,
   which out-specifies the rule below and leaves the middle bar wider than
   the 44px circle's other two — a lopsided icon that also jumps 24px→12px
   on hover. Pin all three explicitly. */
.tp-offcanvas-open-btn i,
.tp-header-bar button i,
.tp-offcanvas-open-btn i:nth-child(2),
.tp-header-bar button i:nth-child(2) {
  display: block;
  width: 20px !important;
  height: 2px !important;
  margin: 0 !important;
  flex: 0 0 auto;
  background-color: var(--bm-text) !important;
  border-radius: 2px;
  transition: background-color var(--bm-dur-fast) var(--bm-ease),
              width var(--bm-dur-fast) var(--bm-ease);
}
.tp-offcanvas-open-btn:hover {
  border-color: var(--bm-border-accent);
  background-color: var(--bm-accent-soft) !important;
}
.tp-offcanvas-open-btn:hover i { background-color: var(--bm-accent) !important; }
.tp-offcanvas-open-btn:hover i:nth-child(2),
.tp-header-bar button:hover i:nth-child(2) { width: 13px !important; }
/* main.css sets a 30px width on the raw button; the circle owns the size now */
.tp-header-bar button.tp-offcanvas-open-btn { width: 46px; }

/* ---- Sticky header state ------------------------------------------
   main.css ships a `.header-sticky.sticky-white-bg` block that turns the
   bar white and repaints its contents black. Those selectors are (0,3,x)
   and one of them carries !important, so every override below is scoped
   with `.tp-header-area` to outrank them. Without this the nav renders
   black-on-black the moment the header sticks. -------------------- */
.tp-header-area.header-sticky.sticky-white-bg {
  background: rgba(10, 10, 11, 0.86) !important;
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--bm-border);
}

/* Unified header maintains dark background even when sticky */
.tp-header-unified-style.header-sticky.sticky-white-bg {
  background: #1a1a1d !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 20px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.tp-header-area.header-sticky.sticky-white-bg .tp-header-menu > nav > ul > li > a {
  color: var(--bm-text) !important;
}
.tp-header-area.header-sticky.sticky-white-bg .tp-header-menu > nav > ul > li > a:hover,
.tp-header-area.header-sticky.sticky-white-bg .tp-header-menu > nav > ul > li.current-menu-item > a,
.tp-header-area.header-sticky.sticky-white-bg .tp-header-menu > nav > ul > li.current_page_item > a {
  color: var(--bm-accent) !important;
}
.tp-header-area.header-sticky.sticky-white-bg .tp-header-dropdown nav ul li.has-dropdown::after {
  color: var(--bm-text-3) !important;
}
.tp-header-area.header-sticky.sticky-white-bg .tp-header-dropdown nav ul li.has-dropdown:hover::after {
  color: var(--bm-accent) !important;
}
/* Hamburger bars stayed black in the sticky state */
.tp-header-area.header-sticky.sticky-white-bg .tp-header-bar button i,
.tp-header-area.header-sticky.sticky-white-bg .tp-offcanvas-open-btn i {
  background-color: var(--bm-text) !important;
}
.tp-header-area.header-sticky.sticky-white-bg .tp-offcanvas-open-btn:hover i {
  background-color: var(--bm-accent) !important;
}
/* The blur pseudo-element sat above the bar and washed it out */
.tp-header-area.header-sticky.tp-header-blur::after {
  background-color: transparent;
}

/* ---- Logo -----------------------------------------------------------
   The template swapped a light mark for a dark one on scroll via
   `.logo-white{display:none}` / `.logo-black{display:block!important}`.
   The header is dark in every state now, so the swap is switched off and
   the duplicate <img> has been removed from header.php. These rules stay
   as a guard in case a `.logo-black` node reappears from elsewhere. */
.tp-header-area .tp-header-logo .logo-black,
.tp-header-area.header-sticky.sticky-white-bg .tp-header-logo .logo-black {
  display: none !important;
}
.tp-header-area .tp-header-logo .logo-white,
.tp-header-area.header-sticky.sticky-white-bg .tp-header-logo .logo-white {
  display: block !important;
}

/*--------------------------------------------------------------
  05. OFFCANVAS / MOBILE NAVIGATION
--------------------------------------------------------------*/
.body-overlay {
  background: rgba(6, 6, 7, 0.7);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.tp-offcanvas-wrapper,
.tp-offcanvas-wrapper.offcanvas-black-bg {
  background: var(--bm-bg-alt) !important;
  border-left: 1px solid var(--bm-border);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
  padding: 34px 30px 48px;
  overscroll-behavior: contain;
}

.tp-offcanvas-top {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tp-offcanvas-logo img { max-width: 120px; height: auto; }

.tp-offcanvas-close-btn {
  color: var(--bm-text) !important;
  background: transparent;
  border: 1px solid var(--bm-border-strong);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: 0 0 auto;
  transition: color var(--bm-dur) var(--bm-ease),
              border-color var(--bm-dur) var(--bm-ease),
              background-color var(--bm-dur) var(--bm-ease),
              transform var(--bm-dur) var(--bm-ease);
}
.tp-offcanvas-close-btn:hover {
  color: var(--bm-accent) !important;
  border-color: var(--bm-border-accent);
  background: var(--bm-accent-soft);
  transform: rotate(90deg);
}

.tp-offcanvas-menu nav > ul { margin: 0; padding: 0; list-style: none; }
.tp-offcanvas-menu ul li { position: relative; }
.tp-offcanvas-menu nav > ul > li { border-bottom: 1px solid var(--bm-border); }
.tp-offcanvas-menu ul li > a {
  color: var(--bm-text) !important;
  display: block;
  font-size: 20px;
  line-height: 1.3;
  padding: 15px 44px 15px 0;
  transition: color var(--bm-dur-fast) var(--bm-ease),
              padding-left var(--bm-dur-fast) var(--bm-ease);
}
.tp-offcanvas-menu ul li > a:hover,
.tp-offcanvas-menu ul li.current-menu-item > a,
.tp-offcanvas-menu ul li.current_page_item > a {
  color: var(--bm-accent) !important;
  padding-left: 8px;
}
.tp-offcanvas-menu ul li.active > a { color: var(--bm-accent) !important; }

/* Nested submenu inside the drawer */
.tp-offcanvas-menu ul li .submenu,
.tp-offcanvas-menu ul li .tp-submenu {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  padding-left: 14px;
  border-left: 1px solid var(--bm-border) !important;
  margin-bottom: 10px;
}
.tp-offcanvas-menu ul li .tp-submenu li a {
  font-size: 16px;
  padding: 10px 0;
  color: var(--bm-text-2) !important;
}
.tp-offcanvas-menu ul li .tp-submenu li a:hover {
  color: var(--bm-accent) !important;
  background: transparent !important;
}

/* Expand / collapse toggle */
.tp-offcanvas-menu .tp-menu-close {
  position: absolute;
  right: 0;
  top: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bm-surface);
  border: 1px solid var(--bm-border);
  border-radius: 50%;
  color: var(--bm-text-2);
  transition: all var(--bm-dur-fast) var(--bm-ease);
}
.tp-offcanvas-menu .tp-menu-close:hover,
.tp-offcanvas-menu li.active > .tp-menu-close {
  background: var(--bm-accent-soft);
  border-color: var(--bm-border-accent);
  color: var(--bm-accent);
}
.tp-offcanvas-menu li.active > .tp-menu-close i { transform: rotate(180deg); }
.tp-offcanvas-menu .tp-menu-close i { transition: transform var(--bm-dur) var(--bm-ease); }

.tp-offcanvas-title,
.tp-offcanvas-title.sm { color: var(--bm-text) !important; }
.tp-offcanvas-content p { color: var(--bm-text-2) !important; }

.tp-offcanvas-contact ul { list-style: none; margin: 0; padding: 0; }
.tp-offcanvas-contact ul li a {
  color: var(--bm-text-2) !important;
  transition: color var(--bm-dur-fast) var(--bm-ease);
}
.tp-offcanvas-contact ul li a:hover { color: var(--bm-accent) !important; }
.tp-offcanvas-contact ul li a::after { background-color: var(--bm-accent) !important; }

.tp-offcanvas-social ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tp-offcanvas-social ul li a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bm-surface) !important;
  border: 1px solid var(--bm-border);
  color: var(--bm-text-2) !important;
  transition: all var(--bm-dur) var(--bm-ease);
}
.tp-offcanvas-social ul li a:hover {
  background: var(--bm-accent) !important;
  border-color: var(--bm-accent);
  color: var(--bm-text-invert) !important;
  transform: translateY(-2px);
}

/* Lock scroll behind the drawer without shifting layout */
body.tp-offcanvas-opened { overflow: hidden; }

/*--------------------------------------------------------------
  06. BUTTONS & CTAs
  One button family: solid orange (primary), outline (secondary),
  ghost/text (tertiary). Orange is reserved for real actions.
--------------------------------------------------------------*/
.tp-btn-yellow-green,
.tp-btn-yellow-green.green-solid,
.button-orange,
.tp-contact-form-btn button,
.wpcf7-submit,
input[type="submit"],
.dgm-blog-btn > a {
  background-color: var(--bm-accent) !important;
  color: var(--bm-text-invert) !important;
  border: 1px solid var(--bm-accent);
  border-radius: 999px;
  transition: background-color var(--bm-dur) var(--bm-ease),
              border-color var(--bm-dur) var(--bm-ease),
              color var(--bm-dur) var(--bm-ease),
              transform var(--bm-dur) var(--bm-ease),
              box-shadow var(--bm-dur) var(--bm-ease);
}
.tp-btn-yellow-green:hover,
.tp-btn-yellow-green:focus,
.tp-btn-yellow-green.green-solid:hover,
.tp-btn-yellow-green.green-solid:focus,
.tp-btn-yellow-green.green-solid.btn-60:hover,
.button-orange:hover,
.tp-contact-form-btn button:hover,
.wpcf7-submit:hover,
input[type="submit"]:hover,
.dgm-blog-btn > a:hover {
  background-color: var(--bm-accent-hi) !important;
  border-color: var(--bm-accent-hi);
  color: var(--bm-text-invert) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(246, 152, 28, 0.22);
}
.tp-btn-yellow-green:active,
.button-orange:active,
.wpcf7-submit:active,
input[type="submit"]:active {
  background-color: var(--bm-accent-lo) !important;
  border-color: var(--bm-accent-lo);
  transform: translateY(0);
  box-shadow: none;
}
/* The button's split-label animation must inherit the new colour */
.tp-btn-yellow-green span .text-1,
.tp-btn-yellow-green span .text-2 { color: inherit; }
.tp-btn-yellow-green i,
.tp-btn-yellow-green svg { color: currentColor; }

/* CTA button styling for the new header design */
.tp-header-unified-style .tp-btn-yellow-green {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tp-header-unified-style .tp-btn-yellow-green i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.tp-header-unified-style .tp-btn-yellow-green i svg {
  width: 17px;
  height: 14px;
}

/* Secondary — outline on dark */
.tp-btn-black-square,
.tp-btn-border,
.tp-btn-border-2 {
  background-color: transparent !important;
  color: var(--bm-text) !important;
  border: 1px solid var(--bm-border-strong);
  transition: all var(--bm-dur) var(--bm-ease);
}
.tp-btn-black-square:hover,
.tp-btn-border:hover,
.tp-btn-border-2:hover {
  background-color: var(--bm-accent) !important;
  border-color: var(--bm-accent);
  color: var(--bm-text-invert) !important;
  transform: translateY(-2px);
}

/* Tertiary — text link with an animated rule */
.dgm-service-link,
.tp-btn-black-text {
  color: var(--bm-text) !important;
  transition: color var(--bm-dur-fast) var(--bm-ease);
}

/* Disabled — reads as inert without vanishing */
button:disabled,
input:disabled,
textarea:disabled,
select:disabled,
.wpcf7-submit:disabled,
[aria-disabled="true"] {
  background-color: var(--bm-surface-2) !important;
  border-color: var(--bm-border) !important;
  color: var(--bm-text-3) !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  opacity: 1;
}

/*--------------------------------------------------------------
  07. LINKS, ARROWS & ICON CONTROLS
--------------------------------------------------------------*/
a { color: inherit; transition: color var(--bm-dur-fast) var(--bm-ease); }
a:hover { color: var(--bm-accent); }

/* Long-form editorial links get a visible, non-colour-only affordance */
.postbox-details-text a,
.tp-pd-2-overview-wrap a,
.dgm-footer-widget-paragraph a,
.tp-copyright-2-left a {
  color: var(--bm-accent);
  text-decoration: none;
  background-image: linear-gradient(var(--bm-accent-line), var(--bm-accent-line));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: color var(--bm-dur-fast) var(--bm-ease),
              background-size var(--bm-dur) var(--bm-ease);
}
.postbox-details-text a:hover,
.tp-pd-2-overview-wrap a:hover,
.dgm-footer-widget-paragraph a:hover,
.tp-copyright-2-left a:hover {
  color: var(--bm-accent-hi);
  background-size: 100% 2px;
}

/* Circular arrow / slider controls */
.dgm-hero-arrow,
.dgm-project-arrow button,
.dgm-project-prev,
.dgm-project-next,
.project-details-1-prev,
.project-details-1-next,
.dgm-testimonial-playbtn,
.popup-video {
  background-color: var(--bm-surface) !important;
  color: var(--bm-text) !important;
  border: 1px solid var(--bm-border-strong);
  transition: background-color var(--bm-dur) var(--bm-ease),
              border-color var(--bm-dur) var(--bm-ease),
              color var(--bm-dur) var(--bm-ease),
              transform var(--bm-dur) var(--bm-ease);
}
.dgm-hero-arrow:hover,
.dgm-project-arrow button:hover,
.dgm-project-prev:hover,
.dgm-project-next:hover,
.project-details-1-prev:hover,
.project-details-1-next:hover,
.dgm-testimonial-playbtn:hover,
.popup-video:hover {
  background-color: var(--bm-accent) !important;
  border-color: var(--bm-accent);
  color: var(--bm-text-invert) !important;
  transform: translateY(-2px);
}
.project-details-1-prev:hover i,
.project-details-1-next:hover i,
.dgm-project-arrow button:hover i,
.dgm-project-arrow button:hover svg {
  background-color: transparent !important;
  color: var(--bm-text-invert) !important;
}

/* Slider dots */
.dgm-testimonial-dot .swiper-pagination-bullet,
.swiper-pagination-bullet {
  background-color: var(--bm-border-strong);
  opacity: 1;
  transition: background-color var(--bm-dur) var(--bm-ease),
              width var(--bm-dur) var(--bm-ease);
}
.dgm-testimonial-dot .swiper-pagination-bullet-active,
.swiper-pagination-bullet-active { background-color: var(--bm-accent); }

/* Back-to-top */
.back-to-top-btn {
  background-color: var(--bm-surface) !important;
  color: var(--bm-text) !important;
  border: 1px solid var(--bm-border-strong);
  transition: all var(--bm-dur) var(--bm-ease);
}
.back-to-top-btn:hover {
  background-color: var(--bm-accent) !important;
  border-color: var(--bm-accent);
  color: var(--bm-text-invert) !important;
}

/* Custom cursor stays orange but loses its opaque fill so it never
   obscures text on the darker canvas */
.custom-cursor {
  background-color: transparent !important;
  border: 1px solid var(--bm-accent);
  mix-blend-mode: normal;
}

/* Inline SVG icons that were authored with hard-coded near-black values */
.ar-about-us-4-icon svg rect,
.ar-about-us-4-icon svg path,
.tp-career-shape-1 svg path,
.tp-section-title-shape svg path {
  fill: currentColor;
  stroke: currentColor;
}
.ar-about-us-4-icon { color: var(--bm-accent); }

/*--------------------------------------------------------------
  08. EDITORIAL CONTENT — HERO, ABOUT, SERVICES, WORK, STEPS
--------------------------------------------------------------*/

/* Hero — the atmosphere is set here: deep canvas, one orange detail */
.dgm-hero-bg { background-color: var(--bm-bg-alt); }
.dgm-hero-funfact span { color: var(--bm-accent); }
.dgm-hero-funfact p { color: var(--bm-text-2); }
.dgm-hero-social a span,
.dgm-hero-social-box a { color: var(--bm-text-2); }
.dgm-hero-social a:hover span { color: var(--bm-accent); }
.dgm-hero-thumb img { border-radius: var(--bm-radius-lg); }

.crp-hero-funfact-line,
.crp-hero-funfact-line::before { background-color: var(--bm-accent) !important; }

.dgm-hero-ptb {
  overflow: hidden;
}

.dgm-hero-ptb::before {
  content: "";
  position: absolute;
  left: 38px;
  bottom: 28px;
  width: min(38vw, 520px);
  height: 190px;
  z-index: 0;
  pointer-events: none;
  border-left: 1px solid rgba(246, 152, 28, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(246, 152, 28, 0.16) 0 1px, transparent 1px 34px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 72px);
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 55%, transparent 100%);
}

.dgm-hero-ptb::after {
  content: "";
  position: absolute;
  left: clamp(48px, 7vw, 116px);
  bottom: 50px;
  width: min(30vw, 420px);
  height: 1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(246, 152, 28, 0.78), rgba(246, 152, 28, 0));
  transform: rotate(-8deg);
  transform-origin: left center;
}

.dgm-hero-brand-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 430px;
  margin-top: 8px;
  margin-bottom: clamp(28px, 5vh, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  pointer-events: none;
}

.dgm-hero-brand-panel span {
  grid-column: 1 / -1;
  width: max-content;
  margin-bottom: 2px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.7);
  color: rgba(244, 243, 241, 0.78);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dgm-hero-brand-panel strong {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(244, 243, 241, 0.84);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dgm-hero-brand-panel strong:first-of-type {
  border-color: rgba(246, 152, 28, 0.44);
  color: var(--bm-accent);
}

/* The "Say hi" card is a light surface inside a dark page: its copy must use
   the inverted text token, never the muted light-on-dark body colour. */
.dgm-hero-text-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  border-radius: var(--bm-radius-lg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.dgm-hero-text-box img {
  margin-bottom: 0;
  max-width: 62%;
  height: auto;
}

.dgm-hero-text-box p,
.dgm-hero-text-box p * {
  color: var(--bm-text-invert) !important;
  opacity: 1;
}

/* Hero CTA sits over the bright background art — needs its own solid ground */
.dgm-hero-content .tp-btn-black-square {
  position: relative;
  z-index: 2;
  background-color: var(--bm-text-invert, #0a0a0b) !important;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--bm-text, #f4f3f1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.dgm-hero-content .tp-btn-black-square:hover {
  background-color: var(--bm-accent) !important;
  border-color: var(--bm-accent);
  color: var(--bm-text-invert) !important;
}

.dgm-hero-funfact,
.dgm-hero-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 1199px) {
  .dgm-hero-ptb::before,
  .dgm-hero-ptb::after {
    display: none;
  }

  .dgm-hero-brand-panel {
    max-width: 100%;
    gap: 8px;
  }
}

/* About */
.tp-about-box,
.ar-about-funfact-item {
  border-color: var(--bm-border) !important;
}
.tp-about-avater-info p { color: var(--bm-text-3); }
.tp-about-funcact-item span,
.ar-about-funfact-item-content span { color: var(--bm-accent); }
.tp-about-funcact-item p,
.ar-about-funfact-item-content p { color: var(--bm-text-2); }
.ar-about-funfact-item-icon { color: var(--bm-accent); }
.ar-about-funfact-color { color: var(--bm-accent) !important; }
/* Decorative black line art needs inverting to stay visible */
.tp-about-shape-1 img,
.ar-about-us-4-shape img,
.tp-career-shape-1 img {
  filter: invert(1) brightness(1.6);
  opacity: 0.28;
}

/* The scroll-driven "invert" headline fills itself from a gradient whose
   final colour is #111013 — near-black, so on our dark cards the title
   vanishes as it scrolls in. The vendor's dark variant is gated behind an
   .agntix-dark body class this build never sets, so retone it here: it
   wipes from muted white into the brand orange. */
.tp_text_invert {
  color: var(--bm-text);
}
.tp_text_invert > div {
  background-image: linear-gradient(
    to right,
    var(--bm-accent) 50%,
    rgba(244, 243, 241, 0.30) 50%
  ) !important;
}

/* Services — card level, orange only on the hovered affordance */
.tp-service-item,
.dgm-service-item,
.dgm-step-item {
  background-color: var(--bm-surface) !important;
  border: 1px solid var(--bm-border) !important;
  border-radius: var(--bm-radius);
  transition: background-color var(--bm-dur) var(--bm-ease),
              border-color var(--bm-dur) var(--bm-ease),
              transform var(--bm-dur) var(--bm-ease),
              box-shadow var(--bm-dur) var(--bm-ease);
}
.tp-service-item:hover,
.dgm-service-item:hover,
.dgm-step-item:hover {
  background-color: var(--bm-surface-2) !important;
  border-color: var(--bm-border-accent) !important;
  transform: translateY(-4px);
  box-shadow: var(--bm-shadow-hi);
}
.tp-service-number span,
.dgm-step-number,
.tp-work-number { color: var(--bm-accent); }
.tp-service-content p,
.dgm-service-content-left p,
.dgm-service-content-right p { color: var(--bm-text-2); }
.tp-service-4-process-list span { color: var(--bm-accent); }
.tp-service-4-process-list p,
.tp-service-5-list ul li { color: var(--bm-text-2); }
.dgm-service-bg { background-color: var(--bm-bg) !important; }

/* Work / process panels */
.tp-work-item {
  background-color: var(--bm-surface) !important;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
  transition: background-color var(--bm-dur) var(--bm-ease),
              border-color var(--bm-dur) var(--bm-ease);
}
.tp-work-item:hover {
  background-color: var(--bm-surface-2) !important;
  border-color: var(--bm-border-accent);
}

/* Steps — the connecting rules become accent hairlines */
.dgm-step-space-1::after,
.dgm-step-space-2::after,
.dgm-step-space-3::after,
.dgm-step-space-4::after {
  background-color: var(--bm-border) !important;
}

/*--------------------------------------------------------------
  09. CARDS & GRIDS — PROJECTS, BLOG, TEAM, CASE STUDIES
--------------------------------------------------------------*/

/* Shared card chrome */
.dgm-project-item,
.dgm-blog-item,
.dgm-team-item,
.postbox-details-item,
.tp-pd-2-bottom-item {
  border-radius: var(--bm-radius);
}

/* Image wells: dark plate under the photo so nothing floats */
.dgm-project-thumb,
.dgm-blog-thumb,
.dgm-blog-thumb-wrap,
.dgm-team-thumb,
.tp-pd-2-slider-thumb,
.postbox-details-nevigation-thumb,
.tp-blog-details-banner,
.project-banner-image,
.image-wrapper {
  background-color: var(--bm-surface);
  border-radius: var(--bm-radius);
  overflow: hidden;
}
.postbox-details-nevigation-thumb-bg { background-color: var(--bm-surface) !important; }

/* Restrained image motion on hover */
.dgm-project-thumb img,
.dgm-blog-thumb img,
.dgm-team-thumb img,
.tp--hover-img img,
.news-box .image-wrapper img {
  transition: transform 0.6s var(--bm-ease), opacity var(--bm-dur) var(--bm-ease);
  will-change: transform;
}
.dgm-project-item:hover .dgm-project-thumb img,
.dgm-blog-item:hover .dgm-blog-thumb img,
.dgm-team-item:hover .dgm-team-thumb img,
.tp--hover-item:hover .tp--hover-img img,
.news-box:hover .image-wrapper img {
  transform: scale(1.045);
}

/* Titles pick up orange on card hover — one signal, consistently */
.dgm-project-item:hover .dgm-project-title-sm,
.dgm-blog-item:hover .dgm-blog-title-sm,
.dgm-team-item:hover .dgm-team-title-sm,
.tp-work-item:hover .tp-work-title {
  color: var(--bm-accent);
}
.dgm-project-title-sm,
.dgm-blog-title-sm,
.dgm-team-title-sm,
.tp-work-title {
  transition: color var(--bm-dur-fast) var(--bm-ease);
}

/* Blog list on the dedicated listing page */
.blogs-listing-page .tp-blog-title,
.blogs-listing-page .tp-blog-list-item-title { color: var(--bm-text) !important; }
.blogs-listing-page .tp-blog-list-item-tags-name { color: var(--bm-accent) !important; }
.tp-blog-title a,
.blogs-listing-page .tp-blog-title a {
  background-color: transparent !important;
  color: var(--bm-text) !important;
}
.tp-blog-title a:hover,
.blogs-listing-page .tp-blog-title a:hover { color: var(--bm-accent) !important; }
.dgm-blog-meta h4 { color: var(--bm-text); }

/* Case-study detail */
.tp-pd-2-dot { background-color: var(--bm-accent) !important; }
.tp-pd-2-categories span,
.tp-pd-2-bottom-item span { color: var(--bm-text-3); }
.tp-pd-2-bottom-item {
  border-color: var(--bm-border) !important;
}
.tp-pd-2-np-content .tp_fade_anim { color: var(--bm-text); }
.tp-pd-2-overview-wrap ul li::marker { color: var(--bm-accent); }

/* Single post navigation */
.postbox-details-nevigation-wrap { border-color: var(--bm-border) !important; }
.postbox__comment-reply a { color: var(--bm-accent); }

/*--------------------------------------------------------------
  10. TESTIMONIALS, BRAND STRIP & MARQUEES
--------------------------------------------------------------*/
.dgm-testimonial-bg { background-color: var(--bm-bg-alt) !important; }
.dgm-testimonial-slider-item {
  background-color: var(--bm-surface);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
}
.dgm-testimonial-quote span { color: var(--bm-accent); }
.dgm-testimonial-author-img img {
  border-radius: 50%;
  border: 1px solid var(--bm-border-strong);
}

/* Brand marquee: the orange band is the single loud element on the page,
   so the second band drops to a charcoal surface for balance */
.tp-brand-wrapper.green-regular-bg {
  background-color: var(--bm-accent) !important;
}
.tp-brand-wrapper.green-regular-bg .tp-brand-title { color: var(--bm-text-invert); }
.tp-brand-wrapper.tp-brand-style-2 {
  background-color: var(--bm-surface) !important;
  border-top: 1px solid var(--bm-border);
  border-bottom: 1px solid var(--bm-border);
}
.tp-brand-wrapper.tp-brand-style-2 .tp-brand-title { color: var(--bm-text); }
.tp-brand-style-2 .tp-brand-title::after { background-color: var(--bm-accent) !important; }
/* Client logos are supplied as light-on-white marks */
.tp-brand-item img,
.dgm-brand-item img {
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--bm-dur) var(--bm-ease), filter var(--bm-dur) var(--bm-ease);
}
.tp-brand-item:hover img,
.dgm-brand-item:hover img { opacity: 1; }

/*--------------------------------------------------------------
  11. BLOG INDEX / SEARCH / PAGINATION / 404
  index.php and content-news-card.php were authored against a Tailwind
  build that is not compiled in this theme, so the handful of layout and
  colour rules they rely on are provided here explicitly.
--------------------------------------------------------------*/
.site-main { background-color: var(--bm-bg); }

.section-hero-banner {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--bm-surface);
  overflow: hidden;
}
.section-hero-banner .image-wrapper { position: absolute; inset: 0; border-radius: 0; }
.section-hero-banner .image-wrapper img,
.section-hero-banner .image-wrapper picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* Gradient scrim keeps the headline readable over any photograph */
.section-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10, 10, 11, 0.35) 0%,
    rgba(10, 10, 11, 0.55) 45%,
    rgba(10, 10, 11, 0.92) 100%);
}
.section-hero-banner .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 64px 0 56px;
}
.section-hero-banner .hero-content h1 {
  color: var(--bm-text);
  margin-bottom: 14px;
}
.section-hero-banner .hero-content p { color: var(--bm-text-2); margin: 0; }
.section-hero-banner .hero-content .content-wrapper > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}

.news-list-section { padding: 72px 0 96px; }
.news-list-section .grid,
.news-list-section > .container > div:first-child {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 32px 24px;
  margin-bottom: 56px;
}

.news-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--bm-surface);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
  overflow: hidden;
  color: var(--bm-text);
  transition: background-color var(--bm-dur) var(--bm-ease),
              border-color var(--bm-dur) var(--bm-ease),
              transform var(--bm-dur) var(--bm-ease),
              box-shadow var(--bm-dur) var(--bm-ease);
}
.news-box:hover {
  background-color: var(--bm-surface-2);
  border-color: var(--bm-border-accent);
  transform: translateY(-4px);
  box-shadow: var(--bm-shadow-hi);
  color: var(--bm-text);
}
.news-box .image-wrapper {
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 0;
}
.news-box .image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.news-box .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  padding: 22px 22px 24px;
  gap: 18px;
}
.news-box .content h3 {
  color: var(--bm-text);
  font-size: 20px;
  line-height: 1.35;
  margin: 0;
  transition: color var(--bm-dur-fast) var(--bm-ease);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-box:hover .content h3 { color: var(--bm-accent); }
.news-box .content > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.news-box .content p { color: var(--bm-text-3); margin: 0; font-size: 14px; }

/* Shared pill used by index.php and the news card */
.button-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Pagination */
.pagination,
.basic-pagination ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Pill pagination: circular tokens on the dark surface, accent for the
   page you are on, arrows carried as their own outlined circles. */
.pagination a,
.pagination span,
.basic-pagination ul li > a,
.basic-pagination ul li > span,
.basic-pagination ul li > .page-numbers {
  min-width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background-color: var(--bm-surface) !important;
  border: 1px solid var(--bm-border);
  color: var(--bm-text-2) !important;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: all var(--bm-dur-fast) var(--bm-ease);
}
.pagination a:hover,
.basic-pagination ul li > a:hover,
.basic-pagination ul li:hover > a {
  background-color: var(--bm-surface-2) !important;
  border-color: var(--bm-border-accent);
  color: var(--bm-text) !important;
  transform: translateY(-2px);
}
.pagination .current,
.pagination span[aria-current],
.basic-pagination ul li .current,
.basic-pagination ul li > .page-numbers.current {
  background-color: var(--bm-accent) !important;
  border-color: var(--bm-accent);
  color: var(--bm-text-invert) !important;
  box-shadow: 0 6px 20px rgba(246, 152, 28, 0.28);
}
/* Prev / next read as arrows, not numbers */
.basic-pagination ul li > .prev,
.basic-pagination ul li > .next {
  min-width: 46px;
  padding: 0;
  background-color: transparent !important;
  border-color: var(--bm-border-strong);
  color: var(--bm-text) !important;
}
.basic-pagination ul li > .prev:hover,
.basic-pagination ul li > .next:hover {
  background-color: var(--bm-accent) !important;
  border-color: var(--bm-accent);
  color: var(--bm-text-invert) !important;
}
/* The gap marker is a label, not a target */
.basic-pagination ul li > .dots {
  background-color: transparent !important;
  border-color: transparent;
  min-width: 24px;
  padding: 0;
}

/* 404 & empty states */
.error404 .site-main,
.search-no-results .site-main { min-height: 52vh; }
[class~="404-title"] {
  color: var(--bm-text);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}
[class~="404-subtitle"] { color: var(--bm-text-2); }
.news-list-section .text-cener,
.news-list-section .text-center {
  color: var(--bm-text-2);
  padding: 48px 0;
}

/*--------------------------------------------------------------
  12. FORMS, INPUTS & VALIDATION
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="search"],
input[type="date"],
textarea,
select,
.tp-contact-form-input input,
.tp-contact-form-input textarea,
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea,
.wpcf7 select {
  background-color: var(--bm-surface) !important;
  border: 1px solid var(--bm-border-strong) !important;
  border-radius: var(--bm-radius-sm);
  color: var(--bm-text) !important;
  transition: border-color var(--bm-dur-fast) var(--bm-ease),
              background-color var(--bm-dur-fast) var(--bm-ease),
              box-shadow var(--bm-dur-fast) var(--bm-ease);
}

/* Placeholders: readable, clearly subordinate to entered text */
input::placeholder,
textarea::placeholder,
.tp-contact-form-input input::placeholder,
.tp-contact-form-input textarea::placeholder { color: var(--bm-text-3) !important; opacity: 1; }
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder { color: var(--bm-text-3) !important; }
input::-moz-placeholder,
textarea::-moz-placeholder { color: var(--bm-text-3) !important; opacity: 1; }
input:-ms-input-placeholder,
textarea:-ms-input-placeholder { color: var(--bm-text-3) !important; }

/* Focus: orange border plus a ring — never colour alone */
input:focus,
textarea:focus,
select:focus,
.tp-contact-form-input input:focus,
.tp-contact-form-input textarea:focus,
.wpcf7 input:not([type="submit"]):focus,
.wpcf7 textarea:focus {
  background-color: var(--bm-surface-2) !important;
  border-color: var(--bm-accent) !important;
  box-shadow: 0 0 0 3px var(--bm-accent-soft) !important;
  outline: none;
}

.tp-contact-form-input label,
.wpcf7 label,
form label { color: var(--bm-text-2); }

/* Chrome/Edge/Safari autofill — the single most common dark-mode leak.
   The inset shadow trick repaints the field because UA styles win on
   background-color; the long transition defeats the delayed repaint. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--bm-text) !important;
  caret-color: var(--bm-text);
  -webkit-box-shadow: 0 0 0 1000px var(--bm-surface) inset !important;
  box-shadow: 0 0 0 1000px var(--bm-surface) inset !important;
  border: 1px solid var(--bm-border-strong) !important;
  background-clip: content-box !important;
  transition: background-color 100000s ease-in-out 0s, color 100000s ease-in-out 0s;
}
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bm-surface-2) inset, 0 0 0 3px var(--bm-accent-soft) !important;
  box-shadow: 0 0 0 1000px var(--bm-surface-2) inset, 0 0 0 3px var(--bm-accent-soft) !important;
  border-color: var(--bm-accent) !important;
}
/* Firefox */
input:autofill, textarea:autofill {
  background-color: var(--bm-surface) !important;
  color: var(--bm-text) !important;
}

/* Native select chevron + option list */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--bm-text-2) 50%),
                    linear-gradient(135deg, var(--bm-text-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
select option {
  background-color: var(--bm-surface);
  color: var(--bm-text);
}

/* Nice-select drop-in used by the theme */
.nice-select {
  background-color: var(--bm-surface) !important;
  border: 1px solid var(--bm-border-strong) !important;
  color: var(--bm-text) !important;
}
.nice-select .list {
  background-color: var(--bm-surface) !important;
  border: 1px solid var(--bm-border);
  box-shadow: var(--bm-shadow);
}
.nice-select .option {
  color: var(--bm-text-2) !important;
  transition: all var(--bm-dur-fast) var(--bm-ease);
}
.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: var(--bm-accent-soft) !important;
  color: var(--bm-accent) !important;
}
.nice-select::after { border-color: var(--bm-text-2); }

/* Checkboxes & radios — visible on dark, orange only when checked */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background-color: var(--bm-surface);
  border: 1px solid var(--bm-border-strong);
  border-radius: 4px;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  vertical-align: -3px;
  transition: all var(--bm-dur-fast) var(--bm-ease);
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform var(--bm-dur-fast) var(--bm-ease);
  background-color: var(--bm-text-invert);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
input[type="radio"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform var(--bm-dur-fast) var(--bm-ease);
  background-color: var(--bm-text-invert);
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background-color: var(--bm-accent);
  border-color: var(--bm-accent);
}
input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before { transform: scale(1); }
input[type="checkbox"]:hover,
input[type="radio"]:hover { border-color: var(--bm-border-accent); }

/* Contact Form 7 messages */
.wpcf7-response-output {
  background-color: var(--bm-surface) !important;
  border: 1px solid var(--bm-border-strong) !important;
  border-left-width: 3px !important;
  border-radius: var(--bm-radius-sm);
  color: var(--bm-text) !important;
  padding: 14px 18px !important;
  margin: 20px 0 0 !important;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: var(--bm-danger) !important;
  background-color: var(--bm-danger-soft) !important;
  color: var(--bm-text) !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--bm-success) !important;
  background-color: var(--bm-success-soft) !important;
  color: var(--bm-text) !important;
}
.wpcf7-not-valid-tip {
  color: var(--bm-danger) !important;
  font-size: 13px;
  margin-top: 6px;
  display: block;
}
.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: var(--bm-danger) !important;
  box-shadow: 0 0 0 3px var(--bm-danger-soft) !important;
}
.wpcf7-spinner { filter: invert(1) grayscale(1) brightness(1.4); }
.screen-reader-response { color: var(--bm-text-2); }

/* Newsletter field in the footer */
.dgm-footer-widget-input input {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--bm-border) !important;
  color: var(--bm-text) !important;
  border-radius: 999px;
}
.dgm-footer-widget-input input:focus {
  border-color: var(--bm-accent) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
}
.dgm-footer-widget-input .input-button button,
.dgm-footer-widget-input button {
  color: var(--bm-accent) !important;
  background: transparent !important;
  border: 0;
  transition: transform var(--bm-dur) var(--bm-ease), color var(--bm-dur) var(--bm-ease);
}
.dgm-footer-widget-input .input-button button:hover,
.dgm-footer-widget-input button:hover {
  color: var(--bm-accent-hi) !important;
  transform: translateX(3px);
}
.dgm-footer-widget-input .input-icon { color: var(--bm-text-3); }

/* Contact form block closes with the same hairline + accent wick used at
   the top of the footer, so the section ends on a deliberate edge. */
.tp-contact-form-ptb {
  position: relative;
}
.tp-contact-form-ptb::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1230px, calc(100% - 30px));
  height: 1px;
  pointer-events: none;
  background-image: linear-gradient(
    90deg,
    rgba(246, 152, 28, 0) 0%,
    rgba(246, 152, 28, 0.55) 12%,
    rgba(246, 152, 28, 0.55) 34%,
    rgba(255, 255, 255, 0.08) 52%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

/*--------------------------------------------------------------
  13. FOOTER & COPYRIGHT
--------------------------------------------------------------*/
/* The footer must read as a separate plane, not a continuation of the page.
   One step up the surface ladder + a hairline edge + a short accent wick. */
.dgm-footer-bg {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg, 20px) var(--bm-radius-lg, 20px) 0 0;
  background-color: var(--bm-surface);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.dgm-footer-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(246, 152, 28, 0) 0%,
    rgba(246, 152, 28, 0.65) 18%,
    rgba(246, 152, 28, 0.65) 42%,
    rgba(246, 152, 28, 0) 72%
  );
}

/* ::after belongs to the template: it paints the 34%-wide brand column behind
   the logo block (main.css, flat #212121). Do not repurpose it — restyle it.
   Normalised onto the ladder and given a right edge so the split between the
   brand column and the link columns reads as a deliberate separator. */
.dgm-footer-bg::after {
  z-index: 0;
  pointer-events: none;
  background-color: var(--bm-surface-2);
  background-image: linear-gradient(
    180deg,
    rgba(246, 152, 28, 0) 0%,
    rgba(246, 152, 28, 0.55) 16%,
    rgba(246, 152, 28, 0.55) 44%,
    rgba(255, 255, 255, 0.08) 62%,
    rgba(255, 255, 255, 0.08) 100%
  );
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 1px 100%;
}

/* Let the footer shell's own tone show through the template's black bands */
.dgm-footer-bg .dgm-footer-area,
.dgm-footer-bg .tp-copyright-2-area {
  background-color: transparent !important;
}
.dgm-footer-widget-title { color: var(--bm-text); }
.dgm-footer-widget-menu ul { list-style: none; margin: 0; padding: 0; }
.dgm-footer-widget-menu ul li a {
  color: var(--bm-text-2);
  position: relative;
  display: inline-block;
  transition: color var(--bm-dur-fast) var(--bm-ease),
              transform var(--bm-dur-fast) var(--bm-ease);
}
.dgm-footer-widget-menu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--bm-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--bm-dur) var(--bm-ease);
}
.dgm-footer-widget-menu ul li a:hover { color: var(--bm-accent); }
.dgm-footer-widget-menu ul li a:hover::after { transform: scaleX(1); transform-origin: left center; }

.dgm-footer-widget-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dgm-footer-widget-social a,
.tp-footer-widget-social a,
.creative-footer-style .tp-footer-widget-social a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--bm-border);
  color: var(--bm-text-2) !important;
  transition: background-color var(--bm-dur) var(--bm-ease),
              border-color var(--bm-dur) var(--bm-ease),
              color var(--bm-dur) var(--bm-ease),
              transform var(--bm-dur) var(--bm-ease);
}
.dgm-footer-widget-social a:hover,
.tp-footer-widget-social a:hover,
.creative-footer-style .tp-footer-widget-social a:hover {
  background-color: var(--bm-accent) !important;
  border-color: var(--bm-accent);
  color: var(--bm-text-invert) !important;
  transform: translateY(-2px);
}
.dgm-footer-widget-social a svg,
.tp-footer-widget-social a svg { color: currentColor; }

.dgm-footer-widget-paragraph.color-style p { color: var(--bm-text-2); }

.tp-copyright-2-border { border-top: 1px solid var(--bm-border) !important; }
.tp-copyright-2-left p,
.tp-copyright-2-middle a,
.tp-copyright-2-menu ul li a { color: var(--bm-text-3); }
.tp-copyright-2-middle a:hover,
.tp-copyright-2-menu ul li a:hover { color: var(--bm-accent); }
.tp-copyright-2-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-end; }

/*--------------------------------------------------------------
  14. IMAGES & MEDIA
--------------------------------------------------------------*/
img { max-width: 100%; height: auto; }

/* Photography sits a touch calmer against black and lifts on hover */
.dgm-project-thumb img,
.dgm-blog-thumb img,
.dgm-team-thumb img,
.tp-pd-2-slider-thumb img {
  filter: saturate(1.02) contrast(1.02) brightness(0.94);
  transition: transform 0.6s var(--bm-ease), filter var(--bm-dur) var(--bm-ease);
}
.dgm-project-item:hover .dgm-project-thumb img,
.dgm-blog-item:hover .dgm-blog-thumb img,
.dgm-team-item:hover .dgm-team-thumb img { filter: none; }

/* Any text laid over an image gets a scrim rather than a heavier weight */
.dgm-blog-content-wrap,
.dgm-project-content {
  position: relative;
  z-index: 2;
}
.dgm-blog-thumb-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 40%, rgba(10, 10, 11, 0.75) 100%);
  opacity: 0;
  transition: opacity var(--bm-dur) var(--bm-ease);
}
.dgm-blog-item:hover .dgm-blog-thumb-wrap::after { opacity: 1; }

/* Maps and embeds keep the surface plate so they never read as a hole */
iframe,
.tp-contact-location-map,
.tp-contact-map-wrapper {
  background-color: var(--bm-surface);
  border-radius: var(--bm-radius);
}
.tp-contact-location-map a::before,
.tp-contact-location-right-info a::before { background-color: var(--bm-accent) !important; }
.tp-contact-location-map a::after,
.tp-contact-location-right-info a::after { background-color: var(--bm-accent-soft) !important; }
.tp-contact-location-loc-title,
.tp-contact-location-left-title { color: var(--bm-text); }
.tp-contact-location-item { border-color: var(--bm-border) !important; }
.tp-contact-map-icon { color: var(--bm-accent); }

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  color: var(--bm-text-2);
}
table th {
  color: var(--bm-text);
  background-color: var(--bm-surface);
  text-align: left;
}
table th,
table td {
  border: 1px solid var(--bm-border);
  padding: 12px 16px;
}
table tbody tr:nth-child(even) { background-color: rgba(255, 255, 255, 0.02); }
/* Wide tables scroll inside themselves, never the page */
.postbox-details-text table,
.tp-pd-2-overview-wrap table { display: block; overflow-x: auto; white-space: nowrap; }

/* Magnific popup / lightbox */
.mfp-bg { background: rgba(6, 6, 7, 0.92); opacity: 1; }
.mfp-content { color: var(--bm-text); }
.mfp-close, .mfp-arrow { color: var(--bm-text) !important; opacity: 0.85; }
.mfp-close:hover, .mfp-arrow:hover { color: var(--bm-accent) !important; opacity: 1; }
.mfp-iframe-scaler iframe { background: var(--bm-bg); box-shadow: var(--bm-shadow-hi); }

/* Preloader */
#preloader, .preloader { background-color: var(--bm-bg); }
.preloader span { background-color: var(--bm-accent); }

/*--------------------------------------------------------------
  15. FOCUS, ACCESSIBILITY & REDUCED MOTION
--------------------------------------------------------------*/

/* Keyboard focus is always visible and never relies on colour alone:
   a solid orange ring plus a dark halo so it reads on any surface. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--bm-accent-hi);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 5px rgba(10, 10, 11, 0.85);
}
/* Pointer users keep a clean UI */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.skip-link,
.screen-reader-text:focus {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100000;
  background: var(--bm-accent);
  color: var(--bm-text-invert);
  padding: 12px 20px;
  border-radius: var(--bm-radius-sm);
  font-weight: 600;
  clip: auto !important;
  clip-path: none;
  width: auto;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .dgm-project-item:hover .dgm-project-thumb img,
  .dgm-blog-item:hover .dgm-blog-thumb img,
  .dgm-team-item:hover .dgm-team-thumb img,
  .news-box:hover .image-wrapper img { transform: none; }
  .news-box:hover,
  .tp-service-item:hover,
  .dgm-service-item:hover { transform: none; }
}

@media (prefers-contrast: more) {
  :root {
    --bm-text-2: rgba(244, 243, 241, 0.82);
    --bm-text-3: rgba(244, 243, 241, 0.66);
    --bm-border: rgba(255, 255, 255, 0.18);
    --bm-border-strong: rgba(255, 255, 255, 0.3);
  }
}

/*--------------------------------------------------------------
  16. RESPONSIVE REFINEMENTS
  Nothing here changes the existing grid or breakpoints; it only
  guards the new surfaces against overflow and keeps touch targets
  and type comfortable on small screens.
--------------------------------------------------------------*/
html, body { overflow-x: hidden; }
img, video, svg, iframe, canvas { max-width: 100%; }

/* Never let a long unbroken string push the layout sideways */
h1, h2, h3, h4, h5, h6, p, li, a, td, th { overflow-wrap: break-word; }

@media (min-width: 640px) {
  .news-list-section .grid,
  .news-list-section > .container > div:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .news-list-section .grid,
  .news-list-section > .container > div:first-child {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 24px;
  }
}

@media (max-width: 1199px) {
  /* The nav pill is desktop-only chrome; drop its plate below XL */
  .tp-header-inner-style .tp-header-menu > nav > ul {
    background-color: transparent !important;
    border: 0;
  }
}

@media (max-width: 991px) {
  .dgm-service-radius,
  .dgm-testimonial-radius { border-radius: var(--bm-radius); }
  .section-hero-banner { min-height: 48vh; }
  .section-hero-banner .hero-content { padding: 48px 0 40px; }
}

@media (max-width: 767px) {
  .tp-copyright-2-menu ul { justify-content: center; gap: 18px; }
  .dgm-footer-widget-social { justify-content: flex-start; }
  .news-box .content { padding: 18px 18px 20px; }
  .news-box .content h3 { font-size: 18px; }
  .section-hero-banner { min-height: 44vh; }
  .tp-offcanvas-wrapper { padding: 26px 22px 40px; }
  .tp-offcanvas-menu ul li > a { font-size: 18px; }
  /* Comfortable tap targets */
  .pagination a,
  .pagination span,
  .basic-pagination ul li > a { min-width: 42px; height: 42px; }
  blockquote { padding: 18px 20px; }
  /* Wide editorial media scrolls inside its own box */
  .postbox-details-text pre,
  .tp-pd-2-overview-wrap pre { max-width: 100%; overflow-x: auto; }
}

@media (max-width: 479px) {
  .button-orange { padding: 10px 18px; font-size: 13px; }
  .news-box .content > div { gap: 10px; }
  .dgm-footer-widget-social a,
  .tp-footer-widget-social a { width: 40px; height: 40px; }
}

/* ---- Block-level responsive corrections ---------------------------
   Audited against the vendor sheet: these are the rules that ship a
   fixed px size with no breakpoint of their own, plus one positioning
   context the vendor drops below XL. */

/* Hero: below 992px main.css switches .dgm-hero-thumb to position:static,
   which removes the containing block for the absolutely-positioned
   "Say hi" card. The card then anchors to .dgm-hero-ptb instead and lands
   on top of the fun-facts. Keep it a positioning context. */
@media (max-width: 991px) {
  .dgm-hero-thumb {
    position: relative !important;
  }
}

@media (max-width: 767px) {
  /* Contact header stat card is a hard 340px + 40px padding — narrower
     than a 360px viewport once container gutters are counted. */
  .crp-hero-funfact-bg {
    width: 100%;
    max-width: 340px;
    padding: 28px;
  }
  .crp-hero-funfact-top-content {
    padding-right: 0;
    margin-bottom: 28px;
  }

  /* Case-study masonry footer card, same fixed-340px problem */
  .tp-portfolio-masonry-grid-bottom {
    width: 100%;
    max-width: 340px;
  }

  /* 180px of dead space above the title on blog / case-study headers */
  .tp-breadcrumb-ptb {
    padding-top: 120px;
  }

  /* Hero brand pills: keep three across but tighten so they don't wrap
     mid-word in a 345px column */
  .dgm-hero-brand-panel {
    gap: 8px;
  }
  .dgm-hero-brand-panel strong {
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  .dgm-hero-text-box {
    width: min(260px, calc(100% - 40px));
    height: auto;
    min-height: 220px;
    padding: 24px;
  }
  .dgm-hero-text-box p {
    font-size: 24px;
  }
}

@media (max-width: 479px) {
  .tp-btn-black-square {
    padding: 14px 22px;
  }
  .dgm-hero-brand-panel {
    gap: 6px;
  }
  .dgm-hero-brand-panel strong {
    padding: 0 6px;
    font-size: 11px;
  }
  .dgm-hero-text-box {
    left: 16px;
    bottom: 16px;
    padding: 20px;
  }
  .dgm-hero-text-box p {
    font-size: 21px;
  }
  .crp-hero-funfact-bg,
  .tp-portfolio-masonry-grid-bottom {
    max-width: 100%;
  }
}

/* ---- Hero: no exposed background strip under the image --------------
   .dgm-hero-ptb carries padding-bottom:15px and .dgm-hero-bg is a
   cover-sized shape behind it. Below 992px main.css stacks the thumb
   after the copy, so that padding leaves a green band of raw background
   showing under the photo. Close the gap and let the image finish the
   section. */
@media (max-width: 991px) {
  .dgm-hero-ptb {
    padding-bottom: 0;
  }
  /* The vendor's stacked thumb keeps height:100% from the desktop rule,
     which collapses to nothing once it is no longer absolutely filling
     the hero — the photo and the "Say hi" card disappear. Give the stack
     a real, ratio-driven height instead. */
  .dgm-hero-thumb {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 24px;
  }
  .dgm-hero-thumb .anim-zoomin-wrap,
  .dgm-hero-thumb .anim-zoomin-wrap .anim-zoomin {
    height: auto !important;
  }
  .dgm-hero-thumb img,
  .dgm-hero-thumb > img,
  .dgm-hero-thumb .anim-zoomin-wrap .anim-zoomin > img {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 3;
    max-height: 58vh;
    object-fit: cover;
    border-radius: var(--bm-radius-lg);
  }
}

/* ---- Media heights ---------------------------------------------------
   Card imagery is authored at whatever ratio the upload happens to be,
   so rows go ragged and single cards run absurdly tall on a phone. Pin
   each family to one ratio and let object-fit do the cropping. */
.dgm-team-thumb img,
.dgm-blog-thumb img,
.dgm-project-thumb img,
.tp-portfolio-inner-thumb img,
.postbox-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.dgm-team-thumb img { aspect-ratio: 3 / 4; }
.dgm-blog-thumb img,
.postbox-thumb img,
.tp-portfolio-inner-thumb img { aspect-ratio: 3 / 2; }

@media (max-width: 767px) {
  /* Team cards were running near full-screen tall on a phone */
  .dgm-team-thumb img { aspect-ratio: 4 / 3; max-height: 320px; }
  .dgm-blog-thumb img,
  .postbox-thumb img,
  .tp-portfolio-inner-thumb img { aspect-ratio: 16 / 10; max-height: 260px; }
  .dgm-team-item { margin-bottom: 24px !important; }
  .tp-portfolio-inner-item { margin-bottom: 28px !important; }

  /* How it works: the pinned panel list carries desktop-sized air */
  .tp-work-area { padding-top: 52px !important; padding-bottom: 40px !important; }
  .tp-work-item { margin-bottom: 10px !important; padding: 18px 0 !important; }
  .tp-work-content p { margin-bottom: 0; }
  .tp-section-title.fs-140 { font-size: 40px !important; line-height: 1.05; }
}

/* ---- Service list cards: they are cards here, not ruled rows --------
   The dark theme gives .dgm-service-item a border and radius, but the
   vendor padding is `38px 0` with a border-top divider, so stacked cards
   collide on mobile and the copy runs to the card edge. */
.dgm-service-item {
  padding: 28px 26px;
  margin-bottom: 16px;
  border-top: 0 !important;
}
@media (max-width: 767px) {
  .dgm-service-item {
    padding: 22px 20px;
    margin-bottom: 20px;
  }
  /* Service listing rows are cards on mobile too — give them the gap */
  .tp-service-item {
    margin-bottom: 20px;
    border-radius: var(--bm-radius);
  }
  .tp-service-item:last-child { margin-bottom: 0; }
  .dgm-service-content-right {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ---- Section rhythm -------------------------------------------------
   The template's spacing utilities were authored for a taller desktop
   layout and are applied inconsistently across blocks (pt-160 next to
   pt-100 next to pb-140). Normalise them onto one scale so the gap
   between any two blocks is predictable, and compress it on smaller
   screens instead of letting 160px of air survive down to a phone. */
@media (min-width: 1200px) {
  .pt-190 { padding-top: 150px !important; }
  .pb-80  { padding-bottom: 70px !important; }
  .mb-80  { margin-bottom: 64px !important; }
  .mb-65  { margin-bottom: 52px !important; }
  .pt-160 { padding-top: 130px !important; }
  .pt-140 { padding-top: 120px !important; }
  .pt-120 { padding-top: 104px !important; }
  .pt-100 { padding-top: 88px !important; }
  .pb-140 { padding-bottom: 120px !important; }
  .pb-120 { padding-bottom: 104px !important; }
  .pb-100 { padding-bottom: 88px !important; }
  .mb-120 { margin-bottom: 96px !important; }
  .mb-16  { margin-bottom: 16px !important; }
  .mb-md-80 { margin-bottom: 16px !important; }
}

@media (max-width: 1199px) {
  .pt-160 { padding-top: 110px !important; }
  .pt-190 { padding-top: 120px !important; }
  .pb-80  { padding-bottom: 60px !important; }
  .mb-80  { margin-bottom: 52px !important; }
  .mb-65  { margin-bottom: 44px !important; }
  .pt-140 { padding-top: 100px !important; }
  .pt-120 { padding-top: 90px !important; }
  .pt-100 { padding-top: 80px !important; }
  .pb-140 { padding-bottom: 100px !important; }
  .pb-120 { padding-bottom: 90px !important; }
  .pb-100 { padding-bottom: 80px !important; }
  .mb-120 { margin-bottom: 80px !important; }
  .mb-60  { margin-bottom: 44px !important; }
  .mb-50  { margin-bottom: 38px !important; }
  .mb-16  { margin-bottom: 16px !important; }
}

@media (max-width: 991px) {
  .pt-160 { padding-top: 84px !important; }
  .pt-190 { padding-top: 92px !important; }
  .pb-80  { padding-bottom: 48px !important; }
  .mb-80  { margin-bottom: 40px !important; }
  .mb-65  { margin-bottom: 32px !important; }
  .pt-140 { padding-top: 76px !important; }
  .pt-120 { padding-top: 68px !important; }
  .pt-100 { padding-top: 60px !important; }
  .pb-140 { padding-bottom: 76px !important; }
  .pb-120 { padding-bottom: 68px !important; }
  .pb-100 { padding-bottom: 60px !important; }
  .pb-60  { padding-bottom: 44px !important; }
  .mb-120 { margin-bottom: 56px !important; }
  .mb-60  { margin-bottom: 36px !important; }
  .mb-50  { margin-bottom: 30px !important; }
  .mb-40  { margin-bottom: 26px !important; }
  .mb-16  { margin-bottom: 16px !important; }
  .mt-40  { margin-top: 26px !important; }
}

@media (max-width: 575px) {
  .pt-160 { padding-top: 64px !important; }
  .pt-190 { padding-top: 70px !important; }
  .pb-80  { padding-bottom: 36px !important; }
  .mb-80  { margin-bottom: 30px !important; }
  .mb-65  { margin-bottom: 24px !important; }
  .mb-20  { margin-bottom: 14px !important; }
  .pt-140 { padding-top: 58px !important; }
  .pt-120 { padding-top: 52px !important; }
  .pt-100 { padding-top: 46px !important; }
  .pb-140 { padding-bottom: 58px !important; }
  .pb-120 { padding-bottom: 52px !important; }
  .pb-100 { padding-bottom: 46px !important; }
  .pb-60  { padding-bottom: 34px !important; }
  .mb-120 { margin-bottom: 40px !important; }
  .mb-60  { margin-bottom: 28px !important; }
  .mb-50  { margin-bottom: 24px !important; }
  .mb-40  { margin-bottom: 20px !important; }
  .mb-35  { margin-bottom: 18px !important; }
  .mb-16  { margin-bottom: 16px !important; }
  .mt-40  { margin-top: 20px !important; }
}

/* Desktop and above: apply larger margins */
@media (min-width: 768px) {
  .mb-md-80 { margin-bottom: 80px !important; }
}

/* Very large screens: keep line length editorial rather than letting
   body copy run the full width of the viewport */
@media (min-width: 1920px) {
  .postbox-details-text,
  .tp-pd-2-overview-wrap { max-width: 76ch; }
}

/*--------------------------------------------------------------
  17. SCROLL REVEAL (paired with assets/js/dark-theme.js)
  Applied only to elements that already opted in via data-aos, so
  nothing new starts moving that was previously static.
--------------------------------------------------------------*/
.bm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--bm-ease), transform 0.55s var(--bm-ease);
  will-change: opacity, transform;
}
.bm-reveal.bm-revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .bm-reveal { opacity: 1; transform: none; transition: none; }
}

/*--------------------------------------------------------------
  18. QA CORRECTIONS
  Cases the sweep surfaced where the template hard-codes a colour
  that assumed a light canvas, or where text sits on the orange
  accent and must flip to the inverse ink.
--------------------------------------------------------------*/

/* Utility class that pins text to black regardless of context */
.text-black,
.title-black-color,
.text-black span,
.text-black > div {
  color: var(--bm-text) !important;
}

/* Anything sitting on the orange accent uses the inverse ink so the
   pairing stays at ~10:1 rather than the 2:1 white-on-orange gives. */
.btn-red-bg,
.green-regular-bg,
.tp-brand-wrapper.green-regular-bg,
.tp-btn-black.btn-red-bg,
.tp-btn-black.btn-red-bg span,
.tp-btn-black.btn-red-bg .tp-btn-black-text,
.tp-btn-yellow-green span,
.tp-btn-yellow-green .text-1,
.tp-btn-yellow-green .text-2,
.green-regular-bg .tp-brand-title {
  color: var(--bm-text-invert) !important;
}
.btn-red-bg { background-color: var(--bm-accent) !important; }

/* .tp-btn-black is a two-piece gooey button: a text pill and a separate
   circle that slides out on hover, welded by an SVG blur filter. Painting
   the <a> wrapper fills the gap between the pieces with a solid orange
   slab, so the circle slides across matching orange and the whole effect
   disappears. The wrapper must stay transparent — colour the pieces. */
.tp-btn-black.btn-red-bg {
  background-color: transparent !important;
}
.tp-btn-black.btn-red-bg .tp-btn-black-text,
.tp-btn-black.btn-red-bg .tp-btn-black-circle {
  background-color: var(--bm-accent) !important;
  transition: background-color var(--bm-dur) var(--bm-ease),
              transform 0.9s cubic-bezier(0.135, 0.9, 0.15, 1);
}
.tp-btn-black.btn-red-bg .tp-btn-black-circle > svg {
  color: var(--bm-text-invert) !important;
}
.tp-btn-black.btn-red-bg:hover .tp-btn-black-text,
.tp-btn-black.btn-red-bg:hover .tp-btn-black-circle {
  background-color: var(--bm-accent-hi) !important;
}
/* The blur-filter decoration inside these buttons must follow suit */
.tp-btn-black-filter-blur,
.tp-btn-black-filter-blur span { color: var(--bm-text-invert) !important; }

/* The drawer parks itself off-screen with a transform. Because it is
   position:fixed it escapes body's overflow clip and adds a phantom
   horizontal scroll to the viewport, so the area that holds it becomes
   its own clipped, click-through layer. */
.tp-offcanvas-area {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
}
.tp-offcanvas-area .tp-offcanvas-wrapper { pointer-events: auto; }
.tp-offcanvas-area:not(.opened) { visibility: hidden; }
.tp-offcanvas-area.opened { visibility: visible; }

/* GSAP reveal easings (data-ease="bounce" and friends) overshoot their
   start position, which briefly widens the scroll area. `clip` contains
   that without creating a scroll container, so sticky positioning and
   the pinned panels inside still behave. */
html { overflow-x: clip; }
#page.site { overflow-x: clip; }

/* The decorative cursor follows the pointer with a transform and must
   never contribute to the document's scrollable area. */
.custom-cursor {
  pointer-events: none;
  top: 0;
  left: 0;
  will-change: transform;
}

/* The drawer is position:fixed, so an ancestor's overflow alone will not
   clip it — it escapes and its parked, off-screen box widens the page.
   `contain: paint` makes the area a containing block for fixed
   descendants AND clips them. The area is itself fixed at inset:0, so the
   drawer resolves against the same rectangle and nothing moves. */
.tp-offcanvas-area {
  contain: paint;
}

/*--------------------------------------------------------------
  19. HEADER ARCHITECTURE — TOP STATE vs SCROLLED STATE
  The header floats over a split hero: dark panel on the left,
  photography on the right. Fully transparent, it dissolved into the
  photo. Both states are now deliberate:

    top      — transparent bar over a soft top-down scrim, so the nav
               always has ground to sit on whatever is behind it
    scrolled — condenses into a shorter, blurred, near-black bar with
               a hairline edge

  Nothing here changes the sticky JS; it still just toggles
  `.header-sticky` on #header-sticky.
--------------------------------------------------------------*/
.tp-header-area {
  --bm-header-pad: 22px;
  z-index: 99;
  padding-top: var(--bm-header-pad);
  padding-bottom: var(--bm-header-pad);
  transition: padding var(--bm-dur) var(--bm-ease),
              background-color var(--bm-dur) var(--bm-ease),
              box-shadow var(--bm-dur) var(--bm-ease);
}
/* Only the transparent (overlay) header is taken out of flow — scoped
   so a future non-transparent header still lays out normally. */
.tp-header-area.header-transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.tp-header-area > .container { position: relative; z-index: 2; }

/* Top-state scrim: reads as depth, not as a bar. Extends past the
   header so it fades out instead of ending on a visible edge. */
.tp-header-area.header-transparent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 210%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 11, 0.92) 0%,
    rgba(10, 10, 11, 0.74) 38%,
    rgba(10, 10, 11, 0.34) 68%,
    rgba(10, 10, 11, 0) 100%
  );
  opacity: 1;
  transition: opacity var(--bm-dur) var(--bm-ease);
}
/* Once the solid bar takes over, the scrim would double up */
.tp-header-area.header-transparent.header-sticky::before { opacity: 0; }

/* Scrolled: fixed, condensed, clearly separated. main.css already sets
   position:fixed and a headerSlideDown margin-top animation here; both
   are left alone. */
.tp-header-area.header-sticky {
  --bm-header-pad: 12px;
  position: fixed;
  background-color: rgba(10, 10, 11, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--bm-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* The template offsets the home header with its own paddings, which
   fought the new three-zone grid and pushed the logo off the container
   edge. Alignment now comes from the grid alone. */
/* Reset only the horizontal offset — vertical padding is owned by
   `.tp-header-area` above, and zeroing it here would cancel it. */
.tp-header-3-style { padding-left: 0; }
.tp-header-3-style .tp-header-menu > nav > ul { margin-left: 0; }
.tp-header-logo { padding-left: 0; padding-right: 0; }
.tp-header-box { padding-right: 0; }
.tp-header-logo,
.tp-header-box { display: flex; align-items: center; }
.tp-header-box-center { justify-content: center; }
.tp-header-logo img {
  max-width: 120px;
  height: auto;
  transition: max-width var(--bm-dur) var(--bm-ease);
}
.tp-header-area.header-sticky .tp-header-logo img { max-width: 104px; }

/* Nav links: consistent rhythm in both header styles, and a hit area
   that matches the condensed bar rather than the original 35px slab. */
.tp-header-3-style .tp-header-menu > nav > ul > li { margin: 0 16px; }
.tp-header-3-style .tp-header-menu > nav > ul > li > a { padding: 18px 0; font-size: 16px; }
.tp-header-area.header-sticky .tp-header-menu > nav > ul > li > a { padding: 14px 0; }

/* Dropdown panel hangs off the shorter link box now */
.tp-header-3-style .tp-header-dropdown nav ul li .tp-submenu { top: 100%; }

/* Header CTA sits on the accent and keeps a comfortable target */
.tp-header-btn .tp-btn-yellow-green {
  padding: 13px 26px;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .tp-header-area { --bm-header-pad: 16px; }
  /* mt-30 on the inner header double-counts the new padding */
  .tp-header-area.tp-header-inner-style.mt-30 { margin-top: 0 !important; }
}

@media (max-width: 767px) {
  .tp-header-area { --bm-header-pad: 12px; }
  .tp-header-logo img { max-width: 104px; }
  .tp-header-area.header-transparent::before { height: 260%; }
}

/* main.css sets `.header-sticky.tp-header-3-style{padding-top:0}` at
   (0,2,0), which outranks the padding on `.tp-header-area` and would
   collapse the condensed bar's top padding to zero on the homepage.
   Restated here at (0,3,0). */
.tp-header-area.header-sticky,
.tp-header-area.header-sticky.tp-header-3-style,
.tp-header-area.header-sticky.tp-header-inner-style {
  padding-top: var(--bm-header-pad);
  padding-bottom: var(--bm-header-pad);
}
/* The inner header's mt-30 offset is for the top state only — once the
   bar is fixed it would float 30px clear of the viewport edge. */
.tp-header-area.header-sticky.mt-30 { margin-top: 0 !important; }

/* Keep the condensed bar above hero content (main.css ships z-index:10) */
.tp-header-area.header-sticky { z-index: 99; }

/*--------------------------------------------------------------
  20. REFERENCE HEADER CAPSULE
  Matches the supplied mockup: a floating dark glass pill over the hero,
  centered navigation, orange active marker, and orange message CTA.
--------------------------------------------------------------*/
.tp-header-area.tp-header-unified-style,
.tp-header-area.tp-header-unified-style.header-sticky,
.tp-header-area.tp-header-unified-style.header-sticky.sticky-white-bg {
  --bm-header-height: 80px;
  --bm-header-pad-x: 46px;
  position: fixed;
  top: 14px;
  left: 26px;
  right: 26px;
  width: auto;
  max-width: none;
  min-height: var(--bm-header-height);
  margin: 0 auto !important;
  padding: 0 !important;
  background: linear-gradient(90deg, rgba(24, 24, 25, 0.82), rgba(42, 42, 42, 0.72)) !important;
  -webkit-backdrop-filter: saturate(135%) blur(18px);
  backdrop-filter: saturate(135%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 60px rgba(0, 0, 0, 0.34);
  z-index: 100;
  animation: none !important;
  -webkit-animation: none !important;
  transition: background var(--bm-dur) var(--bm-ease),
              box-shadow var(--bm-dur) var(--bm-ease);
}

.tp-header-area.tp-header-unified-style.header-sticky,
.tp-header-area.tp-header-unified-style.header-sticky.sticky-white-bg {
  position: fixed;
  top: 14px;
  min-height: var(--bm-header-height);
  background: rgba(24, 24, 25, 0.88) !important;
}

.tp-header-area.tp-header-unified-style.header-transparent::before,
.tp-header-area.tp-header-unified-style.tp-header-blur::after {
  display: none;
}

.tp-header-unified-style > .container {
  height: 100%;
  max-width: none;
  padding-left: var(--bm-header-pad-x);
  padding-right: 38px;
}

.tp-header-unified-style > .container > .row {
  min-height: var(--bm-header-height);
  align-items: center;
}

.tp-header-unified-style.header-sticky > .container > .row {
  min-height: var(--bm-header-height);
}

.tp-header-unified-style .tp-header-logo img,
.tp-header-unified-style.header-sticky .tp-header-logo img {
  display: block;
  width: auto;
  max-width: 142px;
  max-height: 56px;
}

.tp-header-unified-style .tp-header-logo,
.tp-header-unified-style.header-sticky .tp-header-logo,
.tp-header-area.header-sticky.tp-header-unified-style .tp-header-logo {
  padding: 0 !important;
}

.tp-header-unified-style .tp-header-menu > nav > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.15vw, 44px);
  margin: 0;
  padding: 0;
}

.tp-header-unified-style .tp-header-menu > nav > ul > li {
  margin: 0;
}

.tp-header-unified-style .tp-header-menu > nav > ul > li > a,
.tp-header-area.header-sticky.tp-header-unified-style .tp-header-menu > nav > ul > li > a {
  padding: 12px 0;
  color: #f6f4f1 !important;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  background-position: 0 calc(50% + 0.82em);
  background-size: 0 2px;
}

.tp-header-unified-style .tp-header-menu > nav > ul > li > a:hover,
.tp-header-unified-style .tp-header-menu > nav > ul > li.current-menu-item > a,
.tp-header-unified-style .tp-header-menu > nav > ul > li.current_page_item > a,
.tp-header-unified-style .tp-header-menu > nav > ul > li.current-menu-ancestor > a,
.tp-header-area.header-sticky.tp-header-unified-style .tp-header-menu > nav > ul > li > a:hover,
.tp-header-area.header-sticky.tp-header-unified-style .tp-header-menu > nav > ul > li.current-menu-item > a,
.tp-header-area.header-sticky.tp-header-unified-style .tp-header-menu > nav > ul > li.current_page_item > a,
.tp-header-area.header-sticky.tp-header-unified-style .tp-header-menu > nav > ul > li.current-menu-ancestor > a {
  color: var(--bm-accent) !important;
  background-size: 100% 2px;
}

.tp-header-unified-style .tp-header-dropdown nav ul li.has-dropdown::after,
.tp-header-area.header-sticky.tp-header-unified-style .tp-header-dropdown nav ul li.has-dropdown::after {
  color: #f6f4f1 !important;
  margin-left: 9px;
  font-size: 11px;
}

.tp-header-unified-style .tp-header-dropdown nav ul li.has-dropdown:hover::after,
.tp-header-area.header-sticky.tp-header-unified-style .tp-header-dropdown nav ul li.has-dropdown:hover::after {
  color: var(--bm-accent) !important;
}

.tp-header-unified-style .tp-header-btn .tp-btn-yellow-green,
.tp-header-unified-style .tp-header-btn .tp-btn-yellow-green.green-solid {
  min-height: 52px;
  padding: 15px 31px;
  border: 0;
  border-radius: 999px;
  background: var(--bm-accent) !important;
  color: #0b0b0c !important;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: none;
}

.tp-header-unified-style .tp-header-btn .tp-btn-yellow-green:hover,
.tp-header-unified-style .tp-header-btn .tp-btn-yellow-green:focus-visible {
  background: var(--bm-accent-hi) !important;
  color: #0b0b0c !important;
  transform: translateY(-1px);
}

.tp-header-unified-style .tp-header-btn .tp-btn-yellow-green i {
  width: 18px;
  height: 18px;
  margin: 0;
  color: currentColor;
}

.tp-header-unified-style .tp-header-btn .tp-btn-yellow-green i svg {
  width: 18px;
  height: 15px;
}

@media (max-width: 1399px) {
  .tp-header-area.tp-header-unified-style,
  .tp-header-area.tp-header-unified-style.header-sticky,
  .tp-header-area.tp-header-unified-style.header-sticky.sticky-white-bg {
    left: 18px;
    right: 18px;
  }

  .tp-header-unified-style > .container {
    --bm-header-pad-x: 32px;
    padding-right: 30px;
  }

  .tp-header-unified-style .tp-header-menu > nav > ul {
    gap: 24px;
  }

  .tp-header-unified-style .tp-header-menu > nav > ul > li > a,
  .tp-header-area.header-sticky.tp-header-unified-style .tp-header-menu > nav > ul > li > a,
  .tp-header-unified-style .tp-header-btn .tp-btn-yellow-green,
  .tp-header-unified-style .tp-header-btn .tp-btn-yellow-green.green-solid {
    font-size: 16px;
  }
}

@media (max-width: 1199px) {
  .tp-header-area.tp-header-unified-style,
  .tp-header-area.tp-header-unified-style.header-sticky,
  .tp-header-area.tp-header-unified-style.header-sticky.sticky-white-bg {
    --bm-header-height: 86px;
    top: 14px;
    left: 14px;
    right: 14px;
    min-height: var(--bm-header-height);
  }

  .tp-header-unified-style > .container > .row,
  .tp-header-unified-style.header-sticky > .container > .row {
    min-height: var(--bm-header-height);
  }

  .tp-header-unified-style .tp-header-logo img,
  .tp-header-unified-style.header-sticky .tp-header-logo img {
    max-width: 118px;
    max-height: 58px;
  }
}

@media (max-width: 767px) {
  .tp-header-area.tp-header-unified-style,
  .tp-header-area.tp-header-unified-style.header-sticky,
  .tp-header-area.tp-header-unified-style.header-sticky.sticky-white-bg {
    --bm-header-height: 72px;
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .tp-header-unified-style > .container {
    --bm-header-pad-x: 22px;
    padding-right: 22px;
  }

  .tp-header-unified-style .tp-header-logo img,
  .tp-header-unified-style.header-sticky .tp-header-logo img {
    max-width: 102px;
    max-height: 50px;
  }

  .tp-header-unified-style .tp-offcanvas-open-btn {
    width: 44px;
    height: 44px;
  }
}
.dgm-service-title-sm a:hover{
 color:white !important;
}