/* ECI Modern design layer: presentation only. Every selector is scoped to body.eci-modern so switching back to
   hodges-child restores today's look exactly. Brand maroon is the Hodges skin color #7A0015. */
body.eci-modern {
  --eci-maroon: #7a0015; --eci-maroon-2: #9a1a2c; --eci-ink: #16181d; --eci-text: #3b4048; --eci-muted: #5d636c;
  --eci-line: #e6e8ec; --eci-soft: #f6f7f9; --eci-warm: #fbf7f6; --eci-navy: #0f1726; --eci-radius: 14px;
  --eci-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .07);
  --eci-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; --eci-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--eci-body); color: var(--eci-text); -webkit-font-smoothing: antialiased;
}

/* ---------- type: one family per role, readable gray, no shouting caps */
body.eci-modern, body.eci-modern p, body.eci-modern li, body.eci-modern .thememount-box-desc, body.eci-modern .wpb_text_column {
  font-family: var(--eci-body) !important; font-size: 14.5px; line-height: 1.65;
}
body.eci-modern .site-content p, body.eci-modern .site-content li, body.eci-modern .thememount-box-desc,
body.eci-modern .tm-vc_cta3-content p, body.eci-modern .wpb_text_column p { color: var(--eci-text); }
body.eci-modern .tm-textcolor-white p, body.eci-modern .tm-textcolor-white li, body.eci-modern .tm-bgcolor-skincolor p,
body.eci-modern .tm-row-textcolor-white p, body.eci-modern [class*="tm-bgcolor-dark"] p { color: rgba(255, 255, 255, .9); }
body.eci-modern h1, body.eci-modern h2, body.eci-modern h3, body.eci-modern h4, body.eci-modern h5,
body.eci-modern .tm-element-heading-wrapper h2, body.eci-modern .tm-element-heading-wrapper h4, body.eci-modern .tm-custom-heading,
body.eci-modern .thememount-box-title h4, body.eci-modern .widget-title {
  font-family: var(--eci-head) !important; letter-spacing: -.015em; text-transform: none !important;
}
body.eci-modern .tm-element-heading-wrapper h2, body.eci-modern .site-content h2 { font-weight: 700; line-height: 1.2; letter-spacing: -.015em !important; }
body.eci-modern .tm-element-heading-wrapper h2 *, body.eci-modern .tm-element-heading-wrapper h4 * { letter-spacing: inherit !important; }
body.eci-modern .tm-element-heading-wrapper h2 strong, body.eci-modern .tm-element-heading-wrapper h2 b { font-weight: 800; }
body.eci-modern a { text-underline-offset: .2em; transition: color .15s ease; }
body.eci-modern :focus-visible { outline: 3px solid #e3a33a !important; outline-offset: 2px; border-radius: 4px; }

/* ---------- top bar and header */
body.eci-modern .thememount-topbar-wrapper { background: linear-gradient(90deg, var(--eci-maroon), #4c0010) !important; font-size: 13.5px; }
body.eci-modern .thememount-topbar-wrapper a { color: #fff !important; opacity: .92; }
/* Desktop header only. Below 1201px Hodges switches to its own phone menu, which keeps its original styles
   (a translucent header with backdrop-filter would also trap the phone menu's fixed overlay). */
@media (min-width: 1201px) {
body.eci-modern #tm-stickable-header-w, body.eci-modern #site-header { background: rgba(255, 255, 255, .92) !important; backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
body.eci-modern #site-header { border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
body.eci-modern.eci-scrolled #site-header, body.eci-modern .tm-stickable-header.is_stuck { box-shadow: 0 6px 24px rgba(16, 24, 40, .08); border-bottom-color: var(--eci-line); background: rgba(255, 255, 255, .96) !important; }
body.eci-modern #site-header-menu #site-navigation div.nav-menu > ul > li > a {
  font-family: var(--eci-body) !important; text-transform: none !important; font-size: 14.5px !important; font-weight: 600 !important;
  letter-spacing: 0 !important; color: var(--eci-ink) !important; padding-left: 12px !important; padding-right: 12px !important; margin-left: 0 !important; margin-right: 0 !important; white-space: nowrap;
}
body.eci-modern .site-branding .thememount-logo-img { max-height: 64px; width: auto; }
body.eci-modern .tm-header-icons { padding-left: 6px !important; }
body.eci-modern.eci-scrolled #site-header-menu #site-navigation div.nav-menu > ul > li > a { color: var(--eci-ink) !important; }
body.eci-modern #site-header-menu #site-navigation div.nav-menu > ul > li > a:hover, body.eci-modern #site-header-menu #site-navigation div.nav-menu > ul > li.current-menu-item > a,
body.eci-modern #site-header-menu #site-navigation div.nav-menu > ul > li.current-menu-ancestor > a { color: var(--eci-maroon) !important; }
body.eci-modern #site-header-menu #site-navigation div.nav-menu > ul > li.menu-item-7708 > a {
  background: var(--eci-maroon) !important; color: #fff !important; border-radius: 999px; padding: 10px 20px !important;
  line-height: 1.2 !important; height: auto !important; margin-left: 10px; align-self: center; box-shadow: 0 6px 16px rgba(122, 0, 21, .25);
}
body.eci-modern #site-header-menu #site-navigation div.nav-menu > ul > li.menu-item-7708 > a:hover { background: var(--eci-maroon-2) !important; transform: translateY(-1px); }
body.eci-modern #site-navigation ul.sub-menu { border-radius: 12px; border: 1px solid var(--eci-line); box-shadow: 0 18px 40px rgba(16, 24, 40, .12) !important; padding: 8px !important; background: #fff !important; overflow: hidden; }
body.eci-modern #site-navigation ul.sub-menu li a { font-family: var(--eci-body) !important; text-transform: none !important; font-size: 14.5px !important; letter-spacing: 0 !important; border-radius: 8px; padding: 9px 14px !important; color: var(--eci-ink) !important; border: 0 !important; }
body.eci-modern #site-navigation ul.sub-menu li a:hover { background: var(--eci-warm) !important; color: var(--eci-maroon) !important; }
}
/* Phone menu: Hodges' dropdown, made solid so the page behind does not show through. */
@media (max-width: 1200px) {
body.eci-modern #site-header-menu #site-navigation div.nav-menu > ul, body.eci-modern #site-header-menu #site-navigation div.nav-menu > ul ul { background: #16181d !important; opacity: 1 !important; }
body.eci-modern #site-header-menu #site-navigation div.nav-menu > ul { box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
}

/* ---------- hero slider: deeper overlay so the headline reads */
body.eci-modern .rev_slider_wrapper { position: relative; }
body.eci-modern .rev_slider_wrapper::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 20;
  background: linear-gradient(180deg, rgba(15, 23, 38, .15) 0%, rgba(15, 23, 38, .35) 60%, rgba(15, 23, 38, .55) 100%); }

/* ---------- buttons */
body.eci-modern .tm-vc_btn3, body.eci-modern .vc_btn3, body.eci-modern a.tm-vc_btn3, body.eci-modern .thememount-blogbox-footer-readmore a,
body.eci-modern input[type="submit"], body.eci-modern button.gform_button, body.eci-modern .gform_button {
  border-radius: 999px !important; font-family: var(--eci-body) !important; font-weight: 600 !important; text-transform: none !important;
  letter-spacing: 0 !important; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease !important;
}
body.eci-modern .tm-vc_btn3:hover, body.eci-modern .vc_btn3:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(16, 24, 40, .15); }

/* ---------- cards and panels */
body.eci-modern .services-slider-list-card, body.eci-modern .thememount-box-blog, body.eci-modern .thememount-box-portfolio,
body.eci-modern .thememount-box-team, body.eci-modern .vc_single_image-wrapper img, body.eci-modern .tm-featured-wrapper img { border-radius: var(--eci-radius) !important; overflow: hidden; }
body.eci-modern .services-slider-list-card { box-shadow: var(--eci-shadow); transition: transform .2s ease, box-shadow .2s ease; }
body.eci-modern .services-slider-list-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16, 24, 40, .16); }
body.eci-modern .services-name { font-family: var(--eci-head) !important; text-transform: none !important; letter-spacing: -.01em; font-size: 17px !important; }
body.eci-modern .thememount-box-blog { background: #fff; border: 1px solid var(--eci-line); box-shadow: var(--eci-shadow); padding-bottom: 6px; }
body.eci-modern .thememount-box-blog .thememount-box-content { padding: 4px 18px 10px; }
body.eci-modern .thememount-box-blog .thememount-box-title h4 { font-size: 18px !important; line-height: 1.35; }
body.eci-modern .tm-client-logo-box-w img { filter: grayscale(1) brightness(1.6); opacity: .9; transition: filter .2s ease, opacity .2s ease; }
body.eci-modern .tm-client-logo-box-w:hover img { filter: none; opacity: 1; }
body.eci-modern .tm-bgcolor-skincolor { background-image: radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 60%), linear-gradient(135deg, #7a0015, #4f000e) !important; }
body.eci-modern .testimonial_item .thememount-testimonial-text, body.eci-modern .thememount-testimonial-text p { font-family: var(--eci-head) !important; font-style: normal !important; font-size: 20px !important; line-height: 1.55 !important; color: var(--eci-ink) !important; }
body.eci-modern .tm-titlebar-wrapper, body.eci-modern .tm-titlebar { background-image: linear-gradient(120deg, rgba(15, 23, 38, .92), rgba(122, 0, 21, .78)), var(--tm-titlebar-img, none) !important; }

/* Text blocks keep the original 14 to 15px size so WPBakery layouts that overlap boxes on text (home intro) still fit. */
body.eci-modern .wpb_text_column p, body.eci-modern .wpb_text_column li, body.eci-modern .tm-cta3-content-wrapper p { font-size: 14.5px !important; line-height: 1.65 !important; }

/* technology tags on the home page become chips */
body.eci-modern .tm-vc_btn3-style-outline, body.eci-modern .vc_btn3-style-outline { border-radius: 999px !important; }

/* ---------- footer */
body.eci-modern #colophon.site-footer { background: radial-gradient(900px 400px at 10% 0%, rgba(122, 0, 21, .35), rgba(122, 0, 21, 0) 60%), var(--eci-navy) !important; }
body.eci-modern #colophon .widget-title { font-size: 13px !important; text-transform: uppercase !important; letter-spacing: .12em !important; color: #fff !important; opacity: .85; }
body.eci-modern #colophon a, body.eci-modern #colophon li { color: #d5dae3 !important; font-size: 14.5px; }
body.eci-modern #colophon a:hover { color: #fff !important; }
body.eci-modern #colophon .bottom-footer-text { border-top: 1px solid rgba(255, 255, 255, .1); }

/* ---------- prototypes band (home) and showcase page */
body.eci-modern .eci-wrap { width: min(1170px, 100% - 40px); margin-inline: auto; }
body.eci-modern .eci-band { background: linear-gradient(180deg, var(--eci-warm), #fff); padding: 84px 0; border-top: 1px solid #f1e6e4; border-bottom: 1px solid #f1e6e4;
  width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
body.eci-modern .eci-band-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
body.eci-modern .eci-eyebrow { color: var(--eci-maroon); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px !important; margin: 0 0 10px; }
body.eci-modern .eci-band h2 { font-size: clamp(30px, 2.2vw + 14px, 42px); line-height: 1.12; margin: 0 0 16px; color: var(--eci-ink); }
body.eci-modern .eci-band-stats { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; gap: 28px; flex-wrap: wrap; }
body.eci-modern .eci-band-stats li { font-size: 14px !important; color: var(--eci-muted); line-height: 1.3; max-width: 150px; }
body.eci-modern .eci-band-stats b { display: block; font-family: var(--eci-head); font-size: 30px; color: var(--eci-maroon); line-height: 1.1; }
body.eci-modern .eci-band-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.eci-modern .eci-band-cards li { background: #fff; border: 1px solid var(--eci-line); border-radius: var(--eci-radius); overflow: hidden; box-shadow: var(--eci-shadow); }
body.eci-modern .eci-band-cards li:nth-child(even) { transform: translateY(22px); }
body.eci-modern .eci-band-cards img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--eci-line); }
body.eci-modern .eci-band-cards span { display: block; padding: 12px 14px 0; font-size: 12px; font-weight: 700; color: var(--eci-maroon); text-transform: uppercase; letter-spacing: .08em; }
body.eci-modern .eci-band-cards strong { display: block; padding: 2px 14px 14px; font-family: var(--eci-head); color: var(--eci-ink); font-size: 15.5px; line-height: 1.3; }
body.eci-modern .eci-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--eci-maroon); color: #fff !important; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none !important; box-shadow: 0 8px 20px rgba(122, 0, 21, .22); transition: transform .15s ease, background-color .15s ease; }
body.eci-modern .eci-btn:hover { background: var(--eci-maroon-2); transform: translateY(-1px); }
body.eci-modern .eci-btn::after { content: "\2192"; }
body.eci-modern .eci-protos { margin: 10px 0 40px; }
body.eci-modern .eci-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
body.eci-modern .eci-chips button { border: 1px solid var(--eci-line); background: #fff; color: var(--eci-ink); border-radius: 999px; padding: 8px 14px; font: 600 14px var(--eci-body) !important; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.3 !important; height: auto !important; }
body.eci-modern .eci-chips button span { color: var(--eci-muted); font-weight: 500; margin-left: 4px; }
body.eci-modern .eci-chips button[aria-pressed="true"] { background: var(--eci-ink); border-color: var(--eci-ink); color: #fff; }
body.eci-modern .eci-chips button[aria-pressed="true"] span { color: #c9ced6; }
body.eci-modern .eci-count { color: var(--eci-muted); min-height: 1.5em; margin: 4px 0 14px; }
body.eci-modern .eci-proto-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
body.eci-modern .eci-proto { background: #fff; border: 1px solid var(--eci-line); border-radius: var(--eci-radius); overflow: hidden; box-shadow: var(--eci-shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; margin: 0; }
body.eci-modern .eci-proto:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16, 24, 40, .14); }
body.eci-modern .eci-proto-shot { background: var(--eci-soft); border-bottom: 1px solid var(--eci-line); }
body.eci-modern .eci-proto-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
body.eci-modern .eci-proto-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
body.eci-modern .eci-proto-domain { font-size: 12px !important; font-weight: 700; color: var(--eci-maroon) !important; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 4px; }
body.eci-modern .eci-proto h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; color: var(--eci-ink); }
body.eci-modern .eci-proto p { font-size: 15px; line-height: 1.6; margin: 0 0 10px; }
body.eci-modern .eci-tags { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: 6px; }
body.eci-modern .eci-tags span { background: var(--eci-soft); border: 1px solid var(--eci-line); border-radius: 999px; padding: 2px 10px; font-size: 12.5px; color: var(--eci-muted); }
body.eci-modern .eci-protos-cta { margin-top: 44px; padding: 34px 36px; border-radius: 18px; background: linear-gradient(135deg, #7a0015, #4f000e); color: #fff; text-align: center; }
body.eci-modern .eci-protos-cta h2 { color: #fff !important; margin: 0 0 6px; }
body.eci-modern .eci-protos-cta p { color: rgba(255, 255, 255, .9) !important; }
body.eci-modern .eci-protos-cta .eci-btn { background: #fff; color: var(--eci-maroon) !important; }
body.eci-modern .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

@media (max-width: 1100px) {
  body.eci-modern .eci-proto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.eci-modern .eci-band-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  body.eci-modern .eci-proto-grid, body.eci-modern .eci-band-cards { grid-template-columns: 1fr; }
  body.eci-modern .eci-band-cards li:nth-child(even) { transform: none; }
  body.eci-modern .eci-band { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { body.eci-modern * { transition: none !important; } }
