/* /services/raster-to-vector, new layout (4 Dec 2026). Builds on digitizing-parent-20261204d.css (progress tracks, cards, price ladder).
   Palette = logo colours only (/opt/digitemb/theme-guide): blue #0068DF, hover #0055B7, navy #0D4875, darkest navy #10384D, tint #E6F0FC, wash #F3F8FE, blue border #BFD8F5, line #DFE2E4, mid text #555555, sky #4CBAEB (decoration only). */

.page-hero .digitizing-benefits { padding-left: 1.2rem; line-height: 1.85; margin: 20px 0; }

/* ---------- 7-stage progress track ---------- */
.dgj-track.dgj-7 { --n: 7; --seg: .42s; }
.dgj-7 .dgj-step { padding: 0 7px; }
.dgj-7 .dgj-node { width: 58px; height: 58px; margin-bottom: 18px; }
.dgj-7 .dgj-node svg { width: 24px; height: 24px; }
.dgj-7 .dgj-step:not(:last-child)::before, .dgj-7 .dgj-step:not(:last-child)::after { top: 29px; }
.dgj-7 .dgj-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.dgj-7 .dgj-step p { font-size: 14.5px; line-height: 1.5; max-width: 158px; }
@media (max-width: 1100px) {
  .dgj-track.dgj-7 { grid-template-columns: 1fr; --seg: .4s; }
  .dgj-7 .dgj-step { display: grid; grid-template-columns: 60px 1fr; gap: 0 18px; text-align: left; padding: 0 0 28px; }
  .dgj-7 .dgj-step:last-child { padding-bottom: 0; }
  .dgj-7 .dgj-node { width: 60px; height: 60px; margin: 0; grid-row: 1 / span 3; }
  .dgj-7 .dgj-step:not(:last-child)::before, .dgj-7 .dgj-step:not(:last-child)::after { left: 28px; top: 30px; width: 4px; height: 100%; }
  .dgj-7 .dgj-step:not(:last-child)::after { transform: scaleY(0); transform-origin: center top; background: linear-gradient(180deg, var(--dg-blue), var(--dg-sky)); }
  .dgj-7.is-in .dgj-step:not(:last-child)::after, html:not(.dg-js) .dgj-7 .dgj-step:not(:last-child)::after { transform: scaleY(1); }
  .dgj-7 .dgj-step h3 { margin: 4px 0 6px; font-size: 18.5px; }
  .dgj-7 .dgj-step p { margin: 0; max-width: none; font-size: 16px; }
}

/* ---------- why us: bento ---------- */
.vp-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto auto; gap: 18px; }
.vp-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border: 1px solid var(--dg-line); border-radius: 22px; background: #fff;
  transition: transform .45s var(--dg-ease), box-shadow .45s ease, border-color .45s ease, opacity .7s ease; }
.vp-tile:hover { transform: translateY(-6px); border-color: var(--dg-bline); box-shadow: 0 24px 46px rgba(13, 72, 117, .13); }
.vp-ti { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--dg-tint); color: var(--dg-blue); flex: none; transition: background .35s ease, color .35s ease, transform .5s var(--dg-ease); }
.vp-ti svg { width: 26px; height: 26px; }
.vp-tile:hover .vp-ti { background: var(--dg-blue); color: #fff; transform: rotate(-6deg) scale(1.06); }
.vp-tile h3 { margin: 6px 0 0; font: 700 20px/1.25 var(--dg-head); letter-spacing: -.02em; color: var(--dg-ink); }
.vp-tile p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--dg-mid); }
.vp-big { grid-row: 1 / span 2; justify-content: flex-end; background: linear-gradient(160deg, var(--dg-navy), var(--dg-ink)); border-color: transparent; color: #fff; padding: 34px 32px; }
.vp-big::before { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 2px dashed rgba(76, 186, 235, .45); }
.vp-big::after { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); }
.vp-big h3 { color: #fff; font-size: 24px; }
.vp-big p { color: rgba(255, 255, 255, .82); font-size: 17px; }
.vp-big .vp-ti { background: rgba(255, 255, 255, .14); color: #fff; }
.vp-big:hover .vp-ti { background: #fff; color: var(--dg-navy); }
.vp-stat { position: relative; z-index: 1; display: flex; flex-direction: column; margin-bottom: auto; }
.vp-stat b { font: 800 clamp(72px, 9vw, 112px)/.95 var(--dg-head); letter-spacing: -.05em; background: linear-gradient(135deg, #fff 30%, var(--dg-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vp-stat i { font-style: normal; font: 650 16px/1.3 var(--dg-head); color: rgba(255, 255, 255, .85); margin-top: 6px; }
.vp-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; padding: 24px 30px; background: var(--dg-tint); border-color: var(--dg-bline); }
.vp-wide h3 { margin-top: 0; }
.vp-wide > div { flex: 1; }
.vp-wide p { max-width: 640px; }
.vp-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 14px 22px; border-radius: 999px; background: var(--dg-blue); color: #fff; font: 800 28px/1 var(--dg-head); letter-spacing: -.03em; white-space: nowrap; }
.vp-chip small { font: 650 12px/1 var(--dg-head); letter-spacing: .06em; text-transform: uppercase; opacity: .9; margin-right: 6px; }
.dg-js .vp-why:not(.is-in) .vp-tile { opacity: 0; transform: translateY(26px); }
.vp-why.is-in .vp-tile:nth-child(2) { transition-delay: .08s; } .vp-why.is-in .vp-tile:nth-child(3) { transition-delay: .16s; }
.vp-why.is-in .vp-tile:nth-child(4) { transition-delay: .24s; } .vp-why.is-in .vp-tile:nth-child(5) { transition-delay: .32s; } .vp-why.is-in .vp-tile:nth-child(6) { transition-delay: .4s; }
.vp-why.is-in .vp-tile:hover { transition-delay: 0s; }
@media (max-width: 960px) {
  .vp-why { grid-template-columns: 1fr 1fr; }
  .vp-big { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
}
@media (max-width: 620px) {
  .vp-why { grid-template-columns: 1fr; gap: 14px; }
  .vp-tile { padding: 22px 20px; border-radius: 18px; }
  .vp-wide { flex-direction: column; align-items: flex-start; }
  .vp-big { padding: 26px 22px; }
}

/* ---------- service cards: 7th card wide ---------- */
.dgs-card.dgs-wide { grid-column: 1 / -1; flex-direction: row; }
.dgs-card.dgs-wide .dgs-img { flex: 1 1 50%; aspect-ratio: auto; min-height: 260px; }
.dgs-card.dgs-wide .dgs-img img { height: 100%; }
.dgs-card.dgs-wide .dgs-body { flex: 1 1 50%; justify-content: center; padding: 32px 38px; gap: 12px; }
.dgs-card.dgs-wide .dgs-title { font-size: 26px; }
.dgs-card.dgs-wide .dgs-desc { font-size: 18px; max-width: 460px; }
.dgs-card.dgs-wide .dgs-cta { margin-top: 10px; }
@media (max-width: 760px) {
  .dgs-card.dgs-wide { grid-column: 1 / -1; flex-direction: column; }
  .dgs-card.dgs-wide .dgs-img { min-height: 0; aspect-ratio: 3 / 2; flex: none; }
  .dgs-card.dgs-wide .dgs-body { padding: 16px 16px 18px; }
  .dgs-card.dgs-wide .dgs-title { font-size: 18px; }
  .dgs-card.dgs-wide .dgs-desc { font-size: 15px; }
}

/* ---------- reviews slider ---------- */
.vp-rating { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -18px 0 34px; padding: 0; color: var(--dg-ink); font-size: 17px; }
.vp-rating b { font-weight: 800; }
.vp-g { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--dg-blue); color: var(--dg-blue); font: 800 15px/1 var(--dg-head); flex: none; }
.vp-stars { display: inline-flex; gap: 2px; color: var(--dg-blue); }
.vp-stars svg { width: 20px; height: 20px; }
.vp-slider { max-width: 860px; margin: 0 auto; outline: none; }
.vp-slider:focus-visible { outline: 3px solid var(--dg-ink); outline-offset: 8px; border-radius: 24px; }
.vp-viewport { overflow: hidden; border-radius: 26px; }
.vp-track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform .8s var(--dg-ease); will-change: transform; }
.vp-slide { flex: 0 0 100%; min-width: 0; padding: 4px; }
.vp-card { position: relative; margin: 0; min-height: 300px; padding: 40px 48px 34px; border-radius: 22px; background: #fff; border: 1px solid var(--dg-line); box-shadow: 0 22px 50px rgba(13, 72, 117, .1); display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.vp-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--dg-blue), var(--dg-sky)); }
.vp-qm { position: absolute; right: 30px; top: 6px; font: 800 130px/1 var(--dg-head); color: var(--dg-tint); pointer-events: none; user-select: none; }
.vp-card .vp-stars svg { width: 22px; height: 22px; }
.vp-card blockquote { position: relative; margin: 0; padding: 0; border: 0; font-size: 20px; line-height: 1.6; color: var(--dg-ink); font-weight: 500; flex: 1; }
.vp-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--dg-line); }
.vp-av { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--dg-blue); color: #fff; font: 700 16px/1 var(--dg-head); letter-spacing: .02em; flex: none; }
.vp-who { display: flex; flex-direction: column; gap: 3px; }
.vp-who b { font: 700 17px/1.2 var(--dg-head); color: var(--dg-ink); }
.vp-who small { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--dg-mid); }
.vp-who .vp-g { width: 20px; height: 20px; font-size: 11px; border-width: 1.5px; }
.vp-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.vp-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--dg-bline); background: #fff; color: var(--dg-navy); cursor: pointer; transition: background .25s ease, color .25s ease, transform .35s var(--dg-ease), box-shadow .3s ease; flex: none; }
.vp-btn svg { width: 22px; height: 22px; }
.vp-btn:hover, .vp-btn:focus-visible { background: var(--dg-blue); border-color: var(--dg-blue); color: #fff; box-shadow: 0 12px 26px rgba(0, 104, 223, .3); }
.vp-btn:active { transform: scale(.92); }
.vp-btn:focus-visible { outline: 3px solid var(--dg-ink); outline-offset: 3px; }
.vp-mid { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vp-count { font: 700 14px/1 var(--dg-head); letter-spacing: .08em; color: var(--dg-mid); }
.vp-dots { display: flex; gap: 8px; }
.vp-dot { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: var(--dg-bline); cursor: pointer; overflow: hidden; transition: width .5s var(--dg-ease), background .3s ease; }
.vp-dot::after { content: ""; position: absolute; inset: 0; background: var(--dg-blue); transform: scaleX(0); transform-origin: left; }
.vp-dot.is-on { width: 38px; background: var(--dg-bline); }
.vp-dot.is-on::after { transform: scaleX(1); }
.vp-slider.is-auto .vp-dot.is-on::after { animation: vpFill var(--vp-ms, 7000ms) linear 1 forwards; }
.vp-slider.is-paused .vp-dot.is-on::after { animation-play-state: paused; }
.vp-dot:focus-visible { outline: 3px solid var(--dg-ink); outline-offset: 3px; }
@keyframes vpFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html:not(.dg-js) .vp-track { flex-direction: column; gap: 16px; }
html:not(.dg-js) .vp-controls { display: none; }
@media (max-width: 700px) {
  .vp-rating { flex-wrap: wrap; font-size: 15.5px; margin-top: -10px; }
  .vp-card { padding: 30px 22px 24px; min-height: 340px; }
  .vp-card blockquote { font-size: 17.5px; }
  .vp-qm { font-size: 96px; right: 16px; }
  .vp-btn { width: 46px; height: 46px; }
}

/* ---------- what we make ---------- */
.vp-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.vp-vis { position: relative; }
.vp-ba { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--dg-bline); box-shadow: 0 30px 60px rgba(13, 72, 117, .16); --x: 50%; }
.vp-ba svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vp-ba-l, .vp-ba-r { position: absolute; inset: 0; }
.vp-ba-r { clip-path: inset(0 0 0 var(--x)); background: #fff; animation: vpSweep 9s var(--dg-ease) infinite alternate; }
.vp-ba-h { position: absolute; top: 0; bottom: 0; left: var(--x); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 0 1px var(--dg-bline), 0 0 18px rgba(13, 72, 117, .35); animation: vpHandle 9s var(--dg-ease) infinite alternate; }
.vp-ba-h::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--dg-blue); color: #fff; display: grid; place-items: center; font: 700 20px/1 var(--dg-head); box-shadow: 0 8px 20px rgba(0, 104, 223, .4); }
@keyframes vpSweep { 0%, 12% { clip-path: inset(0 0 0 88%); } 88%, 100% { clip-path: inset(0 0 0 12%); } }
@keyframes vpHandle { 0%, 12% { left: 88%; } 88%, 100% { left: 12%; } }
.vp-tag { position: absolute; bottom: 14px; left: 14px; padding: 7px 14px; border-radius: 999px; background: var(--dg-ink); color: #fff; font: 700 12px/1 var(--dg-head); letter-spacing: .1em; text-transform: uppercase; z-index: 2; }
.vp-tag-v { left: auto; right: 14px; background: var(--dg-blue); }
.vp-nodes { pointer-events: none; }
.vp-mks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vp-mk { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--dg-line); transition: transform .4s var(--dg-ease), box-shadow .4s ease, border-color .4s ease, opacity .6s ease; }
.vp-mk:hover { transform: translateX(6px); border-color: var(--dg-bline); box-shadow: 0 16px 34px rgba(13, 72, 117, .11); }
.vp-mk:hover .vp-ti { background: var(--dg-blue); color: #fff; }
.vp-mk h3 { margin: 2px 0 6px; font: 700 18.5px/1.25 var(--dg-head); letter-spacing: -.02em; color: var(--dg-ink); }
.vp-mk p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--dg-mid); }
.dg-js .vp-mks:not(.is-in) .vp-mk { opacity: 0; transform: translateX(26px); }
.vp-mks.is-in .vp-mk:nth-child(2) { transition-delay: .1s; } .vp-mks.is-in .vp-mk:nth-child(3) { transition-delay: .2s; } .vp-mks.is-in .vp-mk:nth-child(4) { transition-delay: .3s; }
.vp-mks.is-in .vp-mk:hover { transition-delay: 0s; }
@media (max-width: 960px) { .vp-split { grid-template-columns: 1fr; } .vp-vis { max-width: 620px; margin: 0 auto; width: 100%; } }
@media (max-width: 560px) { .vp-mk { padding: 16px; gap: 14px; } .vp-mk .vp-ti { width: 44px; height: 44px; } }

/* ---------- pricing: four tiers ---------- */
.dgp-4 .dgp-ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dgp-4 .dgp-tier::before { width: calc((var(--s) + 1) * 25%); }
.dgp-desc { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--dg-mid); }
.dgp-eg { font-size: 13.5px; line-height: 1.4; color: var(--dg-navy); font-weight: 650; }
@media (max-width: 1100px) { .dgp-4 .dgp-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .dgp-4 .dgp-ladder { grid-template-columns: 1fr; }
  .dgp-4 .dgp-tier .dgp-desc, .dgp-4 .dgp-tier .dgp-eg { grid-column: 1 / -1; }
  .dgp-4 .dgp-tier .dgp-desc { grid-row: 3; margin-top: 6px; }
  .dgp-4 .dgp-tier .dgp-eg { grid-row: 4; }
  .dgp-4 .dgp-tier .dgp-dots { grid-row: 5; }
}

/* ---------- guides ---------- */
.vp-gg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vp-guide { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--dg-line); text-decoration: none; color: inherit; transition: transform .45s var(--dg-ease), box-shadow .45s ease, border-color .45s ease; }
.vp-guide:hover, .vp-guide:focus-visible { transform: translateY(-8px); border-color: var(--dg-bline); box-shadow: 0 26px 48px rgba(13, 72, 117, .15); }
.vp-gi { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--dg-tint); }
.vp-gi img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--dg-ease); }
.vp-guide:hover .vp-gi img { transform: scale(1.06); }
.vp-gb { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 22px 24px 24px; }
.vp-gb h3 { margin: 0; font: 700 19.5px/1.3 var(--dg-head); letter-spacing: -.02em; color: var(--dg-ink); }
.vp-guide:hover .dgs-cta i { transform: translateX(5px); background: var(--dg-blue); color: #fff; }
@media (max-width: 900px) { .vp-gg { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .vp-guide { flex-direction: row; } .vp-gi { flex: 0 0 40%; aspect-ratio: auto; } .vp-gb { padding: 16px 18px; } .vp-gb h3 { font-size: 17px; } }
@media (max-width: 520px) { .vp-guide { flex-direction: column; } .vp-gi { flex: none; aspect-ratio: 1200 / 630; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .vp-ba-r, .vp-ba-h { animation: none !important; }
  .vp-ba-r { clip-path: inset(0 0 0 50%); } .vp-ba-h { left: 50%; }
  .vp-slider.is-auto .vp-dot.is-on::after { animation: none !important; transform: scaleX(1); }
  .vp-track { transition-duration: .01ms !important; }
}

/* ---------- dark (mono) theme ---------- */
html[data-theme="mono"] .dg-sec .vp-tile, html[data-theme="mono"] .dg-sec .vp-mk, html[data-theme="mono"] .dg-sec .vp-guide, html[data-theme="mono"] .dg-sec .vp-card { background: rgba(255, 255, 255, .05) !important; border-color: rgba(255, 255, 255, .16) !important; box-shadow: none !important; }
html[data-theme="mono"] .dg-sec .vp-big { background: rgba(255, 255, 255, .09) !important; }
html[data-theme="mono"] .dg-sec .vp-wide { background: rgba(255, 255, 255, .08) !important; }
html[data-theme="mono"] .dg-sec .vp-tile h3, html[data-theme="mono"] .dg-sec .vp-mk h3, html[data-theme="mono"] .dg-sec .vp-gb h3, html[data-theme="mono"] .dg-sec .vp-card blockquote, html[data-theme="mono"] .dg-sec .vp-who b, html[data-theme="mono"] .dg-sec .vp-rating { color: #fff !important; }
html[data-theme="mono"] .dg-sec .vp-tile p, html[data-theme="mono"] .dg-sec .vp-mk p, html[data-theme="mono"] .dg-sec .vp-who small, html[data-theme="mono"] .dg-sec .vp-count, html[data-theme="mono"] .dg-sec .dgp-desc { color: rgba(255, 255, 255, .72) !important; }
html[data-theme="mono"] .dg-sec .dgp-eg { color: #fff !important; }
html[data-theme="mono"] .dg-sec .vp-ti { background: rgba(255, 255, 255, .12) !important; color: #fff !important; }
html[data-theme="mono"] .dg-sec .vp-btn { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .24) !important; color: #fff !important; }
html[data-theme="mono"] .dg-sec .vp-btn:hover { background: #fff !important; color: #000 !important; }
html[data-theme="mono"] .dg-sec .vp-qm { color: rgba(255, 255, 255, .06) !important; }
html[data-theme="mono"] .dg-sec .vp-stars { color: #fff !important; }
html[data-theme="mono"] .dg-sec .vp-g { background: #000 !important; border-color: #fff !important; color: #fff !important; }
html[data-theme="mono"] .dg-sec .vp-av { background: #fff !important; color: #000 !important; }
html[data-theme="mono"] .dg-sec .vp-dot { background: rgba(255, 255, 255, .25) !important; }
html[data-theme="mono"] .dg-sec .vp-dot::after { background: #fff !important; }
html[data-theme="mono"] .dg-sec .vp-chip { background: #fff !important; color: #000 !important; }
html[data-theme="mono"] .dg-sec .vp-ba { border-color: rgba(255, 255, 255, .2) !important; box-shadow: none !important; }
html[data-theme="mono"] .dg-sec .vp-gi { background: rgba(255, 255, 255, .06) !important; }
html[data-theme="mono"] .page-hero .digitizing-benefits { color: inherit; }

/* service cards: the artwork pictures are square cut-outs on transparent, so show them whole on a clean ground */
#vector-services .dgs-img { background: linear-gradient(160deg, #fff, var(--dg-wash)); }
#vector-services .dgs-img::after { content: none; }
#vector-services .dgs-img img { object-fit: contain; padding: 14px; }
html[data-theme="mono"] #vector-services .dgs-img { background: rgba(255, 255, 255, .92) !important; }
@media (min-width: 761px) { .dgs-card.dgs-wide .dgs-img { flex: 0 0 44%; min-height: 0; height: 300px; } }
.vp-make .wrap { overflow-x: clip; }
body .end-cta .wrap > .button { background: var(--dg-blue, #0068DF); color: #fff; border: 2px solid #fff; padding: 15px 28px; border-radius: 8px; font-weight: 700; }
body .end-cta .wrap > .button:hover { background: #fff; color: #0D4875; }
