/* Services experience: semantic Phase 2 skeleton and stable future-deck mounts. */

.services-hero {
  padding-bottom: 64px;
  text-align: left;
}

.services-hero__inner {
  position: relative;
  z-index: 2;
}

.services-hero__intro {
  max-width: 800px;
}

.services-hero .pill-label {
  max-width: 100%;
  line-height: 1.5;
}

.services-hero h1 {
  max-width: 760px;
  letter-spacing: -.035em;
}

.services-hero p {
  max-width: 720px;
  margin: 0;
  color: #475569;
}

.services-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}

.services-overview__link {
  min-width: 0;
  padding: 15px 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  color: var(--slate);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.services-overview__link:hover {
  color: var(--slate);
  border-color: #c7d2fe;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, .08);
}

.services-overview__link:focus-visible,
.service-area__cta:focus-visible,
.requirements-help a:focus-visible,
.requirements-help button:focus-visible {
  outline: 3px solid rgba(6, 182, 212, .45);
  outline-offset: 3px;
}

.services-overview__number {
  display: block;
  margin-bottom: 5px;
  color: var(--indigo);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.services-overview__title {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
}

.services-overview__summary {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.45;
}

.services-experience {
  background: var(--white);
}

.service-area {
  padding: 96px 0;
  scroll-margin-top: 92px;
}

.service-area:nth-child(even) {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--light);
}

.service-area__layout {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(360px, 1.02fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.service-area__copy {
  min-width: 0;
  grid-column: 1;
}

.service-area__visual {
  min-width: 0;
  grid-column: 2;
}

.service-area--reverse .service-area__copy {
  grid-column: 2;
}

.service-area--reverse .service-area__visual {
  grid-column: 1;
  grid-row: 1;
}

.service-area__eyebrow {
  margin-bottom: 14px;
  color: var(--indigo);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-area h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -.025em;
}

.service-area__summary {
  margin-bottom: 18px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

.service-area__outcome {
  margin-bottom: 22px;
  padding: 15px 17px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  color: var(--slate2);
  font-size: .95rem;
  line-height: 1.65;
}

.service-area__principle {
  margin: -4px 0 22px;
  color: var(--slate);
  font-size: 1rem;
  font-weight: 800;
}

.service-entry-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.service-entry-point {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
}

.service-entry-point strong {
  display: block;
  margin-bottom: 5px;
  color: var(--slate);
  font-size: .82rem;
}

.service-entry-point span {
  display: block;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.55;
}

.service-area__capability-title {
  margin-bottom: 12px;
  color: var(--slate);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-capabilities li {
  position: relative;
  min-width: 0;
  padding-left: 16px;
  color: var(--slate2);
  font-size: .95rem;
  line-height: 1.55;
}

.service-capabilities li::before {
  content: '';
  position: absolute;
  top: .58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

.service-capabilities--detailed {
  grid-template-columns: 1fr;
  gap: 11px;
}

.service-capabilities--detailed li {
  padding: 13px 14px 13px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

.service-capabilities--detailed li::before {
  top: 20px;
  left: 15px;
}

.service-capabilities--detailed strong,
.service-capabilities--detailed span {
  display: block;
}

.service-capabilities--detailed strong {
  margin-bottom: 3px;
  color: var(--slate);
  font-size: .82rem;
}

.service-capabilities--detailed span {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.55;
}

.service-area__technical-context {
  margin: 22px 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: #475569;
  font-size: .875rem;
  line-height: 1.65;
}

.service-area__technical-context strong {
  color: var(--slate2);
}

.service-area__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.service-area__copy > .service-area__cta {
  margin-top: 8px;
}

.service-visual-deck {
  position: relative;
  width: 100%;
  min-height: 430px;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 1.5px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 24% 24%, rgba(79, 70, 229, .1), transparent 28%),
    radial-gradient(circle at 78% 70%, rgba(6, 182, 212, .1), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #f8faff 55%, #f1f5f9 100%);
  box-shadow: inset 0 1px 0 #fff, 0 24px 60px -28px rgba(79, 70, 229, .22);
}

.service-visual-deck::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(79, 70, 229, .16);
  border-radius: 20px;
}

.service-visual-deck::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, .035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  pointer-events: none;
}

/* Production intelligence system */

.service-ai-showcase__heading {
  max-width: 780px;
  margin: 58px auto 26px;
  text-align: center;
}

.service-ai-showcase__heading h3 {
  margin: 0;
  color: var(--slate);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.service-ai-showcase__heading p {
  max-width: 680px;
  margin: 10px auto 0;
  color: #475569;
  font-size: .92rem;
  line-height: 1.65;
}

.service-ai-intro {
  max-width: 900px;
  margin-bottom: 38px;
}

.service-ai-intro .service-area__summary {
  max-width: 820px;
}

.service-ai-intro .service-area__outcome {
  max-width: 760px;
  margin-bottom: 0;
}

.service-ai-showcase .ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.ai-production-system {
  position: relative;
  width: min(100%, 1120px);
  height: 780px;
  margin-inline: auto;
  overflow: hidden;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  background:
    linear-gradient(rgba(99, 102, 241, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, .045) 1px, transparent 1px),
    radial-gradient(520px 360px at 50% 45%, rgba(224, 231, 255, .78), transparent 72%),
    linear-gradient(150deg, #fbfdff, #f6f8ff 58%, #f5fbfc);
  background-size: 48px 48px, 48px 48px, auto, auto;
  box-shadow: inset 0 2px 0 #fff, 0 28px 70px -32px rgba(79, 70, 229, .28);
}

.ai-system-governance-boundary {
  position: absolute;
  z-index: 0;
  inset: 76px 12px 150px;
  border: 1px dashed rgba(79, 70, 229, .22);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(238, 242, 255, .28), rgba(236, 254, 255, .18));
  pointer-events: none;
}

.ai-system-governance {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(460px, calc(100% - 32px));
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 16px;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 28px rgba(79, 70, 229, .08);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.ai-system-governance strong {
  color: var(--indigo);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ai-system-governance span {
  color: #475569;
  font-size: .64rem;
  font-weight: 650;
}

.ai-system-stage-layer {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.ai-system-stage {
  position: absolute;
  display: flex;
  width: clamp(250px, 25%, 280px);
  min-height: 142px;
  flex-direction: column;
  padding: 14px 15px 13px;
  overflow: hidden;
  border: 1.5px solid rgba(203, 213, 225, .92);
  border-radius: 17px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  opacity: .78;
  pointer-events: auto;
  transition: border-color .35s ease, box-shadow .35s ease, opacity .35s ease, transform .35s ease;
  backdrop-filter: blur(10px);
}

.ai-system-stage::before {
  position: absolute;
  top: 0;
  right: 20%;
  left: 20%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--indigo), var(--cyan), transparent);
  content: '';
  opacity: 0;
  transform: scaleX(.2);
  transition: opacity .3s ease, transform .45s ease;
}

.ai-system-stage[data-ai-stage="entry"],
.ai-system-stage[data-ai-stage="data"],
.ai-system-stage[data-ai-stage="context"] {
  left: 2.2%;
}

.ai-system-stage[data-ai-stage="model"],
.ai-system-stage[data-ai-stage="agent"],
.ai-system-stage[data-ai-stage="production"] {
  right: 2.2%;
}

.ai-system-stage[data-ai-stage="entry"],
.ai-system-stage[data-ai-stage="model"] {
  top: 92px;
}

.ai-system-stage[data-ai-stage="data"],
.ai-system-stage[data-ai-stage="agent"] {
  top: 312px;
}

.ai-system-stage[data-ai-stage="context"],
.ai-system-stage[data-ai-stage="production"] {
  top: 548px;
}

.ai-system-stage[data-ai-stage="evaluation"] {
  bottom: 18px;
  left: 50%;
  width: min(300px, 31%);
  min-height: 138px;
  transform: translateX(-50%);
}

.ai-system-stage__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  color: var(--indigo);
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ai-system-stage__step {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1px solid #c7d2fe;
  border-radius: 50%;
  background: #eef2ff;
}

.ai-system-stage h4 {
  margin: 0 0 6px;
  color: var(--slate);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.25;
}

.ai-system-stage__description {
  margin: 0 0 9px;
  color: #475569;
  font-size: .69rem;
  line-height: 1.48;
}

.ai-system-stage__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}

.ai-system-stage__chip {
  padding: 2px 6px;
  border: 1px solid #dbe3f0;
  border-radius: 6px;
  background: #f8fafc;
  color: #334155;
  font-size: .55rem;
  font-weight: 700;
  line-height: 1.3;
}

.ai-system-stage__note {
  margin-top: 7px;
  color: #0f766e;
  font-size: .57rem;
  font-weight: 700;
  line-height: 1.35;
}

.ai-system-stage.is-complete {
  border-color: rgba(6, 182, 212, .34);
  opacity: .94;
}

.ai-system-stage.is-active {
  z-index: 4;
  border-color: #22d3ee;
  box-shadow: 0 18px 44px rgba(79, 70, 229, .16), 0 0 0 3px rgba(34, 211, 238, .09);
  opacity: 1;
  transform: translateY(-5px) scale(1.015);
}

.ai-system-stage[data-ai-stage="evaluation"].is-active {
  transform: translateX(-50%) translateY(-5px) scale(1.015);
}

.ai-system-stage.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

.ai-system-connections {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ai-system-connection__base,
.ai-system-connection__signal {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.ai-system-connection__base {
  stroke: rgba(100, 116, 139, .22);
  stroke-width: 1.4;
}

.ai-system-connection__signal {
  stroke: url(#ai-system-flow-gradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: .13 .87;
  stroke-dashoffset: 1;
  opacity: 0;
}

.ai-system-connection[data-kind="feedback"] .ai-system-connection__base {
  stroke: rgba(13, 148, 136, .25);
  stroke-dasharray: 4 6;
}

.ai-system-connection.is-complete .ai-system-connection__base {
  stroke: rgba(6, 182, 212, .46);
}

.ai-system-connection.is-next .ai-system-connection__signal {
  opacity: .32;
}

.ai-system-connection.is-active .ai-system-connection__signal {
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(34, 211, 238, .72));
}

.ai-production-system.is-running .ai-system-connection.is-active .ai-system-connection__signal,
.ai-production-system.is-running .ai-system-connection.is-next .ai-system-connection__signal {
  animation: ai-system-flow 1.3s linear infinite;
}

.ai-system-connection__node {
  fill: #06b6d4;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(6, 182, 212, .8));
}

.ai-system-connection.is-active .ai-system-connection__node {
  opacity: 1;
}

.ai-core-orb {
  position: absolute;
  z-index: 4;
  top: 240px;
  left: 50%;
  width: min(320px, 32%);
  height: 290px;
  opacity: .86;
  transform: translateX(-50%);
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}

.ai-core-orb.is-active {
  filter: drop-shadow(0 18px 28px rgba(79, 70, 229, .2));
  opacity: 1;
  transform: translateX(-50%) scale(1.025);
}

.service-ai-showcase .ai-core-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1.5px solid #c7d2fe;
  border-radius: 24px;
  background: radial-gradient(360px 270px at 50% 45%, #e7edff 0%, #f8faff 68%, #fff 100%);
  box-shadow: inset 0 2px 0 #fff, 0 18px 44px -24px rgba(79, 70, 229, .32);
  cursor: grab;
}

.service-ai-showcase .ai-core-container:active {
  cursor: grabbing;
}

.service-ai-showcase #aiCoreCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

.service-ai-showcase .core-hud {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  font-size: .49rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-ai-showcase .core-hud span {
  width: max-content;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(255, 255, 255, .9);
  color: var(--indigo);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  backdrop-filter: blur(8px);
}

.service-ai-showcase .core-drag-hint {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--muted);
  font-size: .47rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}

.ai-core-label {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  gap: 2px;
  padding: 8px 11px;
  border: 1px solid rgba(199, 210, 254, .9);
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  text-align: center;
  backdrop-filter: blur(9px);
}

.ai-core-label strong {
  color: var(--slate);
  font-size: .72rem;
  font-weight: 800;
}

.ai-core-label span {
  color: #475569;
  font-size: .55rem;
  line-height: 1.35;
}

.ai-system-principle {
  min-width: 0;
  max-width: calc(100% - 24px);
  margin: 16px auto 0;
  color: #475569;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

@keyframes ai-system-flow {
  to { stroke-dashoffset: 0; }
}

.service-ai-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: 36px;
}

.service-ai-footer .service-area__technical-context {
  max-width: 850px;
  margin: 0;
}

.service-ai-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.service-area__copy .service-ai-actions {
  justify-content: flex-start;
  margin-top: 24px;
}

.service-ai-secondary {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--slate);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.service-ai-secondary:hover {
  border-color: #c7d2fe;
  color: var(--slate);
  transform: translateY(-2px);
}

.service-ai-secondary:focus-visible {
  outline: 3px solid rgba(6, 182, 212, .45);
  outline-offset: 3px;
}

.requirements-section {
  padding: 90px 0;
  background: var(--white);
}

.requirements-help {
  position: relative;
  overflow: hidden;
  padding: 68px 44px;
  border-radius: 28px;
  background: var(--grad);
  text-align: center;
}

.requirements-help::before,
.requirements-help::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}

.requirements-help::before {
  top: -120px;
  left: -100px;
}

.requirements-help::after {
  right: -100px;
  bottom: -130px;
}

.requirements-help h2,
.requirements-help p,
.requirements-help__actions {
  position: relative;
  z-index: 1;
}

.requirements-help h2 {
  margin-bottom: 13px;
  color: #fff;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 800;
}

.requirements-help p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, .82);
}

.requirements-help__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.requirements-help button {
  border: 0;
}

@media (min-width: 1200px) {
  .service-area__layout {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(52px, 5vw, 72px);
  }

  .service-area--reverse .service-area__layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  }
}

@media (min-width: 992px) and (max-width: 1099.98px) {
  .ai-production-system {
    display: grid;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 82px 18px 20px;
  }

  .ai-system-governance-boundary {
    inset: 68px 8px 8px;
  }

  .ai-system-stage-layer {
    display: contents;
  }

  .ai-system-stage,
  .ai-system-stage[data-ai-stage] {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 164px;
    transform: none;
  }

  .ai-system-stage[data-ai-stage="entry"] { grid-area: 1 / 1; }
  .ai-system-stage[data-ai-stage="data"] { grid-area: 1 / 2; }
  .ai-system-stage[data-ai-stage="context"] { grid-area: 2 / 1; }
  .ai-system-stage[data-ai-stage="model"] { grid-area: 3 / 1; }
  .ai-system-stage[data-ai-stage="agent"] { grid-area: 3 / 2; }
  .ai-system-stage[data-ai-stage="production"] { grid-area: 4 / 1; }
  .ai-system-stage[data-ai-stage="evaluation"] { grid-area: 4 / 2; }

  .ai-system-stage.is-active,
  .ai-system-stage[data-ai-stage="evaluation"].is-active {
    transform: translateY(-4px) scale(1.01);
  }

  .ai-system-connections {
    display: none;
  }

  .ai-core-orb {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 250px;
    grid-area: 2 / 2;
    transform: none;
  }

  .ai-core-orb.is-active {
    transform: scale(1.015);
  }
}

@media (max-width: 991.98px) {
  .services-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-overview__link:last-child {
    grid-column: 1 / -1;
  }

  .service-area {
    padding: 78px 0;
  }

  .service-area__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .service-area__copy,
  .service-area__visual,
  .service-area--reverse .service-area__copy,
  .service-area--reverse .service-area__visual {
    grid-column: 1;
    grid-row: auto;
  }

  .service-visual-deck {
    min-height: 360px;
    aspect-ratio: 16 / 10;
  }

  .service-ai-showcase .ai-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-production-system {
    display: grid;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 82px 18px 20px;
  }

  .ai-system-governance-boundary {
    inset: 68px 8px 8px;
  }

  .ai-system-stage-layer {
    display: contents;
  }

  .ai-system-stage,
  .ai-system-stage[data-ai-stage] {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 164px;
    transform: none;
  }

  .ai-system-stage[data-ai-stage="entry"] { grid-area: 1 / 1; }
  .ai-system-stage[data-ai-stage="data"] { grid-area: 1 / 2; }
  .ai-system-stage[data-ai-stage="context"] { grid-area: 2 / 1; }
  .ai-system-stage[data-ai-stage="model"] { grid-area: 3 / 1; }
  .ai-system-stage[data-ai-stage="agent"] { grid-area: 3 / 2; }
  .ai-system-stage[data-ai-stage="production"] { grid-area: 4 / 1; }
  .ai-system-stage[data-ai-stage="evaluation"] { grid-area: 4 / 2; }

  .ai-system-stage.is-active,
  .ai-system-stage[data-ai-stage="evaluation"].is-active {
    transform: translateY(-4px) scale(1.01);
  }

  .ai-system-connections {
    display: none;
  }

  .ai-core-orb {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 250px;
    grid-area: 2 / 2;
    transform: none;
  }

  .ai-core-orb.is-active {
    transform: scale(1.015);
  }

  .service-ai-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .service-ai-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .services-hero {
    padding-top: 118px;
    padding-bottom: 50px;
  }

  .service-area {
    padding: 64px 0;
  }

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

  .requirements-section {
    padding: 64px 0;
  }

  .requirements-help {
    padding: 52px 24px;
  }
}

@media (max-width: 575.98px) {
  .services-overview {
    grid-template-columns: 1fr;
  }

  .services-overview__link:last-child {
    grid-column: auto;
  }

  .service-entry-points {
    grid-template-columns: 1fr;
  }

  .service-visual-deck {
    min-height: 280px;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .service-ai-showcase__heading {
    margin-top: 46px;
    margin-bottom: 20px;
  }

  .service-ai-showcase__heading p {
    font-size: .86rem;
  }

  .ai-production-system {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding: 76px 12px 16px;
    border-radius: 22px;
    background-size: 36px 36px, 36px 36px, auto, auto;
  }

  .ai-system-governance {
    top: 12px;
    width: calc(100% - 24px);
    min-height: 50px;
    flex-wrap: wrap;
    gap: 3px 9px;
    padding: 7px 11px;
    border-radius: 14px;
  }

  .ai-system-governance strong {
    width: 100%;
    font-size: .62rem;
    text-align: center;
  }

  .ai-system-governance span {
    font-size: .57rem;
    text-align: center;
  }

  .ai-system-stage,
  .ai-system-stage[data-ai-stage] {
    grid-column: 1;
    min-height: 0;
    padding: 16px;
  }

  .ai-system-stage[data-ai-stage="entry"] { grid-row: 1; }
  .ai-system-stage[data-ai-stage="data"] { grid-row: 2; }
  .ai-system-stage[data-ai-stage="context"] { grid-row: 3; }
  .ai-system-stage[data-ai-stage="model"] { grid-row: 5; }
  .ai-system-stage[data-ai-stage="agent"] { grid-row: 6; }
  .ai-system-stage[data-ai-stage="production"] { grid-row: 7; }
  .ai-system-stage[data-ai-stage="evaluation"] { grid-row: 8; }

  .ai-system-stage h4 {
    font-size: .96rem;
  }

  .ai-system-stage__description {
    font-size: .8rem;
    line-height: 1.55;
  }

  .ai-system-stage__chip {
    font-size: .65rem;
  }

  .ai-system-stage__note {
    font-size: .67rem;
  }

  .ai-core-orb {
    width: 100%;
    min-height: 310px;
    grid-area: 4 / 1;
  }

  .service-ai-showcase .ai-core-container {
    border-radius: 18px;
  }

  .service-ai-showcase .core-hud {
    top: 14px;
    left: 14px;
    font-size: .55rem;
  }

  .service-ai-showcase .core-drag-hint {
    display: none;
  }

  .service-ai-actions {
    flex-direction: column;
  }

  .service-ai-actions > * {
    width: 100%;
    justify-content: center;
  }

  .requirements-help__actions {
    flex-direction: column;
  }

  .requirements-help__actions > * {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-overview__link,
  .service-area__cta,
  .requirements-help a,
  .requirements-help button {
    transform: none !important;
    transition: none !important;
  }

  .service-area__cta .vvly-ripple,
  .requirements-help .vvly-ripple {
    display: none;
    animation: none !important;
  }

  .ai-system-stage,
  .ai-core-orb,
  .service-ai-secondary {
    transform: none !important;
    transition: none !important;
  }

  .ai-system-connection__signal {
    animation: none !important;
  }
}

/* Reusable visual deck */

.service-visual-deck--ready {
  min-height: 580px;
  isolation: isolate;
  transition: box-shadow 1s cubic-bezier(.22, 1, .36, 1);
}

.service-visual-deck--ready.is-flow-complete {
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(34, 211, 238, .16),
    0 28px 66px -26px rgba(79, 70, 229, .34);
}

.service-visual-deck__flow {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.service-flow-connection__path,
.service-flow-connection__signal {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.service-flow-connection__path {
  stroke: rgba(79, 70, 229, .18);
  stroke-width: 1.5;
  transition:
    stroke .7s cubic-bezier(.22, 1, .36, 1),
    stroke-width .7s cubic-bezier(.22, 1, .36, 1);
}

.service-flow-connection__signal {
  stroke: var(--cyan);
  stroke-width: 3.2;
  stroke-dasharray: .085 .915;
  stroke-dashoffset: 1;
  filter:
    drop-shadow(0 0 2px rgba(34, 211, 238, 1))
    drop-shadow(0 0 6px rgba(79, 70, 229, .8));
  opacity: 0;
  transition: opacity .5s ease;
}

.service-flow-connection__node {
  fill: #fff;
  stroke: rgba(79, 70, 229, .3);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transition:
    fill .65s cubic-bezier(.22, 1, .36, 1),
    stroke .65s cubic-bezier(.22, 1, .36, 1),
    transform .65s cubic-bezier(.22, 1, .36, 1);
  transform-box: fill-box;
  transform-origin: center;
}

.service-flow-connection[data-kind="feedback"] .service-flow-connection__path {
  stroke: rgba(13, 148, 136, .22);
  stroke-dasharray: 4 7;
}

.service-flow-connection[data-kind="supporting"] .service-flow-connection__path {
  stroke: rgba(6, 182, 212, .2);
  stroke-dasharray: 2 8;
}

.service-flow-connection[data-kind="supporting"] .service-flow-connection__node {
  fill: #ecfeff;
  stroke: rgba(8, 145, 178, .38);
}

.service-flow-connection.is-complete .service-flow-connection__path {
  stroke: rgba(13, 148, 136, .5);
  stroke-width: 2;
}

.service-flow-connection.is-complete .service-flow-connection__node {
  fill: #ccfbf1;
  stroke: #0d9488;
  transform: scale(1.12);
}

.service-flow-connection.is-next .service-flow-connection__path {
  stroke: rgba(79, 70, 229, .34);
  stroke-width: 1.9;
  filter: drop-shadow(0 0 2px rgba(79, 70, 229, .28));
}

.service-flow-connection.is-active .service-flow-connection__path {
  stroke: rgba(34, 211, 238, .9);
  stroke-width: 2.8;
  filter:
    drop-shadow(0 0 3px rgba(34, 211, 238, .95))
    drop-shadow(0 0 7px rgba(79, 70, 229, .55));
}

.service-flow-connection.is-active .service-flow-connection__node {
  fill: #0d9488;
  stroke: #99f6e4;
  filter: drop-shadow(0 0 5px rgba(34, 211, 238, .95));
  transform: scale(1.55);
}

.service-visual-deck__cards {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.service-deck-card {
  position: absolute;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 10px;
  min-height: 126px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .92);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 30px -18px rgba(15, 23, 42, .3);
  opacity: .86;
  transform: translate3d(0, 0, 0) scale(.988);
  transition:
    transform .82s cubic-bezier(.22, 1, .36, 1),
    opacity .65s ease,
    filter .7s ease,
    border-color .7s cubic-bezier(.22, 1, .36, 1),
    box-shadow .82s cubic-bezier(.22, 1, .36, 1);
}

.service-deck-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 0;
  height: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--indigo), var(--cyan), #0d9488);
  opacity: 0;
  transition:
    width 1s cubic-bezier(.22, 1, .36, 1),
    opacity .35s ease;
}

.service-deck-card.is-awaiting {
  opacity: .76;
  filter: saturate(.72);
}

.service-deck-card.is-supporting {
  border-color: rgba(6, 182, 212, .34);
  border-style: dashed;
  background: rgba(248, 254, 255, .97);
  opacity: .92;
  filter: none;
}

.service-deck-card.is-supporting.is-active {
  border-style: solid;
}

.service-deck-card.is-complete {
  border-color: rgba(13, 148, 136, .38);
  box-shadow:
    inset 0 0 0 1px rgba(34, 211, 238, .08),
    0 14px 34px -20px rgba(13, 148, 136, .36);
  opacity: .96;
  filter: none;
  transform: translate3d(0, -1px, 0) scale(.996);
}

.service-deck-card.is-complete::before,
.service-deck-card.is-active::before {
  width: 100%;
  opacity: 1;
}

.service-deck-card.is-active {
  z-index: 20;
  border-color: rgba(79, 70, 229, .78);
  box-shadow:
    inset 0 0 0 1px rgba(34, 211, 238, .32),
    0 0 22px -6px rgba(34, 211, 238, .72),
    0 24px 50px -17px rgba(79, 70, 229, .62);
  opacity: 1;
  transform: translate3d(0, -4px, 0) scale(1.018);
}

.service-deck-card.is-active::before {
  box-shadow: 0 0 9px rgba(34, 211, 238, .85);
}

.service-deck-card.is-previous {
  opacity: .98;
  transform: translate3d(0, -2px, 0) scale(1);
}

.service-deck-card.is-active .service-deck-card__icon {
  color: #4338ca;
  transform: scale(1.04);
}

.service-deck-card.is-active .service-deck-card__visual {
  color: var(--slate);
  filter: saturate(1.12) contrast(1.04);
}

.service-deck-card.is-complete .service-deck-card__icon {
  color: #0f766e;
}

.service-deck-card.is-complete .service-deck-card__visual {
  color: var(--slate);
  filter: saturate(1.08) contrast(1.02);
}

.service-visual-deck--ready.is-flow-complete .service-deck-card {
  border-color: rgba(13, 148, 136, .42);
  opacity: 1;
  filter: none;
}

.service-visual-deck--ready.is-flow-complete .service-deck-card.is-active {
  border-color: rgba(79, 70, 229, .7);
  box-shadow:
    inset 0 0 0 1px rgba(34, 211, 238, .22),
    0 22px 48px -18px rgba(79, 70, 229, .5);
}

.service-deck-card[data-placement="top"] {
  top: 5%;
  left: 25%;
  z-index: 8;
  width: 50%;
}

.service-deck-card[data-placement="upper-left"] {
  top: 25%;
  left: 5%;
  z-index: 7;
  width: 44%;
}

.service-deck-card[data-placement="upper-right"] {
  top: 27%;
  right: 5%;
  z-index: 6;
  width: 44%;
}

.service-deck-card[data-placement="lower-left"] {
  top: 53%;
  left: 8%;
  z-index: 5;
  width: 43%;
}

.service-deck-card[data-placement="lower-center"] {
  bottom: 5%;
  left: 29%;
  z-index: 7;
  width: 43%;
}

.service-deck-card[data-placement="lower-right"] {
  top: 56%;
  right: 6%;
  z-index: 4;
  width: 42%;
}

.service-deck-card__copy {
  min-width: 0;
}

.service-deck-card__heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

.service-deck-card__icon-wrap {
  position: relative;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
}

.service-deck-card__icon {
  display: block;
  width: 23px;
  height: 23px;
  padding: 4px;
  border-radius: 7px;
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  color: var(--indigo);
  transition:
    color .6s ease,
    transform .7s cubic-bezier(.22, 1, .36, 1);
}

.service-deck-card__step {
  position: absolute;
  top: -7px;
  right: -8px;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: .31rem;
  font-weight: 900;
  line-height: 1;
  transition:
    color .45s ease,
    background .45s ease,
    box-shadow .45s ease,
    transform .55s cubic-bezier(.22, 1, .36, 1);
}

.service-deck-card.is-active .service-deck-card__step {
  background: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .14);
  color: #fff;
  transform: scale(1.12);
}

.service-deck-card.is-complete .service-deck-card__step {
  background: #0d9488;
  color: #fff;
}

.service-deck-card__title {
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.service-deck-card__description {
  margin: 0;
  color: var(--muted);
  font-size: .61rem;
  line-height: 1.5;
}

.service-deck-card__visual {
  align-self: center;
  width: 88px;
  min-height: 78px;
  color: var(--slate2);
  filter: saturate(1) contrast(1);
  transition: filter .7s ease, color .7s ease;
}

/* Product / MVP */

.deck-product-state {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.deck-product-state__sources {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deck-product-state__source {
  padding: 4px 6px;
  border: 1px solid #dbe4f0;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--slate2);
  font-size: .47rem;
  font-weight: 700;
  line-height: 1.25;
}

.deck-product-state__status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #0f766e;
  font-size: .45rem;
  font-weight: 800;
  line-height: 1.25;
}

.deck-status-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border: 2px solid #99f6e4;
  border-radius: 50%;
  background: #0d9488;
}

/* Shared assessment and security state */

.deck-assessment {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.deck-assessment .deck-status-list {
  min-height: 0;
  gap: 3px;
}

.deck-assessment__decisions {
  display: flex;
  gap: 2px;
}

.deck-assessment__decision {
  flex: 1 1 0;
  padding: 3px 1px;
  border: 1px solid #c7d2fe;
  border-radius: 4px;
  background: #f8fafc;
  color: var(--indigo);
  font-size: .31rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.deck-status-list {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deck-status-list__item {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  color: var(--slate2);
  font-size: .48rem;
  font-weight: 700;
  line-height: 1.25;
}

.deck-status-list__indicator {
  position: relative;
  width: 8px;
  height: 8px;
  border: 1.5px solid #a5b4fc;
  border-radius: 50%;
  background: #eef2ff;
}

.deck-status-list__item[data-status="confirmed"] .deck-status-list__indicator,
.deck-status-list__item[data-status="active"] .deck-status-list__indicator {
  border-color: #67e8f9;
  background: #0891b2;
}

.deck-status-list__item[data-status="confirmed"] .deck-status-list__indicator::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 2px;
  width: 2px;
  height: 4px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}

.deck-status-list__item[data-status="attention"] .deck-status-list__indicator {
  border-color: #fbbf24;
  background: #fef3c7;
}

/* Connected architecture */

.deck-architecture {
  position: relative;
  min-height: 78px;
}

.deck-architecture__connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
}

.deck-architecture__connection,
.deck-architecture__flow {
  fill: none;
  stroke-linecap: round;
}

.deck-architecture__connection {
  stroke: #cbd5e1;
  stroke-width: 1.5;
}

.deck-architecture__flow {
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

.deck-architecture__node {
  position: absolute;
  z-index: 1;
  padding: 3px 5px;
  border: 1px solid #c7d2fe;
  border-radius: 5px;
  background: #fff;
  color: var(--slate2);
  font-size: .42rem;
  font-weight: 800;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.deck-architecture__node[data-position="top"] { top: 5%; left: 50%; }
.deck-architecture__node[data-position="center"] { top: 43%; left: 50%; color: var(--indigo); }
.deck-architecture__node[data-position="lower-left"] { top: 69%; left: 24%; }
.deck-architecture__node[data-position="lower-right"] { top: 69%; left: 76%; }
.deck-architecture__node[data-position="bottom"] { top: 95%; left: 50%; }

/* Deployment */

.deck-deployment {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
}

.deck-deployment__step {
  display: flex;
  min-width: 20px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.deck-deployment__indicator {
  width: 9px;
  height: 9px;
  border: 2px solid #a5b4fc;
  border-radius: 50%;
  background: #fff;
}

.deck-deployment__step[data-status="complete"] .deck-deployment__indicator {
  border-color: #818cf8;
  background: #4f46e5;
}

.deck-deployment__step[data-status="active"] .deck-deployment__indicator {
  border-color: #67e8f9;
  background: #0891b2;
}

.deck-deployment__label {
  color: var(--slate2);
  font-size: .42rem;
  font-weight: 800;
}

.deck-deployment__connector {
  width: 8px;
  height: 1px;
  margin-bottom: 13px;
  background: #cbd5e1;
  transform-origin: left;
}

/* Product evolution */

.deck-evolution {
  position: relative;
  display: grid;
  min-height: 78px;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: center;
}

.deck-evolution::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 28px;
  width: 11px;
  height: 58%;
  border-top: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  transform: translateY(-50%);
}

.deck-evolution__root,
.deck-evolution__branch {
  position: relative;
  z-index: 1;
  padding: 4px;
  border: 1px solid #c7d2fe;
  border-radius: 5px;
  background: #fff;
  color: var(--slate2);
  font-size: .42rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.deck-evolution__root {
  background: #eef2ff;
  color: var(--indigo);
}

.deck-evolution__branches {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Configured end state: the completed modules resolve into one product. */

.service-deck-outcome {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 40;
  width: min(250px, calc(100% - 36px));
  overflow: hidden;
  border: 1px solid rgba(79, 70, 229, .42);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow:
    inset 0 1px 0 #fff,
    0 24px 58px -16px rgba(49, 46, 129, .55),
    0 0 0 6px rgba(34, 211, 238, .08);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -42%, 0) scale(.84);
  visibility: hidden;
}

.service-deck-outcome__chrome {
  display: flex;
  height: 18px;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(90deg, #f8fafc, #eef2ff);
}

.service-deck-outcome__chrome-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a5b4fc;
}

.service-deck-outcome__body {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 14px;
}

.service-deck-outcome__icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef2ff, #cffafe);
  color: var(--indigo);
}

.service-deck-outcome__icon::after {
  content: '\2713';
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #0d9488;
  color: #fff;
  font-size: .55rem;
  font-weight: 900;
}

.service-deck-outcome__icon-svg {
  width: 24px;
  height: 24px;
}

.service-deck-outcome__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.service-deck-outcome__eyebrow {
  color: #0f766e;
  font-size: .43rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.service-deck-outcome__title {
  color: var(--ink);
  font-size: .82rem;
  line-height: 1.2;
}

.service-deck-outcome__summary {
  color: var(--muted);
  font-size: .49rem;
  font-weight: 650;
  line-height: 1.35;
}

/* A completed route remains assembled while the active stage builds the next one. */

.service-visual-deck--ready .service-deck-card.is-previous {
  z-index: 19;
}

.service-visual-deck--ready .service-deck-card.is-active {
  z-index: 20;
}

.is-deck-running .service-flow-connection.is-active .service-flow-connection__signal {
  animation: service-deck-connector-flow .82s cubic-bezier(.4, 0, .2, 1) both;
}

.is-deck-running .service-flow-connection.is-active .service-flow-connection__path {
  animation: service-deck-route-build .78s cubic-bezier(.22, 1, .36, 1) both;
}

.is-deck-running .service-deck-card.is-active {
  animation: service-deck-card-arrive .62s .72s cubic-bezier(.22, 1, .36, 1) both;
}

.is-deck-running .service-deck-card.is-active .deck-product-state__source,
.is-deck-running .service-deck-card.is-active .deck-assessment__decision,
.is-deck-running .service-deck-card.is-active .deck-deployment__step {
  animation: service-deck-confirm .72s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: 1.15s;
}

.is-deck-running .service-deck-card.is-active .deck-product-state__source:nth-child(2),
.is-deck-running .service-deck-card.is-active .deck-assessment__decision:nth-child(2),
.is-deck-running .service-deck-card.is-active .deck-deployment__step:nth-child(3) {
  animation-delay: 1.38s;
}

.is-deck-running .service-deck-card.is-active .deck-assessment__decision:nth-child(3),
.is-deck-running .service-deck-card.is-active .deck-deployment__step:nth-child(5) {
  animation-delay: 1.62s;
}

.is-deck-running .service-deck-card.is-active .deck-status-dot,
.is-deck-running .service-deck-card.is-active .deck-status-list__item[data-status="active"] .deck-status-list__indicator,
.is-deck-running .service-deck-card.is-active .deck-deployment__step[data-status="active"] .deck-deployment__indicator {
  animation: service-deck-pulse 2.2s ease-in-out infinite;
}

.is-deck-running .service-deck-card.is-active .deck-architecture__flow {
  animation: service-deck-draw .72s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: 1.15s;
}

.is-deck-running .service-deck-card.is-active .deck-architecture__flow[data-segment="2"] {
  animation-delay: 1.35s;
}

.is-deck-running .service-deck-card.is-active .deck-architecture__flow[data-segment="3"] {
  animation-delay: 1.55s;
}

.is-deck-running .service-deck-card.is-active .deck-architecture__flow[data-segment="4"] {
  animation-delay: 1.75s;
}

.is-deck-running .service-deck-card.is-active .deck-architecture__node {
  animation: service-deck-node .62s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: 1.1s;
}

.is-deck-running .service-deck-card.is-active .deck-architecture__node[data-position="center"] {
  animation-delay: 1.3s;
}

.is-deck-running .service-deck-card.is-active .deck-architecture__node[data-position^="lower"] {
  animation-delay: 1.5s;
}

.is-deck-running .service-deck-card.is-active .deck-architecture__node[data-position="bottom"] {
  animation-delay: 1.7s;
}

.is-deck-running .service-deck-card.is-active .deck-status-list__item {
  animation: service-deck-confirm .72s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: 1.15s;
}

.is-deck-running .service-deck-card.is-active .deck-status-list__item:nth-child(2),
.is-deck-running .service-deck-card.is-active .deck-evolution__branch:nth-child(2) {
  animation-delay: 1.35s;
}

.is-deck-running .service-deck-card.is-active .deck-status-list__item:nth-child(3),
.is-deck-running .service-deck-card.is-active .deck-evolution__branch:nth-child(3) {
  animation-delay: 1.55s;
}

.is-deck-running .service-deck-card.is-active .deck-status-list__item:nth-child(4) {
  animation-delay: 1.75s;
}

.is-deck-running .service-deck-card.is-active .deck-deployment__connector {
  animation: service-deck-connect .72s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: 1.28s;
}

.is-deck-running .service-deck-card.is-active .deck-deployment__connector:nth-child(4) {
  animation-delay: 1.52s;
}

.is-deck-running .service-deck-card.is-active .deck-evolution__branch {
  animation: service-deck-confirm .72s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: 1.15s;
}

.is-flow-complete.is-deck-running .service-deck-card__icon {
  animation: service-deck-assembled .72s calc(1.15s + var(--flow-order) * .08s) ease-out both;
}

.is-flow-complete.is-deck-running .service-visual-deck__cards {
  animation: service-deck-support-outcome .62s 1.42s ease-out both;
}

.is-flow-complete.is-deck-running .service-deck-outcome {
  animation: service-deck-outcome-arrive .68s 1.48s cubic-bezier(.22, 1, .36, 1) both;
  visibility: visible;
}

@keyframes service-deck-pulse {
  50% { transform: scale(1.12); opacity: .78; }
}

@keyframes service-deck-connector-flow {
  from { stroke-dashoffset: 1; opacity: 0; }
  18%, 82% { opacity: 1; }
  to { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes service-deck-route-build {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

@keyframes service-deck-card-arrive {
  from {
    border-color: rgba(34, 211, 238, .18);
    box-shadow: 0 8px 20px -18px rgba(79, 70, 229, .12);
    opacity: .32;
    transform: translate3d(0, 10px, 0) scale(.955);
  }
  72% {
    box-shadow:
      inset 0 0 0 1px rgba(34, 211, 238, .42),
      0 0 28px -3px rgba(34, 211, 238, .78),
      0 28px 56px -18px rgba(79, 70, 229, .7);
    opacity: 1;
    transform: translate3d(0, -6px, 0) scale(1.032);
  }
}

@keyframes service-deck-assembled {
  45% { box-shadow: 0 0 0 6px rgba(34, 211, 238, .14); }
}

@keyframes service-deck-support-outcome {
  to { opacity: .58; filter: saturate(.72); transform: scale(.985); }
}

@keyframes service-deck-outcome-arrive {
  from { opacity: 0; transform: translate3d(-50%, -42%, 0) scale(.84); }
  65% { opacity: 1; transform: translate3d(-50%, -51%, 0) scale(1.025); }
  to { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
}

@keyframes service-deck-draw {
  from { stroke-dashoffset: 1; opacity: .25; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes service-deck-node {
  from { opacity: .55; transform: translate(-50%, -50%) scale(.92); }
}

@keyframes service-deck-confirm {
  from { transform: translate3d(-2px, 1px, 0) scale(.98); opacity: .55; }
}

@keyframes service-deck-connect {
  from { transform: scaleX(0); opacity: .3; }
}

@media (max-width: 1199.98px) {
  .service-deck-card {
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 8px;
    padding: 12px;
  }

  .service-deck-card__visual {
    width: 78px;
  }

  .service-deck-card__description {
    font-size: .56rem;
  }
}

@media (max-width: 991.98px) {
  .service-visual-deck--ready {
    min-height: 560px;
  }

  .service-deck-card {
    grid-template-columns: minmax(0, 1fr) 92px;
    min-height: 124px;
    padding: 14px;
  }

  .service-deck-card__visual {
    width: 92px;
  }

  .service-deck-card__description {
    font-size: .62rem;
  }
}

@media (max-width: 575.98px) {
  .service-visual-deck--ready {
    min-height: 780px;
    aspect-ratio: auto;
  }

  .service-visual-deck--ready::before {
    inset: 14px;
  }

  .service-visual-deck__cards {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 20px 0;
  }

  .service-deck-card,
  .service-deck-card[data-placement] {
    right: auto;
    left: 18px;
    width: calc(100% - 44px);
    min-height: 112px;
    grid-template-columns: minmax(0, 1fr) 82px;
    padding: 12px;
    border-radius: 15px;
  }

  .service-deck-card:nth-child(even),
  .service-deck-card[data-placement="lower-center"] {
    right: auto;
    left: 26px;
  }

  .service-deck-card[data-placement] {
    position: relative;
    top: auto;
    bottom: auto;
    order: var(--flow-order, 0);
  }

  .service-deck-card__visual {
    width: 82px;
    min-height: 72px;
  }

  .service-deck-card__description {
    font-size: .75rem;
  }

  .service-deck-card.is-active {
    transform: translate3d(0, -2px, 0) scale(1.008);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-flow-connection__path,
  .service-flow-connection__signal,
  .service-flow-connection__node,
  .service-deck-outcome,
  .service-visual-deck__cards,
  .service-deck-card,
  .service-deck-card.is-active,
  .service-deck-card *,
  .service-deck-card.is-active * {
    animation: none !important;
    transition: none !important;
  }

  .service-flow-connection__signal {
    opacity: 0 !important;
  }

  .service-deck-card.is-active {
    transform: none;
  }

  .service-deck-card.is-previous {
    transform: none;
  }
}
