/* Zorynt AI service/solution navigation expansion.
   Original branded illustrations, animations, and section typography are unchanged. */

body .zorynt-nav-dropdown#zorynt-menu-services {
  right: -60px !important;
  left: auto !important;
  width: min(1010px, calc(100vw - 48px)) !important;
  max-height: min(690px, calc(100dvh - 95px)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #3979bb #061225;
  padding: 22px 26px 24px !important;
}

body #zorynt-menu-services .zorynt-nav-grid--services-expanded {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 30px !important;
  align-items: start;
}

body #zorynt-menu-services .zorynt-nav-group {
  margin: 0 0 17px !important;
}

body #zorynt-menu-services .zorynt-nav-item strong {
  display: block;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  font-weight: 570 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
  white-space: normal !important;
}

body #zorynt-menu-services .zorynt-nav-item:hover strong,
body #zorynt-menu-services .zorynt-nav-item:focus-visible strong {
  color: #8cddff !important;
}

body #zorynt-menu-services .zorynt-nav-item:focus-visible {
  outline: 2px solid #64b7ff !important;
  outline-offset: 4px;
}

/* Keep the 21 existing directory titles, now genuine links, clean and scannable. */
.services-list h3 a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(123, 193, 255, .25);
  padding-bottom: 5px;
  transition: color .18s ease, border-color .18s ease;
}

.services-list h3 a:hover,
.services-list h3 a:focus-visible {
  color: #93dfff;
  border-bottom-color: #93dfff;
  outline-offset: 5px;
}

.service-detail-main {
  min-height: 72vh;
  padding: clamp(54px, 4vw, 72px) 24px 96px;
}

.service-detail-shell {
  width: min(990px, 100%);
  margin: 0 auto;
}

.service-back-link {
  display: inline-block;
  margin-bottom: 26px;
  color: #9bd9ff;
  font-size: 14px;
  text-decoration: none;
}

.service-back-link:hover,
.service-back-link:focus-visible {
  text-decoration: underline;
}

.service-detail-main h1 {
  max-width: 960px;
  margin: 0 0 32px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.11;
  font-weight: 650;
  letter-spacing: -.035em;
}

.service-detail-copy {
  width: min(810px, 100%);
}

.service-detail-copy p {
  margin: 0 0 24px;
  color: rgba(240, 247, 255, .87);
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 450;
  line-height: 1.72;
}

.service-detail-copy > p:first-child {
  color: #fff;
  font-size: clamp(18px, 1.48vw, 22px);
  line-height: 1.62;
  font-weight: 480;
  margin-bottom: 42px;
}

.service-detail-copy h2 {
  margin: 48px 0 15px;
  color: #fff;
  font-size: clamp(22px, 1.85vw, 27px);
  font-weight: 630;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.service-detail-copy h2 + p {
  margin-top: 0;
}

/* Exact homepage section-seam treatment at the end of each service page. */
.service-detail-main + .services-footer {
  border-top: 0;
  position: relative;
}

.service-detail-main + .services-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - 48px));
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
    transparent 0%, rgba(83,148,232,.10) 10%, rgba(104,174,250,.24) 26%,
    rgba(145,207,255,.48) 40%, rgba(221,242,255,.92) 50%,
    rgba(145,207,255,.48) 60%, rgba(104,174,250,.24) 74%,
    rgba(83,148,232,.10) 90%, transparent 100%);
  box-shadow: 0 0 3px rgba(185,226,255,.40),
              0 0 8px rgba(73,154,255,.22),
              0 0 14px rgba(47,140,255,.09);
  pointer-events: none;
}

.service-detail-main + .services-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - 48px));
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
    transparent 0%, transparent 43%, rgba(47,140,255,.10) 46%,
    rgba(47,140,255,.36) 48.5%, rgba(47,140,255,.82) 50%,
    rgba(47,140,255,.36) 51.5%, rgba(47,140,255,.10) 54%,
    transparent 57%, transparent 100%);
  background-size: 240% 100%;
  background-position: 118% 0;
  animation: zoryntServiceSeamCurrent 7.4s linear infinite;
  pointer-events: none;
}

@keyframes zoryntServiceSeamCurrent {
  from { background-position: 118% 0; }
  to { background-position: -118% 0; }
}

.solution-detail-main {
  padding-top: clamp(114px, 10vw, 152px);
  background: #061225;
}

.solution-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 24px;
  padding: 0 24px;
  font: 500 13px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
  color: rgba(220, 236, 255, .8);
}

.solution-detail-breadcrumb a {
  color: #8cd3ff;
  text-decoration: none;
}

.solution-detail-breadcrumb a:hover,
.solution-detail-breadcrumb a:focus-visible {
  text-decoration: underline;
}

/* Preserve original illustration components, motion, sound, and companion text. */
body.zorynt-solution-page .solution-detail-main > section {
  max-height: none !important;
  overflow: visible;
}

@media (max-width: 980px) {
  body .zorynt-nav-dropdown#zorynt-menu-services {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 8px 0 12px 14px !important;
  }
  body #zorynt-menu-services .zorynt-nav-grid--services-expanded {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  body #zorynt-menu-services .zorynt-nav-group { margin-bottom: 13px !important; }
  body #zorynt-menu-services .zorynt-nav-item strong { font-size: 14px !important; }
  body .primary-nav.is-open { max-height: calc(100dvh - 82px); overflow-y: auto; overscroll-behavior: contain; }
}

@media (max-width: 760px) {
  .service-detail-main { padding: 78px 22px 74px; }
  .service-back-link { margin-bottom: 24px; }
  .service-detail-main h1 { margin-bottom: 27px; }
  .service-detail-copy > p:first-child { margin-bottom: 32px; }
  .service-detail-copy h2 { margin-top: 36px; }
  .solution-detail-breadcrumb { padding: 0 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .services-list h3 a { transition: none !important; }
  .service-detail-main + .services-footer::after { animation: none; opacity: 0; }
}

/* October 26: space the approved integration experience vertically.
   Do not change the internal 1584x993 design, imagery, or iframe aspect ratio. */
@media (min-width: 901px) {
  html body[data-page="home"] #systems-integration {
    padding-block: clamp(108px, 10vw, 158px) !important;
  }
}
@media (max-width: 900px) {
  html body[data-page="home"] #systems-integration {
    padding-block: clamp(44px, 8vw, 72px) !important;
  }
}

/* Anchor targets clear the fixed navigation on direct links and menu jumps. */
body[data-page="home"] :is(
  #about, #orchestration, #ai-agents, #data-intelligence,
  #systems-integration, #existing-systems, #governance-compliance, #experience
) {
  scroll-margin-top: 106px !important;
}

/* Founder/implementation credibility: editorial layout, no boxed artwork. */
body[data-page="home"] .zorynt-credibility {
  position: relative;
  background: #061225;
  padding: clamp(86px, 8vw, 132px) 0 clamp(96px, 9vw, 144px);
  color: #fff;
}
body[data-page="home"] .zorynt-credibility__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(52px, 8vw, 128px);
  align-items: start;
}
body[data-page="home"] .zorynt-credibility__intro h2 {
  margin: 0 0 36px;
  font-size: clamp(44px, 3.65vw, 56px);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -.035em;
}
body[data-page="home"] .zorynt-credibility__intro p {
  max-width: 485px;
  margin: 0;
  color: rgba(242, 248, 255, .85);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.64;
}
body[data-page="home"] .zorynt-credibility__measure {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(124, 184, 253, .27);
}
body[data-page="home"] .zorynt-credibility__measure strong {
  color: #fff;
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 650;
  line-height: .95;
  letter-spacing: -.06em;
  text-shadow: 0 0 28px rgba(35, 128, 253, .16);
}
body[data-page="home"] .zorynt-credibility__measure p {
  margin: 0;
  color: rgba(239, 247, 255, .88);
  font-size: 18px;
  line-height: 1.5;
}
body[data-page="home"] .zorynt-credibility__measure b { color: #fff; }
body[data-page="home"] .zorynt-credibility__examples article { padding-top: 34px; }
body[data-page="home"] .zorynt-credibility__examples h3 {
  margin: 0 0 11px;
  color: #fff;
  font-size: clamp(20px, 1.62vw, 24px);
  font-weight: 630;
  line-height: 1.25;
  letter-spacing: -.018em;
}
body[data-page="home"] .zorynt-credibility__examples p {
  margin: 0;
  max-width: 700px;
  color: rgba(232, 244, 255, .82);
  font-size: clamp(16px, 1.16vw, 18px);
  line-height: 1.67;
}
@media (max-width: 900px) {
  body[data-page="home"] .zorynt-credibility__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 520px) {
  body[data-page="home"] .zorynt-credibility { padding: 64px 0 80px; }
  body[data-page="home"] .zorynt-credibility__intro h2 { font-size: clamp(38px, 11vw, 48px); }
  body[data-page="home"] .zorynt-credibility__measure { align-items: start; gap: 14px; }
  body[data-page="home"] .zorynt-credibility__measure strong { font-size: 62px; }
  body[data-page="home"] .zorynt-credibility__measure p { font-size: 16px; }
  body[data-page="home"] .zorynt-credibility__examples article { padding-top: 28px; }
}
