:root {
  --site-black: #050708;
  --site-panel: #0c1115;
  --site-line: rgba(255, 255, 255, 0.13);
  --site-muted: #b8c0c6;
  --site-red: #ff251c;
  --site-max: 1240px;
  --site-font: Arial, Helvetica, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--site-font) !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 76px;
  padding: 0;
  color: #fff;
  background: #000;
  border-bottom: 1px solid var(--site-line);
}
.site-shell {
  width: min(var(--site-max), calc(100% - 44px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-brand {
  width: 237px;
  flex: none;
  display: block;
  background: #000;
}
.site-brand img {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.site-us-badge {
  width: 185px;
  flex: none;
  display: block;
  transform: translateX(-10px);
}
.site-us-badge img {
  display: block;
  width: 100%;
  height: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-left: auto;
  font-size: 14px;
}
.site-nav > a,
.site-nav-group > a {
  color: #fff;
  opacity: 0.84;
  white-space: nowrap;
  text-decoration: none;
}
.site-nav > a:hover,
.site-nav-group > a:hover,
.site-nav > a.active,
.site-nav-group > a.active {
  color: var(--site-red);
  opacity: 1;
}
.site-nav-group { position: relative; }
.site-subnav {
  position: absolute;
  top: calc(100% + 20px);
  left: -18px;
  width: 270px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-7px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  background: rgba(5, 7, 8, 0.98);
  border: 1px solid var(--site-line);
  box-shadow: 0 18px 45px rgba(0,0,0,.44);
}
.site-nav-group:hover .site-subnav,
.site-nav-group:focus-within .site-subnav {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.site-subnav a {
  display: block;
  padding: 10px 11px;
  color: #d8dee2;
  text-decoration: none;
  border-left: 2px solid transparent;
}
.site-subnav a:hover,
.site-subnav a.active {
  color: #fff;
  background: rgba(255,255,255,.055);
  border-left-color: var(--site-red);
}
.site-subnav a.site-subnav-child {
  position: relative;
  padding-left: 27px;
  font-size: 12px;
  color: #aeb9bf;
}
.site-subnav a.site-subnav-child::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 7px;
  height: 1px;
  background: #69757b;
}
.site-subnav a.site-subnav-child.active,
.site-subnav a.site-subnav-child:hover { color: var(--red, #ff251c); }
.site-quote {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 18px;
  color: #fff;
  background: var(--site-red);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.site-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 9px;
  color: #fff;
  background: transparent;
  border: 1px solid var(--site-line);
  cursor: pointer;
}
.site-menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.site-footer {
  padding: 48px 0 22px;
  color: #fff;
  background: #080a0c;
}
.site-footer-grid {
  width: min(var(--site-max), calc(100% - 44px));
  margin: auto;
  display: grid;
  grid-template-columns: 1.35fr 1.2fr repeat(3, 1fr);
  gap: 32px;
}
.site-footer-logo {
  display: block;
  width: 209px;
  margin-bottom: 12px;
  background: #080a0c;
}
.site-footer p,
.site-footer a { color: var(--site-muted); }
.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
}
.site-footer a {
  display: block;
  margin: 6px 0;
  font-size: 12px;
  text-decoration: none;
}
.site-footer a:hover { color: var(--site-red); }
.site-copyright {
  width: min(var(--site-max), calc(100% - 44px));
  margin: 34px auto 0;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8f9aa2;
  border-top: 1px solid #273039;
  font-size: 11px;
}
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { color: var(--site-red); }

/* Shared expressive underline used across all four solution pages. */
.blueprint-title .performance.mdow-brush-title::after,
.design-title .result.mdow-brush-title::after {
  content: "";
  position: absolute;
  left: -2%;
  right: auto;
  bottom: -34px;
  width: 76%;
  height: 68px;
  display: block;
  background: url("brush-underline-red.svg") left center / 100% 100% no-repeat;
  clip-path: none;
  transform: none;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.28));
  pointer-events: none;
}
.brush-underline { display: none !important; }

@media (max-width: 1220px) {
  .site-header { height: 68px; }
  .site-brand { width: 190px; }
  .site-us-badge { width: 158px; transform: translateX(-12px); }
  .site-menu-toggle { display: block; }
  .site-quote { display: none; }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 18px 22px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
    background: rgba(5,7,8,.985);
    border-bottom: 1px solid var(--site-line);
  }
  .site-header.menu-open .site-nav { display: flex; }
  .site-nav-group > a { display: block; }
  .site-subnav {
    position: static;
    width: auto;
    margin-top: 8px;
    padding: 4px 0 0 12px;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: 0;
  }
  .site-subnav a { padding: 7px 10px; }
  .site-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .site-shell,
  .site-footer-grid,
  .site-copyright { width: calc(100% - 24px); }
  .site-shell { gap: 1px; }
  .site-brand { width: 140px; }
  .site-us-badge { width: 115px; transform: translateX(-8px); }
  .site-menu-toggle { width: 38px; height: 38px; padding: 7px; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .site-footer-brand { grid-column: 1 / -1; }
  .site-copyright { display: block; }
  .site-copyright span { display: block; margin-top: 5px; }
  .blueprint-title .performance.mdow-brush-title::after,
  .design-title .result.mdow-brush-title::after {
    left: -4%;
    bottom: -27px;
    width: 86%;
    height: 54px;
  }
}

/* Image links retain the existing media layout. */
.linked-image{display:contents;color:inherit}
.linked-image img{cursor:pointer}
.linked-image:focus-visible img{outline:3px solid #ff251c;outline-offset:-3px}
img{-webkit-user-drag:none}
