@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --orange: #ff6a00;
  --orange-soft: #ff9a52;
  --orange-pale: #ffd8bc;
  --bg: #090807;
  --bg-deep: #050403;
  --panel: rgba(24, 17, 12, 0.76);
  --panel-strong: rgba(29, 19, 13, 0.9);
  --text: #fffaf5;
  --muted: #c9bbb1;
  --line: rgba(255, 106, 0, 0.22);
  --line-soft: rgba(255, 216, 188, 0.14);
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 100%;
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
  font-size: clamp(15px, calc(14px + 0.2vw), 16px);
  line-height: 1.7;
  letter-spacing: -0.006em;
}

body,
button,
input,
select,
textarea {
  font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  text-wrap: balance;
}

p,
li,
a,
strong,
summary {
  overflow-wrap: anywhere;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-right: auto;
  margin-left: auto;
}

main,
.nav,
.footer {
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  z-index: 2;
  padding: clamp(66px, 8vw, 112px) 0;
  isolation: isolate;
}

.global-motion-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-deep);
}

.global-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 50%;
  opacity: 0.42;
  filter: brightness(0.68) saturate(1.12) contrast(1.04);
  transform: scale(1.08);
  animation: backgroundDrift 26s ease-in-out infinite alternate;
}

.global-video-tint,
.global-video-vignette {
  position: absolute;
  inset: 0;
}

.global-video-tint {
  background:
    linear-gradient(180deg, rgba(9, 8, 7, 0.18), rgba(9, 8, 7, 0.42)),
    radial-gradient(circle at 48% 26%, rgba(255, 106, 0, 0.09), transparent 38%);
}

.global-video-vignette {
  background: radial-gradient(circle at 50% 40%, transparent 28%, rgba(5, 4, 3, 0.66) 100%);
}

@keyframes backgroundDrift {
  from {
    transform: scale(1.08) translate3d(-1%, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(1.5%, -1.5%, 0);
  }
}

/* Animated ORNG identity */
.orng-logo-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 0.015em;
  color: var(--text);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.logo-letter {
  display: inline-block;
  opacity: 0;
  filter: blur(7px);
  transform-origin: 50% 60%;
  will-change: transform, opacity, filter;
}

.logo-o {
  --logo-x: -0.62em;
  --logo-y: -0.24em;
  --logo-r: -13deg;
  --logo-delay: 0ms;
}

.logo-r {
  --logo-x: -0.18em;
  --logo-y: 0.48em;
  --logo-r: 9deg;
  --logo-delay: 115ms;
}

.logo-n {
  --logo-x: 0.24em;
  --logo-y: -0.48em;
  --logo-r: -8deg;
  --logo-delay: 230ms;
}

.logo-g {
  --logo-x: 0.68em;
  --logo-y: 0.26em;
  --logo-r: 14deg;
  --logo-delay: 345ms;
}

.logo-live .logo-letter,
.site-intro-v39.is-live .logo-letter {
  animation: logoLetterLock 1.55s cubic-bezier(0.16, 0.84, 0.24, 1)
    var(--logo-delay) forwards;
}

.logo-live,
.site-intro-v39.is-live .orng-logo-lockup {
  animation: logoOrangePulse 2.55s ease-out 0.15s both;
}

html.orng-intro-pending:not(.orng-intro-opening) .header-logo.logo-live,
html.orng-intro-pending:not(.orng-intro-opening) .header-logo.logo-live .logo-letter {
  animation-play-state: paused;
}

@keyframes logoLetterLock {
  0% {
    opacity: 0;
    filter: blur(9px);
    transform: translate3d(var(--logo-x), var(--logo-y), 0) rotate(var(--logo-r))
      scale(0.72);
  }
  56% {
    opacity: 1;
    filter: blur(1px);
  }
  82% {
    transform: translate3d(0, 0, 0) rotate(0) scale(1.035);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes logoOrangePulse {
  0%,
  62% {
    color: var(--text);
    text-shadow: 0 0 0 rgba(255, 106, 0, 0);
  }
  78% {
    color: var(--orange);
    text-shadow: 0 0 28px rgba(255, 106, 0, 0.82);
  }
  100% {
    color: var(--text);
    text-shadow: 0 0 0 rgba(255, 106, 0, 0);
  }
}

.site-intro-v39 {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 106, 0, 0.1), transparent 38%),
    var(--bg-deep);
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.95s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

.intro-logo-system {
  position: relative;
  display: grid;
  place-items: center;
  min-width: min(680px, 86vw);
}

.intro-logo-system .orng-logo-lockup {
  font-size: clamp(56px, 10vw, 136px);
}

.intro-connection-line {
  position: absolute;
  top: calc(100% + 34px);
  left: 50%;
  width: min(440px, 62vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.7);
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
}

.site-intro-v39.is-live .intro-connection-line {
  animation: introConnection 0.92s ease 1.22s forwards;
}

.site-intro-v39.is-opening {
  clip-path: inset(0 0 100% 0);
}

.site-intro-v39.is-opening .intro-logo-system {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(7px);
  transition: 0.3s ease;
}

@keyframes introConnection {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
  }
  100% {
    opacity: 0.75;
    transform: translateX(-50%) scaleX(1);
  }
}

html.orng-intro-pending,
html.orng-intro-pending body {
  overflow: hidden;
}

html.orng-intro-pending body > .nav,
html.orng-intro-pending body > .global-motion-video,
html.orng-intro-pending body > main,
html.orng-intro-pending body > .footer {
  opacity: 0;
  pointer-events: none;
}

html.orng-intro-opening body > .nav,
html.orng-intro-opening body > .global-motion-video,
html.orng-intro-opening body > main,
html.orng-intro-opening body > .footer {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.9s ease;
}

/* Navigation */
.nav {
  position: fixed;
  z-index: 10000;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 28px));
  min-height: 62px;
  padding: 0 20px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: rgba(14, 10, 7, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(135%);
  transform: translateX(-50%);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  border-color: var(--line);
  background: rgba(12, 8, 6, 0.94);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.header-logo {
  font-size: 18px;
  letter-spacing: 0.035em;
}

.navlinks {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 30px);
  color: #d8ccc3;
  font-size: 12.5px;
}

.navlinks a {
  position: relative;
  white-space: nowrap;
}

.navlinks a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--orange);
  transition: right 0.35s ease;
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--text);
}

.navlinks a:hover::after,
.navlinks a.active::after {
  right: 0;
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--orange);
  color: #17110d;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 106, 0, 0.28);
}

.menu {
  position: relative;
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu span {
  position: absolute;
  left: 9px;
  width: 20px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s ease;
}

.menu span:first-child {
  top: 15px;
}

.menu span:last-child {
  top: 22px;
}

.menu.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Titles and controls */
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "—";
  color: rgba(255, 106, 0, 0.7);
  letter-spacing: 0;
}

.two-line-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.two-line-heading > span {
  display: block;
  width: max-content;
  max-width: 100%;
}

.section-head,
.simple-section-title,
.cta .wrap {
  width: 100%;
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head > div {
  width: 100%;
}

.section-head h2,
.simple-section-title h2,
.cta h2,
.media-copy h2,
.diagnostic-layout h2,
.contact-title {
  margin-bottom: 0;
  font-size: clamp(37px, 4.4vw, 61px);
  line-height: 1.02;
  letter-spacing: -0.024em;
}

.section-head p,
.simple-section-title p,
.cta p,
.media-copy p,
.diagnostic-layout p,
.page-hero p {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.22vw, 17px);
  line-height: 1.72;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.btn:hover {
  border-color: rgba(255, 106, 0, 0.62);
  transform: translateY(-3px);
}

.btn.primary {
  border: 0;
  background: var(--orange);
  color: #17110d;
  box-shadow: 0 13px 40px rgba(255, 106, 0, 0.2);
}

.btn.primary:hover {
  box-shadow: 0 16px 48px rgba(255, 106, 0, 0.32);
}

/* Hero */
.hero,
.page-hero {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero {
  min-height: 82svh;
  padding: 132px 0 62px;
}

.page-hero {
  min-height: 54vh;
  padding: 130px 0 70px;
}

.page-image {
  display: none;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    ellipse at 50% 46%,
    rgba(9, 8, 7, 0.66) 0 25%,
    rgba(9, 8, 7, 0.38) 50%,
    transparent 78%
  );
}

.hero-content,
.page-hero .wrap {
  width: min(980px, calc(100% - var(--pad) * 2));
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 74px);
  line-height: 1;
  letter-spacing: -0.026em;
}

.hero p {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.22vw, 17px);
}

.hero .actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

html.orng-intro-pending .hero-content > *,
html.orng-intro-pending .hero-motion-object {
  opacity: 0;
}

html.home-entrance-active .hero-content > * {
  animation: homeElementIn 1.35s cubic-bezier(0.16, 0.84, 0.24, 1) both;
}

html.home-entrance-active .hero-content > h1 {
  animation-delay: 0.16s;
}

html.home-entrance-active .hero-content > p {
  animation-delay: 0.44s;
}

html.home-entrance-active .hero-content > .actions {
  animation-delay: 0.72s;
}

html.home-entrance-active .hero-motion-object {
  animation: homeOrbIn 1.65s cubic-bezier(0.16, 0.84, 0.24, 1) 0.34s both;
}

@keyframes homeElementIn {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 42px, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes homeOrbIn {
  from {
    opacity: 0;
    filter: blur(11px);
    transform: translate3d(0, 62px, 0) scale(0.82);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

/* Orb and labels */
.motion-object-bridge {
  --orb-label-x: min(29vw, 300px);
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(330px, 38vw, 455px);
  margin: -26px 0 8px;
  overflow: visible;
  isolation: isolate;
  pointer-events: none;
}

.motion-object-video {
  position: relative;
  z-index: 2;
  width: min(395px, 50vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 28px 72px rgba(255, 106, 0, 0.25)) saturate(1.08);
  animation: motionObjectFloat 5.8s ease-in-out infinite alternate;
}

@keyframes motionObjectFloat {
  to {
    transform: translate3d(0, -14px, 0) scale(1.018);
  }
}

.orb-service-label {
  position: absolute;
  z-index: 5;
  width: max-content;
  max-width: min(42vw, 260px);
  padding: 9px 13px;
  border: 1px solid rgba(255, 106, 0, 0.27);
  border-radius: 999px;
  background: rgba(20, 13, 9, 0.62);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(130%);
  font-size: clamp(9px, 0.78vw, 11px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.045em;
  text-align: center;
  white-space: normal;
}

.orb-service-label > span {
  display: block;
  white-space: nowrap;
}

.orb-label-automation {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  animation: labelTop 4.6s ease-in-out infinite alternate;
}

.orb-label-chatbots,
.orb-label-crm {
  left: calc(50% - var(--orb-label-x));
  transform: translate(-50%, -50%);
  animation: labelLeft 5.2s ease-in-out infinite alternate;
}

.orb-label-agents,
.orb-label-strategy {
  left: calc(50% + var(--orb-label-x));
  transform: translate(-50%, -50%);
  animation: labelRight 5s ease-in-out infinite alternate;
}

.orb-label-chatbots,
.orb-label-agents {
  top: 35%;
}

.orb-label-crm,
.orb-label-strategy {
  top: 72%;
}

.orb-label-crm {
  min-width: 168px;
}

@keyframes labelTop {
  to {
    transform: translate(-50%, -7px);
  }
}

@keyframes labelLeft {
  to {
    transform: translate(calc(-50% - 7px), calc(-50% - 3px));
  }
}

@keyframes labelRight {
  to {
    transform: translate(calc(-50% + 7px), calc(-50% + 3px));
  }
}

/* How we work */
#how-it-works {
  padding-top: 34px;
  overflow: visible;
}

.how-intro {
  padding-bottom: 18px;
}

#how-it-works .how-title {
  width: min(960px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
  text-align: center;
}

#how-it-works .how-title h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
}

.how-video-stage {
  position: relative;
  height: 148vh;
}

.how-video-sticky {
  position: sticky;
  top: 76px;
  display: grid;
  place-items: start center;
  height: calc(100vh - 76px);
  padding-top: 8px;
  overflow: hidden;
}

.how-video-frame {
  position: relative;
  width: min(1280px, 94vw);
  height: min(82vh, 820px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-deep);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.55), 0 0 70px rgba(255, 106, 0, 0.08);
  opacity: 0.76;
  transform: scale(0.82);
  will-change: transform, opacity;
}

.how-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(9, 8, 7, 0.06),
    transparent 54%,
    rgba(9, 8, 7, 0.34)
  );
}

.how-work-cards {
  position: absolute;
  bottom: clamp(20px, 4vh, 42px);
  left: 50%;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1120px, 90vw);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 36px, 0);
}

.how-work-cards article {
  min-height: 156px;
  padding: 24px;
  border: 1px solid rgba(255, 106, 0, 0.24);
  border-radius: 20px;
  background: rgba(20, 13, 9, 0.79);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.how-work-cards span {
  display: block;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.how-work-cards h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.5vw, 34px);
}

.how-work-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Cards and carousels */
.home-services {
  overflow: hidden;
}

.service-carousel-shell,
.pricing-carousel-shell {
  position: relative;
  width: 100%;
  max-width: 1120px;
  min-height: 525px;
  margin: 34px auto 0;
  overflow: visible;
  perspective: 1400px;
}

.service-carousel,
.pricing-carousel {
  position: relative;
  width: 100%;
  height: 448px;
  overflow: visible;
  transform-style: preserve-3d;
}

.service-orbit-card,
.pricing-orbit-card {
  position: absolute;
  top: 10px;
  left: 50%;
  width: min(410px, 82vw);
  min-height: 405px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(41, 25, 15, 0.91), rgba(14, 10, 7, 0.86));
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.4);
  opacity: var(--opacity, 1);
  filter: blur(var(--blur, 0));
  transform: translateX(calc(-50% + var(--x, 0))) translateY(var(--y, 0))
    translateZ(var(--z, 0)) rotateY(var(--ry, 0deg)) scale(var(--scale, 1));
  transform-origin: 50% 52%;
  pointer-events: none;
  text-align: center;
  backdrop-filter: blur(24px) saturate(130%);
  transition:
    transform 0.96s cubic-bezier(0.16, 0.84, 0.24, 1),
    opacity 0.7s,
    filter 0.7s;
  will-change: transform, opacity;
}

.service-orbit-card.is-active,
.pricing-orbit-card.is-active {
  border-color: rgba(255, 106, 0, 0.42);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.47), 0 0 0 1px rgba(255, 106, 0, 0.08) inset;
  pointer-events: auto;
}

.service-orbit-card > span,
.pricing-orbit-card > span {
  display: block;
  margin-bottom: 27px;
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.service-orbit-card h3,
.pricing-orbit-card h3 {
  max-width: 330px;
  margin: 0 auto 15px;
  font-size: clamp(26px, 2.5vw, 35px);
  line-height: 1.08;
}

.service-orbit-card p,
.pricing-orbit-card p {
  max-width: 330px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-orbit-card a {
  display: inline-block;
  margin-top: 21px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
}

.pricing-orbit-card strong {
  display: block;
  margin: 13px 0;
  color: var(--orange-soft);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.35;
}

.pricing-features {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  text-align: left;
}

.pricing-features li {
  position: relative;
  padding-left: 18px;
  color: #dfd0c5;
  font-size: 12.5px;
  line-height: 1.45;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.55);
}

.service-carousel-controls,
.pricing-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.service-carousel-controls button,
.pricing-carousel-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20, 13, 9, 0.82);
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.service-carousel-controls button:hover,
.pricing-carousel-controls button:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* Information sections */
.diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.diagnostic-layout > div:first-child {
  text-align: center;
}

.proof-line {
  color: var(--text) !important;
  font-weight: 600;
}

.check-panel,
.feature-card,
.info-card,
.mission-grid article,
.industry-detail {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  text-align: center;
  backdrop-filter: blur(18px);
}

.check-panel h3 {
  margin-bottom: 20px;
  font-size: 30px;
}

.check-list,
.service-detail ul,
.industry-detail ul {
  display: grid;
  gap: 11px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.check-list li,
.service-detail li,
.industry-detail li {
  position: relative;
  padding-left: 23px;
  color: var(--muted);
}

.check-list li::before,
.service-detail li::before,
.industry-detail li::before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.card-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

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

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card > span,
.service-detail > span,
.timeline article > span,
.mission-grid article > span,
.industry-detail > span {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-card h3,
.info-card h3,
.mission-grid h3,
.industry-detail h3 {
  margin: 15px 0 10px;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.08;
}

.feature-card p,
.info-card p,
.industry-detail p {
  margin: 0;
  color: var(--muted);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.industry-grid span {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 120px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  text-align: center;
}

.industry-page-link {
  margin: 24px 0 0;
  text-align: center;
}

.text-link {
  display: inline-block;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.28s ease;
}

.text-link:hover {
  transform: translateX(4px);
}

.industry-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.industry-detail {
  min-height: 330px;
  text-align: left;
}

.industry-detail h3,
.industry-detail p {
  text-align: left;
}

.industry-detail ul {
  margin-bottom: 0;
}

.faq-list {
  max-width: 920px;
  margin: 30px auto 0;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 20px 54px;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 600;
  text-align: center;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--orange);
  font-size: 22px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px 22px;
  color: var(--muted);
  text-align: center;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.timeline.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline article {
  padding: 26px 22px;
  border-top: 1px solid var(--orange);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.08), transparent);
  text-align: center;
}

.timeline h3 {
  margin: 15px 0 8px;
  font-size: 24px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.difference-grid article {
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

/* Service detail and pricing */
.services-page-services {
  padding-top: clamp(58px, 7vw, 88px);
}

.services-page-intro {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
}

.services-static-list {
  display: grid;
  gap: 18px;
  width: min(940px, 100%);
  margin: 38px auto 0;
}

.service-detail {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 32px;
  width: 100%;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(41, 25, 15, 0.84), rgba(14, 10, 7, 0.79));
  backdrop-filter: blur(22px) saturate(125%);
}

.service-detail h2 {
  margin: 0 0 8px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
}

.service-detail h3 {
  margin: 0 0 15px;
  color: var(--orange-soft);
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.16;
}

.service-detail p {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
}

.service-detail ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 22px;
  max-width: 800px;
  margin: 20px 0 0;
}

.service-detail strong {
  display: block;
  margin-top: 20px;
  color: var(--orange-pale);
}

.pricing-section {
  overflow: hidden;
}

.cta .btn,
.diagnostic-layout .btn {
  margin-top: 24px;
}

#custom-ai-agents,
#services-overview {
  scroll-margin-top: 96px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(32px, 6vw, 74px);
}

.contact-grid > div:first-child {
  text-align: center;
}

.contact-copy {
  max-width: 540px;
  margin: 18px auto 0;
  color: var(--muted);
}

.contact-details {
  width: min(540px, 100%);
  margin: 22px auto 0;
  color: #d9ccc2;
  text-align: left;
}

.contact-details a {
  color: var(--text);
}

.form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.form label {
  color: #d8cbc1;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  margin-top: 9px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}

.form select {
  background-color: #21150e;
  color-scheme: dark;
  cursor: pointer;
}

.form select option {
  background: #21150e;
  color: var(--text);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.form .full,
.form textarea {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.status {
  min-height: 22px;
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.status.success {
  color: #8ee9ae;
}

.status.error {
  color: #ffb7b7;
}

/* Footer */
.footer {
  overflow: hidden;
  padding: clamp(38px, 5vw, 62px) 0 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 8, 6, 0.58), rgba(8, 6, 5, 0.9));
}

.footer-wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  padding: 0 12px clamp(30px, 4vw, 46px);
  color: rgba(255, 250, 245, 0.12);
  text-align: center;
  white-space: nowrap;
}

.footer-display-logo {
  gap: 0.005em;
  color: rgba(255, 250, 245, 0.12);
  font-size: clamp(78px, 17vw, 238px);
  letter-spacing: -0.035em;
}

.footer-display-logo.logo-live {
  animation: footerLogoPulse 2.7s ease-out both;
}

@keyframes footerLogoPulse {
  0%,
  68% {
    color: rgba(255, 250, 245, 0.12);
    text-shadow: none;
  }
  82% {
    color: rgba(255, 106, 0, 0.3);
    text-shadow: 0 0 42px rgba(255, 106, 0, 0.32);
  }
  100% {
    color: rgba(255, 250, 245, 0.12);
    text-shadow: none;
  }
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) minmax(120px, 0.6fr) minmax(170px, 0.8fr)
    minmax(210px, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
  padding-top: clamp(28px, 4vw, 46px);
  border-top: 1px solid var(--line-soft);
}

.footer-small-logo {
  font-size: 20px;
}

.footer-brand-block p {
  max-width: 270px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-kicker {
  display: block;
  margin-bottom: 15px;
  color: #9f8d81;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #ded1c7;
  font-size: 14px;
}

.footer-contact p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a,
.footer-contact a {
  transition: color 0.22s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--orange);
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: #dfd2c8;
  transition: transform 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.social-link .social-dot {
  fill: currentColor;
  stroke: none;
}

.social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: #9f8d81;
  font-size: 12px;
}

/* Scroll and depth motion */
html.motion-enabled .scroll-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 68px, 0) scale(0.98);
  transition:
    opacity 1.3s cubic-bezier(0.16, 0.84, 0.24, 1) var(--scroll-delay, 0ms),
    transform 1.55s cubic-bezier(0.16, 0.84, 0.24, 1) var(--scroll-delay, 0ms),
    filter 1.15s ease var(--scroll-delay, 0ms);
  will-change: opacity, transform, filter;
}

html.motion-enabled .scroll-reveal[data-direction="left"] {
  transform: translate3d(-76px, 18px, 0) scale(0.98);
}

html.motion-enabled .scroll-reveal[data-direction="right"] {
  transform: translate3d(76px, 18px, 0) scale(0.98);
}

html.motion-enabled .scroll-reveal[data-direction="scale"] {
  transform: translate3d(0, 36px, 0) scale(0.9);
}

html.motion-enabled .scroll-reveal.scroll-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.continuous-media-motion {
  transform-origin: center;
  animation: mediaBreathe 11s ease-in-out infinite alternate !important;
}

@keyframes mediaBreathe {
  from {
    transform: scale(1.02) translate3d(-0.4%, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(0.8%, -0.8%, 0);
  }
}

.motion-depth-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  transform-style: preserve-3d;
}

.motion-depth-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    circle at var(--glow-x) var(--glow-y),
    rgba(255, 106, 0, 0.14),
    transparent 39%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.motion-depth-card > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .motion-depth-card.scroll-visible {
    transition: transform 0.34s ease-out, border-color 0.34s ease;
  }

  .motion-depth-card:hover {
    border-color: rgba(255, 106, 0, 0.45);
    transform: perspective(950px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y))
      translateY(-5px);
  }

  .motion-depth-card:hover::after {
    opacity: 1;
  }
}

/* ORNG chat */
#vertex-chat-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999997;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#vertex-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  filter: drop-shadow(0 7px 18px rgba(255, 106, 0, 0.3));
  cursor: pointer;
  transition: transform 0.28s ease, filter 0.28s ease;
}

#vertex-launcher:hover {
  filter: drop-shadow(0 10px 24px rgba(255, 106, 0, 0.46));
  transform: translateY(-3px) scale(1.04);
}

.vertex-launcher-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

#vertex-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  z-index: 2;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ff2d2d;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 45, 45, 0.48);
  font-size: 11px;
  font-weight: 700;
}

#vertex-starters {
  display: none;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#vertex-starters.chips-visible {
  display: flex;
  opacity: 1;
  transform: none;
}

#vertex-starters.chips-hiding {
  opacity: 0;
  pointer-events: none;
}

.vertex-chip {
  max-width: 86vw;
  padding: 12px 18px;
  border: 1px solid rgba(255, 106, 0, 0.36);
  border-radius: 14px;
  background: rgba(28, 18, 12, 0.82);
  color: var(--text);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(24px) saturate(150%);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#vertex-window {
  position: fixed;
  right: 20px;
  bottom: 94px;
  z-index: 999999;
  flex-direction: column;
  width: 390px;
  height: 570px;
  max-height: calc(100vh - 120px);
  overflow: hidden;
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(40, 25, 15, 0.94), rgba(12, 8, 6, 0.94));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(34px) saturate(145%);
}

.vertex-header-bar {
  flex-shrink: 0;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(255, 106, 0, 0.22), rgba(255, 106, 0, 0.06));
}

.vertex-header-top,
.vertex-header-id {
  display: flex;
  align-items: center;
}

.vertex-header-top {
  justify-content: space-between;
}

.vertex-header-id {
  gap: 11px;
}

.vertex-header-avatar,
.vertex-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.vertex-header-avatar {
  width: 40px;
  height: 40px;
  padding: 2px;
}

.vertex-chat-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vertex-online-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border: 2px solid #21150e;
  border-radius: 50%;
  background: #00c758;
}

.vertex-header-meta {
  display: flex;
  flex-direction: column;
}

.vertex-header-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.vertex-header-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: #c8b8ac;
  font-size: 11.5px;
}

.vertex-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00c758;
  animation: chatStatusPulse 1.8s infinite;
}

@keyframes chatStatusPulse {
  70% {
    box-shadow: 0 0 0 6px rgba(0, 199, 88, 0);
  }
}

.vertex-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

#vertex-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 20px 18px;
  overflow-y: auto;
  background: radial-gradient(circle at 92% 8%, rgba(255, 106, 0, 0.07), transparent 33%);
}

.vertex-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
  animation: chatMessageIn 0.44s ease both;
}

.vertex-bot-row {
  justify-content: flex-start;
}

.vertex-user-row {
  justify-content: flex-end;
}

@keyframes chatMessageIn {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
}

.vertex-avatar {
  width: 27px;
  height: 27px;
  padding: 1px;
}

.vertex-msg {
  width: fit-content;
  max-width: 78%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  word-wrap: break-word;
}

.vertex-bot-msg {
  border: 1px solid rgba(255, 106, 0, 0.18);
  border-bottom-left-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.vertex-user-msg {
  border: 1px solid rgba(255, 216, 188, 0.22);
  border-bottom-right-radius: 4px;
  background: var(--orange);
  color: #17110d;
  box-shadow: 0 7px 24px rgba(255, 106, 0, 0.23);
  font-weight: 500;
}

.vertex-msg p {
  margin: 0;
}

.vertex-input-area {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  background: rgba(10, 7, 5, 0.58);
}

#vertex-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(255, 106, 0, 0.24);
  border-radius: 22px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 14px;
}

#vertex-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

#vertex-input::placeholder {
  color: #a89486;
}

#vertex-send-btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 7px 22px rgba(255, 106, 0, 0.28);
  cursor: pointer;
  transition: transform 0.24s ease;
}

#vertex-send-btn:hover {
  transform: scale(1.06);
}

#vertex-send-btn svg {
  width: 20px;
  height: 20px;
}

.vertex-typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 2px;
}

.vertex-typing-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: typingDot 1.4s infinite ease-in-out both;
}

.vertex-typing-indicator i:nth-child(1) {
  animation-delay: -0.32s;
}

.vertex-typing-indicator i:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingDot {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 1050px) {
  .card-grid.four,
  .difference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 900px) {
  .nav {
    display: flex;
    gap: 12px;
  }

  .brand {
    margin-right: auto;
  }

  .navlinks {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .menu {
    display: block;
  }

  .nav.open {
    align-items: flex-start;
    height: auto;
    padding: 20px;
    flex-wrap: wrap;
  }

  .nav.open .navlinks {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    width: 100%;
    padding: 26px 0 9px;
  }

  .navlinks a::after {
    bottom: -6px;
  }

  .diagnostic-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 18px;
  }

  section {
    padding: clamp(50px, 11vw, 72px) 0;
  }

  .global-background-video {
    object-position: 20% 50%;
    opacity: 0.35;
    transform: scale(1.12);
  }

  .hero {
    min-height: 72svh;
    padding: 108px 0 46px;
  }

  .page-hero {
    min-height: 46vh;
    padding: 108px 0 52px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(37px, 10.4vw, 52px);
    line-height: 1.02;
  }

  .two-line-heading > span {
    width: auto;
    white-space: normal;
  }

  .section-head h2,
  .simple-section-title h2,
  .cta h2,
  .media-copy h2,
  .diagnostic-layout h2,
  .contact-title {
    font-size: clamp(31px, 8.8vw, 44px);
    line-height: 1.04;
  }

  .hero p,
  .section-head p,
  .simple-section-title p,
  .cta p,
  .diagnostic-layout p,
  .page-hero p {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .motion-object-bridge {
    --orb-label-x: 27vw;
    height: clamp(300px, 88vw, 365px);
    margin: -8px 0 12px;
  }

  .motion-object-video {
    width: min(282px, 70vw);
  }

  .orb-service-label {
    max-width: 43vw;
    padding: 7px 9px;
    font-size: 8.5px;
  }

  .orb-label-crm {
    min-width: 132px;
  }

  #how-it-works {
    padding-top: 30px;
    padding-bottom: 36px;
  }

  #how-it-works .how-title {
    width: calc(100% - 36px);
  }

  #how-it-works .how-title h2 {
    font-size: clamp(28px, 7.4vw, 40px);
    line-height: 1.06;
  }

  .how-video-stage {
    height: auto;
    min-height: 0;
    padding: 0 14px 20px;
  }

  .how-video-sticky {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }

  .how-video-frame {
    width: 100%;
    max-width: 720px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 16px;
    opacity: 1;
    transform: none;
  }

  .how-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-deep);
  }

  .how-work-cards {
    position: relative;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .how-work-cards article {
    min-height: auto;
    padding: 17px;
    border-radius: 15px;
  }

  .how-work-cards span {
    margin-bottom: 8px;
  }

  .how-work-cards h3 {
    margin-bottom: 4px;
    font-size: 22px;
  }

  .service-carousel-shell,
  .pricing-carousel-shell {
    min-height: 500px;
    margin-top: 24px;
  }

  .service-carousel,
  .pricing-carousel {
    height: 430px;
  }

  .service-orbit-card,
  .pricing-orbit-card {
    width: min(350px, 86vw);
    min-height: 390px;
    padding: 25px 22px;
    transition-duration: 0.86s, 0.6s, 0.6s;
  }

  .service-orbit-card > span,
  .pricing-orbit-card > span {
    margin-bottom: 20px;
  }

  .card-grid.three,
  .card-grid.two,
  .mission-grid,
  .industry-detail-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.four,
  .difference-grid {
    grid-template-columns: 1fr;
  }

  .timeline,
  .timeline.six {
    grid-template-columns: 1fr;
  }

  .difference-grid article {
    min-height: auto;
  }

  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 21px;
  }

  .service-detail ul {
    grid-template-columns: 1fr;
  }

  .form {
    grid-template-columns: 1fr;
    padding: 21px 18px;
  }

  .form .full,
  .form textarea {
    grid-column: auto;
  }

  html.motion-enabled .scroll-reveal,
  html.motion-enabled .scroll-reveal[data-direction="left"],
  html.motion-enabled .scroll-reveal[data-direction="right"],
  html.motion-enabled .scroll-reveal[data-direction="scale"] {
    filter: blur(4px);
    transform: translate3d(0, 44px, 0) scale(0.985);
    transition-duration: 1.05s, 1.25s, 0.95s;
  }

  html.motion-enabled .scroll-reveal.scroll-visible {
    filter: blur(0);
    transform: none;
  }

  .footer-display-logo {
    font-size: clamp(68px, 19vw, 138px);
    letter-spacing: -0.025em;
  }
}

@media (max-width: 560px) {
  .nav {
    top: 8px;
    min-height: 58px;
    padding: 0 14px;
  }

  .header-logo {
    font-size: 16px;
  }

  .hero-content,
  .page-hero .wrap,
  .wrap {
    width: calc(100% - 28px);
  }

  .hero .actions {
    width: 100%;
  }

  .hero .actions .btn {
    width: 100%;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid span {
    min-height: 105px;
  }

  .faq-list summary {
    min-height: 62px;
    padding: 18px 42px 18px 12px;
    font-size: 15px;
    text-align: left;
    justify-content: flex-start;
  }

  .faq-list summary::after {
    right: 12px;
  }

  .faq-list details p {
    padding: 0 12px 18px;
    text-align: left;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  #vertex-chat-container {
    right: 16px;
    bottom: 16px;
  }

  #vertex-window {
    right: 4%;
    bottom: 84px;
    left: 4%;
    width: 92%;
    height: 72vh;
    max-height: calc(100vh - 100px);
    border-radius: 17px;
  }

  .vertex-msg {
    max-width: 82%;
  }
}

@media (max-width: 390px) {
  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 10.5vw, 43px);
  }

  .motion-object-bridge {
    --orb-label-x: 26vw;
    height: 320px;
  }

  .orb-service-label {
    max-width: 42vw;
    padding: 6px 8px;
    font-size: 8px;
  }

  .orb-label-crm {
    min-width: 118px;
  }

  .service-orbit-card,
  .pricing-orbit-card {
    width: 88vw;
  }
}

@media (max-height: 640px) and (min-width: 561px) {
  #vertex-window {
    height: calc(100vh - 110px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
