:root {
  --bps-accent: #7657ff;
  --bps-accent-2: #24c7ff;
  --bps-glow-x: 72%;
  --bps-glow-y: 30%;
}

html { scroll-behavior: smooth; }
body.bps-enhanced { background: #fff; }

/* Our Solutions continues the hero's technology language at lower intensity. */
#rec406239938 {
  --solutions-x: 72%;
  --solutions-y: 18%;
  position: relative;
  overflow: hidden;
  background-color: #fafaff !important;
  background-image:
    radial-gradient(circle at var(--solutions-x) var(--solutions-y), rgba(118, 87, 255, .105), transparent 23%),
    radial-gradient(circle at 9% 82%, rgba(36, 199, 255, .075), transparent 19%),
    linear-gradient(rgba(91, 74, 212, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 74, 212, .035) 1px, transparent 1px),
    linear-gradient(180deg, #fdfdff, #f8f8ff) !important;
  background-size: auto, auto, 46px 46px, 46px 46px, auto !important;
}

#rec406239938 > .t850 {
  position: relative;
  z-index: 1;
}

#rec406239938 .t850__inner-col {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(106, 119, 241, .13) !important;
  border-radius: 18px !important;
  background-color: rgba(255, 255, 255, .84) !important;
  box-shadow: 0 12px 32px rgba(55, 45, 108, .065);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .34s cubic-bezier(.2,.8,.2,1), box-shadow .34s ease, border-color .34s ease;
}

#rec406239938 .t850__inner-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #7657ff, #24c7ff);
  opacity: .38;
  transform: scaleX(.28);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}

#rec406239938 .t850__col:hover .t850__inner-col {
  transform: translateY(-7px);
  border-color: rgba(106, 119, 241, .25) !important;
  box-shadow: 0 22px 46px rgba(55, 45, 108, .13);
}

#rec406239938 .t850__col:hover .t850__inner-col::before {
  opacity: .7;
  transform: scaleX(1);
}

/* Carry the same visual system through the rest of the page. */
#rec265808952,
#rec265809038 {
  background-color: #fafbff !important;
}

#rec265808952 .t396__artboard {
  background-color: transparent !important;
  background-image:
    radial-gradient(circle at 18% 25%, rgba(118, 87, 255, .10), transparent 23%),
    radial-gradient(circle at 83% 72%, rgba(36, 199, 255, .065), transparent 20%),
    linear-gradient(180deg, #fafaff, rgba(250,252,255,.94)) !important;
}

#rec265809038 {
  background-image:
    radial-gradient(circle at 84% 18%, rgba(118, 87, 255, .07), transparent 19%),
    radial-gradient(circle at 15% 82%, rgba(36, 199, 255, .055), transparent 18%),
    radial-gradient(circle, rgba(91,74,212,.055) 1px, transparent 1.5px) !important;
  background-size: auto, auto, 28px 28px !important;
}

#rec225445428 .t396__artboard {
  background-color: #ffffff !important;
  background-image:
    radial-gradient(circle at 8% 14%, rgba(118,87,255,.085), transparent 20%),
    radial-gradient(circle at 90% 74%, rgba(36,199,255,.06), transparent 22%),
    linear-gradient(rgba(91,74,212,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,74,212,.03) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff, #fbfbff) !important;
  background-size: auto, auto, 48px 48px, 48px 48px, auto !important;
}

#rec259690511 .t396__artboard,
#rec224030008 .t396__artboard {
  background-color: #f8f7ff !important;
  background-image:
    radial-gradient(circle at 24% 35%, rgba(118,87,255,.11), transparent 23%),
    radial-gradient(circle at 79% 65%, rgba(36,199,255,.075), transparent 24%),
    linear-gradient(135deg, rgba(249,248,255,.98), rgba(245,250,255,.96)) !important;
}

#rec259687753 { background-color: #f8f7ff !important; }

#rec406317452 .t396__artboard {
  background-color: #fafaff !important;
  background-image:
    radial-gradient(circle at 7% 20%, rgba(118,87,255,.075), transparent 18%),
    radial-gradient(circle at 94% 82%, rgba(36,199,255,.055), transparent 18%),
    radial-gradient(circle, rgba(91,74,212,.045) 1px, transparent 1.5px),
    linear-gradient(180deg, #fbfbff, #f8f9ff) !important;
  background-size: auto, auto, 32px 32px, auto !important;
}

#rec265808952,
#rec225445428,
#rec259690511,
#rec228845214,
#rec406317452 {
  border-top: 1px solid rgba(106,119,241,.08);
}

/* A restrained animated grid and a light that follows the pointer. */
#rec224453407 .t396__artboard {
  isolation: isolate;
  overflow: hidden;
}

#rec224453407 .t396__filter {
  background-image:
    radial-gradient(circle at var(--bps-glow-x) var(--bps-glow-y), rgba(118, 87, 255, .20), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(36, 199, 255, .13), transparent 24%),
    linear-gradient(rgba(91, 74, 212, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 74, 212, .055) 1px, transparent 1px),
    linear-gradient(135deg, rgba(250, 250, 255, .72), rgba(255, 255, 255, .92)) !important;
  background-size: auto, auto, 42px 42px, 42px 42px, auto !important;
  opacity: 1 !important;
  animation: bps-grid-drift 20s linear infinite;
}

#rec224453407 .t635__typing-text {
  color: transparent !important;
  background: linear-gradient(100deg, #5d3fff 5%, #8f55ff 46%, #12aeea 95%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 8px 18px rgba(93, 63, 255, .16));
}

#rec224453407 .tn-elem[data-elem-type="image"] img {
  filter: drop-shadow(0 30px 45px rgba(62, 47, 148, .19));
}

/* Buttons gain depth and a passing highlight. */
.bps-enhanced .t396__elem[data-elem-type="button"] > a.tn-atom,
.bps-enhanced .t-submit,
.bps-enhanced .t-btn {
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease !important;
}

.bps-enhanced .t396__elem[data-elem-type="button"] > a.tn-atom::after,
.bps-enhanced .t-submit::after,
.bps-enhanced .t-btn::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
  transform: skewX(-18deg);
  transition: left .65s ease;
  pointer-events: none;
}

.bps-enhanced .t396__elem[data-elem-type="button"] > a.tn-atom:hover,
.bps-enhanced .t-submit:hover,
.bps-enhanced .t-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(70, 54, 167, .20);
  filter: saturate(1.08);
}

.bps-enhanced .t396__elem[data-elem-type="button"] > a.tn-atom:hover::after,
.bps-enhanced .t-submit:hover::after,
.bps-enhanced .t-btn:hover::after { left: 120%; }

/* Existing service/work tiles become more tactile. */
.bps-enhanced .t537__item,
.bps-enhanced .t-card__col,
.bps-enhanced .t396__elem[data-elem-type="image"] .tn-atom {
  transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s ease, filter .38s ease;
}

.bps-enhanced .t537__item:hover,
.bps-enhanced .t-card__col:hover { transform: translateY(-8px); }

.bps-enhanced .t537__item:hover .t537__bgimg,
.bps-enhanced .t-card__col:hover .t-bgimg {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.02);
}

.bps-enhanced .t537__bgimg,
.bps-enhanced .t-card__col .t-bgimg {
  transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease !important;
}

/* Team portraits stay borderless; only the image lifts and enlarges gently. */
#rec265809038 .t537__itemwrapper {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

#rec265809038 .t537__itemwrapper::before { content: none; }

#rec265809038 .t537__bgimg {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 0;
  box-shadow: none;
  transform: scale(1);
  transition: transform .38s cubic-bezier(.2,.8,.2,1), filter .38s ease !important;
}

#rec265809038 .t537__bgimg::after {
  content: "";
  position: absolute;
  inset: -24%;
  z-index: 1;
  background: linear-gradient(105deg, transparent 37%, rgba(255,255,255,.48) 49%, transparent 61%);
  transform: translateX(-135%) rotate(8deg);
  transition: transform .72s cubic-bezier(.2,.75,.2,1);
  pointer-events: none;
}

#rec265809038 .t537__itemwrapper:hover .t537__bgimg {
  transform: translateY(-5px) scale(1.045);
  box-shadow: none;
  filter: saturate(1.045) contrast(1.015);
}

#rec265809038 .t537__itemwrapper:hover .t537__bgimg::after {
  transform: translateX(135%) rotate(8deg);
}

/* The three contact symbols now share the same glass-tech language. */
#rec228845214 .tn-elem[data-elem-id="1599826586358"] img,
#rec228845214 .tn-elem[data-elem-id="1599832108041"] img,
#rec228845214 .tn-elem[data-elem-id="1599832111952"] img {
  filter: drop-shadow(0 8px 12px rgba(74, 53, 176, .13));
  transition: transform .4s cubic-bezier(.2,.8,.2,1), filter .4s ease;
}

#rec228845214 .tn-elem[data-elem-id="1599826586358"]:hover img,
#rec228845214 .tn-elem[data-elem-id="1599832108041"]:hover img,
#rec228845214 .tn-elem[data-elem-id="1599832111952"]:hover img {
  transform: translateY(-4px) scale(1.055);
  filter: drop-shadow(0 12px 18px rgba(63, 42, 171, .20)) saturate(1.04);
}

/* Remove the old rotating circles that conflict with the new icon set. */
#rec228845214 .tn-elem[data-elem-id="1599833081465"],
#rec228845214 .tn-elem[data-elem-id="1599833765471"],
#rec228845214 .tn-elem[data-elem-id="1599833805137"] {
  display: none !important;
}

/* A quiet connector replaces the old unrelated rotating circles. */
#rec228845214 .t396__artboard {
  position: relative;
  isolation: isolate;
  background-color: #fcfbff !important;
  background-image:
    radial-gradient(circle at 18% 18%, rgba(118, 87, 255, .075), transparent 20%),
    radial-gradient(circle at 82% 76%, rgba(36, 199, 255, .055), transparent 20%),
    linear-gradient(180deg, rgba(250,249,255,.96), rgba(255,255,255,.98)) !important;
}

#rec228845214 .t396__artboard::before {
  content: "";
  position: absolute;
  left: 16.7%;
  top: 184px;
  z-index: 1;
  width: 66.6%;
  height: 1px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(106,119,241,.18), rgba(106,119,241,.34) 50%, rgba(106,119,241,.18));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.15s cubic-bezier(.2,.75,.2,1) .15s;
  pointer-events: none;
}

#rec228845214 .t396__artboard::after {
  content: "";
  position: absolute;
  left: 16.7%;
  top: 180px;
  z-index: 1;
  width: 66.6%;
  height: 9px;
  background:
    radial-gradient(circle at 4px 50%, rgba(106,119,241,.48) 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 50%, rgba(106,119,241,.44) 0 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 4px) 50%, rgba(106,119,241,.48) 0 3px, transparent 3.5px);
  opacity: 0;
  transition: opacity .7s ease .65s;
  pointer-events: none;
}

#rec228845214.bps-visible .t396__artboard::before { transform: scaleX(1); }
#rec228845214.bps-visible .t396__artboard::after { opacity: 1; }

/* Traditional Chinese glyphs need a little more vertical breathing room. */
html[lang="zh-Hant-TW"] #rec224453407 .t635__typing-text {
  display: inline-block;
  line-height: 1.28 !important;
  padding-top: .10em;
  padding-bottom: .06em;
  margin-top: -.10em;
  margin-bottom: -.06em;
  overflow: visible !important;
  vertical-align: top;
}

/* Keep the Chinese Vision statement balanced on two lines at wider sizes. */
html[lang="zh-Hant-TW"] #rec228845214 .tn-elem[data-elem-id="1599822872475"] {
  left: calc(50% - 600px + 847px) !important;
  width: 310px !important;
}

@media (max-width: 1199px) {
  html[lang="zh-Hant-TW"] #rec228845214 .tn-elem[data-elem-id="1599822872475"] {
    left: calc(50% - 480px + 659px) !important;
    width: 290px !important;
  }
}

@media (max-width: 959px) {
  html[lang="zh-Hant-TW"] #rec228845214 .tn-elem[data-elem-id="1599822872475"] {
    left: calc(50% - 320px + 169px) !important;
    width: 300px !important;
  }
}

@media (max-width: 639px) {
  html[lang="zh-Hant-TW"] #rec228845214 .tn-elem[data-elem-id="1599822872475"] {
    left: calc(50% - 240px + 102px) !important;
    width: 280px !important;
  }
}

@media (max-width: 479px) {
  html[lang="zh-Hant-TW"] #rec228845214 .tn-elem[data-elem-id="1599822872475"] {
    left: calc(50% - 160px + 10px) !important;
    width: 300px !important;
  }
}

/* Contact actions already exist in the footer, so only the repeated CTA blocks are omitted. */
#rec259690511,
#rec224030008 {
  display: none !important;
}

/* Keep the Traditional Chinese value statement on one line where the desktop layout has room. */
@media (min-width: 1200px) {
  html[lang="zh-Hant-TW"] #rec225445428 .tn-elem[data-elem-id="1574073038649"] {
    width: 620px !important;
  }

  html[lang="zh-Hant-TW"] #rec225445428 .tn-elem[data-elem-id="1574073038649"] .tn-atom {
    white-space: nowrap;
  }
}

@media (min-width: 960px) and (max-width: 1199px) {
  html[lang="zh-Hant-TW"] #rec225445428 .tn-elem[data-elem-id="1574073038649"] {
    width: 560px !important;
  }

  html[lang="zh-Hant-TW"] #rec225445428 .tn-elem[data-elem-id="1574073038649"] .tn-atom {
    white-space: nowrap;
  }
}

#rec259690511 .t396__artboard {
  height: 320px !important;
  min-height: 320px !important;
  overflow: hidden;
}

#rec259690511 .tn-elem[data-elem-id="1470233923389"] {
  top: 70px !important;
  left: 50% !important;
  width: min(900px, calc(100% - 40px)) !important;
  transform: translateX(-50%) !important;
}

#rec259690511 .tn-elem[data-elem-id="1470233923389"] .tn-atom {
  text-align: center !important;
}

#rec259690511 .tn-elem[data-elem-id="1597844858967"] {
  top: 175px !important;
  left: 50% !important;
  width: min(650px, calc(100% - 40px)) !important;
  transform: translateX(-50%) !important;
}

.bps-contact-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.bps-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  box-sizing: border-box;
  border: 1px solid rgba(106,119,241,.24);
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.bps-contact-cta-primary {
  color: #fff !important;
  border-color: transparent;
  background: linear-gradient(105deg, #6556ed, #7c58ef 55%, #19aee7);
  box-shadow: 0 12px 28px rgba(91,74,212,.21);
}

.bps-contact-cta-secondary {
  color: #4c43a8 !important;
  background: rgba(255,255,255,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 22px rgba(65,55,145,.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bps-contact-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  background: rgba(255,255,255,.17);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}

.bps-contact-cta-secondary .bps-contact-cta-icon {
  background: rgba(106,119,241,.09);
}

.bps-contact-cta:hover {
  transform: translateY(-3px);
}

.bps-contact-cta-primary:hover {
  box-shadow: 0 17px 34px rgba(91,74,212,.28);
}

.bps-contact-cta-secondary:hover {
  border-color: rgba(106,119,241,.44);
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 30px rgba(65,55,145,.11);
}

.bps-contact-cta:hover .bps-contact-cta-icon {
  transform: translate(2px, -1px);
}

.bps-contact-cta:focus-visible {
  outline: 3px solid rgba(36,199,255,.32);
  outline-offset: 4px;
}

/* Normalize all six office landmarks to one visual weight and neutral tone. */
#rec406317452 .tn-elem[data-elem-id="1643364735785"] img,
#rec406317452 .tn-elem[data-elem-id="1643364735788"] img,
#rec406317452 .tn-elem[data-elem-id="1643364735782"] img,
#rec406317452 .tn-elem[data-elem-id="1643364735777"] img,
#rec406317452 .tn-elem[data-elem-id="1643364735795"] img,
#rec406317452 .tn-elem[data-elem-id="1643364735792"] img {
  width: 39px !important;
  height: 39px !important;
  object-fit: contain;
  filter: grayscale(1) brightness(0) !important;
  opacity: .48 !important;
}

/* Match the body copy size used in the Headquarters and Vision section. */
#rec225445428 .tn-elem[data-elem-id="1574073274550"] .tn-atom,
#rec225445428 .tn-elem[data-elem-id="1574073292365"] .tn-atom {
  font-size: 18px !important;
}

/* Complete sections enter gently as the visitor scrolls. */
.bps-enhanced .bps-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2,.75,.2,1);
  will-change: opacity, transform;
}

.bps-enhanced .bps-reveal.bps-visible {
  opacity: 1;
  transform: translateY(0);
}

.bps-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bps-accent), var(--bps-accent-2));
  box-shadow: 0 0 14px rgba(88, 84, 255, .6);
  pointer-events: none;
}

@keyframes bps-grid-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 0 0, 0 0, 42px 42px, 42px 42px, 0 0; }
}

@media (max-width: 959px) {
  #rec224453407 .t396__filter {
    background-size: auto, auto, 34px 34px, 34px 34px, auto !important;
  }
  #rec406239938 {
    background-size: auto, auto, 36px 36px, 36px 36px, auto !important;
  }

  #rec228845214 .t396__artboard::before,
  #rec228845214 .t396__artboard::after {
    display: none;
  }

}

@media (max-width: 639px) {
  #rec259690511 .t396__artboard {
    height: 350px !important;
    min-height: 350px !important;
  }

  #rec259690511 .tn-elem[data-elem-id="1470233923389"] {
    top: 56px !important;
    width: calc(100% - 28px) !important;
  }

  #rec259690511 .tn-elem[data-elem-id="1597844858967"] {
    top: 145px !important;
    width: calc(100% - 36px) !important;
  }

  .bps-contact-cta-actions {
    flex-direction: column;
    gap: 11px;
  }

  .bps-contact-cta {
    width: min(290px, 100%);
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #rec224453407 .t396__filter { animation: none !important; }
  .bps-enhanced .bps-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
