.agency-intro {
  background: #0a0c10;
  color: #f6f7fa;
  padding-block: clamp(78px, 10vw, 170px);
}
.agency-intro .scroll-words {
  max-width: 1060px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(2.65rem, 5.35vw, 6.1rem);
  font-weight: 570;
  line-height: 1.075;
  letter-spacing: -.062em;
}
.agency-intro { overflow: hidden; position: relative; isolation: isolate; }
.agency-intro > .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0; }
.agency-intro .orbit-contact {
  order: -1;
  flex: 0 0 auto;
  width: clamp(94px, 8.6vw, 132px);
  height: auto;
  aspect-ratio: 1;
  display: grid;
  margin: 0 auto clamp(26px, 3.5vw, 52px);
  border-radius: 50%;
  color: #f4f7ff;
  border: 1px solid #4c5362;
  background: #10151c;
  place-items: center;
  position: relative;
}
.orbit-contact svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: cybeon-orbit 15s linear infinite;
}
.orbit-contact svg text {
  font: 650 9.9px "DM Sans", sans-serif;
  fill: currentColor;
  letter-spacing: .02em;
}
.orbit-contact span {
  color: #bbcfff;
  font-weight: 650;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
}
.orbit-contact:is(:hover,:focus-visible) svg { animation-play-state: paused; }
.agency-wave {
  display: block;
  width: max(100%, 760px);
  min-height: 90px;
  height: clamp(95px, 10vw, 155px);
  margin: 0 auto clamp(30px, 3.3vw, 58px);
  pointer-events: none;
  fill: #7296cb;
  font: 550 23px "DM Sans", sans-serif;
  letter-spacing: .055em;
}
@keyframes cybeon-orbit { to { transform: rotate(1turn); } }

#services .service-preview { display: none; }
#services .service-grid {
  display: block;
  border-left: 0;
}
#services .service-card {
  --preview-shift: 0px;
  --preview-angle: -4deg;
  display: grid;
  position: relative;
  grid-template-columns: 58px minmax(140px, 1.05fr) minmax(200px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3.3vw, 62px);
  min-height: 116px;
  padding: clamp(19px, 1.9vw, 32px) 8px;
  border-right: 0;
  isolation: isolate;
}
#services .service-card .service-icon {
  position: static;
  margin: 0;
  transition: transform .5s ease, background .5s ease, color .5s ease;
}
#services .service-card h3 {
  font-size: clamp(1.6rem, 3vw, 3.15rem);
  transition: color .5s ease-in-out;
}
#services .service-card p {
  max-width: 370px;
  margin: 0;
}
#services .service-card .card-link { margin: 0; white-space: nowrap; }
#services .service-card:focus-visible h3 { color: #164b9a; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  #services .service-card {
    grid-template-columns: 48px minmax(0, 1.05fr) clamp(92px, 10vw, 166px) minmax(0, 1.15fr) auto;
    gap: clamp(14px, 1.9vw, 37px);
  }
  #services .service-card .service-icon { grid-column: 1; grid-row: 1; }
  #services .service-card h3 { grid-column: 2; grid-row: 1; }
  #services .service-card p { grid-column: 4; grid-row: 1; }
  #services .service-card .card-link { grid-column: 5; grid-row: 1; }
  #services .service-card:hover h3 { color: #164b9a; }
  #services .service-card:is(:hover, :focus-visible) .service-icon {
    transform: translateY(-10px);
    background: #c5ddff;
    color: #123d81;
  }
  #services .service-preview {
    display: block;
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    justify-self: center;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    opacity: 0;
    transform: translate(0, 5px) scale(.88) rotate(0deg);
    pointer-events: none;
    transition: opacity .18s, transform .32s cubic-bezier(.2,.75,.2,1);
    z-index: 1;
    border-radius: 4px;
    box-shadow: 0 9px 22px #0b213a22;
  }
  #services .service-card:is(:hover,:focus-visible) .service-preview {
    opacity: 1;
    transform: translateX(var(--preview-shift)) scale(.96) rotate(var(--preview-angle));
  }
  #services .service-card:has(.service-preview):is(:hover,:focus-visible) { z-index: 2; }
}
@media (max-width: 860px) {
  #services .service-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 8px 18px;
    padding: 24px 2px;
    min-height: 104px;
  }
  #services .service-icon { grid-column: 1; grid-row: 1 / 3; }
  #services .service-card h3 { grid-column: 2; grid-row: 1; }
  #services .service-card p { grid-column: 2; grid-row: 2; }
  #services .service-card .card-link { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 560px) {
  #services .service-card { grid-template-columns: 40px minmax(0,1fr); gap: 7px 14px; }
  #services .service-card .card-link { grid-column: 2; grid-row: 3; }
}

.clients .client-in.has-reel {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: clamp(12px, 2.5vw, 35px);
}
.client-reel {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.client-reel-track {
  width: max-content;
  display: flex;
  animation: cybeon-lane 35s linear infinite;
}
.client-reel-group { display: flex; align-items: center; }
.clients .client-reel-group img {
  flex: 0 0 auto;
  width: clamp(100px, 10vw, 146px);
  height: clamp(51px, 6vw, 82px);
  margin-inline: clamp(14px, 2.5vw, 38px);
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
  transition: opacity .2s ease, filter .2s ease;
}
.client-reel-group :is(a:focus-visible img,img:hover) {
  opacity: 1;
  filter: none;
}
.has-reel.is-paused .client-reel-track,
.client-reel:is(:hover,:focus-within) .client-reel-track,
.service-marquee.is-paused .marquee-track { animation-play-state: paused; }
.reel-toggle,
.marquee-toggle {
  position: relative;
  z-index: 1;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font: 550 .875rem/1.3 "DM Sans", sans-serif;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.reel-toggle { color: #424955; justify-self: end; }
@media (max-width: 620px) {
  .clients .client-in.has-reel { grid-template-columns: minmax(0,1fr) auto; row-gap: 15px; }
  .clients .has-reel > p { grid-column: 1; grid-row: 1; width: auto; }
  .has-reel .reel-toggle { grid-column: 2; grid-row: 1; }
  .has-reel .client-reel { grid-column: 1/-1; grid-row: 2; }
}

.service-marquee {
  position: relative;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(42px,7vw,110px) 0 30px;
  background: #0c0e13;
  color: #eaf0fb;
}
.marquee-line {
  width: 116%;
  margin-left: -8%;
  display: flex;
  overflow: hidden;
  background: #d4e3ff;
  color: #102234;
  transform: rotate(-2deg);
}
.marquee-line.is-reverse {
  margin-top: -2px;
  background: #1758ae;
  color: white;
  transform: rotate(5deg);
  z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  animation: cybeon-lane 30s linear infinite;
  align-items: center;
}
.marquee-group { display: flex; align-items: baseline; flex-shrink: 0; }
.marquee-group span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-block: .14em .2em;
  white-space: nowrap;
  font: 620 clamp(2.3rem, 5.2vw, 6.4rem)/1.04 "DM Sans", sans-serif;
  letter-spacing: -.065em;
}
.marquee-group span::after {
  content: "";
  width: .18em;
  height: .18em;
  margin-inline: .42em;
  border-radius: 50%;
  background: currentColor;
  opacity: .65;
}
.marquee-line.is-reverse .marquee-track { animation-direction: reverse; }
.service-marquee .marquee-toggle { display: block; margin: clamp(40px, 4vw, 64px) auto 0; }
@media (hover: hover) {
  .marquee-line:hover .marquee-track { animation-play-state: paused; }
}
@keyframes cybeon-lane { to { transform: translateX(-50%); } }
@media (max-width: 620px) {
  .marquee-line, .marquee-line.is-reverse { transform: none; margin-top: 0; }
  .service-marquee { padding-top: 30px; }
  .service-marquee .marquee-toggle { margin-top: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-contact svg { animation: none; }
  #services .service-card .service-icon,
  #services .service-card .service-preview { transition: none; }
  #services .service-card:is(:focus-visible,:hover) .service-icon { transform: none; }
  #services .service-card .service-preview { display: none; }
  .client-reel-group img { transition: none; }
}

.client-reel { container-type: inline-size; }
.client-reel-group { min-width: 100cqw; justify-content: space-around; }
.has-reel.show-all .client-reel { mask-image: none; }
.has-reel.show-all .client-reel-track { width: 100%; transform: none; animation: none; }
.has-reel.show-all .client-reel-group { flex-wrap: wrap; width: 100%; gap: 10px; }
.has-reel.show-all .client-reel-group img { margin-inline: 4px; opacity: 1; filter: none; }
.has-reel.show-all .client-reel-group[aria-hidden] { display: none; }
.service-marquee.show-all .marquee-line { width: 100%; margin: 0; transform: none; }
.service-marquee.show-all .marquee-track { animation: none; width: 100%; justify-content: center; }
.service-marquee.show-all .marquee-group { flex-wrap: wrap; justify-content: center; }
.service-marquee.show-all .marquee-group[aria-hidden] { display: none; }
.service-marquee.show-all .marquee-group span { font-size: clamp(1.35rem, 3vw, 2.8rem); }
