/* JDRC MOTION UI V1 ------------------------------------------------------- */
:root {
  --jdrc-orange: #ff6a00;
  --jdrc-orange-2: #ff9a2f;
  --jdrc-teal: #16e0df;
  --jdrc-teal-soft: rgba(22,224,223,.16);
  --jdrc-panel: rgba(13,16,20,.78);
  --jdrc-panel-strong: rgba(9,11,14,.94);
  --jdrc-line: rgba(255,255,255,.10);
  --jdrc-text: #f7f8fa;
  --jdrc-muted: #9da6b2;
}

html.jdrc-motion-ready { scroll-behavior: smooth; }
body.jdrc-motion-ui-v1 {
  background:
    radial-gradient(circle at 12% 8%, rgba(255,106,0,.10), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(22,224,223,.08), transparent 34rem),
    #050608;
  color: var(--jdrc-text);
  overflow-x: hidden;
}

body.jdrc-motion-ui-v1::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 82%);
}

.jdrc-ambient {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}
.jdrc-ambient::before,
.jdrc-ambient::after {
  content: "";
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .12;
  animation: jdrc-orbit 14s ease-in-out infinite alternate;
}
.jdrc-ambient::before { left: -15vw; top: 12vh; background: var(--jdrc-orange); }
.jdrc-ambient::after { right: -18vw; top: 32vh; background: var(--jdrc-teal); animation-delay: -5s; }

.jdrc-scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: var(--jdrc-scroll, 0%);
  z-index: 9999;
  pointer-events: none;
  background: linear-gradient(90deg, var(--jdrc-orange), #ffb35f 45%, var(--jdrc-teal));
  box-shadow: 0 0 18px rgba(255,106,0,.7), 0 0 24px rgba(22,224,223,.35);
}

body.jdrc-motion-ui-v1 > header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5,7,9,.76) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
body.jdrc-motion-ui-v1 > header .brand-logo {
  filter: drop-shadow(0 0 12px rgba(255,106,0,.18));
}
body.jdrc-motion-ui-v1 > header nav a {
  position: relative;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
body.jdrc-motion-ui-v1 > header nav a:hover,
body.jdrc-motion-ui-v1 > header nav a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.jdrc-command-shell {
  position: sticky;
  top: var(--jdrc-header-height, 72px);
  z-index: 70;
  margin: 0 auto;
  width: min(1480px, calc(100% - 24px));
  pointer-events: none;
}
.jdrc-command-bar {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  background: linear-gradient(180deg, rgba(20,24,29,.90), rgba(8,10,13,.92));
  border: 1px solid rgba(255,255,255,.10);
  border-top-color: rgba(255,106,0,.33);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 16px 42px rgba(0,0,0,.30), inset 0 1px rgba(255,255,255,.03);
  backdrop-filter: blur(18px);
}
.jdrc-command-bar::-webkit-scrollbar { display: none; }
.jdrc-command-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.045) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: jdrc-sweep 7s ease-in-out infinite;
}
.jdrc-command-label {
  flex: 0 0 auto;
  padding: 0 11px;
  color: var(--jdrc-orange-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.jdrc-command-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  color: #d8dde4;
  text-decoration: none;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.jdrc-command-link b {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--jdrc-teal);
  box-shadow: 0 0 10px rgba(22,224,223,.8);
}
.jdrc-command-link:hover,
.jdrc-command-link:focus-visible {
  color: #fff;
  border-color: rgba(22,224,223,.30);
  background: rgba(22,224,223,.08);
  transform: translateY(-1px);
}

body.jdrc-motion-ui-v1 main { position: relative; }
body.jdrc-motion-ui-v1 main > section {
  position: relative;
  isolation: isolate;
}
body.jdrc-motion-ui-v1 main > section:not(.hero):not(.stat-strip)::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(92%, 1180px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,106,0,.30), rgba(22,224,223,.22), transparent);
  opacity: .55;
  pointer-events: none;
}

body.jdrc-motion-ui-v1 .hero.jdrc-motion-hero {
  min-height: min(820px, calc(100svh - 80px));
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 75% 42%, rgba(22,224,223,.12), transparent 24rem),
    radial-gradient(circle at 18% 48%, rgba(255,106,0,.12), transparent 28rem);
}
body.jdrc-motion-ui-v1 .hero.jdrc-motion-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 57%, rgba(255,255,255,.025) 57% 58%, transparent 58%),
    repeating-linear-gradient(120deg, transparent 0 54px, rgba(255,255,255,.018) 55px, transparent 56px);
  transform: scale(1.1);
  animation: jdrc-drift-grid 18s linear infinite;
}
body.jdrc-motion-ui-v1 .hero-copy {
  position: relative;
  z-index: 4;
}
body.jdrc-motion-ui-v1 .hero-kicker {
  letter-spacing: .16em;
  color: #d5d9df;
}
body.jdrc-motion-ui-v1 .hero h1 {
  text-wrap: balance;
  letter-spacing: -.045em;
  text-shadow: 0 14px 44px rgba(0,0,0,.48);
}
body.jdrc-motion-ui-v1 .hero h1 span {
  color: transparent !important;
  background: linear-gradient(90deg, var(--jdrc-orange-2), var(--jdrc-orange) 42%, #fff 78%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(255,106,0,.12));
}
body.jdrc-motion-ui-v1 .hero-photo-card {
  position: relative;
  transform: perspective(1200px) rotateX(var(--jdrc-hero-rx, 0deg)) rotateY(var(--jdrc-hero-ry, 0deg)) translate3d(var(--jdrc-hero-x,0), var(--jdrc-hero-y,0), 0);
  transition: transform .12s linear, box-shadow .25s ease;
  box-shadow: 0 28px 80px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.09), 0 0 50px rgba(22,224,223,.08);
}
body.jdrc-motion-ui-v1 .hero-photo-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255,106,0,.75), transparent 26%, transparent 72%, rgba(22,224,223,.7));
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .65;
}
body.jdrc-motion-ui-v1 .hero-photo-card img {
  transform: scale(1.035);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .4s ease;
  filter: contrast(1.04) saturate(1.07);
}
body.jdrc-motion-ui-v1 .hero-photo-card:hover img { transform: scale(1.075); }
body.jdrc-motion-ui-v1 .hero-number {
  color: rgba(255,255,255,.05) !important;
  text-shadow: 0 0 55px rgba(255,106,0,.10);
}

body.jdrc-motion-ui-v1 .button,
body.jdrc-motion-ui-v1 button {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
body.jdrc-motion-ui-v1 .button.primary {
  background: linear-gradient(135deg, #ff7a0a, #ff4d00) !important;
  border-color: rgba(255,157,79,.6) !important;
  box-shadow: 0 12px 30px rgba(255,79,0,.20);
}
body.jdrc-motion-ui-v1 .button.primary:hover,
body.jdrc-motion-ui-v1 .button.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255,79,0,.30), 0 0 30px rgba(255,106,0,.14);
}
body.jdrc-motion-ui-v1 .button.ghost:hover,
body.jdrc-motion-ui-v1 .button.ghost:focus-visible {
  border-color: rgba(22,224,223,.42) !important;
  box-shadow: 0 0 24px rgba(22,224,223,.08);
  transform: translateY(-2px);
}

body.jdrc-motion-ui-v1 .stat-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,106,0,.16);
  border-bottom: 1px solid rgba(22,224,223,.12);
  background: linear-gradient(90deg, rgba(255,106,0,.035), rgba(255,255,255,.015), rgba(22,224,223,.035));
}
body.jdrc-motion-ui-v1 .stat-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 130px;
  left: -150px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
  transform: skewX(-18deg);
  animation: jdrc-stat-scan 8s ease-in-out infinite;
}
body.jdrc-motion-ui-v1 .stat-strip strong {
  color: #fff;
  text-shadow: 0 0 18px rgba(255,106,0,.12);
}

body.jdrc-motion-ui-v1 .section-heading h2,
body.jdrc-motion-ui-v1 .section h2 {
  text-wrap: balance;
}
body.jdrc-motion-ui-v1 .eyebrow {
  color: var(--jdrc-orange-2) !important;
  letter-spacing: .15em;
}

/* Scroll reveal */
.jdrc-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1);
}
.jdrc-reveal.jdrc-in {
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* Pointer-reactive cards. Applied by JS only to selected components. */
.jdrc-tilt {
  --jdrc-rx: 0deg;
  --jdrc-ry: 0deg;
  --jdrc-z: 0px;
  transform: perspective(1000px) rotateX(var(--jdrc-rx)) rotateY(var(--jdrc-ry)) translateZ(var(--jdrc-z));
  transform-style: preserve-3d;
  transition: transform .14s ease-out, border-color .22s ease, box-shadow .22s ease;
  will-change: transform;
}
.jdrc-tilt:hover {
  --jdrc-z: 3px;
  border-color: rgba(255,106,0,.22) !important;
  box-shadow: 0 20px 54px rgba(0,0,0,.30), 0 0 32px rgba(255,106,0,.05);
}

.jdrc-mobile-dock { display: none; }

@media (max-width: 980px) {
  .jdrc-command-shell { top: var(--jdrc-header-height, 64px); width: 100%; }
  .jdrc-command-bar { border-radius: 0; border-left: 0; border-right: 0; }
  .jdrc-command-label { display: none; }
  body.jdrc-motion-ui-v1 .hero.jdrc-motion-hero { min-height: auto; }
}

@media (max-width: 760px) {
  body.jdrc-motion-ui-v1 { padding-bottom: 76px; }
  .jdrc-command-shell { display: none; }
  body.jdrc-motion-ui-v1 .hero.jdrc-motion-hero { padding-top: 34px; }
  body.jdrc-motion-ui-v1 .hero h1 { line-height: .94; }
  body.jdrc-motion-ui-v1 .hero-photo-card { transform: none !important; }
  .jdrc-mobile-dock {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    left: 10px;
    right: 10px;
    bottom: 8px;
    z-index: 200;
    padding: 6px;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(7,9,12,.91);
    box-shadow: 0 20px 48px rgba(0,0,0,.52);
    backdrop-filter: blur(18px) saturate(150%);
  }
  .jdrc-mobile-dock a {
    min-width: 0;
    min-height: 50px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    border-radius: 12px;
    color: #c5cbd3;
    text-decoration: none;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .jdrc-mobile-dock a span { font-size: 17px; line-height: 1; color: #fff; }
  .jdrc-mobile-dock a.jdrc-dock-primary {
    color: #fff;
    background: linear-gradient(135deg, #ff7400, #f04800);
    box-shadow: 0 8px 22px rgba(255,84,0,.24);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.jdrc-motion-ready { scroll-behavior: auto; }
  .jdrc-ambient::before,
  .jdrc-ambient::after,
  .jdrc-command-bar::after,
  body.jdrc-motion-ui-v1 .stat-strip::after,
  body.jdrc-motion-ui-v1 .hero.jdrc-motion-hero::before { animation: none !important; }
  .jdrc-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .jdrc-tilt,
  body.jdrc-motion-ui-v1 .hero-photo-card { transform: none !important; transition: none !important; }
}

@keyframes jdrc-orbit {
  0% { transform: translate3d(0,0,0) scale(.95); }
  100% { transform: translate3d(10vw,-5vh,0) scale(1.10); }
}
@keyframes jdrc-sweep {
  0%, 68% { transform: translateX(-120%); }
  82%, 100% { transform: translateX(120%); }
}
@keyframes jdrc-drift-grid {
  from { transform: translate3d(-2%,0,0) scale(1.1); }
  to { transform: translate3d(2%,-1%,0) scale(1.1); }
}
@keyframes jdrc-stat-scan {
  0%, 65% { left: -150px; }
  82%, 100% { left: calc(100% + 150px); }
}
/* END JDRC MOTION UI V1 --------------------------------------------------- */