/* Yuanchen Combination A: Multi-Form Interaction System
   1. Full-pill capsule CTAs with embedded icon badges (box-free, arrow-free)
   2. Unified 4-column segmented pill track for capability jumps
   3. Right-edge expandable magnetic wing on desktop / sleek capsule dock on mobile
   4. Animated amber-dot & gliding underline for secondary in-page links */

/* Reset legacy 3D chamfered octagon plates sitewide */
body.nl-design-active :is(.button,.wp-block-button__link,.nl-showcase__cta,.nl-showcase__quote,.floating-tools>a,.capability-jumps a),
body.home.nl-design-active :is(.button,.wp-block-button__link,.nl-showcase__cta,.nl-showcase__quote,.floating-tools>a,.hero .button,.site-header .nav-quote,.closing-cta .button) {
  clip-path: none !important;
  filter: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.nl-design-active :is(.button,.wp-block-button__link,.nl-showcase__cta,.nl-showcase__quote,.floating-tools>a,.capability-jumps a)::before,
body.nl-design-active :is(.button,.wp-block-button__link,.nl-showcase__cta,.nl-showcase__quote,.floating-tools>a,.capability-jumps a)::after,
body.nl-design-active .yc-metal-plate > .yc-plate-glint {
  content: none !important;
  display: none !important;
}

/* Override precision-actions.css's legacy `[aria-hidden=true] { display:none }` for Combination A icons */
body.nl-design-active .yc-capsule-btn > .yc-pill-badge,
body.nl-design-active .capability-jumps a > .yc-seg-icon,
body.nl-design-active .floating-tools > a > .yc-wing-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   1. Capsule CTA Hierarchy (Primary Gold Badge Pill & Secondary Soft Pill)
   ========================================================================== */
body.nl-design-active :is(.button,.wp-block-button__link,.nl-showcase__cta,.nl-showcase__quote):not(.yc-seg-pill),
body.home.nl-design-active :is(.button,.wp-block-button__link,.nl-showcase__cta,.nl-showcase__quote,.hero .button,.closing-cta .button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 24px;
  border-radius: 999px !important;
  border: 1px solid #c4d5e0 !important;
  background: #ffffff !important;
  color: #122d3f !important;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 2px 8px rgba(14, 36, 51, 0.06) !important;
  transition: transform 170ms cubic-bezier(.2, 0, 0, 1), box-shadow 170ms ease, background-color 170ms ease, border-color 170ms ease;
}

body.nl-design-active :is(.button.primary,.wp-block-button__link,.site-header .nav-quote,.closing-cta .button,.nl-showcase__cta):not(.yc-seg-pill),
body.home.nl-design-active :is(.hero-actions .button.primary,.site-header .nav-quote,.closing-cta .button,.nl-showcase .nl-showcase__cta) {
  background: linear-gradient(135deg, #f3d69b 0%, #e4b968 100%) !important;
  color: #0e2433 !important;
  border: 1px solid rgba(244, 217, 162, 0.92) !important;
  box-shadow: 0 4px 14px rgba(14, 36, 51, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}

body.nl-design-active .yc-capsule-btn--badged,
body.home.nl-design-active .hero-actions .button.yc-capsule-btn--badged {
  padding-inline-start: 9px;
  padding-inline-end: 22px;
  gap: 11px;
}

body.nl-design-active .yc-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 999px;
  background: #0e2433;
  color: #f3d69b;
  transition: transform 170ms cubic-bezier(.2, 0, 0, 1), background-color 170ms ease;
}

body.nl-design-active .yc-pill-badge svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Dark Hero Secondary Capsule */
body.nl-design-active .hero .button.secondary,
body.home.nl-design-active .hero .hero-actions .button.secondary {
  background: rgba(15, 37, 52, 0.84) !important;
  color: #f2f7fb !important;
  border: 1px solid rgba(168, 194, 210, 0.45) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(4, 15, 24, 0.22) !important;
}

body.nl-design-active .yc-pill-badge--subtle {
  background: rgba(255, 255, 255, 0.12);
  color: #f3d69b;
}

/* Header Navbar Capsule CTA (unified across Home & all Inner Pages) */
body.nl-design-active .site-header .nav-quote,
body.home.nl-design-active .site-header .nav-quote {
  min-height: 44px;
  padding: 6px 17px 6px 7px;
  gap: 9px;
  font-size: 15px;
  white-space: nowrap;
}

body.nl-design-active .site-header .nav-quote .yc-pill-badge,
body.home.nl-design-active .site-header .nav-quote .yc-pill-badge {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

body.nl-design-active .site-header .nav-quote .yc-pill-badge svg {
  width: 14px;
  height: 14px;
}

/* Keep 7-language desktop navbar compact at 1101px–1320px so long DE/ES/VI labels never wrap or collide */
@media (min-width: 1101px) and (max-width: 1320px) {
  body.nl-design-active .site-header .nav-quote,
  body.home.nl-design-active .site-header .nav-quote {
    min-height: 42px;
    padding: 8px 14px;
    font-size: 13.5px;
    gap: 0;
  }
  body.nl-design-active .site-header .nav-quote > .yc-pill-badge {
    display: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  body.nl-design-active :is(.button,.wp-block-button__link,.nl-showcase__cta,.nl-showcase__quote):not(.yc-seg-pill):not(:disabled):hover,
  body.home.nl-design-active :is(.button,.wp-block-button__link,.nl-showcase__cta,.nl-showcase__quote,.hero .button,.closing-cta .button):not(:disabled):hover {
    background: #eef4f8 !important;
    border-color: #8fa9ba !important;
    color: #0e2433 !important;
    transform: translateY(-1px);
  }
  body.nl-design-active :is(.button.primary,.wp-block-button__link,.site-header .nav-quote,.closing-cta .button,.nl-showcase__cta):not(.yc-seg-pill):not(:disabled):hover,
  body.home.nl-design-active :is(.hero-actions .button.primary,.site-header .nav-quote,.closing-cta .button,.nl-showcase .nl-showcase__cta):not(:disabled):hover {
    background: linear-gradient(135deg, #f8e1b0 0%, #ecc579 100%) !important;
    border-color: #f8e1b0 !important;
    color: #0b1e2b !important;
    box-shadow: 0 7px 20px rgba(228, 185, 104, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  }
  body.nl-design-active .hero .button.secondary:hover,
  body.home.nl-design-active .hero .hero-actions .button.secondary:hover {
    background: rgba(24, 55, 75, 0.94) !important;
    border-color: #d6b26f !important;
    color: #ffffff !important;
  }
  body.nl-design-active .yc-capsule-btn--badged:hover > .yc-pill-badge {
    transform: scale(1.05);
  }
}

/* ==========================================================================
   2. Unified 4-Column Segmented Capability Pill Track (.capability-jumps)
   ========================================================================== */
body.nl-design-active .capability-jumps,
body.nl-design-active .capability-jumps.yc-seg-track {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px !important;
  padding: 6px;
  margin: 22px 0 30px;
  border-radius: 999px;
  background: #e3ecf1;
  border: 1px solid #cfdce5;
  box-shadow: inset 0 1px 2px rgba(14, 36, 51, 0.06);
  max-width: 100% !important;
}

body.nl-design-active .capability-jumps a,
body.nl-design-active .capability-jumps .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: transparent !important;
  color: #3f5b6e !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

body.nl-design-active .capability-jumps .yc-seg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #5b788b;
  transition: color 180ms ease;
}

body.nl-design-active .capability-jumps .yc-seg-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

body.nl-design-active .capability-jumps a:hover {
  background: rgba(255, 255, 255, 0.58) !important;
  color: #0f2737 !important;
}

body.nl-design-active .capability-jumps a.is-active,
body.nl-design-active .capability-jumps a[aria-current] {
  background: #ffffff !important;
  color: #0e2535 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(14, 37, 53, 0.10), 0 0 0 1px rgba(209, 165, 84, 0.28) !important;
}

body.nl-design-active .capability-jumps a.is-active .yc-seg-icon,
body.nl-design-active .capability-jumps a[aria-current] .yc-seg-icon {
  color: #c48820;
}

@media (max-width: 960px) {
  body.nl-design-active .capability-jumps,
  body.nl-design-active .capability-jumps.yc-seg-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 22px;
  }
}

@media (max-width: 440px) {
  body.nl-design-active .capability-jumps,
  body.nl-design-active .capability-jumps.yc-seg-track {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  body.nl-design-active .capability-jumps a,
  body.nl-design-active .capability-jumps .button {
    justify-content: flex-start;
    padding-inline: 16px !important;
  }
}

/* ==========================================================================
   3. Right-Edge Expandable Magnetic Wing (Desktop) & Compact Dock (Mobile)
   ========================================================================== */
body.nl-hide-floating .floating-tools {
  display: none !important;
}

/* Un-hide contact channels on Homepage so Home & Inner Pages share the exact same sleek dock */
body.home .floating-tools > a.yc-wing-item:not(:last-of-type),
body.nl-design-active .floating-tools > a.yc-wing-item:not(:last-of-type),
body.home.nl-design-active .floating-tools > a.yc-wing-item:not(:last-of-type) {
  display: inline-flex !important;
}

@media (min-width: 651px) {
  body.nl-design-active .floating-tools {
    position: fixed;
    inset: auto 16px auto auto;
    top: 50%;
    bottom: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    padding: 0;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 65;
    opacity: 0;
    pointer-events: none;
    transform: translate(14px, -50%);
    transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, 0, 0, 1);
  }

  body.nl-design-active .floating-tools.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
  }

  body.nl-design-active .floating-tools > a.yc-wing-item,
  body.home.nl-design-active .floating-tools > a.yc-wing-item {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    max-width: 44px;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 999px !important;
    overflow: hidden;
    white-space: nowrap;
    background: #10293a !important;
    color: #edf5fa !important;
    border: 1px solid rgba(162, 189, 206, 0.28) !important;
    box-shadow: 0 6px 18px rgba(5, 18, 28, 0.24) !important;
    transition: max-width 240ms cubic-bezier(.2, 0, 0, 1), background-color 160ms ease, box-shadow 160ms ease;
  }

  body.nl-design-active .floating-tools > a.yc-wing-item--quote,
  body.home.nl-design-active .floating-tools > a.yc-wing-item--quote {
    background: linear-gradient(135deg, #f3d69b 0%, #e4b968 100%) !important;
    color: #0e2433 !important;
    border-color: rgba(244, 217, 162, 0.92) !important;
  }

  body.nl-design-active .floating-tools .yc-wing-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-grid;
    place-items: center;
  }

  body.nl-design-active .floating-tools .yc-wing-icon svg {
    width: 19px;
    height: 19px;
    display: block;
  }

  body.nl-design-active .floating-tools .yc-wing-item--wa .yc-wing-icon {
    color: #4ade80;
  }

  body.nl-design-active .floating-tools .yc-wing-label {
    opacity: 0;
    max-width: 0;
    padding: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    transition: opacity 150ms ease, max-width 220ms cubic-bezier(.2, 0, 0, 1), padding 200ms ease;
  }

  body.nl-design-active .floating-tools > a.yc-wing-item:is(:hover, :focus-visible),
  body.home.nl-design-active .floating-tools > a.yc-wing-item:is(:hover, :focus-visible) {
    max-width: 250px;
    background: #17384e !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(5, 18, 28, 0.32) !important;
  }

  body.nl-design-active .floating-tools > a.yc-wing-item--quote:is(:hover, :focus-visible),
  body.home.nl-design-active .floating-tools > a.yc-wing-item--quote:is(:hover, :focus-visible) {
    background: linear-gradient(135deg, #f8e1b0 0%, #ecc579 100%) !important;
    color: #0b1e2b !important;
  }

  body.nl-design-active .floating-tools > a:is(:hover, :focus-visible) .yc-wing-label {
    opacity: 1;
    max-width: 196px;
    padding: 0 2px 0 16px;
  }

  body.nl-design-active .floating-tools > .back-top {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
    border-radius: 999px !important;
    background: rgba(16, 41, 58, 0.88) !important;
    color: #d4e4ee !important;
    border: 1px solid rgba(162, 189, 206, 0.28) !important;
    display: inline-grid;
    place-items: center;
    box-shadow: 0 4px 14px rgba(5, 18, 28, 0.2);
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
  }

  body.nl-design-active .floating-tools > .back-top:hover {
    background: #1a3f58 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
  }
}

/* Mobile (<= 650px): Full-Width Docked Capsule Bar */
@media (max-width: 650px) {
  body.nl-design-active .floating-tools {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    max-width: 100%;
    min-height: 58px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background-color: rgb(11, 29, 41) !important;
    border-top: 1px solid rgba(162, 189, 206, 0.24) !important;
    box-sizing: border-box;
  }

  body.nl-design-active .floating-tools > a:not(.yc-wing-item--quote),
  body.home.nl-design-active .floating-tools > a:not(.yc-wing-item--quote) {
    flex: 0 0 42px;
    width: 42px;
    max-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0 !important;
    border-radius: 999px !important;
    justify-content: center;
    background: #173549 !important;
    color: #e6f0f6 !important;
    border: 1px solid rgba(162, 189, 206, 0.25) !important;
  }

  body.nl-design-active .floating-tools > a:not(.yc-wing-item--quote) .yc-wing-label {
    display: none !important;
  }

  body.nl-design-active .floating-tools .yc-wing-item--wa .yc-wing-icon {
    color: #4ade80;
  }

  body.nl-design-active .floating-tools .yc-wing-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-grid;
    place-items: center;
  }

  body.nl-design-active .floating-tools .yc-wing-icon svg {
    width: 18px;
    height: 18px;
  }

  body.nl-design-active .floating-tools > a.yc-wing-item--quote,
  body.home.nl-design-active .floating-tools > a.yc-wing-item--quote {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    height: 42px;
    min-height: 42px;
    padding: 0 14px !important;
    gap: 7px !important;
    border-radius: 999px !important;
    flex-direction: row-reverse;
    justify-content: center;
    background: linear-gradient(135deg, #f3d69b 0%, #e4b968 100%) !important;
    color: #0e2433 !important;
    border: 1px solid rgba(244, 217, 162, 0.9) !important;
  }

  body.nl-design-active .floating-tools > a.yc-wing-item--quote .yc-wing-label {
    display: block !important;
    opacity: 1 !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14.5px;
    font-weight: 700;
  }

  body.nl-design-active .floating-tools > .back-top {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    margin: 0;
    border-radius: 999px !important;
    background: #173549 !important;
    color: #dce9f2 !important;
    border: 1px solid rgba(162, 189, 206, 0.25) !important;
    display: inline-grid;
    place-items: center;
  }
}

/* ==========================================================================
   4. Secondary In-Page Links: Amber Dot + Gliding Ink Underline (No Arrows)
   ========================================================================== */
body.nl-design-active .yc-ink-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  text-decoration: none !important;
  background: none;
  border: 0;
  cursor: pointer;
}

body.nl-design-active .yc-ink-link::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 999px;
  background: #d9a441;
  transition: transform 180ms cubic-bezier(.2, 0, 0, 1), background-color 180ms ease;
}

body.nl-design-active .yc-ink-link::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 0;
  width: min(36%, 44px);
  height: 2px;
  border-radius: 2px;
  background: #d9a441;
  transition: width 220ms cubic-bezier(.2, 0, 0, 1);
}

body.nl-design-active .yc-ink-link:is(:hover, :focus-visible)::before {
  transform: scale(1.25);
  background: #e8b85c;
}

body.nl-design-active .yc-ink-link:is(:hover, :focus-visible)::after {
  width: calc(100% - 14px);
}

/* Inner-page capability list subtle guide bar (replaces heavy 3D arrowhead) */
body.nl-design-active .capability-list > a.yc-direction-entry > .yc-capability-guide {
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  width: 28px;
  height: 20px;
  translate: 0 -50%;
  pointer-events: none;
}

/* Clean rounded carousel, workshop gallery & lightbox arrow buttons
   (Override legacy blade-actions.css `stroke: none` so stroke chevrons render crisply) */
body .yc-direction-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  height: 20px !important;
  color: currentColor;
}

body .yc-direction-icon svg {
  display: block;
  width: 20px !important;
  height: 20px !important;
  fill: none !important;
  stroke: currentColor !important;
}

body.nl-design-active :is(.nl-showcase__arrows button, .yc-media-dialog__controls .yc-direction-control) {
  display: inline-grid !important;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid #c5d4e2 !important;
  color: #163044 !important;
  box-shadow: 0 2px 6px rgba(15, 28, 42, 0.06) !important;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

body.nl-design-active :is(.nl-showcase__arrows button, .yc-media-dialog__controls .yc-direction-control):hover {
  background: #0f293d !important;
  border-color: #0f293d !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

body.nl-design-active :is(.button,.wp-block-button__link,.nl-showcase__cta,.nl-showcase__quote,.floating-tools>a,.capability-jumps a,.back-top):focus-visible {
  outline: 3px solid #d69c45 !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  body.nl-design-active :is(.button,.floating-tools,.floating-tools>a,.floating-tools .yc-wing-label,.yc-pill-badge,.yc-ink-link::before,.yc-ink-link::after) {
    transition: none !important;
    transform: none !important;
  }
  @media (min-width: 651px) {
    body.nl-design-active .floating-tools,
    body.nl-design-active .floating-tools.is-visible {
      transform: translate(0, -50%) !important;
    }
  }
}

@media (forced-colors: active) {
  body.nl-design-active :is(.button,.wp-block-button__link,.nl-showcase__cta,.nl-showcase__quote,.floating-tools>a,.capability-jumps a) {
    background: ButtonFace !important;
    color: ButtonText !important;
    border: 1px solid ButtonText !important;
  }
}

/* ==========================================================================
   5. Unified Dark Industrial Footer, Capsule Social Badges & Dual-Mode Map
   ========================================================================== */
body.nl-design-active .site-footer {
  background: #0c141d !important;
  color: #f2f5f8;
}

body.nl-design-active .site-footer .footer-brand,
body.nl-design-active .site-footer h2 {
  color: #f4f8fb;
}

body.nl-design-active .site-footer p,
body.nl-design-active .site-footer .footer-bottom {
  color: #b9c8d4;
}

body.nl-design-active .site-footer :is(li a, .footer-grid > div > a:not(.footer-brand), .yc-footer-contact-links > a) {
  color: #dce7f0;
}

body.nl-design-active .site-footer :is(li a, .footer-grid > div > a:not(.footer-brand), .yc-footer-contact-links > a):hover {
  color: #f3d69b;
}

body.nl-design-active .site-footer .footer-bottom {
  border-top-color: rgba(162, 189, 206, 0.2);
}

body.nl-design-active .site-footer .footer-bottom .text-link {
  color: #dce7f0;
}

/* Refined Full-Capsule Social Badges (.yc-social-profiles) */
body.nl-design-active .yc-social-profiles.yc-network-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.nl-design-active .yc-social-profiles .yc-network-item,
body.nl-design-active .footer-social .yc-network-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  padding: 5px 13px 5px 6px !important;
  gap: 9px;
  border-radius: 999px !important;
  background: rgba(23, 50, 69, 0.88);
  border: 1px solid rgba(162, 189, 206, 0.28);
  color: #eef5fa !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(3, 12, 19, 0.22);
  transition: transform 160ms cubic-bezier(.2, 0, 0, 1), border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body.nl-design-active .yc-social-profiles a.yc-network-item:hover {
  background: #1e425b;
  border-color: rgba(234, 200, 137, 0.72);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(3, 12, 19, 0.34);
}

body.nl-design-active .yc-social-profiles .yc-channel-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px !important;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(14, 36, 51, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.nl-design-active .yc-social-profiles .yc-channel-icon img {
  width: 17px;
  height: 17px;
  max-width: 17px;
  object-fit: contain;
}

/* Unbound social slot (e.g. LinkedIn before URL is bound): legible muted dashed pill */
body.nl-design-active .yc-social-profiles .yc-network-item--unbound {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px dashed rgba(162, 189, 206, 0.26) !important;
  color: #8ba3b5 !important;
  opacity: 0.78 !important;
  box-shadow: none !important;
  cursor: default;
}

body.nl-design-active .yc-social-profiles .yc-network-item--unbound .yc-channel-icon {
  background: rgba(235, 243, 248, 0.85);
  filter: grayscale(0.45);
}

/* Hero social compact circular pills when rendered in hero rail */
body.nl-design-active .yc-hero-social .yc-social-profiles.yc-network-list {
  display: inline-flex;
  flex-wrap: wrap;
}

body.nl-design-active .yc-hero-social .yc-network-item {
  width: auto;
}

.yc-footer-map-wrap {
  margin-top: 24px;
  margin-bottom: 6px;
}

.yc-footer-map--collapsible {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 39, 55, 0.92) 0%, rgba(11, 29, 42, 0.96) 100%);
  border: 1px solid rgba(162, 189, 206, 0.2);
  box-shadow: 0 8px 24px rgba(3, 12, 19, 0.22);
}

.yc-footer-map__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px 11px 18px;
}

.yc-footer-map__summary {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
  padding: 4px 0;
  background: transparent !important;
  border: 0 !important;
  color: #dce8f2;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  text-align: start;
  cursor: pointer;
}

.yc-footer-map__summary:hover .yc-footer-map__bar-kicker {
  color: #f7deb0;
}

.yc-footer-map__bar-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: #eac889;
  box-shadow: 0 0 8px rgba(234, 200, 137, 0.65);
}

.yc-footer-map__bar-kicker {
  font-size: 13px;
  font-weight: 700;
  color: #eac889;
  letter-spacing: 0.02em;
}

.yc-footer-map__bar-sep {
  color: rgba(162, 189, 206, 0.45);
}

.yc-footer-map__bar-addr {
  color: #d3e2ed;
  font-size: 13.5px;
}

.yc-footer-map__bar-coords {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  color: #84a2b5;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.yc-footer-map__bar-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

body.nl-design-active .site-footer .yc-footer-map__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

body.nl-design-active .site-footer .yc-footer-map__btn--toggle {
  background: rgba(234, 200, 137, 0.12);
  color: #f3d9a4 !important;
  border: 1px solid rgba(234, 200, 137, 0.38);
}

body.nl-design-active .site-footer .yc-footer-map__btn--toggle:hover {
  background: rgba(234, 200, 137, 0.2);
  border-color: rgba(234, 200, 137, 0.65);
  color: #fff5df !important;
}

.yc-footer-map__chev {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.yc-footer-map.is-open .yc-footer-map__chev {
  transform: rotate(180deg);
}

body.nl-design-active .site-footer .yc-footer-map__btn--primary {
  padding-inline-start: 7px;
  background: linear-gradient(135deg, #f3d69b 0%, #e4b968 100%);
  color: #0e2433 !important;
  border: 1px solid rgba(244, 217, 162, 0.9);
  box-shadow: 0 4px 14px rgba(3, 12, 19, 0.35);
}

body.nl-design-active .site-footer .yc-footer-map__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(228, 185, 104, 0.38);
}

.yc-footer-map__badge {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 999px;
  background: #0e2433;
  color: #f3d69b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yc-footer-map__badge svg,
.yc-footer-map__pin-ico svg {
  width: 14px;
  height: 14px;
  display: block;
}

body.nl-design-active .site-footer .yc-footer-map__btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #dbe8f1 !important;
  border: 1px solid rgba(162, 189, 206, 0.25);
}

body.nl-design-active .site-footer .yc-footer-map__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff !important;
}

.yc-footer-map__pin-ico {
  color: #eac889;
  display: inline-flex;
  align-items: center;
}

.yc-footer-map__drawer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.yc-footer-map__drawer[hidden] {
  display: none !important;
}

.yc-footer-map.is-open .yc-footer-map__drawer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.yc-footer-map__drawer-inner {
  min-height: 0;
  overflow: hidden;
}

.yc-footer-map__stage {
  position: relative;
  min-height: 235px;
  background: #0b1c28;
  border-top: 1px solid rgba(162, 189, 206, 0.16);
}

.yc-footer-map__stage-toolbar {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 4;
}

.yc-footer-map__vector {
  position: absolute;
  inset: 0;
  cursor: pointer;
  overflow: hidden;
}

.yc-footer-map__vector[hidden],
.yc-footer-map__live[hidden] {
  display: none !important;
}

.yc-footer-map__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.yc-footer-map__pin {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-18px, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

@keyframes ycFooterRadar {
  0% { transform: scale(0.8); opacity: 0.85; }
  75%, 100% { transform: scale(2.4); opacity: 0; }
}

.yc-footer-map__pulse {
  position: absolute;
  left: -5px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 999px;
  background: rgba(234, 200, 137, 0.42);
  animation: ycFooterRadar 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.yc-footer-map__dot {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 999px;
  background: #eac889;
  border: 3px solid #0b1d29;
  box-shadow: 0 0 0 1px rgba(234, 200, 137, 0.6);
}

.yc-footer-map__card {
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(9, 23, 34, 0.92);
  border: 1px solid rgba(234, 200, 137, 0.42);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.yc-footer-map__card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #f4f9fc;
}

.yc-footer-map__card small {
  display: block;
  font-size: 11.5px;
  line-height: 1.3;
  color: #9cb6c7;
}

.yc-footer-map__live {
  position: absolute;
  inset: 0;
}

.yc-footer-map__live iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .yc-footer-map__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .yc-footer-map__pin {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 650px) {
  body.nl-design-active .site-footer {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  .yc-footer-map-wrap {
    margin-top: 18px;
  }
  .yc-footer-map__bar {
    padding: 12px 14px;
  }
  .yc-footer-map__stage {
    min-height: 190px;
  }
  .yc-footer-map__card {
    max-width: calc(100vw - 96px);
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yc-footer-map__pulse {
    animation: none;
  }
}

/* ==========================================================================
   6. Engineering Blog Hub (.yc-blog-section) & Simplified Chinese Typography
   ========================================================================== */
html:lang(zh) body.nl-design-active :is(h1,h2,h3,h4,.button,.category,.hero-kicker) {
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}

html:lang(zh) body.nl-design-active :is(.page-content,.article-body,.story-card,.yc-material) p {
  line-height: 1.8;
}

.yc-blog-header {
  max-width: 780px;
  margin-bottom: 24px;
}

.yc-blog-topics {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin: 0 0 32px;
  border-radius: 999px;
  background: #e4edf2;
  border: 1px solid #d0dde6;
}

.yc-blog-topic-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: #3f5b6e;
  text-decoration: none !important;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.yc-blog-topic-pill:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #0e2535;
}

.yc-blog-topic-pill.is-active {
  background: #ffffff;
  color: #0e2535;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(14, 37, 53, 0.10), 0 0 0 1px rgba(209, 165, 84, 0.28);
}

.yc-blog-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 40px;
  align-items: start;
}

.yc-blog-lead-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #f7fafc;
  border: 1px solid #d7e3ec;
  box-shadow: 0 8px 24px rgba(14, 36, 51, 0.06);
}

.yc-blog-lead-card__media {
  display: block;
  background: #0e2230;
  min-height: 270px;
  overflow: hidden;
}

.yc-blog-lead-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.yc-blog-lead-card__media:hover img {
  transform: scale(1.03);
}

.yc-blog-lead-card__body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.yc-blog-lead-card__body h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.3;
  margin: 0 0 12px;
}

.yc-blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px !important;
  font-size: 13.5px !important;
  font-weight: 600;
  color: #5b7586 !important;
}

.yc-blog-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fef5e3;
  border: 1px solid rgba(217, 164, 65, 0.35);
  color: #946310;
  font-size: 12.5px;
  font-weight: 700;
}

.yc-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.yc-blog-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 20px;
}

.yc-blog-sidecard {
  padding: 22px 24px;
  border-radius: 14px;
  background: #f6f9fb;
  border: 1px solid #d7e3ec;
}

.yc-blog-sidecard h3 {
  font-size: 17px;
  margin: 0 0 12px;
}

.yc-blog-sidecard--cta {
  background: linear-gradient(145deg, #102838 0%, #0b1d29 100%);
  border-color: rgba(234, 200, 137, 0.3);
  color: #f2f7fb;
}

.yc-blog-sidecard__kicker {
  margin: 0 0 8px !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eac889 !important;
}

.yc-blog-sidecard--cta h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: #ffffff;
}

.yc-blog-sidecard--cta p:not(.yc-blog-sidecard__kicker) {
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: #c6d8e4 !important;
  margin: 0 0 18px;
}

.yc-blog-sidecard--cta .button {
  width: 100%;
}

.yc-blog-sidelinks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

@media (max-width: 1024px) {
  .yc-blog-hub {
    grid-template-columns: 1fr;
  }
  .yc-blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .yc-blog-topics {
    border-radius: 18px;
  }
  .yc-blog-lead-card,
  .yc-blog-grid,
  .yc-blog-sidebar {
    grid-template-columns: 1fr;
  }
  .yc-blog-lead-card__media {
    min-height: 200px;
  }
  .yc-blog-lead-card__body {
    padding: 20px;
  }
}

/* ==========================================================================
   7. Mature Enterprise Header, White Editorial Mega-Menu & Light Split Hero
      (Modeled on Protolabs, RapidDirect & Xometry enterprise standards)
   ========================================================================== */
body.nl-design-active .demo-bar {
  background: #101922 !important;
  color: #b8c7d4 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px !important;
  letter-spacing: 0.01em;
}

body.nl-design-active .demo-bar .lang-slot {
  margin-inline-start: 10px;
  color: #d8e4ee;
  opacity: 0.85;
}

body.nl-design-active .site-header {
  background: #0d1b26 !important;
  border-bottom: 1px solid #1f3242 !important;
  box-shadow: none;
}

/* Replace legacy glossy bevel on language switcher with clean flat matte frame */
body.nl-design-active .yc-language summary {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  box-shadow: none !important;
  min-height: 42px;
  padding: 7px 12px;
  letter-spacing: 0.02em;
}

body.nl-design-active .yc-language summary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
}

body.nl-design-active .primary-nav .yc-language__menu {
  border-radius: 10px;
  border: 1px solid #dde6ee;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 28, 42, 0.14);
}

/* Scheme 1: Anchored Minimal Single-Column Popover Submenu */
.yc-mega-panel {
  display: none;
}

@media (min-width: 1101px) {
  body.nl-design-active .primary-nav > ul > li.yc-has-mega {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: -18px;
  }

  body.nl-design-active .primary-nav > ul > li.yc-has-mega > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  body.nl-design-active .primary-nav > ul > li.yc-has-mega > a > .yc-nav-caret {
    display: inline-block !important;
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    opacity: 0.65;
    transition: transform 150ms ease, opacity 150ms ease;
  }

  body.nl-design-active .primary-nav > ul > li.yc-has-mega:is(:hover, :focus-within) > a > .yc-nav-caret {
    transform: rotate(180deg);
    opacity: 1;
  }

  /* Hide tiny chevron between 1101px–1280px so tight 8-language navbars never wrap */
  @media (max-width: 1280px) {
    body.nl-design-active .primary-nav > ul > li.yc-has-mega > a > .yc-nav-caret {
      display: none !important;
    }
  }

  body.nl-design-active .primary-nav > ul > li.yc-has-mega > .yc-mega-panel {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: -14px;
    width: 296px;
    z-index: 95;
  }

  body.nl-design-active .primary-nav > ul > li.yc-has-mega--resources > .yc-mega-panel {
    left: auto;
    right: -14px;
  }

  body.nl-design-active .primary-nav > ul > li.yc-has-mega:is(:hover, :focus-within) > .yc-mega-panel {
    display: block;
    animation: ycPopMenuIn 110ms ease-out;
  }

  @keyframes ycPopMenuIn {
    from { transform: translateY(4px); }
    to { transform: translateY(0); }
  }

  .yc-mega-panel::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 14px;
  }

  .yc-pop-menu {
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(12, 24, 38, 0.16);
    overflow: hidden;
  }

  body.nl-design-active .site-header .yc-pop-menu__list {
    display: grid !important;
    gap: 2px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 6px !important;
  }

  body.nl-design-active .site-header .yc-pop-menu__item {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px !important;
    min-height: 0 !important;
    border-radius: 8px;
    text-decoration: none !important;
    white-space: normal !important;
    transition: background-color 130ms ease;
  }

  body.nl-design-active .site-header .yc-pop-menu__item::after {
    display: none !important;
  }

  body.nl-design-active .site-header .yc-pop-menu__item:hover {
    background: #f3f7fb !important;
  }

  .yc-pop-menu__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .yc-pop-menu__copy strong {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f2233;
    transition: color 130ms ease;
  }

  body.nl-design-active .site-header .yc-pop-menu__item:hover .yc-pop-menu__copy strong {
    color: #0f3d68;
  }

  .yc-pop-menu__copy small {
    font-size: 12px !important;
    font-weight: 450;
    line-height: 1.4;
    color: #64748b !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
  }

  .yc-pop-menu__chev {
    display: inline-block !important;
    font-size: 15px;
    line-height: 1.2;
    color: #94a3b8;
    margin-top: 1px;
    transition: transform 130ms ease, color 130ms ease;
  }

  body.nl-design-active .site-header .yc-pop-menu__item:hover .yc-pop-menu__chev {
    color: #b57917;
    transform: translateX(2px);
  }

  .yc-pop-menu__foot {
    padding: 9px 18px 10px;
    background: #f8fafc;
    border-top: 1px solid #e7edf3;
  }

  body.nl-design-active .site-header .yc-pop-menu__all {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 0 !important;
    min-height: 0 !important;
    font-size: 12.5px !important;
    font-weight: 650 !important;
    color: #0f3d68 !important;
    text-decoration: none !important;
  }

  body.nl-design-active .site-header .yc-pop-menu__all::after {
    display: none !important;
  }

  body.nl-design-active .site-header .yc-pop-menu__all:hover {
    color: #b57917 !important;
  }
}

/* ==========================================================================
   8. Mature Enterprise Inner-Page Split Hero (.yc-crumb-bar + .yc-ent-hero)
   ========================================================================== */
.yc-crumb-bar {
  background: #ffffff;
  border-bottom: 1px solid #e7edf3;
}

body.nl-design-active .yc-clean-crumb.breadcrumb {
  padding: 11px 0;
  margin: 0;
  font-size: 13.5px !important;
  font-weight: 500;
  color: #64748b;
}

body.nl-design-active .yc-clean-crumb.breadcrumb a {
  color: #1e4b7a;
  text-decoration: none;
}

body.nl-design-active .yc-clean-crumb.breadcrumb a:hover {
  text-decoration: underline;
}

.yc-ent-hero {
  background: #f3f6f9;
  border-bottom: 1px solid #e2eaf1;
  padding: 48px 0 52px;
}

.yc-ent-hero--simple {
  padding: 36px 0 40px;
}

.yc-ent-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: center;
}

body.nl-design-active .yc-ent-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 3.4vw, 3.05rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em;
  color: #111e2c !important;
}

body.nl-design-active .yc-ent-hero__lead {
  margin: 0 0 26px;
  max-width: 54ch;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: #475569 !important;
}

.yc-ent-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

body.nl-design-active .yc-ent-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15.5px;
  font-weight: 600;
  color: #0f3d68;
  text-decoration: none;
}

body.nl-design-active .yc-ent-link:hover {
  color: #092847;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Borderless Pipe-Separated Specification Strip (Protolabs Enterprise Pattern) */
.yc-ent-hero__specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  list-style: none;
  padding: 18px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid #dbe4ec;
}

.yc-ent-hero__specs li {
  font-size: 13.5px !important;
  font-weight: 600;
  line-height: 1.4 !important;
  color: #334155;
}

.yc-ent-hero__specs li:not(:last-child)::after {
  content: "|";
  margin: 0 13px;
  color: #b8c7d6;
  font-weight: 400;
}

.yc-ent-hero__visual {
  border-radius: 14px;
  overflow: hidden;
  background: #e5ecf2;
  box-shadow: 0 16px 38px rgba(15, 28, 42, 0.09);
  aspect-ratio: 16 / 10;
}

.yc-ent-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yc-inner-page-wrap {
  padding-top: 40px;
}

.yc-catalog-luxury {
  padding-top: 28px;
}

.yc-archive-luxury {
  padding-top: 46px !important;
}

/* ==========================================================================
   9. Bespoke Products Catalog Header (.yc-ent-hero--catalog)
      Borderless open architectural header (zero floating small cards)
   ========================================================================== */
.yc-ent-hero--catalog {
  padding: 34px 0 30px;
}

.yc-catalog-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}

.yc-catalog-eyebrow {
  margin: 0 0 10px;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a6b16 !important;
}

body.nl-design-active .yc-ent-hero--catalog h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 2.65rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.02em;
}

body.nl-design-active .yc-ent-hero--catalog .yc-ent-hero__lead {
  margin: 0;
  max-width: 58ch;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.yc-catalog-open-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-bottom: 2px;
}

.yc-ent-hero--catalog .yc-ent-hero__specs {
  margin-top: 24px;
  padding-top: 15px;
}

/* ==========================================================================
   10. Mature Enterprise Homepage Hero & Docked Architectural Capability Ribbon
       Eliminates chrome WordArt text, orphan wraps, clunky pause box & HUD cards
   ========================================================================== */
body.home.nl-design-active .hero.yc-hero-composition {
  padding-bottom: 0 !important;
  min-height: 0 !important;
  background: #09131d;
}

body.home.nl-design-active .hero .hero-film::after {
  background:
    linear-gradient(90deg, rgba(8, 17, 26, 0.96) 0%, rgba(8, 17, 26, 0.88) 38%, rgba(8, 17, 26, 0.44) 72%, rgba(8, 17, 26, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 17, 26, 0.72) 0%, transparent 34%);
}

body.home.nl-design-active .yc-hero-composition .hero-grid {
  position: relative;
  min-height: clamp(500px, calc(100svh - 196px), 650px) !important;
  padding-block: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.home.nl-design-active .yc-hero-composition .hero-copy {
  max-width: 650px;
  padding-block: 52px 48px !important;
  align-self: flex-start;
}

body.home.nl-design-active .hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px !important;
  font-size: 12.5px !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd8e4;
}

body.home.nl-design-active .hero .hero-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e5b358;
  box-shadow: none;
}

/* Pure, Crisp Solid White Title (Zero Chrome Texture / Extruded 3D Shadow) */
body.home.nl-design-active #home-hero-title,
body.home.nl-design-active #home-hero-title.hero-service-title {
  margin: 0 0 18px !important;
  max-width: 18ch;
  font-family: Inter, "Segoe UI", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-size: clamp(2.45rem, 3.85vw, 3.65rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
  color: #f8fafc !important;
}

:is(:lang(zh), :lang(ja), :lang(ko)) body.home.nl-design-active #home-hero-title,
:is(:lang(zh), :lang(ja), :lang(ko)) body.home.nl-design-active #home-hero-title.hero-service-title {
  font-size: clamp(2.35rem, 3.6vw, 3.35rem) !important;
  line-height: 1.22 !important;
  letter-spacing: 0.01em !important;
  max-width: none;
}

body.home.nl-design-active #home-hero-title .hero-engrave-line,
body.home.nl-design-active #home-hero-title .hero-engrave-char,
body.home.nl-design-active #home-hero-title .hero-engrave-char::after,
body.home.nl-design-active #home-hero-title .hero-engrave-amber {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  background: none !important;
  background-image: none !important;
  text-shadow: 0 2px 18px rgba(4, 12, 20, 0.38) !important;
  filter: none !important;
}

body.home.nl-design-active #home-hero-title .hero-engrave-char::after {
  content: none !important;
}

body.home.nl-design-active .hero .hero-description {
  max-width: 50ch !important;
  margin: 0 !important;
  font-size: 17.5px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: #cbd5e1 !important;
}

:is(:lang(zh), :lang(ja), :lang(ko)) body.home.nl-design-active .hero .hero-description {
  max-width: 34em !important;
}

body.home.nl-design-active .hero .hero-actions {
  margin-top: 28px !important;
  gap: 14px !important;
}

/* Borderless Pipe-Separated Key Spec Strip on Homepage Hero */
.yc-home-hero-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  list-style: none;
  padding: 16px 0 0;
  margin: 26px 0 0;
  border-top: 1px solid rgba(203, 213, 225, 0.16);
}

.yc-home-hero-specs li {
  font-size: 13.5px !important;
  font-weight: 550;
  line-height: 1.4 !important;
  color: #dbe6f0;
}

.yc-home-hero-specs li:not(:last-child)::after {
  content: "|";
  margin: 0 13px;
  color: rgba(203, 213, 225, 0.34);
  font-weight: 400;
}

body.home.nl-design-active .hero .hero-footnote {
  margin: 12px 0 0 !important;
  font-size: 13.5px !important;
  color: #94a9bc !important;
}

/* Discreet Pill Video Control Tucked in Bottom-Right of Video Stage */
@media (min-width: 761px) {
  body.home.nl-design-active .hero .hero-motion-toggle:not([hidden]) {
    position: absolute;
    inset-inline-end: 0;
    bottom: 20px;
    margin: 0 !important;
    min-height: 34px !important;
    padding: 6px 13px !important;
    border-radius: 999px !important;
    background: rgba(10, 22, 34, 0.62) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(203, 218, 232, 0.22) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 500;
    color: #cbd8e4 !important;
    z-index: 4;
  }

  body.home.nl-design-active .hero .hero-motion-toggle:hover {
    background: rgba(16, 34, 50, 0.88) !important;
    border-color: rgba(226, 236, 245, 0.42) !important;
    color: #ffffff !important;
  }
}

/* Unified Borderless Docked Architectural Capability Ribbon (Replaces 3 HUD Boxes) */
body.home.nl-design-active .yc-hero-composition > .scope-strip.yc-capability-shelf {
  background: rgba(10, 21, 32, 0.84) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-bottom: 0 !important;
  margin: 0 !important;
}

body.home.nl-design-active .yc-capability-shelf > .wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 !important;
  padding: 0 !important;
}

body.home.nl-design-active .yc-capability-shelf .scope-item,
body.home.nl-design-active .yc-capability-shelf .scope-item:first-child {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 15px;
  min-height: 92px !important;
  padding: 20px 44px 20px 26px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background-color 160ms ease;
}

body.home.nl-design-active .yc-capability-shelf .scope-item:first-child {
  padding-inline-start: 4px !important;
}

body.home.nl-design-active .yc-capability-shelf .scope-item + .scope-item {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Subtle top amber hairline on hover instead of vertical HUD side bar */
body.home.nl-design-active .yc-capability-shelf .scope-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  bottom: auto;
  width: auto;
  height: 2px;
  background: linear-gradient(90deg, #e5b358, rgba(229, 179, 88, 0));
  opacity: 0;
  transition: opacity 160ms ease;
}

body.home.nl-design-active .yc-capability-shelf .scope-item:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

body.home.nl-design-active .yc-capability-shelf .scope-item:hover::before {
  opacity: 1;
}

body.home.nl-design-active .yc-capability-shelf .scope-item > .yc-capability-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
}

body.home.nl-design-active .yc-capability-shelf .scope-item .scope-icon {
  width: 22px !important;
  height: 22px !important;
  color: #e5b358 !important;
}

body.home.nl-design-active .yc-capability-shelf .scope-item > b {
  font-size: 16.5px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  color: #f8fafc !important;
  letter-spacing: 0 !important;
}

body.home.nl-design-active .yc-capability-shelf .scope-item > .yc-capability-detail {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: #9cb0c2 !important;
  margin-top: 3px !important;
}

/* Remove legacy dotted ruler & crosshair guide, replace with clean subtle chevron */
body.home.nl-design-active .yc-capability-shelf .yc-capability-detail::after {
  display: none !important;
}

body.home.nl-design-active .yc-capability-shelf .scope-item > .yc-capability-guide {
  width: 16px !important;
  height: 16px !important;
  inset-inline-end: 18px !important;
}

body.home.nl-design-active .yc-capability-shelf .scope-item > .yc-capability-guide::before {
  inset: auto;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  background: transparent !important;
  border-top: 1.6px solid rgba(203, 218, 232, 0.55);
  border-right: 1.6px solid rgba(203, 218, 232, 0.55);
  transform: rotate(45deg);
  transition: transform 150ms ease, border-color 150ms ease;
}

body.home.nl-design-active .yc-capability-shelf .scope-item > .yc-capability-guide::after {
  display: none !important;
}

body.home.nl-design-active .yc-capability-shelf .scope-item:is(:hover, :focus-visible) > .yc-capability-guide::before {
  border-color: #f3d69b;
  transform: translateX(3px) rotate(45deg);
}

@media (max-width: 960px) {
  .yc-ent-hero__catalog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 760px) {
  body.home.nl-design-active .yc-hero-composition .hero-grid {
    min-height: 0 !important;
  }
  body.home.nl-design-active .yc-hero-composition .hero-copy {
    padding-block: 32px 24px !important;
  }
  body.home.nl-design-active .hero .hero-motion-toggle:not([hidden]) {
    margin: 0 0 18px !important;
    align-self: flex-start;
    min-height: 36px !important;
    padding: 6px 13px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
  }
  body.home.nl-design-active .yc-capability-shelf > .wrap {
    grid-template-columns: 1fr !important;
  }
  body.home.nl-design-active .yc-capability-shelf .scope-item,
  body.home.nl-design-active .yc-capability-shelf .scope-item:first-child {
    min-height: 74px !important;
    padding: 16px 38px 16px 4px !important;
    border-inline-start: 0 !important;
  }
  body.home.nl-design-active .yc-capability-shelf .scope-item + .scope-item {
    border-inline-start: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
}

/* Calm, Restrained Desktop Filter Pills & Card Framing */
@media (min-width: 769px) {
  body.nl-design-active .catalog-chips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 5px;
    border-radius: 12px;
    background: #eef3f7;
    border: 1px solid #dce6ef;
    margin-bottom: 20px;
  }

  body.nl-design-active .catalog-chips a {
    border-radius: 8px !important;
    border: 0 !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: 13.5px !important;
    font-weight: 600;
    min-height: 36px !important;
    padding: 6px 13px;
  }

  body.nl-design-active .catalog-chips a[aria-current] {
    background: #ffffff !important;
    color: #0f2233 !important;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(15, 34, 51, 0.08);
  }
}

body.nl-design-active :is(.product-card, .story-card) {
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2eaf1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.nl-design-active :is(.product-card, .story-card):hover {
  transform: translateY(-2px);
  border-color: #c5d4e2;
  box-shadow: 0 12px 28px rgba(15, 28, 42, 0.07);
}

body.nl-design-active :is(.product-image, .story-image) {
  border-radius: 8px !important;
}

@media (max-width: 960px) {
  .yc-ent-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .yc-ent-hero {
    padding: 32px 0 36px;
  }
}

@media (max-width: 650px) {
  .yc-ent-hero {
    padding: 24px 0 28px;
  }
  body.nl-design-active .yc-ent-hero__lead {
    font-size: 15.5px !important;
    margin-bottom: 20px;
  }
  .yc-ent-hero__specs {
    margin-top: 20px;
    padding-top: 14px;
  }
}

/* ==========================================================================
   11. Site-Wide Swiss-Industrial Editorial System
       - 1/3 · 2/3 Sticky Section Grid on /capabilities/ & /about/
       - Pure 3-Tier Surface Rhythm (No Graph-Paper Wallpaper)
       - Horizontal Hairline Instrument Datasheet Tables
       - Unified 10px Panel Geometry & Harmonized Closing CTA Band
   ========================================================================== */

/* 11.1 Remove Graph-Paper Wallpaper & Establish Calm 80px Section Rhythm on Home */
body.home.nl-design-active .home-content {
  background: #ffffff !important;
}

body.home.nl-design-active .home-content > .wp-block-group {
  background-image: none !important;
  padding-block: clamp(68px, 6vw, 92px) !important;
  border-bottom: 1px solid #e6edf3 !important;
}

body.home.nl-design-active .home-content > .wp-block-group:is(
  [data-home-section="capabilities"],
  [data-home-section="equipment"],
  [data-home-section="materials"],
  [data-home-section="process"]
) {
  background-color: #f6f8fb !important;
  box-shadow: 0 0 0 100vmax #f6f8fb;
  clip-path: inset(0 -100vmax);
}

body.home.nl-design-active .home-content > .wp-block-group[data-home-section="quality"] {
  background-color: #f6f8fb !important;
  background-image: none !important;
}

body.home.nl-design-active .home-content > .wp-block-group:is(
  [data-home-section="video"],
  [data-home-section="markets"]
) {
  background-color: #0d1926 !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.home.nl-design-active .home-content > .wp-block-group::before {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #9a6b16 !important;
  margin-bottom: 12px !important;
}

body.home.nl-design-active .home-content > .wp-block-group:is(
  [data-home-section="video"],
  [data-home-section="markets"]
)::before {
  color: #e5b358 !important;
}

body.home.nl-design-active .home-content h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.55rem) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.022em !important;
  color: #0f1f2e;
  margin-bottom: 18px !important;
}

body.home.nl-design-active .home-content > .wp-block-group:is(
  [data-home-section="video"],
  [data-home-section="markets"]
) h2 {
  color: #f8fafc !important;
}

/* Fix Homepage Case Cards Empty Right Half When Rendered Without Thumbnails */
@media (min-width: 651px) {
  body.home.nl-design-active .home-content > [data-home-section="cases"] .story-card:not(:has(> .story-image)) {
    display: block !important;
    padding: 24px 26px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2eaf1 !important;
  }

  body.home.nl-design-active .home-content > [data-home-section="cases"] .story-card:not(:has(> .story-image)) > div {
    padding: 0 !important;
  }

  body.home.nl-design-active .home-content > [data-home-section="cases"] .story-card:not(:has(> .story-image)) > div > p:not(.category) {
    display: block !important;
    margin: 10px 0 16px !important;
    color: #475569 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

/* 11.2 Swiss 1/3 · 2/3 Sticky Editorial Grid for /capabilities/ & /about/ */
.yc-inner-page-wrap:has(.yc-swiss-section) {
  padding-top: 28px;
}

.yc-swiss-lead-bar {
  padding: 0 0 28px;
}

.yc-swiss-lead-bar > p:not(.capability-jumps) {
  margin: 0 0 14px !important;
  font-size: 14.5px !important;
  color: #64748b !important;
}

.yc-swiss-section {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-block: 56px;
  border-top: 1px solid #e2eaf1;
}

.yc-swiss-section--tinted {
  background-color: #f6f8fb;
  box-shadow: 0 0 0 100vmax #f6f8fb;
  clip-path: inset(0 -100vmax);
}

@media (min-width: 961px) {
  .yc-swiss-section__head {
    position: sticky;
    top: 112px;
  }
}

.yc-swiss-index {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  color: #9a6b16;
  margin-bottom: 8px;
}

body.nl-design-active .yc-swiss-section__head h2 {
  margin: 0 !important;
  font-size: clamp(1.45rem, 2.05vw, 1.88rem) !important;
  font-weight: 700 !important;
  line-height: 1.24 !important;
  letter-spacing: -0.02em;
  color: #0f1f2e !important;
  scroll-margin-top: 118px;
}

.yc-swiss-section__body {
  min-width: 0;
}

.yc-swiss-section__body > :first-child {
  margin-top: 0 !important;
}

.yc-swiss-section__body > :last-child {
  margin-bottom: 0 !important;
}

body.nl-design-active .yc-swiss-section__body > p {
  max-width: 66ch;
  color: #334155;
  font-size: 16.5px !important;
  line-height: 1.72 !important;
}

/* Precision Horizontal Material Cards inside Swiss Body (Compact 2×4 Grid) */
@media (min-width: 701px) {
  body.nl-design-active .yc-swiss-section__body .yc-materials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
  }

  body.nl-design-active .yc-swiss-section__body .yc-material {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 14px;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #dfe7ef !important;
    box-shadow: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }

  body.nl-design-active .yc-swiss-section__body .yc-material:hover {
    border-color: #c2d2e1 !important;
    box-shadow: 0 10px 24px rgba(15, 28, 42, 0.06);
    transform: translateY(-2px);
  }

  body.nl-design-active .yc-swiss-section__body .yc-material > img {
    width: 112px;
    height: 96px;
    aspect-ratio: auto;
    object-fit: contain;
    padding: 8px;
    border-radius: 7px;
    background: #eef3f7;
  }

  body.nl-design-active .yc-swiss-section__body .yc-material > div {
    padding: 0 !important;
    min-width: 0;
  }

  body.nl-design-active .yc-swiss-section__body .yc-material h3 {
    margin: 0 0 4px !important;
    font-size: 16.5px !important;
    line-height: 1.3 !important;
  }

  body.nl-design-active .yc-swiss-section__body .yc-material p {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin: 0 0 6px !important;
  }
}

/* Unified 2×2 Case Study Showcase Grid on /capabilities/ */
.yc-swiss-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.yc-swiss-case-card {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.yc-swiss-case-card:hover {
  border-color: #c2d2e1;
  box-shadow: 0 12px 26px rgba(15, 28, 42, 0.06);
  transform: translateY(-2px);
}

.yc-swiss-case-card .category {
  margin: 0 0 8px !important;
  font-size: 11.5px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a6b16 !important;
}

.yc-swiss-case-card h3 {
  margin: 0 0 10px !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
}

.yc-swiss-case-card h3 a {
  color: #0f1f2e;
  text-decoration: none;
}

.yc-swiss-case-card h3 a:hover {
  color: #0f3d68;
}

.yc-swiss-case-card > p:not(.category) {
  margin: 0 0 16px !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  flex: 1;
}

.yc-swiss-case-card .text-link {
  margin-top: auto;
}

.yc-swiss-tail {
  padding-top: 44px;
  border-top: 1px solid #e2eaf1;
}

/* 11.3 Horizontal Hairline Datasheet Tables (Replaces Black Excel Grid Tables) */
body.nl-design-active .equipment-table-wrap {
  border-radius: 10px;
  border: 1px solid #dfe7ef;
  background: #ffffff !important;
  overflow-x: auto;
}

body.nl-design-active .equipment-table {
  border-collapse: collapse;
  width: 100%;
}

body.nl-design-active .equipment-table thead th {
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 18px !important;
  border: 0 !important;
  border-bottom: 1.5px solid #cbd5e1 !important;
}

body.nl-design-active .equipment-table tbody td,
body.nl-design-active .equipment-table tbody th {
  padding: 14px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #edf2f7 !important;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
}

body.nl-design-active .equipment-table tbody tr:last-child td,
body.nl-design-active .equipment-table tbody tr:last-child th {
  border-bottom: 0 !important;
}

body.nl-design-active .equipment-table tbody tr:hover {
  background: #f8fafc !important;
}

body.nl-design-active .equipment-table tbody tr:hover td:first-child::before,
body.nl-design-active .equipment-table tbody tr:hover th:first-child::before {
  display: none !important;
}

/* 11.4 Unified 10px Panel Framing & Calm Closing CTA Transition */
body.nl-design-active .yc-quality-evidence {
  margin: 24px 0 !important;
  padding: 26px 28px !important;
  background: #ffffff !important;
  border: 1px solid #dfe7ef !important;
  border-left: 1px solid #dfe7ef !important;
  border-radius: 10px !important;
}

body.nl-design-active :is(
  .yc-cmm-showcase,
  .yc-materials-grid:not(.is-home) .yc-material,
  .yc-video-gallery .video-showcase,
  .yc-video-choice,
  .yc-quality-grid article,
  .yc-applications-grid article,
  .category-entry-card
) {
  border-radius: 10px !important;
  overflow: hidden;
}

body.nl-design-active .category-entry-card {
  border: 1px solid #dfe7ef !important;
  padding: 18px 20px !important;
  background: #ffffff;
}

body.nl-design-active .yc-video-choice {
  border-color: rgba(203, 218, 232, 0.18) !important;
  background: rgba(20, 38, 54, 0.75) !important;
}

body.nl-design-active .yc-video-choice.is-active {
  border-color: #e5b358 !important;
  box-shadow: 0 0 0 1px #e5b358 !important;
}

/* Harmonize Bright Blue .closing-cta into Deep Slate Architectural Pre-Footer */
body.nl-design-active .closing-cta,
body.home.nl-design-active .closing-cta {
  background: linear-gradient(135deg, #112233 0%, #0d1a27 100%) !important;
  color: #f8fafc !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.nl-design-active .closing-cta h2 {
  color: #f8fafc !important;
  letter-spacing: -0.02em;
}

body.nl-design-active .closing-cta p {
  color: #b8c7d6 !important;
  opacity: 1;
}

body.nl-design-active .closing-cta .category {
  color: #e5b358 !important;
}

@media (max-width: 960px) {
  .yc-swiss-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 38px;
  }
}

@media (max-width: 700px) {
  .yc-swiss-case-grid {
    grid-template-columns: 1fr;
  }
  body.home.nl-design-active .home-content > .wp-block-group {
    padding-block: 48px !important;
  }
}


/* ==========================================================================
   12. Global Markets Animated Business Routes & Integrated Google Map Module
   ========================================================================== */
body.nl-design-active .market-map-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(138, 188, 232, 0.26) !important;
  background: #0a1b2c !important;
  box-shadow: 0 16px 40px rgba(4, 12, 22, 0.36);
}

.yc-market-stage-tabs {
  position: absolute;
  top: 14px;
  left: 14px;
  right: auto;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(8, 22, 36, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(153, 194, 228, 0.26);
  box-shadow: 0 6px 18px rgba(3, 10, 18, 0.4);
}

.yc-market-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #bcd3e8;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.yc-market-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.yc-market-tab.is-active {
  background: linear-gradient(135deg, #f3d69b 0%, #e4b968 100%);
  color: #0b1e2d !important;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(228, 185, 104, 0.32);
}

.yc-market-routes-pane {
  position: relative;
  width: 100%;
}

.yc-market-routes-pane[hidden],
.yc-market-gmap-pane[hidden] {
  display: none !important;
}

.yc-route-anim-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

@keyframes ycRouteStreamFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -28; }
}

@keyframes ycRouteComet {
  0% { stroke-dashoffset: 15; opacity: 0; }
  10% { opacity: 0.95; }
  78% { opacity: 0.95; }
  94%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes ycRouteBead {
  0% { stroke-dashoffset: 0; opacity: 0; }
  8% { opacity: 1; }
  76% { opacity: 1; }
  90%, 100% { stroke-dashoffset: -115; opacity: 0; }
}

@keyframes ycDestArrival {
  0%, 68% { transform: scale(0.75); opacity: 0; }
  76% { transform: scale(1.1); opacity: 0.9; }
  96%, 100% { transform: scale(2.8); opacity: 0; }
}

@keyframes ycOriginHubPulse {
  0% { transform: scale(0.75); opacity: 0.85; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}

.yc-route-group {
  transition: opacity 200ms ease;
}

.yc-route-stream {
  fill: none;
  stroke: #78c2ff;
  stroke-opacity: 0.64;
  stroke-width: 1.4;
  stroke-dasharray: 5 9;
  animation: ycRouteStreamFlow 1.7s linear infinite;
  transition: stroke 180ms ease, stroke-width 180ms ease, stroke-opacity 180ms ease;
}

.yc-route-comet {
  fill: none;
  stroke: #f6c96f;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 15 120;
  stroke-dashoffset: 15;
  opacity: 0;
  animation: ycRouteComet var(--route-dur, 3.4s) cubic-bezier(0.32, 0.04, 0.58, 0.96) var(--route-delay, 0s) infinite;
}

.yc-route-bead {
  fill: none;
  stroke: #fff9e8;
  stroke-width: 5.2;
  stroke-linecap: round;
  stroke-dasharray: 0.1 135;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: ycRouteBead var(--route-dur, 3.4s) cubic-bezier(0.32, 0.04, 0.58, 0.96) var(--route-delay, 0s) infinite;
}

.yc-dest-ripple {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: ycDestArrival var(--route-dur, 3.4s) ease-out var(--route-delay, 0s) infinite;
}

.yc-origin-radar {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: ycOriginHubPulse 2.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.yc-origin-radar--delayed {
  animation-delay: 1.4s;
}

.yc-origin-core {
  fill: #fbbf24;
}

.yc-origin-hotspot {
  position: absolute;
  left: 81.24%;
  top: 28.36%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 4;
}

.yc-origin-hotspot:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 3px;
}

/* Interactive Country List <-> Route Highlighting */
.market-map-list li[data-market-target] {
  padding: 5px 8px;
  margin-inline: -8px;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.market-map-list li[data-market-target]:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(2px);
}

.market-map[data-active-route] .yc-route-group {
  opacity: 0.22;
}

.market-map[data-active-route="us"] .yc-route-group[data-route-id="us"],
.market-map[data-active-route="mx"] .yc-route-group[data-route-id="mx"],
.market-map[data-active-route="de"] .yc-route-group[data-route-id="de"],
.market-map[data-active-route="th"] .yc-route-group[data-route-id="th"],
.market-map[data-active-route="vn"] .yc-route-group[data-route-id="vn"],
.market-map[data-active-route="kr"] .yc-route-group[data-route-id="kr"],
.market-map[data-active-route="jp"] .yc-route-group[data-route-id="jp"] {
  opacity: 1;
}

.market-map[data-active-route="us"] .yc-route-group[data-route-id="us"] .yc-route-stream,
.market-map[data-active-route="mx"] .yc-route-group[data-route-id="mx"] .yc-route-stream,
.market-map[data-active-route="de"] .yc-route-group[data-route-id="de"] .yc-route-stream,
.market-map[data-active-route="th"] .yc-route-group[data-route-id="th"] .yc-route-stream,
.market-map[data-active-route="vn"] .yc-route-group[data-route-id="vn"] .yc-route-stream,
.market-map[data-active-route="kr"] .yc-route-group[data-route-id="kr"] .yc-route-stream,
.market-map[data-active-route="jp"] .yc-route-group[data-route-id="jp"] .yc-route-stream {
  stroke: #f6c96f;
  stroke-opacity: 0.98;
  stroke-width: 2.3;
}

/* Live Google Map Stage inside .market-map-visual */
.yc-market-gmap-pane {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 440;
  min-height: 300px;
  background: #0b1c28;
}

.yc-market-gmap-underlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.yc-market-gmap-underlay svg {
  width: 100%;
  height: 100%;
  display: block;
}

.yc-market-gmap-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.yc-market-gmap-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  opacity: 0;
  transition: opacity 280ms ease;
}

.yc-market-gmap-frame iframe.is-loaded {
  opacity: 1;
}

.yc-market-gmap-hud {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: calc(100% - 28px);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(8, 22, 36, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(234, 200, 137, 0.36);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.yc-market-gmap-hud__meta strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
}

.yc-market-gmap-hud__meta span {
  display: block;
  font-size: 12px;
  color: #b7cde0;
  line-height: 1.35;
}

.yc-market-gmap-hud__meta em {
  font-style: normal;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #eac889;
}

.yc-market-gmap-hud__ext {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(234, 200, 137, 0.16);
  border: 1px solid rgba(234, 200, 137, 0.42);
  color: #f6dcb0 !important;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none !important;
}

.yc-market-gmap-hud__ext:hover {
  background: rgba(234, 200, 137, 0.26);
  color: #ffffff !important;
}

/* Integrated Google Map Module Card in Right Details Column */
.yc-market-gmap-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  margin: -10px 18px 22px 0;
  border-radius: 12px;
  background: rgba(8, 23, 39, 0.58);
  border: 1px solid rgba(138, 188, 232, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.yc-market-gmap-card__thumb {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.38);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.yc-market-gmap-card__thumb:hover {
  transform: scale(1.04);
  border-color: rgba(245, 158, 11, 0.78);
}

.yc-market-gmap-card__body {
  min-width: 0;
  flex: 1;
}

.yc-market-gmap-card__body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #f4f8fc;
  line-height: 1.3;
  margin-bottom: 2px;
}

.yc-market-gmap-card__body > span {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11.5px;
  color: #93b4cf;
  line-height: 1.35;
  margin-bottom: 7px;
}

.yc-market-gmap-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.yc-market-gmap-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid rgba(234, 200, 137, 0.45);
  background: rgba(234, 200, 137, 0.14);
  color: #f5dcb0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.yc-market-gmap-card__btn:hover,
.yc-market-gmap-card__btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #f3d69b 0%, #e4b968 100%);
  border-color: #f3d69b;
  color: #0b1e2d;
}

.yc-market-gmap-card__ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(153, 194, 228, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #cfe3f4 !important;
  font-size: 12.5px;
  text-decoration: none !important;
  transition: background-color 160ms ease, color 160ms ease;
}

.yc-market-gmap-card__ext:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
}

@media (max-width: 900px) {
  .yc-market-gmap-card {
    margin-inline-end: 0;
  }
}

@media (max-width: 650px) {
  .yc-market-stage-tabs {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    width: 100%;
    justify-content: center;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(153, 194, 228, 0.2);
    background: rgba(8, 22, 36, 0.95);
    box-shadow: none;
    padding: 6px 8px;
  }
  .yc-market-tab {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    padding-inline: 8px;
  }
  .yc-market-gmap-pane {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yc-route-stream,
  .yc-route-comet,
  .yc-route-bead,
  .yc-dest-ripple,
  .yc-origin-radar {
    animation: none !important;
  }
}
