:root {
  --black: #05050a;
  --navy: #071225;
  --purple: #301063;
  --violet: #9b5cff;
  --cyan: #20e2d7;
  --gold: #f4c76b;
  --text: #f7f2ff;
  --muted: #b9afcf;
  --panel: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  --cursor-x: 50%;
  --cursor-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 14%, rgba(48, 16, 99, 0.82), transparent 31rem),
    radial-gradient(circle at 82% 18%, rgba(32, 226, 215, 0.16), transparent 25rem),
    radial-gradient(circle at 70% 74%, rgba(244, 199, 107, 0.12), transparent 28rem),
    linear-gradient(135deg, #020306 0%, var(--navy) 46%, #130620 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 199, 107, 0.09) 0%, rgba(155, 92, 255, 0.06) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear;
  mix-blend-mode: screen;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 76%);
}

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

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  color: white;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 8rem),
    radial-gradient(circle at 50% 42%, rgba(16, 179, 137, 0.2), transparent 17rem),
    radial-gradient(circle at 58% 54%, rgba(255, 152, 0, 0.16), transparent 18rem),
    radial-gradient(circle at 40% 58%, rgba(17, 18, 121, 0.42), transparent 24rem),
    linear-gradient(135deg, #020306, #071225 52%, #12051d);
  transition: opacity 650ms ease, visibility 650ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.38) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(32, 226, 215, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(244, 199, 107, 0.28) 0 1px, transparent 2px),
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.07) 48%, transparent 55%);
  background-size: 58px 58px, 91px 91px, 137px 137px, 100% 100%;
  opacity: 0.48;
  animation: loaderStarfield 16s linear infinite;
}

.page-loader::after {
  position: absolute;
  width: min(88vw, 720px);
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 19%, rgba(32, 226, 215, 0.13) 20%, transparent 21%),
    radial-gradient(circle, transparent 0 34%, rgba(244, 199, 107, 0.12) 35%, transparent 36%),
    radial-gradient(circle, transparent 0 49%, rgba(155, 92, 255, 0.15) 50%, transparent 51%);
  filter: drop-shadow(0 0 34px rgba(32, 226, 215, 0.18));
  animation: galaxyTilt 8s ease-in-out infinite;
}

.loader-orbit {
  position: absolute;
  width: min(78vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent, rgba(244, 199, 107, 0.44), transparent, rgba(32, 226, 215, 0.36), transparent, rgba(155, 92, 255, 0.44), transparent);
  filter: blur(1px) drop-shadow(0 0 28px rgba(32, 226, 215, 0.24));
  mask-image: radial-gradient(circle, transparent 0 58%, #000 59% 61%, transparent 62%);
  animation: haloSpin 5.8s linear infinite;
}

.orbit-two {
  width: min(62vw, 430px);
  transform: rotateX(64deg) rotateZ(24deg);
  opacity: 0.72;
  animation-duration: 7.4s;
  animation-direction: reverse;
}

.orbit-three {
  width: min(48vw, 320px);
  opacity: 0.62;
  filter: blur(0.5px) drop-shadow(0 0 20px rgba(244, 199, 107, 0.18));
  animation-duration: 4.6s;
}

.loader-card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(360px, calc(100% - 34px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}

.loader-card::before {
  display: none;
}

.loader-card img {
  position: relative;
  z-index: 2;
  width: clamp(112px, 18vw, 164px);
  height: clamp(112px, 18vw, 164px);
  border-radius: 34px;
  object-fit: cover;
  background: white;
  box-shadow: 0 0 34px rgba(32, 226, 215, 0.42), 0 0 72px rgba(244, 199, 107, 0.18), 0 0 118px rgba(155, 92, 255, 0.22);
  animation: logoPulse 3s ease-in-out infinite;
}

.loader-card p {
  position: relative;
  z-index: 2;
  margin: 20px 0 0;
  font: 800 1.35rem/1 "Space Grotesk", Inter, sans-serif;
}

.loader-card small {
  position: relative;
  z-index: 2;
  max-width: 300px;
  margin-top: 10px;
  color: rgba(247, 242, 255, 0.74);
  line-height: 1.5;
  text-align: center;
}

.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.ambient-lines {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-lines::before,
.ambient-lines::after {
  position: absolute;
  width: 42rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(244, 199, 107, 0.55), rgba(32, 226, 215, 0.32), transparent);
  filter: drop-shadow(0 0 10px rgba(155, 92, 255, 0.5));
  animation: driftLine 14s linear infinite;
}

.ambient-lines::before {
  top: 22%;
  left: -12rem;
}

.ambient-lines::after {
  right: -18rem;
  bottom: 18%;
  animation-delay: -7s;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(5, 5, 10, 0.64);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.river-silhouette {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
  pointer-events: none;
}

.river-silhouette::before,
.river-silhouette::after {
  position: absolute;
  right: 8%;
  left: 17%;
  height: 24px;
  content: "";
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(32, 226, 215, 0.26), rgba(244, 199, 107, 0.24), rgba(155, 92, 255, 0.22), transparent);
  filter: blur(0.5px) drop-shadow(0 0 9px rgba(32, 226, 215, 0.26));
  clip-path: polygon(0 58%, 8% 44%, 15% 62%, 24% 36%, 34% 55%, 45% 28%, 55% 52%, 66% 34%, 77% 57%, 88% 39%, 100% 53%, 100% 72%, 88% 59%, 77% 77%, 66% 52%, 55% 72%, 45% 48%, 34% 75%, 24% 56%, 15% 82%, 8% 64%, 0 78%);
  animation: riverFlow 8s ease-in-out infinite;
}

.river-silhouette::before {
  top: 18px;
}

.river-silhouette::after {
  top: 33px;
  opacity: 0.65;
  transform: translateX(28px) scaleX(0.94);
  animation-delay: -3s;
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 28px rgba(32, 226, 215, 0.34), inset 0 0 18px rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.72);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font: 700 1rem/1 Space Grotesk, sans-serif;
}

.brand-copy span {
  max-width: 220px;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 10px;
  border-radius: 999px;
  color: rgba(247, 242, 255, 0.82);
  font-size: 0.82rem;
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.nav-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(244, 199, 107, 0.24);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 122px 0 56px;
}

.hero-video-bg {
  position: absolute;
  inset: 92px -7vw 24px;
  z-index: 0;
  border-radius: 46px;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.62;
  background:
    radial-gradient(circle at 18% 18%, rgba(16, 179, 137, 0.16), transparent 18rem),
    radial-gradient(circle at 76% 26%, rgba(255, 152, 0, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 42%, rgba(155, 92, 255, 0.08));
  filter: saturate(1.15);
}

.hero-video-bg::before,
.hero-video-bg::after {
  position: absolute;
  inset: -20%;
  content: "";
}

.hero-video-bg::before {
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(32, 226, 215, 0.18) 36%, transparent 42%),
    linear-gradient(72deg, transparent 0 44%, rgba(244, 199, 107, 0.13) 49%, transparent 56%);
  animation: cinematicSweep 14s ease-in-out infinite;
}

.hero-video-bg::after {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.26) 0 1px, transparent 2px),
    linear-gradient(90deg, transparent, rgba(32, 226, 215, 0.09), transparent);
  background-size: 54px 54px, 100% 100%;
  animation: videoGrainMove 18s linear infinite;
  opacity: 0.5;
}

.video-flow {
  position: absolute;
  display: block;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 42% 58% 63% 37%;
  filter: blur(1px);
  animation: organicVideoFlow 18s ease-in-out infinite;
}

.flow-one {
  top: -16rem;
  left: -12rem;
  background: radial-gradient(circle, rgba(32, 226, 215, 0.14), transparent 62%);
}

.flow-two {
  right: -18rem;
  bottom: -14rem;
  background: radial-gradient(circle, rgba(155, 92, 255, 0.16), transparent 62%);
  animation-delay: -6s;
}

.flow-three {
  top: 24%;
  left: 34%;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(244, 199, 107, 0.12), transparent 60%);
  animation-delay: -11s;
}

.hero-left {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: calc(100vh - 178px);
}

.hero-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Space Grotesk, Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.15rem, 7.3vw, 6.9rem);
  line-height: 0.88;
}

.hero-subtitle {
  margin: 22px 0 0;
  color: white;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  font-weight: 700;
}

.hero-body {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-explanation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 620px;
  margin-top: 22px;
}

.hero-explanation span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(247, 242, 255, 0.84);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #070611;
  background: linear-gradient(135deg, var(--gold), #fff0b8 48%, #b9852d);
  box-shadow: 0 16px 40px rgba(244, 199, 107, 0.24);
}

.button-secondary {
  color: white;
  border-color: rgba(155, 92, 255, 0.52);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 18px rgba(155, 92, 255, 0.12);
}

.cube-stage {
  position: relative;
  display: grid;
  min-height: clamp(360px, 39vw, 480px);
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
  place-items: center;
  perspective: 1200px;
}

.cube-stage::before {
  position: absolute;
  width: min(88vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle, rgba(155, 92, 255, 0.34), transparent 64%),
    conic-gradient(from 120deg, transparent, rgba(32, 226, 215, 0.16), transparent, rgba(244, 199, 107, 0.18), transparent);
  filter: blur(2px);
  animation: haloSpin 18s linear infinite;
}

.service-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.orbit-label {
  position: absolute;
  max-width: 214px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: rgba(247, 242, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  font-size: 0.76rem;
  line-height: 1.45;
  opacity: 0.42;
  transform: translate3d(0, 0, 0) scale(0.92);
  transition: opacity 420ms ease, transform 420ms ease, border-color 420ms ease, box-shadow 420ms ease;
}

.orbit-label.is-active {
  opacity: 1;
  transform: translate3d(0, -6px, 0) scale(1);
  border-color: rgba(244, 199, 107, 0.62);
  box-shadow: 0 20px 58px rgba(155, 92, 255, 0.34), 0 0 28px rgba(244, 199, 107, 0.16);
}

.label-one { top: 2%; left: 3%; }
.label-two { top: 10%; right: 0; }
.label-three { right: 1%; bottom: 30%; }
.label-four { right: 18%; bottom: 0; }
.label-five { bottom: 14%; left: 0; }
.label-six { top: 42%; left: 2%; }

.cube-wrap {
  position: relative;
  z-index: 2;
  width: clamp(180px, 21vw, 260px);
  height: clamp(180px, 21vw, 260px);
  transform-style: preserve-3d;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.55));
}

.cube-wrap::before,
.cube-wrap::after {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cube-wrap::before {
  background: conic-gradient(from 20deg, transparent, rgba(244, 199, 107, 0.36), transparent, rgba(32, 226, 215, 0.24), transparent, rgba(155, 92, 255, 0.42), transparent);
  filter: blur(22px);
  opacity: 0.64;
  animation: haloSpin 9s linear infinite;
}

.cube-wrap::after {
  inset: 18%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 64%);
  filter: blur(18px);
  transform: translateY(52%);
}

.cube {
  position: relative;
  width: 100%;
  height: 100%;
  animation: rotateCube 18s infinite cubic-bezier(0.62, 0, 0.38, 1);
  transform-style: preserve-3d;
}

.cube-face {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: white;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.045) 48%, rgba(255, 255, 255, 0.11)),
    radial-gradient(circle at 18% 16%, rgba(244, 199, 107, 0.24), transparent 34%),
    radial-gradient(circle at 78% 78%, rgba(32, 226, 215, 0.2), transparent 44%),
    rgba(8, 8, 18, 0.42);
  box-shadow:
    inset 0 0 32px rgba(255, 255, 255, 0.12),
    inset 0 0 80px rgba(155, 92, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 0 28px rgba(155, 92, 255, 0.34),
    0 0 58px rgba(244, 199, 107, 0.11);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.cube-face::before {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(244, 199, 107, 0.24);
  border-radius: 18px;
  content: "";
  background: rgba(4, 4, 12, 0.46);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.28), 0 0 28px rgba(155, 92, 255, 0.12);
}

.cube-face::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.16) 46%, transparent 54%);
  transform: translateX(-110%);
  animation: glassSweep 3.4s ease-in-out infinite;
}

.face-glyph {
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 1;
  color: rgba(244, 199, 107, 0.22);
  font: 800 clamp(1.8rem, 4vw, 3.8rem)/1 Space Grotesk, sans-serif;
  font-style: normal;
  text-shadow: 0 0 22px rgba(244, 199, 107, 0.16);
}

.cube-face span {
  z-index: 2;
  max-width: 11ch;
  font: 800 clamp(1.45rem, 3vw, 2.25rem)/1 Space Grotesk, sans-serif;
  text-align: center;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
}

.cube-face small {
  z-index: 2;
  color: rgba(247, 242, 255, 0.74);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.face-front { transform: rotateY(0deg) translateZ(clamp(90px, 10.5vw, 130px)); }
.face-back { transform: rotateY(180deg) translateZ(clamp(90px, 10.5vw, 130px)); }
.face-right { transform: rotateY(90deg) translateZ(clamp(90px, 10.5vw, 130px)); }
.face-left { transform: rotateY(-90deg) translateZ(clamp(90px, 10.5vw, 130px)); }
.face-top { transform: rotateX(90deg) translateZ(clamp(90px, 10.5vw, 130px)); }
.face-bottom { transform: rotateX(-90deg) translateZ(clamp(90px, 10.5vw, 130px)); }

.royal-scroll {
  position: relative;
  z-index: 5;
  display: grid;
  align-items: center;
  min-height: min(620px, calc(100vh - 190px));
  padding: 42px 0;
  filter: drop-shadow(0 34px 72px rgba(0, 0, 0, 0.46));
}

.scroll-roller {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  height: 44px;
  border: 1px solid rgba(244, 199, 107, 0.48);
  border-radius: 999px;
  background:
    linear-gradient(90deg, #5f3a10, #f4c76b 16%, #8a5a1e 33%, #fff1b7 50%, #8a5a1e 67%, #f4c76b 84%, #5f3a10),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.24), 0 0 28px rgba(244, 199, 107, 0.18);
}

.scroll-roller::before,
.scroll-roller::after {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 58px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(135deg, #47270b, #f4c76b, #6c4214);
  transform: translateY(-50%);
}

.scroll-roller::before {
  left: -9px;
}

.scroll-roller::after {
  right: -9px;
}

.scroll-top {
  top: 18px;
}

.scroll-bottom {
  bottom: 18px;
}

.scroll-paper {
  position: relative;
  min-height: 330px;
  padding: clamp(28px, 4vw, 42px);
  border-right: 1px solid rgba(244, 199, 107, 0.34);
  border-left: 1px solid rgba(244, 199, 107, 0.34);
  color: #fff8e6;
  background:
    linear-gradient(90deg, rgba(79, 43, 12, 0.26), transparent 12%, transparent 88%, rgba(79, 43, 12, 0.26)),
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 242, 190, 0.2), rgba(244, 199, 107, 0.08) 45%, rgba(53, 18, 83, 0.32)),
    rgba(12, 8, 18, 0.78);
  box-shadow: inset 0 0 48px rgba(244, 199, 107, 0.11), inset 0 0 120px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transform-origin: center;
  animation: scrollUnfurl 3s ease-in-out infinite;
}

.scroll-paper::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(244, 199, 107, 0.12) 0 0) 14% 32% / 72% 1px no-repeat,
    linear-gradient(rgba(244, 199, 107, 0.1) 0 0) 14% 52% / 64% 1px no-repeat,
    linear-gradient(rgba(244, 199, 107, 0.08) 0 0) 14% 72% / 70% 1px no-repeat;
  opacity: 0.74;
}

.scroll-paper::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.12) 46%, transparent 55%);
  transform: translateX(-110%);
  animation: scrollSheen 3s ease-in-out infinite;
}

.scroll-paper.is-changing {
  animation: scrollOpen 560ms ease both;
}

.scroll-paper.is-wrapping {
  animation: scrollWrap 340ms ease both;
}

.scroll-kicker,
.scroll-paper h2,
.scroll-paper p,
.scroll-tags {
  position: relative;
  z-index: 1;
}

.scroll-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.scroll-paper h2 {
  max-width: 10ch;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 0.94;
}

.scroll-paper p {
  margin: 18px 0 0;
  color: rgba(255, 248, 230, 0.82);
  line-height: 1.7;
}

.scroll-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.scroll-tags span {
  padding: 9px 11px;
  border: 1px solid rgba(244, 199, 107, 0.34);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.075);
  font-size: 0.78rem;
  font-weight: 900;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.glass-panel,
.service-card,
.reason-item,
.contact-form {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.about-panel {
  padding: clamp(24px, 4vw, 44px);
  border-radius: 26px;
}

.about-panel p {
  max-width: 920px;
  margin: 0;
  color: rgba(247, 242, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.8;
}

.trust-row,
.industry-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row span,
.industry-strip span {
  padding: 12px 15px;
  border: 1px solid rgba(244, 199, 107, 0.28);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
  cursor: default;
}

.trust-row span:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(244, 199, 107, 0.5);
  color: var(--gold);
  box-shadow: 0 10px 28px rgba(244, 199, 107, 0.12);
}

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

.service-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), border-color 300ms ease, box-shadow 300ms ease;
  will-change: transform;
  transform-style: preserve-3d;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 18% 12%, rgba(244, 199, 107, 0.18), transparent 38%),
    radial-gradient(circle at 84% 20%, rgba(32, 226, 215, 0.12), transparent 36%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.service-card:hover {
  border-color: rgba(244, 199, 107, 0.5);
  box-shadow: 0 32px 90px rgba(155, 92, 255, 0.22), 0 0 40px rgba(244, 199, 107, 0.18);
}

.service-card:hover::before {
  opacity: 1;
}

.card-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.36;
  transition: opacity 240ms ease, transform 240ms ease;
}

.service-card:hover .card-motion {
  opacity: 0.72;
  transform: scale(1.04);
}

.card-motion::before,
.card-motion::after {
  position: absolute;
  content: "";
}

.card-legal .card-motion::before {
  inset: auto 24px 30px auto;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(244, 199, 107, 0.42);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(244, 199, 107, 0.42) 49%, rgba(244, 199, 107, 0.42) 51%, transparent 52%),
    linear-gradient(rgba(244, 199, 107, 0.42) 0 0) center 42% / 88px 2px no-repeat;
  animation: floatIcon 5.6s ease-in-out infinite;
}

.card-legal .card-motion::after {
  right: 70px;
  bottom: 28px;
  width: 88px;
  height: 3px;
  background: rgba(244, 199, 107, 0.44);
  box-shadow: -22px 22px rgba(244, 199, 107, 0.28), 22px 22px rgba(244, 199, 107, 0.28);
}

.card-hydro .card-motion::before {
  right: 30px;
  bottom: 24px;
  width: 128px;
  height: 158px;
  border-radius: 70px 70px 12px 12px;
  background:
    radial-gradient(circle at 48% 26%, rgba(32, 226, 215, 0.55) 0 5px, transparent 6px),
    linear-gradient(90deg, transparent 47%, rgba(32, 226, 215, 0.42) 48% 52%, transparent 53%),
    radial-gradient(ellipse at 50% 78%, rgba(10, 179, 137, 0.5), transparent 54%);
  border: 1px solid rgba(32, 226, 215, 0.26);
  animation: growPulse 4.8s ease-in-out infinite;
}

.card-hydro .card-motion::after {
  right: 66px;
  bottom: 86px;
  width: 58px;
  height: 34px;
  border-radius: 100% 0 100% 0;
  background: rgba(32, 226, 215, 0.38);
  box-shadow: -44px 24px rgba(16, 179, 137, 0.28), 42px 19px rgba(16, 179, 137, 0.25);
  animation: leafSway 3.6s ease-in-out infinite;
}

.card-growth .card-motion::before {
  right: 24px;
  bottom: 34px;
  width: 168px;
  height: 108px;
  background:
    linear-gradient(to top, rgba(155, 92, 255, 0.34) 0 38%, transparent 39%) 0 100% / 26px 100% no-repeat,
    linear-gradient(to top, rgba(32, 226, 215, 0.34) 0 62%, transparent 63%) 48px 100% / 26px 100% no-repeat,
    linear-gradient(to top, rgba(244, 199, 107, 0.42) 0 86%, transparent 87%) 96px 100% / 26px 100% no-repeat;
  animation: barRise 4s ease-in-out infinite;
}

.card-growth .card-motion::after {
  right: 36px;
  bottom: 122px;
  width: 118px;
  height: 70px;
  border-top: 3px solid rgba(244, 199, 107, 0.5);
  border-right: 3px solid rgba(244, 199, 107, 0.5);
  transform: skewY(-24deg);
}

.card-erp .card-motion::before {
  right: 28px;
  bottom: 34px;
  width: 170px;
  height: 132px;
  background-image:
    linear-gradient(rgba(244, 199, 107, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 92, 255, 0.34) 1px, transparent 1px);
  background-size: 42px 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: gridScan 5.2s linear infinite;
}

.card-erp .card-motion::after {
  right: 48px;
  bottom: 74px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(244, 199, 107, 0.58);
  box-shadow: 48px -20px rgba(32, 226, 215, 0.46), 96px 18px rgba(155, 92, 255, 0.48), 48px 46px rgba(244, 199, 107, 0.34);
  animation: nodePulse 2.8s ease-in-out infinite;
}

.card-dev .card-motion::before {
  right: 20px;
  bottom: 32px;
  width: 170px;
  height: 124px;
  border: 1px solid rgba(32, 226, 215, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(32, 226, 215, 0.34), rgba(32, 226, 215, 0.34)) 24px 34px / 58px 2px no-repeat,
    linear-gradient(90deg, rgba(244, 199, 107, 0.38), rgba(244, 199, 107, 0.38)) 42px 62px / 86px 2px no-repeat,
    linear-gradient(90deg, rgba(155, 92, 255, 0.42), rgba(155, 92, 255, 0.42)) 24px 90px / 110px 2px no-repeat;
  animation: codeGlow 4.4s ease-in-out infinite;
}

.card-dev .card-motion::after {
  right: 152px;
  bottom: 88px;
  width: 20px;
  height: 36px;
  border-left: 3px solid rgba(244, 199, 107, 0.5);
  border-bottom: 3px solid rgba(244, 199, 107, 0.5);
  transform: rotate(45deg);
}

.card-emotional .card-motion::before {
  right: 36px;
  bottom: 42px;
  width: 130px;
  height: 116px;
  background:
    radial-gradient(circle at 34% 36%, rgba(244, 199, 107, 0.44) 0 14px, transparent 15px),
    radial-gradient(circle at 66% 36%, rgba(155, 92, 255, 0.46) 0 14px, transparent 15px),
    radial-gradient(circle at 50% 62%, rgba(32, 226, 215, 0.28), transparent 44%);
  filter: blur(0.2px);
  animation: heartMind 4.8s ease-in-out infinite;
}

.card-emotional .card-motion::after {
  right: 72px;
  bottom: 78px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(244, 199, 107, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(155, 92, 255, 0.08), 0 0 0 34px rgba(32, 226, 215, 0.05);
  animation: empathyWave 3.2s ease-out infinite;
}

.card-index {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font: 800 0.8rem/1 Space Grotesk, sans-serif;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 58px;
  font-size: 1.3rem;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 15px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 900;
  transition: color 220ms ease, transform 220ms ease;
}

.card-link:hover {
  color: white;
  transform: translateX(4px);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.reason-item {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 22px;
  border-radius: 22px;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), border-color 300ms ease, box-shadow 300ms ease;
  cursor: default;
}

.reason-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(244, 199, 107, 0.38);
  box-shadow: 0 24px 70px rgba(155, 92, 255, 0.18);
}

.reason-item strong {
  color: white;
  font-family: Space Grotesk, sans-serif;
  font-size: 1.2rem;
}

.reason-item span {
  color: var(--muted);
  line-height: 1.6;
}

.industries-section {
  padding-top: 34px;
}

.industry-strip span {
  flex: 1 1 150px;
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
  cursor: default;
}

.industry-strip span:hover {
  transform: translateY(-4px) scale(1.06);
  border-color: rgba(244, 199, 107, 0.5);
  color: var(--gold);
  box-shadow: 0 12px 36px rgba(244, 199, 107, 0.14);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 110px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a,
.contact-methods span {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(247, 242, 255, 0.84);
  font-weight: 800;
  transition: color 220ms ease, border-color 220ms ease, padding-left 220ms ease;
}

.contact-methods a:hover {
  color: var(--gold);
  border-color: rgba(244, 199, 107, 0.45);
  padding-left: 8px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 26px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(247, 242, 255, 0.78);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 14px 15px;
  color: white;
  background: rgba(5, 5, 10, 0.48);
  font: inherit;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(244, 199, 107, 0.58);
  box-shadow: 0 0 0 4px rgba(244, 199, 107, 0.1), 0 0 24px rgba(244, 199, 107, 0.08);
}

.contact-form button[type="submit"] {
  position: relative;
  overflow: hidden;
}

.contact-form button[type="submit"]::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.contact-form button[type="submit"]:hover::after {
  transform: translateX(100%);
}

@keyframes shimmerSlide {
  0% { transform: translateX(-100%) skewX(-12deg); }
  100% { transform: translateX(200%) skewX(-12deg); }
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes rotateCube {
  0%, 12% { transform: rotateX(-12deg) rotateY(0deg) rotateZ(0deg); }
  16%, 28% { transform: rotateX(-12deg) rotateY(-90deg) rotateZ(0deg); }
  32%, 44% { transform: rotateX(-102deg) rotateY(-90deg) rotateZ(0deg); }
  48%, 60% { transform: rotateX(-12deg) rotateY(-180deg) rotateZ(0deg); }
  64%, 76% { transform: rotateX(-12deg) rotateY(90deg) rotateZ(0deg); }
  80%, 92% { transform: rotateX(78deg) rotateY(90deg) rotateZ(0deg); }
  100% { transform: rotateX(-12deg) rotateY(0deg) rotateZ(0deg); }
}

@keyframes haloSpin {
  to { transform: rotate(360deg); }
}

@keyframes glassSweep {
  55%, 100% { transform: translateX(110%); }
}

@keyframes driftLine {
  from { transform: translateX(-20%) rotate(-8deg); opacity: 0; }
  20%, 80% { opacity: 1; }
  to { transform: translateX(60vw) rotate(-8deg); opacity: 0; }
}

@keyframes loaderStarfield {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 58px 58px, -91px 91px, 137px -137px, 0 0; }
}

@keyframes galaxyTilt {
  0%, 100% { transform: rotateX(64deg) rotateZ(-8deg) scale(0.96); opacity: 0.58; }
  50% { transform: rotateX(64deg) rotateZ(10deg) scale(1.04); opacity: 0.92; }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.045); filter: brightness(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader {
    display: none;
  }
}

@keyframes cinematicSweep {
  0%, 100% { transform: translate3d(-8%, -4%, 0) rotate(0deg); opacity: 0.48; }
  50% { transform: translate3d(8%, 6%, 0) rotate(4deg); opacity: 0.82; }
}

@keyframes videoGrainMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(54px, 54px, 0); }
}

@keyframes organicVideoFlow {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(34px, -22px, 0) rotate(18deg) scale(1.08); }
}

@keyframes scrollUnfurl {
  0%, 100% { transform: scaleY(0.985); }
  50% { transform: scaleY(1.015); }
}

@keyframes scrollSheen {
  0%, 42% { transform: translateX(-110%); }
  72%, 100% { transform: translateX(110%); }
}

@keyframes scrollWrap {
  0% { transform: scaleY(1); opacity: 1; filter: blur(0); }
  100% { transform: scaleY(0.08); opacity: 0.45; filter: blur(3px); }
}

@keyframes scrollOpen {
  0% { transform: scaleY(0.08); opacity: 0.45; filter: blur(3px); }
  62% { transform: scaleY(1.045); opacity: 1; filter: blur(0); }
  100% { transform: scaleY(1); opacity: 1; filter: blur(0); }
}

@keyframes riverFlow {
  0%, 100% { transform: translateX(-16px) scaleX(1); }
  50% { transform: translateX(24px) scaleX(1.04); }
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes growPulse {
  0%, 100% { transform: translateY(0) scaleY(0.96); }
  50% { transform: translateY(-8px) scaleY(1.04); }
}

@keyframes leafSway {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg) translateY(-4px); }
}

@keyframes barRise {
  0%, 100% { transform: translateY(8px); filter: brightness(0.9); }
  50% { transform: translateY(-8px); filter: brightness(1.25); }
}

@keyframes gridScan {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 42px 34px, 42px 34px; }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(0.88); opacity: 0.72; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes codeGlow {
  0%, 100% { filter: brightness(0.9); transform: translateX(0); }
  50% { filter: brightness(1.25); transform: translateX(-8px); }
}

@keyframes heartMind {
  0%, 100% { transform: scale(0.94); }
  50% { transform: scale(1.08) translateY(-6px); }
}

@keyframes empathyWave {
  0% { transform: scale(0.82); opacity: 0.9; }
  100% { transform: scale(1.24); opacity: 0.05; }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .river-silhouette {
    opacity: 0.32;
  }

  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 148px;
  }

  .hero-left {
    min-height: auto;
  }

  .hero-copy {
    text-align: center;
  }

  h1,
  .hero-body {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-explanation {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

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

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

@media (max-width: 700px) {
  .site-header {
    position: absolute;
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .brand-copy span {
    display: none;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 8px;
    font-size: 0.78rem;
  }

  .hero {
    width: min(100% - 24px, 1180px);
    padding-top: 132px;
  }

  .hero-video-bg {
    inset: 96px -14px 18px;
    border-radius: 30px;
    opacity: 0.44;
  }

  .hero-actions .button {
    width: 100%;
  }

  .cube-stage {
    min-height: 540px;
  }

  .royal-scroll {
    min-height: 390px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .service-orbit {
    inset: 0;
  }

  .orbit-label {
    max-width: 178px;
    padding: 9px 10px;
    font-size: 0.72rem;
  }

  .label-one { top: 0; left: 1%; }
  .label-two { top: 6%; right: 1%; }
  .label-three { right: 0; bottom: 20%; }
  .label-four { right: 12%; bottom: 0; }
  .label-five { bottom: 12%; left: 0; }
  .label-six { top: 38%; left: 0; }

  .services-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 235px;
  }

  .card-motion {
    opacity: 0.26;
    transform: scale(0.88);
    transform-origin: right bottom;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 64px 0;
  }

  .trust-row span,
  .industry-strip span {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
