@charset "UTF-8";

.service-page {
  --service-accent: var(--blue);
  --service-hot: var(--coral);
  --service-soft: var(--blue-soft);
}

.service-page main section[id] { scroll-margin-top: calc(var(--header-height) + 12px); }

.service-overview :focus-visible,
.service-process :focus-visible,
.service-estimate :focus-visible,
.service-related :focus-visible,
.seo-faq :focus-visible { outline-color: var(--blue-deep); }

.service-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(170, 182, 255, 0.055) 1px, transparent 1px) 0 0 / 10vw 100%,
    linear-gradient(rgba(244, 241, 232, 0.042) 1px, transparent 1px) 0 0 / 100% 90px,
    radial-gradient(circle at 78% 43%, color-mix(in srgb, var(--service-accent) 24%, transparent), transparent 31%),
    var(--ink);
}

.service-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0 67%, rgba(170, 182, 255, 0.05) 67% 67.1%, transparent 67.1%);
  content: "";
}

.service-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  gap: 0 clamp(20px, 2.2vw, 38px);
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 28px;
}

.service-hero__meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 13px 0 15px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-tertiary-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-hero__copy {
  grid-column: 1 / 8;
  align-self: center;
  min-width: 0;
  padding-block: 55px 38px;
}

.service-hero .eyebrow { color: var(--acid); }

.service-hero__title {
  margin: 28px 0 0;
  font-size: clamp(58px, 7.35vw, 135px);
  font-weight: 850;
  letter-spacing: -0.077em;
  line-height: 0.81;
  text-transform: uppercase;
}

.service-title-line { display: block; overflow: hidden; padding-right: 0.05em; }
.service-title-line > span { display: block; transform: translateY(105%); animation: service-title-in 900ms var(--ease-out) forwards; }
.service-title-line:nth-child(2) > span { animation-delay: 90ms; }
.service-title-line:nth-child(3) > span { animation-delay: 180ms; }
.service-title-line:nth-child(4) > span { animation-delay: 270ms; }
.service-title-line--accent > span { color: var(--service-accent); }
.service-title-line--last > span > span { color: var(--service-hot); }

@keyframes service-title-in { to { transform: none; } }

.service-hero__intro {
  display: grid;
  grid-template-columns: minmax(280px, 650px);
  gap: 26px;
  margin-top: 38px;
}

.service-hero__intro > p {
  margin: 0;
  color: var(--text-secondary-dark);
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.55;
}

.service-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.service-hero__actions .button { min-width: 245px; background: var(--service-hot); color: var(--ink); }
.service-hero__actions .button:hover { background: var(--paper); color: var(--ink); }
.service-page--mobile .service-hero__actions .button { color: var(--paper); }

.service-visual {
  grid-column: 8 / -1;
  align-self: center;
  justify-self: end;
  width: min(38vw, 600px);
  min-width: 390px;
  padding: 15px;
  border: 1px solid var(--line-dark);
  background: rgba(5, 7, 6, 0.52);
}

.service-visual__meta,
.service-visual__legend {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-tertiary-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin-block: 10px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(90deg, rgba(170, 182, 255, 0.08) 1px, transparent 1px) 0 0 / 16.66% 100%,
    linear-gradient(rgba(170, 182, 255, 0.08) 1px, transparent 1px) 0 0 / 100% 16.66%;
}

.service-orbit::before,
.service-orbit::after {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--service-soft) 30%, transparent);
  border-radius: 50%;
  content: "";
}

.service-orbit::after { width: 45%; border-color: color-mix(in srgb, var(--service-accent) 55%, transparent); }

.service-orbit__axis {
  position: absolute;
  width: 63%;
  height: 1px;
  transform: rotate(var(--axis-angle, 0deg));
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--service-soft) 42%, transparent), transparent);
}

.service-orbit__axis--two { --axis-angle: 120deg; }
.service-orbit__axis--three { --axis-angle: 240deg; }

.service-orbit__core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 31%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--acid) 42%, transparent);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 60px color-mix(in srgb, var(--service-accent) 20%, transparent);
  text-align: center;
}

.service-orbit__core strong { font-size: clamp(25px, 3vw, 50px); line-height: 1; }
.service-orbit__core span { color: var(--text-tertiary-dark); font-family: "SFMono-Regular", Consolas, monospace; font-size: 7px; letter-spacing: 0.14em; }

.service-orbit__node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 15%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--service-soft) 48%, transparent);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(7px, 0.7vw, 10px);
  letter-spacing: 0.08em;
  animation: service-node-pulse 2.8s ease-in-out infinite alternate;
}

.service-orbit__node--one { top: 14%; left: 20%; }
.service-orbit__node--two { top: 20%; right: 12%; animation-delay: 500ms; }
.service-orbit__node--three { right: 22%; bottom: 10%; animation-delay: 900ms; }
.service-orbit__node--active { border-color: var(--service-hot); background: var(--service-hot); color: var(--ink); }

@keyframes service-node-pulse { to { box-shadow: 0 0 28px color-mix(in srgb, var(--service-accent) 26%, transparent); } }

.service-visual__legend span { display: inline-flex; align-items: center; gap: 7px; }
.service-visual__legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--service-accent); box-shadow: 0 0 9px currentColor; }
.service-visual__legend span:nth-child(2) i { background: var(--service-hot); }
.service-visual__legend span:nth-child(3) i { background: var(--acid); }

.service-hero__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}

.service-hero__facts > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
  padding: 15px 20px;
  border-right: 1px solid var(--line-dark);
}

.service-hero__facts > div:first-child { padding-left: 0; }
.service-hero__facts > div:last-child { border-right: 0; }
.service-hero__facts span { color: var(--text-tertiary-dark); font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; }
.service-hero__facts strong { margin-top: auto; font-size: 14px; }

.service-page--mobile { --service-accent: var(--coral); --service-hot: var(--blue); --service-soft: #ffb19f; }
.service-page--automation { --service-accent: var(--acid); --service-hot: var(--coral); --service-soft: #dfffa0; }
.service-page--automation .service-title-line--accent > span { color: var(--acid); }
.service-page--automation .service-title-line:first-child > span { font-size: 0.86em; letter-spacing: -0.055em; }

.service-overview {
  background: var(--paper);
  color: var(--ink);
}

.service-overview__head,
.service-blueprint__head,
.service-process__head,
.service-estimate__grid,
.service-related__grid {
  display: grid;
  grid-template-columns: 0.58fr 1.42fr 0.8fr;
  gap: clamp(35px, 5vw, 90px);
  align-items: end;
}

.service-overview__head .eyebrow { align-self: start; color: var(--blue-deep); }
.service-overview__title,
.service-blueprint__title,
.service-process__title,
.service-estimate__title,
.service-related__title {
  margin: 0;
  font-size: clamp(52px, 6.3vw, 112px);
  font-weight: 850;
  letter-spacing: -0.073em;
  line-height: 0.84;
  text-transform: uppercase;
}

.service-overview__title em,
.service-process__title em { color: var(--blue); font-style: normal; }
.service-overview__lead { margin: 0; color: var(--text-secondary-light); font-size: 16px; line-height: 1.65; }

.service-types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(75px, 9vw, 145px);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.service-type {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
  border-right: 1px solid var(--line-light);
}

.service-type:last-child { border-right: 0; }
.service-type > span { color: var(--blue-deep); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; letter-spacing: 0.1em; }
.service-type h3 { margin: auto 0 18px; font-size: clamp(22px, 2vw, 33px); letter-spacing: -0.045em; line-height: 1; }
.service-type p { margin: 0; color: var(--text-secondary-light); font-size: 12px; line-height: 1.55; }

.service-blueprint {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.service-blueprint::after {
  position: absolute;
  right: -18vw;
  bottom: -30vw;
  width: 62vw;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--service-accent) 32%, transparent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10vw color-mix(in srgb, var(--service-accent) 4%, transparent);
  content: "";
}

.service-blueprint .grid-shell { position: relative; z-index: 1; }
.service-blueprint__head .eyebrow { align-self: start; color: var(--acid); }
.service-blueprint__title em { color: var(--service-accent); font-style: normal; }
.service-blueprint__lead { margin: 0; color: var(--text-secondary-dark); font-size: 16px; line-height: 1.65; }

.service-blueprint__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(80px, 9vw, 145px);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.service-blueprint__grid article {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
}

.service-blueprint__grid article:last-child { border-right: 0; }
.service-blueprint__grid span { color: var(--service-soft); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; letter-spacing: 0.11em; }
.service-blueprint__grid h3 { margin: auto 0 22px; font-size: clamp(30px, 3vw, 52px); letter-spacing: -0.055em; line-height: 0.95; }
.service-blueprint__grid p { margin: 0; color: var(--text-secondary-dark); font-size: 13px; line-height: 1.65; }

.service-process { background: var(--paper); color: var(--ink); }
.service-process__head .eyebrow { align-self: start; color: var(--blue-deep); }
.service-process__lead { margin: 0; color: var(--text-secondary-light); font-size: 16px; line-height: 1.65; }

.service-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(80px, 9vw, 145px);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.service-step {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 25px;
  border-right: 1px solid var(--line-light);
}

.service-step:last-child { border-right: 0; }
.service-step > span { color: var(--blue-deep); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; letter-spacing: 0.11em; }
.service-step h3 { margin: auto 0 20px; font-size: clamp(26px, 2.4vw, 42px); letter-spacing: -0.05em; line-height: 0.96; }
.service-step p { margin: 0; color: var(--text-secondary-light); font-size: 13px; line-height: 1.6; }

.service-estimate {
  position: relative;
  overflow: hidden;
  background: var(--service-accent);
  color: var(--ink);
}

.service-page--web .service-estimate { color: var(--paper); }
.service-estimate__grid { align-items: start; }
.service-estimate .eyebrow { color: currentColor; opacity: 0.72; }
.service-estimate__title { grid-column: 2 / -1; }
.service-estimate__title em { color: var(--service-hot); font-style: normal; }
.service-page--web .service-estimate .eyebrow { opacity: 1; }
.service-page--web .service-estimate__title em { color: var(--coral-soft); }
.service-page--mobile .service-estimate__title em { color: var(--cobalt-night); }
.service-page--automation .service-estimate__title em { color: var(--blue-deep); }

.service-estimate__content {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 120px);
  margin-top: 55px;
}

.service-estimate__content > p { margin: 0; font-size: clamp(18px, 1.6vw, 25px); line-height: 1.55; }
.service-estimate__factors { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.service-estimate__factors span { min-height: 85px; padding: 18px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; font-size: 12px; }

.service-related { background: var(--sand); color: var(--ink); }
.service-related__grid { align-items: center; }
.service-related .eyebrow { color: var(--blue-deep); }
.service-related__title { grid-column: 2; }
.service-related__link {
  display: grid;
  place-items: center;
  width: 190px;
  aspect-ratio: 1;
  justify-self: end;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-transform: uppercase;
  transition: transform 400ms var(--ease-out), background 250ms ease;
}

.service-related__link:hover { transform: rotate(-5deg) scale(1.04); background: var(--acid); }

@media (max-width: 1180px) {
  .service-hero__copy { grid-column: 1 / 9; }
  .service-visual { grid-column: 9 / -1; width: 34vw; min-width: 300px; }
  .service-overview__head,
  .service-blueprint__head,
  .service-process__head,
  .service-estimate__grid,
  .service-related__grid { grid-template-columns: 0.55fr 1.45fr; }
  .service-overview__lead,
  .service-blueprint__lead,
  .service-process__lead { grid-column: 2; }
  .service-estimate__title { grid-column: 2; }
  .service-estimate__content { grid-column: 2; }
  .service-related__title { grid-column: 2; }
  .service-related__link { grid-column: 2; justify-self: start; margin-top: 35px; }
  .service-types { grid-template-columns: repeat(3, 1fr); }
  .service-type:nth-child(3) { border-right: 0; }
  .service-type:nth-child(-n+3) { border-bottom: 1px solid var(--line-light); }
}

@media (max-width: 900px) {
  .service-hero__grid { grid-template-rows: auto auto auto auto; }
  .service-hero__copy { grid-row: 2; grid-column: 1 / -1; }
  .service-visual { grid-row: 3; grid-column: 1 / -1; justify-self: center; width: min(76vw, 560px); margin-block: 25px 60px; }
  .service-hero__facts { grid-row: 4; grid-template-columns: repeat(2, 1fr); }
  .service-hero__facts > div:nth-child(2) { border-right: 0; }
  .service-hero__facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .service-blueprint__grid { grid-template-columns: 1fr; }
  .service-blueprint__grid article { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .service-blueprint__grid article:last-child { border-bottom: 0; }
  .service-steps { grid-template-columns: repeat(2, 1fr); }
  .service-step:nth-child(2) { border-right: 0; }
  .service-step:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
}

@media (max-width: 700px) {
  .service-hero__meta > span { display: none; }
  .service-hero__title { font-size: clamp(47px, 14vw, 80px); }
  .service-hero__actions { flex-direction: column; align-items: flex-start; }
  .service-hero__actions .button { width: 100%; }
  .service-visual { width: min(100%, 520px); min-width: 0; }
  .service-hero__facts { grid-template-columns: 1fr; }
  .service-hero__facts > div,
  .service-hero__facts > div:first-child { min-height: 58px; padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .service-hero__facts > div:last-child { border-bottom: 0; }
  .service-overview__head,
  .service-blueprint__head,
  .service-process__head,
  .service-estimate__grid,
  .service-related__grid { grid-template-columns: minmax(0, 1fr); }
  .service-overview__lead,
  .service-blueprint__lead,
  .service-process__lead,
  .service-estimate__title,
  .service-estimate__content,
  .service-related__title,
  .service-related__link { grid-column: 1; }
  .service-types { grid-template-columns: 1fr; }
  .service-type,
  .service-type:nth-child(n) { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .service-type:last-child { border-bottom: 0; }
  .service-estimate__content { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .service-hero__grid { padding-top: calc(var(--header-height) + 18px); }
  .service-hero__copy { padding-top: 48px; }
  .service-hero__title { font-size: clamp(43px, 13vw, 66px); }
  .service-hero__intro { margin-top: 28px; }
  .service-visual { padding: 9px; }
  .service-visual__meta,
  .service-visual__legend { font-size: 6px; }
  .service-overview__title,
  .service-blueprint__title,
  .service-process__title,
  .service-estimate__title,
  .service-related__title { font-size: clamp(44px, 13.2vw, 68px); }
  .service-steps { grid-template-columns: 1fr; }
  .service-step,
  .service-step:nth-child(n) { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .service-step:last-child { border-bottom: 0; }
  .service-estimate__factors { grid-template-columns: 1fr; }
  .service-related__link { width: 165px; }
  .service-page--automation .seo-faq .section-title { font-size: clamp(30px, 9.5vw, 54px); }
}

@media (prefers-reduced-motion: reduce) {
  .service-title-line > span { animation: none; transform: none; }
  .service-orbit__node { animation: none; }
}
