/* ============================================================
   Lucid Motion Studio — /services and the nine service pages
   Loaded after style.css and industries.css, and only by those ten
   pages. Every colour, radius and font comes from the :root tokens
   in style.css; nothing here restyles a component another page uses.
   ============================================================ */

/* ---------- Hero: "on this page" jump links ---------- */
.jump-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
  margin: 28px auto 0; max-width: 900px; padding: 0; list-style: none;
}
.jump-row a {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: .82rem; color: var(--muted);
  background: rgba(14, 24, 38, .6);
  transition: border-color .2s, color .2s;
}
.jump-row a:hover, .jump-row a:focus-visible { border-color: rgba(16, 208, 208, .55); color: var(--text); }
.hero-note { margin-top: 18px; font-size: .86rem; color: var(--muted); }

/* ---------- Definition + outcomes split ---------- */
.def-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: start; }
.def-split .answer-box { margin: 0; }
.def-split h2 { margin-bottom: 18px; }
.outcomes { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.outcomes li {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px 16px 48px; position: relative; color: var(--muted); font-size: .93rem;
}
.outcomes li b { color: var(--text); font-family: var(--font-head); font-weight: 600; display: block; font-size: .98rem; margin-bottom: 3px; }
.outcomes li::before {
  content: ''; position: absolute; left: 20px; top: 21px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 12px rgba(16, 208, 208, .35);
}

/* ---------- "What we can create" ---------- */
.create-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.create-grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.create-grid.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.create-grid.c5 .create-item { padding: 18px 18px; }
.create-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.create-item:hover { transform: translateY(-4px); border-color: rgba(16, 208, 208, .45); box-shadow: 0 14px 36px rgba(0, 0, 0, .4); }
.create-item h3 { font-size: 1rem; margin-bottom: 6px; }
.create-item p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Comparison table (turns into cards on small screens) ---------- */
.cmp-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.cmp { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cmp caption { text-align: left; padding: 0; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cmp thead th {
  font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); background: var(--bg-3); font-weight: 700;
}
.cmp tbody th { font-family: var(--font-head); font-size: .98rem; color: var(--text); width: 22%; }
.cmp tbody th a { color: var(--text); border-bottom: 1px solid rgba(16, 208, 208, .4); }
.cmp tbody th a:hover { color: var(--teal); }
.cmp td { color: var(--muted); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr { transition: background .2s; }
.cmp tbody tr:hover { background: rgba(16, 208, 208, .04); }
@media (max-width: 760px) {
  .cmp-wrap { border: 0; background: none; overflow: visible; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tbody tr { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 6px 0; }
  .cmp tbody th { width: 100%; border-bottom: 0; padding: 14px 18px 4px; }
  .cmp td { border-bottom: 0; padding: 6px 18px; }
  .cmp td::before {
    content: attr(data-label); display: block; font-family: var(--font-head); font-size: .66rem;
    letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 2px;
  }
  .cmp tbody tr:last-child td:last-child { padding-bottom: 14px; }
  .cmp td:last-child { padding-bottom: 14px; }
}

/* ---------- Choose / choose something else ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-col { border-radius: var(--radius); border: 1px solid var(--line); padding: 28px 28px 24px; background: var(--card); }
.fit-col.yes { border-color: rgba(16, 208, 208, .4); background: var(--bg-3); }
.fit-col h3 { font-size: 1.05rem; margin-bottom: 14px; }
.fit-col ul { list-style: none; margin: 0; padding: 0; }
.fit-col li { padding: 8px 0 8px 26px; position: relative; color: var(--muted); font-size: .93rem; }
.fit-col li::before { position: absolute; left: 0; top: 8px; font-weight: 700; }
.fit-col.yes li::before { content: '✓'; color: var(--green); }
.fit-col.alt li::before { content: '→'; color: var(--teal); }
.fit-col a { color: var(--text); border-bottom: 1px solid rgba(16, 208, 208, .45); }
.fit-col a:hover { color: var(--teal); }

/* ---------- Production steps (numbered, two columns) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; counter-reset: st; }
.steps li {
  counter-increment: st; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px 18px 70px;
}
.steps li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 22px; top: 18px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps li b { display: block; font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.steps li p { color: var(--muted); font-size: .9rem; margin: 0; }
.steps li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Deliverables + cost/timeline ---------- */
.deliv-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
.deliv-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.deliv-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.deliv-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.deliv-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.deliv-tags li {
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: .84rem;
  color: var(--text); background: rgba(14, 24, 38, .6);
}
.factor-list { list-style: none; margin: 0; padding: 0; }
.factor-list li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.factor-list li:last-child { border-bottom: 0; }
.factor-list li b { color: var(--text); font-weight: 600; }
.deliv-note { margin-top: 16px; font-size: .86rem; color: var(--muted); }
.deliv-note a, .prose a, .answer-box a { color: var(--teal); }

/* ---------- Five SaaS formats, side by side (SaaS page) ---------- */
.kind-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kind {
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid rgba(16, 208, 208, .6);
  border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.kind:hover { transform: translateY(-4px); border-color: rgba(16, 208, 208, .45); box-shadow: 0 14px 36px rgba(0, 0, 0, .4); }
.kind h3 { font-size: 1rem; margin-bottom: 8px; }
.kind p { color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.kind dl { margin: auto 0 0; font-size: .82rem; border-top: 1px solid var(--line); padding-top: 10px; }
.kind dt { color: var(--teal); font-family: var(--font-head); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.kind dd { margin: 2px 0 8px; color: var(--text); }

/* ---------- Short prose block (explainer purpose vs style etc.) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose p strong { color: var(--text); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0 6px; list-style: none; padding: 0; }
.chip-row a, .chip-row span {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .84rem; color: var(--muted);
  background: rgba(14, 24, 38, .6); transition: border-color .2s, color .2s;
}
.chip-row a:hover { border-color: rgba(16, 208, 208, .55); color: var(--text); }

/* ---------- Agency strip (short, one per page at most) ---------- */
.agency-strip {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px;
  background: radial-gradient(ellipse at 0% 0%, rgba(48, 144, 224, .14), transparent 60%), var(--bg-3);
}
.agency-strip h2 { font-size: 1.2rem; margin-bottom: 6px; }
.agency-strip p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Related cards: four industries sit on one row */
.rel-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.key-facts a { color: var(--teal); border-bottom: 1px solid rgba(16, 208, 208, .35); transition: border-color .2s; }
.key-facts a:hover { border-color: var(--teal); }

/* ======================= /services hub ======================= */

/* Service cards: three per row, 16:9 artwork, text stays selectable
   (the image, title and "Explore" line are ordinary links; no overlay). */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-card2 {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.svc-card2:hover { transform: translateY(-6px); border-color: rgba(16, 208, 208, .45); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.svc-card2 .sc-thumb { display: block; aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--bg-3); }
.svc-card2 .sc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card2:hover .sc-thumb img { transform: scale(1.04); }
.svc-card2 .sc-thumb::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 12, 18, .72), rgba(7, 12, 18, 0) 45%);
}
.svc-card2 .sc-num {
  position: absolute; left: 16px; bottom: 12px; z-index: 2; font-family: var(--font-head); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .88); font-weight: 700;
}
.svc-card2 .sc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card2 h3 { font-size: 1.2rem; margin-bottom: 8px; }
.svc-card2 h3 a:hover { color: var(--teal); }
.svc-card2 .sc-line { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }
.svc-card2 .sc-label { font-family: var(--font-head); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 8px; }
.svc-card2 ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.svc-card2 li { font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; }
.svc-card2 .sc-best { font-size: .87rem; color: var(--text); margin-bottom: 18px; }
.svc-card2 .sc-best b { color: var(--green); font-weight: 600; }
.svc-card2 .sc-go { margin-top: auto; color: var(--teal); font-weight: 600; font-size: .9rem; align-self: flex-start; }
.svc-card2 .sc-go span { display: inline-block; transition: transform .25s; }
.svc-card2:hover .sc-go span, .svc-card2 .sc-go:hover span { transform: translateX(4px); }
.svc-card2 a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* Finder: pick an objective, get a recommendation with a 16:9 visual */
.finder { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 28px; align-items: start; }
.finder-list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.finder-opt {
  width: 100%; text-align: left; font: inherit; font-size: .93rem; color: var(--muted); cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 42px;
  position: relative; transition: border-color .2s, color .2s, background .2s;
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
}
.finder-opt::before {
  content: ''; position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(157, 178, 196, .6);
}
.finder-opt .fo-tag {
  flex: none; font-family: var(--font-head); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px;
}
.finder-opt .fo-tag.ai { color: #06131a; background: var(--grad); border-color: transparent; }
.finder-opt:hover { border-color: rgba(16, 208, 208, .45); color: var(--text); }
.finder-opt[aria-selected="true"] { color: var(--text); border-color: rgba(16, 208, 208, .6); background: var(--bg-3); }
.finder-opt[aria-selected="true"]::before { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 10px rgba(16, 208, 208, .6); }
.finder-opt:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.finder-panels { position: sticky; top: 100px; }
.finder.no-js .finder-panels { position: static; }
.finder-panel {
  border: 1px solid rgba(16, 208, 208, .35); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(ellipse at 100% 0%, rgba(16, 208, 208, .10), transparent 55%), var(--bg-3);
}
.finder-panel[hidden] { display: none; }
.finder-panel .fp-media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--card); }
.finder-panel .fp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finder-panel .fp-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 27, 42, .9), rgba(16, 27, 42, 0) 40%); pointer-events: none; }
.finder-panel .fp-body { padding: 4px 30px 28px; position: relative; }
.finder-panel .fp-need { font-family: var(--font-head); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 8px; }
.finder-panel h3 { font-size: 1.35rem; margin-bottom: 10px; }
.finder-panel p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.finder-panel .fp-label { font-family: var(--font-head); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.finder-panel .fp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.finder-panel .fp-chips li { font-size: .8rem; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; background: rgba(14, 24, 38, .6); }
.finder-panel .fp-also { font-size: .88rem; color: var(--muted); }
.finder-panel .fp-also a { color: var(--text); border-bottom: 1px solid rgba(16, 208, 208, .45); }
.finder-panel .fp-also a:hover { color: var(--teal); }
.finder-panel .btn { margin-top: 4px; }
/* Without JavaScript every recommendation is shown as a stacked list. */
.finder.no-js { grid-template-columns: 1fr; }
.finder.no-js .finder-list { display: none; }
.finder.no-js .finder-panels { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }

/* Use-case map */
.uc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.uc {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.uc:hover { transform: translateY(-4px); border-color: rgba(16, 208, 208, .45); box-shadow: 0 14px 36px rgba(0, 0, 0, .4); }
.uc h3 { font-size: 1rem; margin-bottom: 5px; }
.uc p { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.uc .uc-links { display: flex; flex-wrap: wrap; gap: 6px; }
.uc .uc-links a {
  font-size: .78rem; color: var(--text); border: 1px solid rgba(16, 208, 208, .35); border-radius: 999px;
  padding: 4px 11px; background: rgba(16, 208, 208, .06); transition: background .2s, color .2s;
}
.uc .uc-links a:hover { background: rgba(16, 208, 208, .16); color: var(--teal); }

/* Capability stages */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.cap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px;
  position: relative;
}
.cap .cap-stage { font-family: var(--font-head); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 8px; display: block; }
.cap h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cap p { color: var(--muted); font-size: .91rem; margin-bottom: 14px; }
.cap ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.cap li { font-size: .78rem; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; background: rgba(14, 24, 38, .6); }
@media (min-width: 961px) {
  .cap:not(:last-child)::after {
    content: '→'; position: absolute; right: -18px; top: 50%; transform: translateY(-50%);
    color: var(--teal); font-size: 1.1rem; z-index: 2;
  }
}

/* Hub portfolio: category links under the grid */
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; list-style: none; padding: 0; }
.cat-links a {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .84rem; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.cat-links a:hover { border-color: rgba(16, 208, 208, .55); color: var(--text); }
.slot-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rel-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .create-grid.c4, .create-grid.c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slot-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-grid, .create-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .def-split, .finder, .deliv-grid, .cap-grid { grid-template-columns: 1fr; gap: 24px; }
  .finder-panels { position: static; }
  .steps { grid-template-columns: 1fr; }
  .steps li:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 860px) {
  .fit-grid { grid-template-columns: 1fr; }
  .agency-strip { grid-template-columns: 1fr; }
  .kind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
}
@media (max-width: 640px) {
  .rel-grid.four, .svc-cards, .uc-grid, .create-grid, .create-grid.c4, .create-grid.c5, .kind-grid { grid-template-columns: 1fr; }
  .slot-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .slot-grid.four .abody { padding: 12px 12px 14px; }
  .slot-grid.four .abody h3 { font-size: .9rem; }
  .slot-grid.four .abody p { font-size: .8rem; }
  .slot-grid.four .aframe .play { width: 42px; height: 42px; }
  .slot-grid.four .atag { font-size: .6rem; padding: 4px 8px; top: 8px; left: 8px; }
  .finder-panel, .deliv-card, .fit-col, .cap { padding: 22px 20px; }
  .steps li { padding: 16px 18px 16px 58px; }
  .steps li::before { left: 18px; top: 16px; }
  .jump-row a { font-size: .78rem; padding: 6px 12px; }
  .agency-strip { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .create-item, .kind, .svc-card2, .uc, .cmp tbody tr, .svc-card2 .sc-go span { transition: none; }
  .create-item:hover, .kind:hover, .svc-card2:hover, .uc:hover,
  .svc-card2:hover .sc-go span { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Visually hidden, still read by screen readers and parsers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Use-case cards: typical length / format line */
.uc .uc-meta {
  font-size: .8rem; color: var(--text); opacity: .85; margin: -2px 0 12px; padding-left: 14px; position: relative;
}
.uc .uc-meta::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* "Picture your video": tap-to-select visual direction prompts */
.vd {
  margin-top: 44px; border: 1px solid var(--line); border-radius: 22px; padding: 34px 34px 30px;
  background: radial-gradient(ellipse at 0% 0%, rgba(48, 144, 224, .14), transparent 55%),
              radial-gradient(ellipse at 100% 100%, rgba(112, 208, 80, .10), transparent 55%), var(--bg-3);
}
.vd-head { max-width: 720px; margin-bottom: 24px; }
.vd-head h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.vd-head p { color: var(--muted); font-size: .95rem; }
.vd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.vd-q { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 18px; margin: 0; min-width: 0; background: rgba(14, 24, 38, .55); }
.vd-q legend { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--text); padding: 0 6px; margin-left: -6px; }
.vd-opts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.vd-opt {
  font: inherit; font-size: .82rem; color: var(--muted); cursor: pointer; background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.vd-opt:hover { border-color: rgba(16, 208, 208, .55); color: var(--text); transform: translateY(-1px); }
.vd-opt[aria-pressed="true"] { color: #06131a; background: var(--grad); border-color: transparent; font-weight: 600; }
.vd-opt:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.vd-foot { margin-top: 24px; display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: center; }
.vd-summary { color: var(--muted); font-size: .92rem; margin: 0; }
.vd-summary b { color: var(--text); }
.vd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.vd-actions .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.vd-note { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); margin: 0; }
@media (max-width: 1024px) { .vd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .vd { padding: 24px 18px 22px; }
  .vd-grid { grid-template-columns: 1fr; }
  .vd-foot { grid-template-columns: 1fr; }
}

/* ---------- Hover state for every static chip / tag ----------
   These are labels, not links, but a subtle response keeps them from
   looking disabled next to the interactive elements around them. */
.cap li, .deliv-tags li, .svc-card2 li, .fp-chips li, .chip-row span, .tag-row span, .uc-links span {
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.cap li:hover, .deliv-tags li:hover, .svc-card2 li:hover, .fp-chips li:hover, .chip-row span:hover, .tag-row span:hover {
  border-color: rgba(16, 208, 208, .5); color: var(--text); background: rgba(16, 208, 208, .08); transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .cap li:hover, .deliv-tags li:hover, .svc-card2 li:hover, .fp-chips li:hover, .chip-row span:hover, .vd-opt:hover,
  .svc-card2:hover .sc-thumb img { transform: none; }
}

/* Images are not meant to be dragged out of the page */
.sc-thumb img, .fp-media img, .aframe img, .case-media img, .case-media video { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* ---------- One hover behaviour (service-page boxes) ----------
   Every box and card on the service pages responds the same way as the
   cards elsewhere on the site (industries.css "One hover behaviour"):
   6px lift, teal border, soft shadow. The sticky finder panel and tables
   are excluded because moving them would feel unstable. */
.outcomes li, .fit-col, .steps li, .deliv-card, .kind, .create-item, .uc, .cap,
.vd-q, .agency-strip {
  transition: transform .25s, border-color .25s, box-shadow .25s, opacity .7s ease;
}
.outcomes li:hover, .fit-col:hover, .steps li:hover, .deliv-card:hover, .kind:hover,
.create-item:hover, .uc:hover, .cap:hover, .vd-q:hover, .agency-strip:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 208, 208, .45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
@media (prefers-reduced-motion: reduce) {
  .outcomes li, .fit-col, .steps li, .deliv-card, .kind, .create-item, .uc, .cap, .vd-q, .agency-strip { transition: none; }
  .outcomes li:hover, .fit-col:hover, .steps li:hover, .deliv-card:hover, .kind:hover,
  .create-item:hover, .uc:hover, .cap:hover, .vd-q:hover, .agency-strip:hover { transform: none; }
}

/* ======================= /how-it-works ======================= */
/* 16:9 image slot: real image, or a labelled placeholder until one is added */
.hw-fig { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); position: relative; }
.hw-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px;
  background: radial-gradient(ellipse at 20% 10%, rgba(48, 144, 224, .22), transparent 60%),
              radial-gradient(ellipse at 90% 90%, rgba(112, 208, 80, .16), transparent 60%), var(--bg-3);
}
.hw-ph::after { content: ''; position: absolute; inset: 12px; border: 1px dashed rgba(255, 255, 255, .18); border-radius: 12px; pointer-events: none; }
.hw-ph-tag { font-family: var(--font-head); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.hw-ph-cap { color: var(--text); font-size: .92rem; max-width: 420px; line-height: 1.5; }
.hw-ph-file { color: var(--muted); font-size: .72rem; font-family: ui-monospace, Consolas, monospace; }

/* At a glance */
.hw-glance { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; counter-reset: none; position: relative; }
.hw-glance::before { content: ''; position: absolute; left: 4%; right: 4%; top: 22px; height: 2px; background: var(--grad); opacity: .45; }
.hw-glance a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--muted); font-size: .82rem; position: relative; }
.hw-glance .hw-n {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--text);
  background: var(--bg-3); border: 1px solid rgba(16, 208, 208, .45); transition: background .2s, color .2s, transform .2s;
}
.hw-glance a:hover .hw-n { background: var(--grad); color: #06131a; transform: translateY(-3px); }
.hw-glance a:hover { color: var(--text); }

/* Stage timeline */
.hw-steps { display: grid; gap: 30px; position: relative; }
.hw-step {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; scroll-margin-top: 110px;
}
.hw-step.flip .hw-fig { order: 2; }
.hw-stage { font-family: var(--font-head); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.hw-copy h3 { font-size: 1.45rem; margin: 6px 0 10px; }
.hw-copy > p { color: var(--muted); margin-bottom: 16px; }
.hw-dl { margin: 0; display: grid; gap: 10px; }
.hw-dl div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.hw-dl dt { font-family: var(--font-head); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); font-weight: 700; }
.hw-dl dd { margin: 0; color: var(--muted); font-size: .92rem; }
.hw-dl .gate dt { color: var(--green); }
.hw-dl .gate dt::before { content: '✓ '; }

/* Cost of change */
.hw-change { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.hw-change .sec-head p { color: var(--muted); }
.hw-tip { margin-top: 14px; padding: 14px 18px; border-left: 3px solid var(--teal); background: rgba(16, 208, 208, .06); border-radius: 0 12px 12px 0; color: var(--text) !important; font-size: .92rem; }
.hw-chart { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.hw-chart figcaption { font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.hw-chart ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hw-chart li { display: grid; grid-template-columns: 130px 1fr; grid-template-rows: auto auto; gap: 4px 14px; align-items: center; }
.hw-bar-l { font-family: var(--font-head); font-size: .9rem; font-weight: 600; grid-row: span 2; }
.hw-bar { height: 12px; background: rgba(120, 180, 220, .1); border-radius: 999px; overflow: hidden; }
.hw-bar span { display: block; height: 100%; width: var(--w); background: var(--grad); border-radius: 999px; }
.hw-bar-d { font-size: .78rem; color: var(--muted); }

/* Timeline explorer and ways to work */
.hw-finder .finder-opt .fo-tag { white-space: nowrap; }
.hw-tl h3 { font-size: 1.6rem; }
.hw-ways { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hw-ways .cap::after { display: none; }
.ih-go-link { color: var(--teal); font-weight: 600; font-size: .9rem; margin-top: auto; display: inline-block; }
.hw-ways .cap { display: flex; flex-direction: column; }

/* Brief checklist */
.hw-brief { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; }
.hw-brief .sec-head { text-align: left; margin-left: 0; }
.hw-brief .sec-head .eyebrow { justify-content: flex-start; }
.hw-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.hw-check li { position: relative; padding: 12px 14px 12px 42px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; color: var(--text); }
.hw-check li::before {
  content: '✓'; position: absolute; left: 14px; top: 12px; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center;
  font-size: .72rem; color: #06131a; background: var(--grad); font-weight: 700;
}

/* One hover behaviour for the new boxes */
.hw-step, .hw-chart, .hw-check li { transition: transform .25s, border-color .25s, box-shadow .25s, opacity .7s ease; }
.hw-step:hover, .hw-chart:hover, .hw-check li:hover { transform: translateY(-6px); border-color: rgba(16, 208, 208, .45); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }

@media (max-width: 1024px) {
  .hw-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw-glance { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 20px; }
  .hw-glance::before { display: none; }
}
@media (max-width: 900px) {
  .hw-step, .hw-change, .hw-brief { grid-template-columns: 1fr; gap: 22px; }
  .hw-step.flip .hw-fig { order: 0; }
}
@media (max-width: 640px) {
  .hw-step { padding: 16px; }
  .hw-dl div { grid-template-columns: 1fr; gap: 2px; }
  .hw-check { grid-template-columns: 1fr; }
  .hw-ways { grid-template-columns: 1fr; }
  .hw-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw-chart li { grid-template-columns: 1fr; }
  .hw-bar-l { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hw-step, .hw-chart, .hw-check li, .hw-glance .hw-n { transition: none; }
  .hw-step:hover, .hw-chart:hover, .hw-check li:hover, .hw-glance a:hover .hw-n { transform: none; }
}

/* ---------- Service preview loops (/services cards and finder) ----------
   Same behaviour as the homepage service cards (.hm-svc-media): the still
   shows by default and the service's loop fades in over it once playing.
   js/services.js plays a card's loop on hover or focus and the finder's
   loop for the selected recommendation. */
.sc-thumb .svc-loop, .fp-media .svc-loop {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .45s ease, transform .5s ease; pointer-events: none;
}
.sc-thumb.is-playing .svc-loop, .fp-media.is-playing .svc-loop { opacity: 1; }
.svc-card2:hover .sc-thumb .svc-loop { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .sc-thumb .svc-loop, .fp-media .svc-loop { display: none; }
}

/* =========================================================================
   Pricing pages (/pricing, /pricing-subscription), built by
   _tools/service-pages/p_pricing.py. Same surfaces, radius, gradient border,
   badge and check colour as the rest of the site; only the layout is new.
   ========================================================================= */
/* Fixed price / Subscription switch in the hero */
.pr-switch {
  display: inline-flex; gap: 4px; margin: 26px auto 0; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 20, 32, .72);
  backdrop-filter: blur(8px);
}
.pr-opt {
  display: flex; flex-direction: column; align-items: center; min-width: 150px;
  padding: 9px 22px; border-radius: 999px; line-height: 1.2;
  color: var(--muted); transition: color .2s, background .2s;
}
.pr-opt b { font-family: var(--font-head); font-size: .95rem; font-weight: 700; }
.pr-opt span { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.pr-opt:hover { color: var(--text); background: rgba(16, 208, 208, .08); }
.pr-opt.is-on { background: var(--grad); color: #06131a; }
.pr-opt.is-on:hover { color: #06131a; filter: brightness(1.06); }

/* Plan cards (they are .price-card, so the site-wide hover and cursor light apply) */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; padding-top: 14px; }
.price-card.plan { padding: 34px 30px 32px; position: relative; }
.plan .plan-head { min-height: 158px; }
.plan .tier { margin-bottom: 14px; }
.plan .price { font-size: clamp(2.1rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; }
.plan .price small { font-family: var(--font-body); font-size: .95rem; letter-spacing: 0; }
.plan .plan-for { color: var(--muted); font-size: .92rem; margin: 12px 0 22px; }
.plan > .btn { width: 100%; justify-content: center; margin-bottom: 8px; }
.plan .plan-grp {
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); font-weight: 700;
  margin: 20px 0 8px; padding-top: 18px; border-top: 1px solid var(--line);
}
.plan-feats { list-style: none; margin: 0; padding: 0; flex: none; }
.price-card .plan-feats li, .plan-feats li {
  display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; border: 0;
  color: var(--text); font-size: .93rem; line-height: 1.45;
}
.price-card .plan-feats li::before { content: none; }
.plan-feats svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--green); }
.plan.featured { box-shadow: 0 30px 80px -34px rgba(16, 208, 208, .45); }
.pr-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 30px; }

/* "Every plan includes" (subscription) */
.pr-expect {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 30px; align-items: center;
  margin-top: 34px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.pr-expect .plan-grp { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 8px; }
.pr-expect p { color: var(--muted); font-size: .93rem; margin: 0; }
.pr-expect .plan-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 22px; }

/* Fixed price or subscription */
.pr-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.pr-path {
  display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card);
}
.pr-path.is-on { border-color: rgba(16, 208, 208, .4); background: var(--bg-3); }
.pr-path .tier { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.pr-path h3 { font-size: 1.2rem; margin-bottom: 14px; }
.pr-path .plan-feats { margin-bottom: 16px; }
.pr-best { color: var(--muted); font-size: .9rem; margin: auto 0 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.pr-best b { color: var(--text); font-weight: 600; }
.pr-path .btn { align-self: flex-start; }
.pr-here {
  align-self: flex-start; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); padding: 9px 16px; border: 1px dashed rgba(16, 208, 208, .45); border-radius: 999px;
}

@media (max-width: 1024px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 34px; }
  .plan .plan-head { min-height: 0; }
  .pr-expect { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 720px) {
  .pr-switch { display: flex; width: 100%; max-width: 380px; }
  .pr-opt { flex: 1 1 0; min-width: 0; padding: 9px 10px; }
  .pr-expect { padding: 24px 20px; }
  .pr-expect .plan-feats { grid-template-columns: 1fr 1fr; }
  .pr-paths { grid-template-columns: 1fr; }
  .price-card.plan { padding: 30px 22px 26px; }
  .plan .plan-feats { display: inline-block; text-align: left; }
  .plan .plan-grp { text-align: center; }
}
@media (max-width: 420px) {
  .pr-expect .plan-feats { grid-template-columns: 1fr; }
}
