@font-face {
  font-family: "flaticon";
  src: url("flaticon.ttf") format("truetype");
  font-display: block;
}

.orion-page {
  min-height: 100vh;
  color: #14133b;
  background: #ffffff;
  font-family: "Barlow", "Roboto", Arial, sans-serif;
}

.orion-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.orion-hero {
  min-height: 540px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(20, 19, 59, 0.68), rgba(20, 19, 59, 0.28)),
    url("https://www.magtech.com.cn/international/images/bg/header-bg.jpg")calc(72% + 100px) center / cover no-repeat,
    linear-gradient(135deg, #0d3b38, #235d55);
}

.orion-hero::after {
  display: none;
  content: none;
}

.orion-hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-top: 112px;
}

.orion-hero-content {
  max-width: 690px;
}

.orion-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.orion-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
}

.orion-breadcrumb em {
  font-style: normal;
  opacity: 0.72;
}

.orion-hero h1 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(34px, 4.15vw, 54px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
}

.orion-hero p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 1.72;
  font-weight: 500;
}

.orion-intro {
  padding: 94px 0 0;
  background: #f2f6fb;
}

.orion-intro .orion-shell {
  width: min(1200px, calc(100% - 48px));
}

.orion-features .orion-shell {
  width: min(1200px, calc(100% - 48px));
}

.orion-section-title {
  margin-bottom: 28px;
  text-align: center;
}

.orion-section-title span,
.orion-contact-copy span {
  display: inline-block;
  margin-bottom: 12px;
  color: #0554f2;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.orion-section-title .orion-title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  margin: 12px auto 0;
  color: inherit;
  font-size: inherit;
  letter-spacing: 0;
}

.orion-title-divider i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #00a86b;
}

.orion-title-divider i:nth-child(1) {
  width: 22px;
}

.orion-title-divider i:nth-child(2) {
  width: 48px;
}

.orion-title-divider i:nth-child(3) {
  width: 22px;
}

.orion-section-title h2,
.orion-contact-copy h2 {
  margin: 0;
  color: #14133b;
  font-size: 2.0275rem;
  line-height: 1.33;
  font-weight: 600;
  letter-spacing: 0;
  font-family: "Barlow", sans-serif;
}

.orion-lead {
  margin: 0;
  font-family:"Roboto", sans-serif;
  color: #5b6674;
  font-size: 16px;
  line-height: 1.75;
}

.orion-features {
  padding: 50px 0 40px;
  background: #f2f6fb;
}

.orion-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  column-gap: 24px;
  row-gap: 50px;
  align-items: stretch;
}

.orion-feature-card {
  height: 100%;
  position: relative;
  padding: 30px 20px 20px 33px;
  border-left: 2px solid #dee9fe;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  transition: all 0.4s ease;
}

.orion-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, #4d9f7a 0%, #66c39b 100%);
  z-index: 0;
  transition: width 0.35s ease;
}

.orion-feature-card > * {
  position: relative;
  z-index: 1;
}

.orion-feature-card > .orion-feature-icon {
  position: absolute;
  left: 33px;
  top: 30px;
  display: inline-flex;
  color: #4d9f7a;
  font-size: 32px;
  line-height: 1;
  font-style: normal;
  transition: color 0.4s ease;
}

.orion-feature-icon::before {
  content: "\f122";
  font-family: "flaticon" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.orion-feature-card h3 {
  margin: 0 0 13px 49px;
  color: #14133b;
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
  transition: color 0.4s ease;
}

.orion-feature-card p {
  font-family: "Roboto", sans-serif;
  margin: 0;
  color: #5b6674;
  font-size: 16px;
  line-height: 1.75;
  transition: color 0.4s ease;
}

.orion-feature-card:hover {
  border-color: transparent;
  border-radius: 5px;
  box-shadow: none;
  transform: none;
}

.orion-feature-card:hover::after {
  width: 100%;
}

.orion-feature-card:hover .orion-feature-icon,
.orion-feature-card:hover h3,
.orion-feature-card:hover p {
  color: #ffffff;
}

/* Feature cards reveal progressively when this section enters the viewport. */
html.orion-reveal-ready .orion-feature-card {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.62s ease var(--orion-reveal-delay, 80ms),
    transform 0.62s cubic-bezier(0.22, 0.61, 0.36, 1) var(--orion-reveal-delay, 80ms),
    border-color 0.4s ease,
    border-radius 0.4s ease;
  will-change: opacity, transform;
}

html.orion-reveal-ready .orion-feature-card:nth-child(odd) {
  transform: translate3d(-28px, 14px, 0);
}

html.orion-reveal-ready .orion-feature-card:nth-child(even) {
  transform: translate3d(28px, 14px, 0);
}

html.orion-reveal-ready .orion-feature-card.is-revealed,
html.orion-reveal-ready .orion-feature-card.is-revealed:hover {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.orion-cases {
  padding: 86px 0 98px;
  background: #f8faff;
}

.orion-cases .orion-shell {
  width: min(1200px, calc(100% - 48px));
}

.orion-cases .orion-section-title {
  margin-bottom: 58px;
}

.orion-cases .orion-title-divider {
  margin-top: 16px;
}

.orion-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.orion-case-card {
  --case-motion-duration: 0.42s;
  --case-motion-easing: cubic-bezier(0.22, 0.61, 0.36, 1);
  --case-from-x: -101%;
  --case-from-y: 0%;
  --case-to-x: 101%;
  --case-to-y: 0%;
  position: relative;
  display: block;
  aspect-ratio: 1200 / 920;
  border-radius: 10px;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  background: #ffffff;
}

/* Case studies open from the center out when the gallery enters the viewport. */
html.orion-case-reveal-ready .orion-case-card {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.94);
  transition:
    opacity 0.6s ease var(--orion-case-reveal-delay, 0ms),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) var(--orion-case-reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.orion-case-reveal-ready .orion-case-card.is-case-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.orion-case-card::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: 1;
  visibility: hidden;
  background: rgba(20, 19, 59, 0.56);
  transform: translate(var(--case-from-x), var(--case-from-y));
  transition: transform var(--case-motion-duration) var(--case-motion-easing);
  will-change: transform;
}

.orion-case-card > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform var(--case-motion-duration) var(--case-motion-easing);
  will-change: transform;
}

.orion-case-zoom {
  position: absolute;
  z-index: 2;
  top: 40%;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  opacity: 0;
  visibility: visible;
  background: #ffffff;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity var(--case-motion-duration) var(--case-motion-easing), transform var(--case-motion-duration) var(--case-motion-easing), background 0.25s ease;
}

.orion-case-zoom::before {
  position: absolute;
  content: "";
  top: 19px;
  left: 19px;
  width: 12px;
  height: 12px;
  border: 3px solid #00a86b;
  border-radius: 50%;
  transition: border-color 0.25s ease;
}

.orion-case-zoom::after {
  position: absolute;
  content: "";
  top: 33px;
  left: 33px;
  width: 13px;
  height: 3px;
  border-radius: 4px;
  background: #00a86b;
  transform: rotate(45deg);
  transform-origin: left center;
  transition: background 0.25s ease;
}

.orion-case-zoom:hover {
  background: #00a86b;
}

.orion-case-zoom:hover::before {
  border-color: #ffffff;
}

.orion-case-zoom:hover::after {
  background: #ffffff;
}

.orion-case-title {
  position: absolute;
  z-index: 2;
  top: 66%;
  right: 28px;
  left: 28px;
  display: block;
  opacity: 0;
  visibility: visible;
  color: #ffffff;
  font-size: clamp(16px, 1.3vw, 22px);
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  transform: translateY(12px);
  transition: opacity var(--case-motion-duration) var(--case-motion-easing), transform var(--case-motion-duration) var(--case-motion-easing), color 0.25s ease;
}

.orion-case-title:hover {
  color: #00a86b;
}

.orion-case-card.is-active::before,
.orion-case-card:focus-visible::before {
  visibility: visible;
  transform: translate(0, 0);
}

.orion-case-card.is-active > img,
.orion-case-card:focus-visible > img {
  transform: scale(1.07);
}

.orion-case-card.is-leaving::before {
  visibility: visible;
  transform: translate(var(--case-to-x), var(--case-to-y));
}

.orion-case-card.is-active .orion-case-zoom,
.orion-case-card:focus-visible .orion-case-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.orion-case-card.is-active .orion-case-title,
.orion-case-card:focus-visible .orion-case-title {
  opacity: 1;
  transform: translateY(0);
}

.orion-contact {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(20, 19, 59, 0.92), rgba(20, 19, 59, 0.82)),
    url("https://www.magtech.com.cn/international/images/bg/contact-bg.jpg") center / cover no-repeat,
    #14133b;
}

.orion-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.orion-contact-info {
  display: grid;
  gap: 20px;
}

.orion-contact-info article {
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.orion-contact-info h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.orion-contact-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.72;
}

.orion-contact-copy h2 {
  color: #ffffff;
}

.orion-contact-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 54px;
  margin-top: 34px;
  padding: 0 30px;
  border-radius: 999px;
  color: #ffffff;
  background: #0554f2;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s ease;
}

.orion-contact-copy a:hover {
  background: #0445c5;
  transform: translateY(-2px);
}

.site-footer {
  background: #f1f3f2;
  color: #6b746f;
}

@media (max-width: 1024px) {
  .orion-feature-grid,
  .orion-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orion-contact-grid {
    grid-template-columns: 1fr;
  }

  .orion-feature-grid {
    grid-auto-rows: auto;
  }

  .orion-feature-card {
    height: auto;
    padding: 25px 15px 20px;
  }

  .orion-feature-card > .orion-feature-icon {
    left: 15px;
    top: 25px;
  }
}

@media (max-width: 768px) {
  .orion-shell,
  .orion-hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .orion-intro .orion-shell,
  .orion-cases .orion-shell {
    width: min(100% - 28px, 1200px);
  }

  .orion-features .orion-shell {
    width: min(100% - 28px, 1320px);
  }

  .orion-hero {
    min-height: 460px;
  }

  .orion-hero-inner {
    padding-top: 116px;
  }

  .orion-hero h1 {
    font-size: 38px;
  }

  .orion-hero p,
  .orion-lead {
    font-size: 17px;
  }

  .orion-intro,
  .orion-cases,
  .orion-contact {
    padding: 66px 0;
  }

  .orion-features {
    padding: 34px 0 68px;
  }

  .orion-feature-grid,
  .orion-case-grid {
    grid-template-columns: 1fr;
  }

  .orion-feature-grid {
    grid-auto-rows: auto;
  }

  .orion-feature-card {
    height: auto;
    min-height: auto;
    padding: 25px 15px 20px;
  }

  .orion-feature-card > .orion-feature-icon {
    left: 15px;
    top: 25px;
    font-size: 32px;
  }

  .orion-feature-card h3 {
    font-size: 20px;
    margin: 0 0 13px 49px;
  }

  .orion-feature-card p {
    font-size: 16px;
  }

}

/* Original layered OrionArm hero */
.orion-hero-wrap {
  position: relative;
  height: 140vh;
  min-height: 1000px;
  background: #061d32;
}

.orion-hero {
  --orion-hero-progress: 0;
  --orion-hero-text-progress: 0;
  isolation: isolate;
  position: sticky;
  top: 0;
  min-height: 720px;
  height: 100vh;
  max-height: none;
  background: #061d32;
}

.orion-hero::before,
.orion-hero::after {
  display: none;
  content: none;
}

.orion-hero-scene,
.orion-hero-layer,
.orion-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.orion-hero-scene {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orion-hero-layer {
  object-fit: cover;
  user-select: none;
  transform: translate3d(0, 0, 0);
  transform-origin: right bottom;
  will-change: transform;
}

.orion-hero-bg {
  transform: scale(calc(1.025 + var(--orion-hero-progress) * 0.06));
}

.orion-hero-building {
  object-fit: contain;
  object-position: right bottom;
  transform: translate3d(
    calc(var(--orion-hero-progress) * 80px),
    calc(var(--orion-hero-progress) * -42px),
    0
  ) scale(1.04);
}

.orion-hero-papers {
  object-fit: contain;
  object-position: right top;
  transform: translate3d(
    calc(var(--orion-hero-progress) * 145px),
    calc(var(--orion-hero-progress) * -170px),
    0
  ) rotate(calc(var(--orion-hero-progress) * 2deg));
}

.orion-hero-desk {
  object-fit: contain;
  object-position: right bottom;
  transform: translate3d(
    calc(var(--orion-hero-progress) * 48px),
    calc(var(--orion-hero-progress) * 105px),
    0
  ) scale(calc(0.9 + var(--orion-hero-progress) * 0.08));
}

.orion-hero-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(4, 22, 39, 0.97) 0%, rgba(4, 24, 43, 0.88) 31%, rgba(5, 29, 54, 0.32) 51%, rgba(4, 25, 47, 0.04) 72%, transparent 100%),
    linear-gradient(180deg, rgba(2, 17, 30, 0.18), transparent 34%, rgba(1, 14, 26, 0.2));
}

.orion-hero-inner {
  z-index: 3;
  width: min(1580px, calc(100% - 80px));
  min-height: 100%;
  padding: 132px clamp(34px, 6vw, 96px) 70px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.orion-hero-content {
  max-width: 780px;
  opacity: calc(1 - var(--orion-hero-text-progress));
  transform: translate3d(
    calc(var(--orion-hero-text-progress) * -72px),
    calc(var(--orion-hero-text-progress) * 18px),
    0
  );
  filter: blur(calc(var(--orion-hero-text-progress) * 2px));
  will-change: opacity, transform, filter;
}

.orion-hero h1 {
  max-width: 760px;
  margin-bottom: 32px;
  font-size: clamp(48px, 4.7vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.orion-hero p {
  max-width: 790px;
  font-size: clamp(16px, 1.22vw, 20px);
  line-height: 1.72;
}

@media (max-width: 1024px) {
  .orion-hero-wrap {
    height: 132vh;
    min-height: 950px;
  }

  .orion-hero {
    min-height: 760px;
    height: 100vh;
    max-height: none;
  }

  .orion-hero-inner {
    width: 100%;
    min-height: 760px;
    padding: 118px 34px 72px;
  }

  .orion-hero-building {
    opacity: 0.8;
    object-position: 66% bottom;
    transform: translate3d(
      calc(8% + var(--orion-hero-progress) * 60px),
      calc(var(--orion-hero-progress) * -38px),
      0
    ) scale(1.18);
  }

  .orion-hero-papers {
    opacity: 0.55;
    object-position: 64% top;
    transform: translate3d(
      calc(var(--orion-hero-progress) * 105px),
      calc(var(--orion-hero-progress) * -130px),
      0
    ) rotate(calc(var(--orion-hero-progress) * 1.5deg));
  }

  .orion-hero-desk {
    opacity: 0.76;
    object-position: 64% bottom;
    transform: translate3d(
      calc(8% + var(--orion-hero-progress) * 36px),
      calc(9% + var(--orion-hero-progress) * 72px),
      0
    ) scale(calc(1.08 + var(--orion-hero-progress) * 0.06));
  }

  .orion-hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 22, 39, 0.97) 0%, rgba(4, 24, 43, 0.92) 50%, rgba(4, 24, 43, 0.44) 80%, rgba(4, 24, 43, 0.14)),
      linear-gradient(180deg, rgba(2, 17, 30, 0.2), transparent 34%, rgba(1, 14, 26, 0.34));
  }
}

@media (max-width: 768px) {
  .orion-hero-wrap {
    height: 118vh;
    min-height: 820px;
  }

  .orion-hero {
    min-height: 700px;
  }

  .orion-hero-inner {
    width: 100%;
    min-height: 700px;
    padding: 98px 24px 66px;
  }

  .orion-hero-content {
    max-width: 100%;
    transform: translate3d(0, calc(var(--orion-hero-text-progress) * 14px), 0);
  }

  .orion-hero h1 {
    max-width: 100%;
    margin-bottom: 26px;
    font-size: clamp(39px, 11vw, 50px);
    line-height: 1.06;
  }

  .orion-hero p {
    max-width: 94%;
    font-size: 15px;
    line-height: 1.65;
  }

  .orion-hero-building {
    opacity: 0.56;
    object-position: 61% bottom;
    transform: translate3d(
      calc(22% + var(--orion-hero-progress) * 32px),
      calc(var(--orion-hero-progress) * -22px),
      0
    ) scale(1.46);
  }

  .orion-hero-papers {
    opacity: 0.32;
    object-position: 60% top;
    transform: translate3d(
      calc(var(--orion-hero-progress) * 64px),
      calc(var(--orion-hero-progress) * -86px),
      0
    );
  }

  .orion-hero-desk {
    opacity: 0.48;
    object-position: 57% bottom;
    transform: translate3d(
      calc(24% + var(--orion-hero-progress) * 24px),
      calc(18% + var(--orion-hero-progress) * 48px),
      0
    ) scale(calc(1.38 + var(--orion-hero-progress) * 0.05));
  }

  .orion-hero-shade {
    background: linear-gradient(180deg, rgba(4, 22, 39, 0.72), rgba(4, 22, 39, 0.88) 54%, rgba(4, 22, 39, 0.97));
  }
}

@media (prefers-reduced-motion: reduce) {
  .orion-hero-wrap {
    height: auto;
    min-height: 720px;
  }

  .orion-hero {
    position: relative;
  }

  .orion-hero-layer,
  .orion-hero-content {
    transform: none !important;
  }

  .orion-hero-content {
    opacity: 1;
    filter: none;
    will-change: auto;
  }

  html.orion-reveal-ready .orion-feature-card {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  html.orion-case-reveal-ready .orion-case-card {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
