:root {
  --orange: #ff6b00;
  --page-pad: clamp(24px, 5.8vw, 92px);
  --content: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.rg-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.rg-brand {
  width: 190px;
  height: 46px;
  overflow: hidden;
  flex: 0 0 auto;
}

.rg-brand img {
  width: 445px;
  max-width: none;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.rg-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 44px);
  font-size: 14px;
  font-weight: 700;
}

.rg-nav a {
  position: relative;
  padding: 10px 0;
}

.rg-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.rg-nav a:hover::after,
.rg-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.rg-nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px !important;
  border: 1px solid currentColor;
}

.rg-nav-cta::after {
  display: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

.rg-hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 118px var(--page-pad) clamp(64px, 8vh, 92px);
  background-position: center;
  background-size: cover;
}

.rg-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content));
  margin: 0 auto;
}

.rg-overline {
  margin: 0 0 20px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rg-hero-word {
  margin: 0;
  font-family: "Arial Narrow", "DIN Condensed", Impact, sans-serif;
  font-size: clamp(92px, 15.5vw, 246px);
  font-weight: 700;
  line-height: 0.76;
  letter-spacing: 0;
  white-space: nowrap;
}

.rg-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 780px) auto;
  gap: 36px;
  align-items: end;
  margin-top: clamp(44px, 8vh, 86px);
}

.rg-hero-copy h1 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.32;
  font-weight: 700;
}

.rg-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.rg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.rg-button-primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.rg-button-primary:hover,
.rg-button-primary:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.rg-button-secondary:hover,
.rg-button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.rg-scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: 28px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

.rg-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(50px, 10vw, 160px);
  align-items: end;
  padding: clamp(90px, 12vw, 172px) var(--page-pad);
}

.rg-intro > * {
  width: 100%;
  max-width: 660px;
}

.rg-intro h2,
.rg-section-head h2,
.rg-network-copy h2,
.rg-contact h2 {
  margin: 0;
  font-size: clamp(44px, 6.3vw, 92px);
  line-height: 1.02;
  font-weight: 700;
}

.rg-intro-text {
  margin: 0;
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.9;
}

.rg-capabilities {
  overflow: hidden;
}

.rg-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 830px);
  gap: 56px;
  align-items: end;
  padding: clamp(82px, 10vw, 140px) var(--page-pad) clamp(56px, 7vw, 90px);
}

.rg-section-head h2 {
  font-size: clamp(42px, 5.6vw, 82px);
}

.rg-capability {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background-position: center;
  background-size: cover;
}

.rg-capability-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 132px) var(--page-pad);
}

.rg-capability-copy {
  width: min(620px, 52%);
}

.rg-capability.is-right .rg-capability-copy {
  margin-left: auto;
}

.rg-capability-mark {
  display: block;
  margin-bottom: 22px;
  color: var(--orange);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.rg-capability h3 {
  margin: 0 0 26px;
  font-size: clamp(42px, 5.3vw, 78px);
  line-height: 1.05;
}

.rg-capability p {
  margin: 0;
  max-width: 620px;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.9;
}

.rg-capability-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--orange);
  font-weight: 800;
}

.rg-framework {
  padding: clamp(92px, 12vw, 168px) var(--page-pad);
}

.rg-framework-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(44px, 9vw, 140px);
  align-items: end;
}

.rg-framework-head h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 5.7vw, 84px);
  line-height: 1.08;
}

.rg-framework-head p:last-child {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.9;
}

.rg-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(64px, 9vw, 122px);
  border-top: 1px solid currentColor;
}

.rg-flow-step {
  position: relative;
  min-height: 164px;
  padding: 28px 20px 20px 0;
  border-right: 1px solid currentColor;
}

.rg-flow-step:last-child {
  border-right: 0;
}

.rg-flow-step span {
  display: block;
  margin-bottom: 44px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rg-flow-step strong {
  font-size: clamp(18px, 2vw, 28px);
}

.rg-network {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(90px, 12vw, 170px) var(--page-pad);
  background-position: center;
  background-size: cover;
}

.rg-network-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 48%);
}

.rg-network-copy p:last-child {
  margin: 28px 0 0;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.9;
}

.rg-network-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, var(--content));
  margin: 58px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.rg-network-item {
  min-height: 138px;
  padding: 24px 22px 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.rg-network-item:last-child {
  border-right: 0;
}

.rg-network-item h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.rg-network-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.rg-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 46px;
  align-items: end;
  padding: clamp(90px, 12vw, 170px) var(--page-pad);
}

.rg-contact h2 {
  max-width: 900px;
}

.rg-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.rg-contact-actions p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.rg-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 32px var(--page-pad);
  border-top: 1px solid currentColor;
  font-size: 13px;
}

.rg-footer-links {
  display: flex;
  gap: 24px;
}

@media (max-width: 900px) {
  .rg-header {
    height: 68px;
  }

  .rg-brand {
    width: 190px;
    height: 46px;
  }

  .rg-brand img {
    width: 445px;
    height: 54px;
  }

  .rg-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    z-index: 19;
    inset: 68px 0 auto;
    display: grid;
    gap: 1px;
    padding: 12px var(--page-pad) 22px;
    background: rgba(6, 12, 20, 0.97);
    color: #fff;
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .mobile-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  body.nav-open .mobile-nav {
    transform: translateY(0);
  }

  .rg-hero {
    min-height: 760px;
    padding-top: 100px;
  }

  .rg-hero-word {
    font-size: clamp(66px, 20vw, 116px);
  }

  .rg-hero-copy,
  .rg-intro,
  .rg-framework-head,
  .rg-contact {
    grid-template-columns: 1fr;
  }

  .rg-hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .rg-scroll-cue {
    display: none;
  }

  .rg-section-head {
    display: block;
  }

  .rg-section-head .rg-overline {
    margin-bottom: 22px;
  }

  .rg-capability {
    min-height: 560px;
  }

  .rg-capability-copy,
  .rg-capability.is-right .rg-capability-copy,
  .rg-network-copy {
    width: min(100%, 620px);
    margin-left: 0;
  }

  .rg-flow {
    grid-template-columns: 1fr;
  }

  .rg-flow-step {
    min-height: 100px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .rg-flow-step span {
    margin-bottom: 12px;
  }

  .rg-network {
    min-height: 840px;
    align-items: flex-start;
  }

  .rg-network-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rg-network-item:nth-child(2) {
    border-right: 0;
  }

  .rg-contact-actions {
    margin-top: 24px;
  }
}

@media (max-width: 560px) {
  .rg-hero {
    min-height: 720px;
    background-position: 60% center;
  }

  .rg-hero-copy h1 {
    font-size: 25px;
  }

  .rg-button {
    min-height: 46px;
    padding: 0 17px;
  }

  .rg-intro h2,
  .rg-section-head h2,
  .rg-network-copy h2,
  .rg-contact h2,
  .rg-framework-head h2 {
    font-size: 40px;
  }

  .rg-capability {
    min-height: 600px;
    align-items: flex-end;
  }

  .rg-capability h3 {
    font-size: 42px;
  }

  .rg-capability p {
    font-size: 16px;
  }

  .rg-network-list {
    grid-template-columns: 1fr;
  }

  .rg-network-item,
  .rg-network-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .rg-footer,
  .rg-footer-links {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Layered artwork and restrained motion for the two presentation concepts. */
.rg-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.rg-hero-media,
.rg-capability-media {
  position: absolute;
  z-index: 0;
  inset: -5%;
  width: 110%;
  height: 110%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  will-change: transform;
}

.rg-hero-media {
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.06);
}

.rg-capability-media {
  transform: translate3d(0, var(--media-shift, 0), 0) scale(1.06);
}

.rg-hero::before,
.rg-capability::before,
.rg-network::before {
  z-index: 1;
}

.rg-hero-beam {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 18px 5px rgba(107, 207, 255, 0.35);
  opacity: 0;
  transform: skewX(-12deg);
  pointer-events: none;
}

.is-motion-ready .rg-hero-beam {
  animation: rg-light-sweep 6.5s 1.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.is-motion-ready .rg-hero-inner > *,
.is-motion-ready .obsidian-thesis > * {
  opacity: 0;
  transform: translateY(28px);
}

.is-motion-ready.is-loaded .rg-hero-inner > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 900ms ease, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.is-motion-ready.is-loaded .rg-hero-inner > *:nth-child(2) {
  transition-delay: 120ms;
}

.is-motion-ready.is-loaded .rg-hero-inner > *:nth-child(3) {
  transition-delay: 260ms;
}

.is-motion-ready.is-loaded .rg-hero-inner > *:nth-child(4) {
  transition-delay: 400ms;
}

.is-motion-ready.is-loaded .obsidian-thesis > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 800ms ease, transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.is-motion-ready.is-loaded .obsidian-thesis > p {
  transition-delay: 120ms;
}

.is-motion-ready .js-reveal,
.is-motion-ready .rg-section-head,
.is-motion-ready .rg-capability-copy,
.is-motion-ready .rg-flow-step,
.is-motion-ready .rg-network-item {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 800ms ease, transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.is-motion-ready .js-reveal.is-visible,
.is-motion-ready .rg-section-head.is-visible,
.is-motion-ready .rg-capability.is-visible .rg-capability-copy,
.is-motion-ready .rg-flow-step.is-visible,
.is-motion-ready .rg-network-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-motion-ready .rg-capability-media {
  opacity: 0.68;
  transition: opacity 1200ms ease, filter 1200ms ease;
}

.is-motion-ready .rg-capability.is-visible .rg-capability-media {
  opacity: 1;
}

.rg-flow-step:nth-child(2),
.rg-network-item:nth-child(2) {
  transition-delay: 80ms !important;
}

.rg-flow-step:nth-child(3),
.rg-network-item:nth-child(3) {
  transition-delay: 160ms !important;
}

.rg-flow-step:nth-child(4),
.rg-network-item:nth-child(4) {
  transition-delay: 240ms !important;
}

.rg-flow-step:nth-child(5) {
  transition-delay: 320ms !important;
}

@keyframes rg-light-sweep {
  0%, 72% {
    left: -12%;
    opacity: 0;
  }
  78% {
    opacity: 0.62;
  }
  96% {
    left: 112%;
    opacity: 0.08;
  }
  100% {
    left: 112%;
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .rg-hero-media,
  .rg-capability-media {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .rg-hero-beam {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-progress,
  .rg-hero-beam {
    display: none;
  }

  .is-motion-ready .rg-hero-inner > *,
  .is-motion-ready .obsidian-thesis > *,
  .is-motion-ready .js-reveal,
  .is-motion-ready .rg-section-head,
  .is-motion-ready .rg-capability-copy,
  .is-motion-ready .rg-flow-step,
  .is-motion-ready .rg-network-item,
  .is-motion-ready .rg-capability-media {
    opacity: 1;
    transform: none;
  }
}
