/* SYNTAX — services page. Layout specifics only; the system lives in tokens.css / base.css. */

/* one 12-column grid, two shared right-hand column lines: A starts at column 8 (every five-column right-hand block: ledes,
   the Automate copy, the ROI copy, the System One aside, the engagement paragraphs, the manifest) and B at column 5
   (the wide right-hand blocks: the trace chain and the Advise stage). Everything is placed on these lines, so the right-hand
   edges of the page agree. */
.svpage { --cg: clamp(16px, 2vw, 28px); }
.svpage .head h2 { grid-column: 1 / span 7; }
.svpage .head .lede { grid-column: 8 / span 5; justify-self: start; max-width: 40ch; }
@media (max-width: 900px) { .svpage .head h2, .svpage .head .lede { grid-column: 1 / -1; } }
.svpage .k .num, .sv-kr .num { color: var(--signal); }
.sv-kr { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sv-kr .mono { color: var(--bone-3); font-size: 11px; }
@media (max-width: 560px) { .sv-kr .sv-kr-r { display: none; } }

/* the page's own code language: tokens used by hero manifest and the Build marks */
.kw { color: var(--b-red); } .fn { color: var(--b-cyan); } .st { color: var(--b-green); } .gd { color: var(--signal); } .cm { color: var(--bone-3); }

/* ------------------------------------------------------------------ 00 hero: the lens reads the code */
.sv-hero { position: relative; isolation: isolate; min-height: max(100svh, 720px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.sv-code { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.8s var(--ease-out) .15s; }
.sv-code.ready { opacity: 1; }
.sv-hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(180deg, rgba(5,5,6,.78) 0%, rgba(5,5,6,0) 20%, rgba(5,5,6,0) 52%, rgba(5,5,6,.94) 100%),
  radial-gradient(64% 58% at 20% 78%, rgba(5,5,6,.8) 0%, rgba(5,5,6,.46) 50%, rgba(5,5,6,0) 100%); }
.sv-hero-inner { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 56px); padding-bottom: clamp(88px, 11vh, 120px); pointer-events: none; }
.sv-hero-inner a { pointer-events: auto; }
.sv-h1 { margin-top: 28px; font-size: var(--t-hero); line-height: .9; letter-spacing: -.04em; }
/* site.js turns each <br>-separated line into a block with padding and negative margins that collapse unevenly;
   as a flex column the margins add up exactly, so the heading is the same height before and after the split (no shift) */
.sv-h1:has(> .split-line) { display: flex; flex-direction: column; }
.sv-h1 a { position: relative; display: inline-block; transition: opacity .5s var(--ease-out), color .4s; }
.sv-h1 em { padding-right: .06em; }
.sv-h1 a::before { content: attr(data-n); position: absolute; left: .08em; top: -.1em; font-family: var(--f-mono); font-style: normal; font-size: 11px; line-height: 1; letter-spacing: .16em; color: var(--signal); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
@media (hover: hover) {
  .sv-h1:hover a:not(:hover) { opacity: .28; }
  .sv-h1 a:hover::before { opacity: 1; transform: none; }
}
.sv-h1 a:focus-visible::before { opacity: 1; transform: none; }
.sv-hero-foot { margin-top: clamp(34px, 5vh, 60px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); align-items: end; }
.sv-hero-foot .lede { grid-column: 1 / span 6; }
.sv-hero-foot .sv-manifest { grid-column: 8 / span 5; }
.sv-hero-foot .lede { color: var(--bone-2); }
/* three constants in the page's own code language — the same facts the copy states, written as source */
.sv-manifest { justify-self: start; margin: 0; padding: 4px 0 4px 22px; border-left: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 12.5px; line-height: 1.85; letter-spacing: 0; color: var(--bone-2); white-space: pre; overflow: hidden; }
.sv-manifest code { font: inherit; }
.sv-lens-tag { position: absolute; z-index: 3; left: 0; top: 0; display: flex; align-items: center; gap: 12px; height: 22px; padding: 0 12px 0 10px; background: var(--void); border: 1px solid var(--line-2); border-bottom-color: transparent; font-size: 11px; opacity: 0; pointer-events: none; white-space: nowrap; will-change: transform; }
.sv-lens-tag b { font-weight: 450; color: var(--signal); }
.sv-lens-tag span { color: var(--bone-2); letter-spacing: .1em; }
.sv-hero-hud { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; gap: 20px; pointer-events: none; }
.sv-hero-hud .mono { font-size: 11px; color: var(--bone-3); }
.sv-hero-hud .mono b { color: var(--bone-2); font-weight: 450; }
@media (max-width: 900px) {
  .sv-hero-foot { grid-template-columns: 1fr; gap: 30px; }
  .sv-hero-foot .lede, .sv-hero-foot .sv-manifest { grid-column: 1; }
  .sv-manifest { padding-left: 18px; }
}
@media (max-width: 560px) {
  .sv-hero-inner { padding-bottom: 84px; }
  .sv-manifest { font-size: 11px; line-height: 1.8; }
  .sv-hero-hud .mono:last-child { display: none; }
}
/* phones: the headline would fill the screen and leave the lens nowhere to stand. A band is held open above the kicker,
   sized for the lens' tag plus four magnified lines, so the page's signature device renders on every phone height */
@media (max-width: 699px) { .sv-hero-inner { padding-top: calc(var(--nav-h) + 184px); } }
/* no room for the lens (a size the band does not cover): the hint and the readout go with it */
.sv-hero.lens-off .sv-hero-hud { display: none; }

/* ------------------------------------------------------------------ gutter rail */
.sv-rail { position: fixed; z-index: 60; right: 14px; top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s var(--ease-out), visibility 0s .6s; }
.sv-rail.show { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .6s var(--ease-out), visibility 0s; }
.sv-rail ol { display: flex; flex-direction: column; align-items: flex-end; }
.sv-rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 26px; width: 34px; color: var(--bone-3); }
.sv-rail a i { display: block; width: 10px; height: 1px; background: currentColor; transition: width .5s var(--ease-out), background .4s, color .4s; }
.sv-rail a span { position: absolute; right: 30px; top: 50%; transform: translate(6px, -50%); opacity: 0; white-space: nowrap; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 450; color: var(--bone); padding: 5px 8px; background: rgba(5,5,6,.9); border: 1px solid var(--line-2); transition: opacity .35s, transform .5s var(--ease-out); pointer-events: none; }
.sv-rail li.on a { color: var(--signal); }
.sv-rail li.on a i { width: 22px; background: var(--signal); }
.sv-rail a:hover, .sv-rail a:focus-visible { color: var(--bone); }
.sv-rail a:hover i, .sv-rail a:focus-visible i { width: 22px; }
.sv-rail a:hover span, .sv-rail a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 1180px) { .sv-rail { display: none; } }

/* ------------------------------------------------------------------ shared frame states */
.sv-frame { border: 1px solid var(--line); background:
  radial-gradient(circle at 1px 1px, rgba(236,232,225,.075) 1px, transparent 1.5px) 0 0 / 24px 24px, var(--ink-0); }
.sv-frame::after { content: attr(data-label); position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); transition: opacity .5s; }
.sv-frame.is-mounted::after, .sv-frame:has(> div, > canvas)::after { opacity: 0; }
.sv-frame.module-failed::after { content: "Live module unavailable"; opacity: 1; }
.sv-cap { margin-top: 14px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; color: var(--bone-2); font-size: 12px; line-height: 1.5; letter-spacing: .12em; }
/* the honesty label: brighter than the line around it, marked with a gold square */
.sv-cap .smp { font-weight: 500; color: var(--bone); }
.sv-cap .smp::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: .8em; vertical-align: .08em; background: var(--signal); }
.sv-cap a { color: var(--bone); }
.sv-cap .coarse { display: none; }
@media (hover: none), (pointer: coarse) { .sv-cap .fine { display: none; } .sv-cap .coarse { display: inline; } }
@media (max-width: 560px) { .sv-cap { letter-spacing: .08em; } }
@media (min-width: 761px) { .sv-cap:not(.sv-trace-cap) > :last-child:not(:first-child) { margin-left: auto; } }
/* HUD labels carry disclosures too: 11px, and the right-hand label in the lighter tone */
.svpage .frame .hud { font-size: 11px; }
.svpage .frame .hud .hud-r { color: var(--bone-2); }
.svpage .frame .hud .hud-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svpage .frame .hud .hud-r { flex: none; }
.svpage .frame .hud > span > .s { display: none; }
/* below 480px every long label gives way to a short one ("Live · Routes"), written to fit whole: the label keeps its width
   and the module's live readout gets all the rest of the line, instead of both being cut to an ellipsis */
@media (max-width: 480px) {
  .svpage .frame .hud > span > .f { display: none; } .svpage .frame .hud > span > .s { display: inline; }
  .svpage .frame .hud .hud-l { flex: none; overflow: visible; }
  .svpage .frame .hud .hud-r { flex: 0 1 auto; min-width: 0; max-width: none; }
}

/* ------------------------------------------------------------------ sections */
.sv-sec { border-top: 1px solid var(--line); padding-top: clamp(80px, 8.4vw, 128px); }
.sv-sec h2 { font-size: var(--t-h2); }
.sv-build, .sv-auto, .sv-adv { padding-bottom: clamp(48px, 6vw, 96px); }

/* 00 the economics ------------------------------------------- */
.sv-econ { border-top: 0; padding-top: clamp(88px, 9vw, 136px); padding-bottom: clamp(72px, 8vw, 120px); }
.sv-econ h2 { font-size: var(--t-h2); }
/* the equation: three terms on one line, the notes under each; on a phone the terms stack with their operators between */
.sv-eq { margin-top: clamp(56px, 7vw, 104px); padding-top: 22px; border-top: 1px solid var(--line-2); }
.sv-eq-k { color: var(--bone-2); }
.sv-eq-row { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); column-gap: clamp(14px, 2vw, 32px); align-items: start; }
.sv-eq-t .t { font-family: var(--f-display); font-weight: var(--display-weight); font-variation-settings: var(--display-opsz); font-size: clamp(28px, 3.1vw, 50px); line-height: 1.04; letter-spacing: -.032em; color: var(--bone); }
.sv-eq-t .t em { font-style: italic; color: var(--bone); }
.sv-eq-t .n { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--bone-2); font-size: 15.5px; line-height: 1.55; max-width: 34ch; }
.sv-eq-t .n a { color: var(--bone); white-space: nowrap; }
.sv-eq-op { font-family: var(--f-mono); font-weight: 300; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.2; color: var(--bone-3); }
.sv-eq-not { margin-top: clamp(30px, 3.4vw, 48px); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.sv-eq-not s { font-family: var(--f-display); font-weight: var(--display-weight); font-variation-settings: var(--display-opsz); font-size: clamp(24px, 2.4vw, 38px); letter-spacing: -.03em; color: var(--bone-2); text-decoration-thickness: 1.5px; text-decoration-color: var(--b-red); }
.sv-eq-not .mono { color: var(--bone-2); }
@media (max-width: 900px) {
  .sv-eq-row { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .sv-eq-op { line-height: 1; padding-left: 2px; }
  .sv-eq-t .n { margin-top: 14px; max-width: 52ch; }
}
/* what AI changes / what it doesn't: a two-column ledger */
.sv-ledger { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); row-gap: 48px; }
.sv-ledger-c { grid-column: 1 / span 5; }
.sv-ledger-c:last-child { grid-column: 8 / span 5; }
.sv-ledger-c .k { color: var(--bone-2); }
.sv-ledger-c:first-child .k { color: var(--signal); }
.sv-ledger ul { margin-top: 18px; border-top: 1px solid var(--line-2); }
.sv-ledger li { padding: 18px 0 20px; border-bottom: 1px solid var(--line); color: var(--bone-2); font-size: 16px; line-height: 1.55; }
.sv-ledger li b { display: block; margin-bottom: 4px; font-family: var(--f-display); font-weight: 400; font-variation-settings: var(--display-opsz); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -.02em; color: var(--bone); }
@media (max-width: 900px) { .sv-ledger-c, .sv-ledger-c:last-child { grid-column: 1 / -1; } }

/* 01 build ------------------------------------------------ */
.sv-spec { margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.sv-spec li { position: relative; display: flex; flex-direction: column; padding: 24px 28px 6px 0; margin-right: 28px; border-right: 1px solid var(--line); min-width: 0; }
.sv-spec li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.sv-spec li::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--signal); transition: width .9s var(--ease-out); }
.sv-spec li:hover::before { width: 56px; }
.sv-spec .idx { color: var(--signal); }
.sv-spec h3 { margin-top: 30px; font-size: clamp(25px, 2.1vw, 32px); }
.sv-spec .d { margin-top: 10px; color: var(--bone-2); font-size: 15px; max-width: 26ch; }
.sv-spec .mk { margin: 0; margin-top: auto; padding-top: 34px; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.75; color: var(--bone-2); white-space: pre; overflow: hidden; opacity: .72; transition: opacity .5s var(--ease-out); }
.sv-spec li:hover .mk { opacity: 1; }
.sv-spec .mk::after { content: ""; display: inline-block; width: 6px; height: 12px; margin-left: 3px; vertical-align: -2px; background: var(--signal); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .sv-spec li:hover .mk::after { opacity: 1; animation: caret 1s steps(1) infinite; } }
@media (max-width: 1000px) {
  .sv-spec { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .sv-spec li:nth-child(2) { border-right: 0; margin-right: 0; padding-right: 0; }
  .sv-spec li { padding-bottom: 24px; }
  .sv-spec li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .sv-spec { grid-template-columns: 1fr; row-gap: 0; margin-top: 36px; }
  .sv-spec li, .sv-spec li:nth-child(2) { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 4px; align-items: baseline; border-right: 0; margin-right: 0; padding: 17px 0 18px; border-top: 1px solid var(--line); }
  .sv-spec li:first-child { border-top: 0; }
  .sv-spec .idx { grid-row: 1 / span 2; }
  .sv-spec h3 { margin-top: 0; font-size: 26px; }
  .sv-spec .d { grid-column: 2; margin-top: 4px; max-width: none; font-size: 15px; }
  .sv-spec .mk { display: none; }
}

/* the engine, in full: a short intro on line A, then the frame. The module lays itself out by its width (six columns from
   960px, a vertical track below), so the frame is the height that layout needs from the first paint. */
.sv-sub { margin-top: clamp(56px, 6.4vw, 96px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); row-gap: 14px; align-items: start; }
.sv-sub .k { grid-column: 1 / span 4; padding-top: .3em; }
.sv-sub-p { grid-column: 8 / span 5; color: var(--bone-2); font-size: 17px; line-height: 1.55; max-width: 46ch; }
@media (max-width: 900px) { .sv-sub .k, .sv-sub-p { grid-column: 1 / -1; } }
.sv-sub + .sv-frame { margin-top: clamp(28px, 3vw, 44px); }
.sv-engine { height: 600px; }
@media (max-width: 1043px) { .sv-engine { height: 640px; } }
@media (max-width: 679px) { .sv-engine { height: 800px; } }

/* 02 automate --------------------------------------------- */
.sv-auto-grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); align-items: start; }
.sv-auto-stage { grid-column: 1 / span 7; grid-row: 1; min-width: 0; }
.sv-auto-cap { grid-column: 1 / span 7; grid-row: 2; }
/* the copy is exactly as tall as the map: its three rows share that height, so the last hairline lands on the frame's bottom edge */
.sv-auto-copy { grid-column: 8 / span 5; grid-row: 1; align-self: stretch; display: flex; flex-direction: column; }
.sv-auto-copy .sv-steps3 { flex: 1; display: flex; flex-direction: column; }
.sv-auto-copy .sv-steps3 li { flex: 1; align-content: start; }
.sv-auto .sv-frame { height: clamp(520px, 46vw, 680px); }
.sv-auto-copy .lede { max-width: 40ch; }
.sv-steps3 { margin-top: 34px; border-top: 1px solid var(--line-2); counter-reset: s; }
.sv-steps3 li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); color: var(--bone-3); font-family: var(--f-display); font-weight: var(--display-weight); font-variation-settings: var(--display-opsz); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.12; letter-spacing: -.028em; counter-increment: s; }
.sv-steps3 li::before { content: "0" counter(s); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--signal); padding-top: .55em; }
.sv-steps3 li b { color: var(--bone); font-weight: inherit; font-style: italic; }

/* today -> runs on schedule: three places the process lives today, each with a line that runs to one bus. The bus hands one
   line on to one system, and that system runs all three jobs. Nothing maps one source to one job; the three converge. */
.sv-xform { --col: calc((5 * 100% - 7 * var(--cg)) / 12); --run: clamp(40px, 4.4vw, 64px); margin-top: clamp(64px, 8vw, 112px); padding: clamp(32px, 4.4vw, 64px) 0; border-block: 1px solid var(--line); }
.sv-xf-hd, .sv-xf-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--col)); column-gap: var(--cg); }
.sv-xf-hd { margin-bottom: clamp(14px, 2vw, 24px); }
.sv-xf-body { align-items: center; }
.sv-xf-src { position: relative; padding-right: var(--run); font-family: var(--f-display); font-weight: var(--display-weight); font-variation-settings: var(--display-opsz); font-size: clamp(28px, 3.6vw, 56px); line-height: 1.14; letter-spacing: -.03em; }
.sv-xf-src li { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); min-width: 0; }
.sv-xf-src .from { flex: none; color: var(--bone-2); }
.sv-xf-src .lead { position: relative; flex: 1; height: 1px; margin-top: .1em; background: var(--line-3); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * .16s + .3s); }
.in .sv-xf-src .lead { transform: scaleX(1); }
.sv-xf-src .lead::before { content: ""; position: absolute; left: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--b-green); opacity: 0; }
/* the bus: from the first line's height to the last, at the end of every lead; one line leaves it from the middle */
.sv-xf-bus { display: none; }
.sv-xf-src::before { content: ""; position: absolute; right: var(--run); top: .62em; bottom: .52em; width: 1px; background: var(--line-3); transform: scaleY(0); transition: transform .9s var(--ease-out) .95s; }
.in .sv-xf-src::before { transform: none; }
.sv-xf-src::after { content: ""; position: absolute; right: calc(1px - var(--cg)); top: calc(50% + .05em); width: calc(var(--run) + var(--cg) - 1px); height: 1px; background: var(--bone-2); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out) 1.35s; }
.in .sv-xf-src::after { transform: none; }
.sv-xf-dst { position: relative; padding: clamp(18px, 1.8vw, 26px) clamp(18px, 1.8vw, 28px) clamp(14px, 1.4vw, 20px); border: 1px solid var(--line-3); background: linear-gradient(180deg, rgba(137,190,67,.05), rgba(137,190,67,0) 70%), var(--ink-0); opacity: .35; transition: opacity .7s var(--ease-out) 1.3s; }
.in .sv-xf-dst { opacity: 1; }
/* arrowhead where the line meets the system */
.sv-xf-dst::before { content: ""; position: absolute; left: -9px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-top: 1.5px solid var(--bone-2); border-right: 1.5px solid var(--bone-2); transform: rotate(45deg); }
.sv-xf-sys { display: flex; align-items: center; gap: 10px; color: var(--bone-2); font-size: 11px; }
.sv-xf-sys .led, .sv-xf-dst .led { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--b-green); box-shadow: 0 0 0 3px rgba(137,190,67,.16); }
.sv-xf-dst ul { margin-top: 10px; }
.sv-xf-dst li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0 11px; border-top: 1px solid var(--line); font-family: var(--f-display); font-weight: var(--display-weight); font-variation-settings: var(--display-opsz); font-size: clamp(22px, 2vw, 30px); line-height: 1.12; letter-spacing: -.025em; color: var(--bone); }
.sv-xf-dst li:first-child { border-top-color: var(--line-2); }
@media (prefers-reduced-motion: no-preference) {
  .in .sv-xf-src .lead::before { animation: xfdot 3.6s var(--ease-in-out) calc(var(--i) * .5s + 2s) infinite; }
}
@keyframes xfdot { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 5px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sv-xf-src .lead, .sv-xf-src::before, .sv-xf-src::after, .sv-xf-dst { transform: none; opacity: 1; transition: none; }
}
@media (max-width: 760px) {
  .sv-xform { --run: 0px; }
  .sv-xf-hd { display: none; }
  .sv-xf-body { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  /* phones: the bus runs down the left edge, a tick to each source, and on into the system below */
  .sv-xf-src { padding: 0 0 0 30px; font-size: clamp(27px, 7.6vw, 34px); }
  .sv-xf-src li { padding: 6px 0; }
  .sv-xf-src .lead { display: none; }
  .sv-xf-src li { position: relative; }
  .sv-xf-src li::before { content: ""; position: absolute; left: -23px; top: 50%; width: 14px; height: 1px; background: var(--line-3); }
  .sv-xf-src::before { left: 7px; right: auto; top: calc(.57em + 6px); bottom: -26px; transform-origin: top; }
  .sv-xf-src::after { display: none; }
  .sv-xf-dst::before { left: 4px; top: -9px; margin-top: 0; transform: rotate(135deg); }
}

/* the proof: the ROI dashboard's year-to-date chart and its three headline figures, redrawn by the page from the dashboard
   (sample data, labelled). A screenshot of it was illegible at this size; this is set in the page's own type, and it reads
   any week under the pointer. Weekly values were measured off the dashboard's own chart. */
.sv-roi { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); align-items: center; }
.sv-roi-l { grid-column: 1 / span 7; min-width: 0; }
.sv-roi-copy { grid-column: 8 / span 5; }
.sv-roi-shot { border: 1px solid var(--line); padding: 50px clamp(20px, 2.4vw, 36px) clamp(18px, 2vw, 28px); background:
  radial-gradient(circle at 1px 1px, rgba(236,232,225,.06) 1px, transparent 1.5px) 0 0 / 24px 24px, var(--ink-0); }
.roi-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); margin: 0; }
.roi-kpis > div { min-width: 0; display: flex; flex-direction: column; padding-top: 12px; border-top: 1px solid var(--line-2); }
.roi-kpis dt { color: var(--bone-2); font-size: 10.5px; letter-spacing: .14em; }
.roi-kpis dd { margin: auto 0 0; padding-top: 8px; font-family: var(--f-display); font-weight: 300; font-variation-settings: var(--display-opsz); font-size: clamp(30px, 3.2vw, 48px); line-height: 1; letter-spacing: -.03em; color: var(--bone); }
.roi-chart { position: relative; margin-top: clamp(26px, 2.8vw, 38px); touch-action: pan-y; }
.roi-ct { display: flex; justify-content: space-between; gap: 12px; color: var(--bone-2); font-size: 10.5px; letter-spacing: .14em; }
.roi-ct span { color: var(--b-green); }
.roi-plot { position: relative; height: clamp(180px, 17vw, 240px); margin-top: 12px; }
.roi-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.roi-plot .g line { stroke: var(--line-2); stroke-width: 1; shape-rendering: crispEdges; }
.roi-plot .g line.z { stroke: var(--line-3); }
.roi-plot text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; fill: var(--bone-3); }
.roi-plot .xl text { fill: var(--bone-2); }
.roi-plot .b rect { fill: rgba(74,192,228,.26); transition: fill .3s; }
.roi-plot .b rect.cap { fill: var(--b-cyan); }
.roi-plot .b g.on rect { fill: rgba(74,192,228,.6); }
.roi-plot .b g.on rect.cap { fill: #9fe2f7; }
.roi-plot .b g { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 22ms + .2s); }
.in .roi-plot .b g, .roi-plot.static .b g { transform: none; }
/* the reader: the logo's brackets close on the week being read, with its value above */
.roi-read { position: absolute; z-index: 2; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .4s; will-change: transform; }
.roi-read.on { opacity: 1; }
.roi-read i { position: absolute; width: 6px; height: 6px; }
.roi-read i:nth-child(1) { left: 0; top: 0; border-top: 1.5px solid var(--b-red); border-left: 1.5px solid var(--b-red); }
.roi-read i:nth-child(2) { right: 0; top: 0; border-top: 1.5px solid var(--b-green); border-right: 1.5px solid var(--b-green); }
.roi-read i:nth-child(3) { left: 0; bottom: 0; border-bottom: 1.5px solid var(--b-teal); border-left: 1.5px solid var(--b-teal); }
.roi-read i:nth-child(4) { right: 0; bottom: 0; border-bottom: 1.5px solid var(--b-cyan); border-right: 1.5px solid var(--b-cyan); }
.roi-tag { position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none; display: flex; gap: 10px; align-items: baseline; padding: 5px 9px 4px; background: var(--void); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); white-space: nowrap; opacity: 0; transition: opacity .4s; will-change: transform; }
.roi-tag b { font-weight: 450; color: var(--bone); letter-spacing: .06em; }
.roi-tag.on { opacity: 1; }
.sv-roi-cap { margin-top: 14px; }
.sv-roi h3 { margin-top: 14px; font-size: clamp(28px, 2.6vw, 40px); }
.sv-roi h3 em { font-style: italic; }
.sv-roi p.body-2 { margin-top: 10px; max-width: 52ch; }
@media (prefers-reduced-motion: reduce) { .roi-plot .b g { transform: none; transition: none; } }
@media (max-width: 1000px) {
  .sv-auto-grid { grid-template-columns: minmax(0, 1fr); }
  .sv-auto-stage, .sv-auto-cap, .sv-auto-copy { grid-column: 1 / -1; grid-row: auto; }
  .sv-auto-copy { order: -1; margin-bottom: 48px; }
  .sv-auto-copy .sv-steps3 li { flex: none; }
  .sv-auto .sv-frame { height: 540px; }
}
@media (max-width: 560px) { .sv-auto .sv-frame { height: 560px; } }
@media (max-width: 1000px) {
  .sv-roi { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .sv-roi-l, .sv-roi-copy { grid-column: 1 / -1; }
  .sv-roi-copy { order: -1; }
}
@media (max-width: 560px) {
  .sv-roi-shot { padding: 46px 16px 16px; }
  .roi-kpis { column-gap: 12px; }
  .roi-kpis dt { font-size: 9.5px; letter-spacing: .1em; min-height: 2.8em; }
  .roi-kpis dd { font-size: 27px; }
  .roi-ct { flex-direction: column; gap: 4px; }
  .roi-plot { height: 170px; }
}

/* 03 apply ai --------------------------------------------- */
.sv-ai { padding-bottom: 0; }
.sv-ai-top { margin-top: 26px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: var(--cg); row-gap: clamp(28px, 4vw, 48px); align-items: end; }
/* the loudest of the four, but never louder than the page title (the hero is 124px at 1440; this stops at 96) */
.sv-ai h2.sv-mega { grid-column: 1 / span 7; grid-row: 1; font-size: clamp(46px, 6.6vw, 96px); line-height: .94; letter-spacing: -.04em; }
.sv-ai-top > .lede { grid-column: 1 / span 6; grid-row: 2; max-width: 44ch; align-self: start; }
.sv-aside { grid-column: 8 / span 5; grid-row: 1 / span 2; align-self: end; border-top: 1px solid var(--line-2); padding-top: 18px; }
.sv-aside .k { color: var(--signal); }
.sv-aside p:not(.k) { margin-top: 14px; color: var(--bone-2); font-size: 15px; line-height: 1.55; max-width: 52ch; }
.sv-aside p q { quotes: "\201C" "\201D"; color: var(--bone); }
.sv-funnel { margin-top: 26px; width: 100%; max-width: 460px; height: auto; color: var(--bone-3); overflow: visible; }
.sv-funnel text { font-family: var(--f-mono); font-size: 12.6px; letter-spacing: .08em; text-transform: uppercase; fill: var(--bone-3); }
.sv-funnel .tb { fill: var(--bone-2); }
.sv-funnel .gold { stroke: var(--signal); fill: none; }
.sv-funnel .dot { fill: var(--signal); }
@media (prefers-reduced-motion: reduce) { .sv-funnel .dot { display: none; } }

.sv-sub-ai { margin-top: clamp(64px, 7vw, 104px); }
.sv-evals { height: 610px; }
@media (max-width: 1019px) { .sv-evals { height: 760px; } }
@media (max-width: 640px) { .sv-evals { height: 830px; } }
.sv-ai-list { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.sv-ai-list li { padding: 26px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.sv-ai-list li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.sv-ai-list .mono { color: var(--signal); }
.sv-ai-list h3 { margin-top: 22px; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.1; max-width: 16ch; }

.sv-trace { margin: clamp(56px, 7vw, 96px) 0 0; padding: clamp(32px, 4vw, 56px) 0 clamp(72px, 8vw, 120px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); row-gap: 28px; align-items: center; }
.sv-trace-head { grid-column: 1 / span 4; }
.sv-trace-body { grid-column: 5 / span 8; min-width: 0; }
.sv-trace h3 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.1; max-width: 17ch; }
.sv-trace .k { margin-bottom: 20px; color: var(--signal); }
.sv-chain { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr); align-items: stretch; }
.sv-link { position: relative; align-self: center; height: 1px; background: var(--line-3); }
.sv-link::before { content: ""; position: absolute; left: 0; top: -.5px; width: 100%; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .42s var(--ease-out); }
.sv-link.rev::before { transform-origin: right; }
.sv-link.lit::before { transform: scaleX(1); }
.sv-link::after { content: ""; position: absolute; right: 0; top: -3.5px; width: 7px; height: 7px; border-top: 1.5px solid var(--bone-3); border-right: 1.5px solid var(--bone-3); transform: rotate(45deg); transform-origin: 100% 0; transition: border-color .4s; }
.sv-link.lit::after { border-color: var(--signal); }
.sv-node-t { position: relative; display: flex; flex-direction: column; padding: 18px 18px 20px; border: 1px solid var(--line-2); background: var(--ink-0); min-width: 0; transition: border-color .5s var(--ease-out), transform .7s var(--ease-out), background .5s; }
.sv-node-t:hover, .sv-node-t.lit { border-color: rgba(236,232,225,.46); }
.sv-node-t.lit { transform: translateY(-4px); }
.sv-node-t.lit .rule, .sv-node-t:hover .rule { background: var(--signal); }
.sv-node-t.lit > .mono:first-child { color: var(--signal); }
.sv-node-t .rule { transition: background .5s; }
.sv-node-t > .mono:first-child { transition: color .5s; }
.sv-node-hit { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border-radius: 0; }
.sv-node-hit:focus-visible { outline: 0; }
.sv-node-t:has(.sv-node-hit:focus-visible) { outline: 1.5px solid var(--signal); outline-offset: 4px; }
#main:focus { outline: 0; }
.sv-node-t .mono { color: var(--bone-2); font-size: 11px; }
.sv-node-t strong { display: block; margin-top: 12px; font-family: var(--f-display); font-weight: 300; font-variation-settings: var(--display-opsz); font-size: clamp(22px, 2vw, 30px); letter-spacing: -.025em; line-height: 1.1; }
.sv-node-t strong em { font-style: italic; }
.sv-node-t.sign { border-color: rgba(250,179,31,.5); background: linear-gradient(180deg, rgba(250,179,31,.08), rgba(250,179,31,0)), var(--ink-0); }
.sv-node-t.sign .mono { color: var(--signal); }
.sv-node-t .rule { margin-top: 18px; height: 1px; background: var(--line-2); position: relative; }
.sv-node-t.sign .rule { background: linear-gradient(90deg, var(--signal), rgba(250,179,31,.15)); }
.sv-node-t .sub { margin-top: 12px; color: var(--bone-2); font-size: 11px; line-height: 1.55; letter-spacing: .1em; }
.sv-trace-cap { margin-top: 16px; justify-content: flex-start; gap: 8px 22px; }
@media (max-width: 1000px) {
  .sv-ai-top { grid-template-columns: 1fr; }
  .sv-ai h2.sv-mega, .sv-ai-top > .lede, .sv-aside { grid-column: 1 / -1; grid-row: auto; }
  .sv-aside { margin-top: 8px; }
  .sv-ai-list { grid-template-columns: 1fr; }
  .sv-ai-list li, .sv-ai-list li:last-child { border-right: 0; margin-right: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
  .sv-ai-list h3 { max-width: none; }
  .sv-trace-head, .sv-trace-body { grid-column: 1 / -1; }
}
@media (min-width: 641px) { .sv-node-t strong { min-height: 2.2em; } }
@media (max-width: 640px) {
  .sv-chain { grid-template-columns: 1fr; }
  .sv-link { width: 1px; height: 32px; justify-self: start; margin-left: 24px; }
  .sv-link::after { right: auto; left: -3.5px; top: auto; bottom: 0; transform: rotate(135deg); transform-origin: 100% 0; }
}

/* 04 advise ----------------------------------------------- */
.sv-adv-grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); align-items: start; }
.sv-adv-rows { grid-column: 1 / span 4; }
.sv-adv-stick { grid-column: 5 / span 8; min-width: 0; }
.sv-adv-rows { border-top: 1px solid var(--line-2); }
.sv-adv-row { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 6px; align-items: start; padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
.sv-adv-row::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--signal); transition: width 1s var(--ease-out); }
.sv-adv-row.on::before { width: 72px; }
.sv-adv-row .mono { padding-top: .55em; color: var(--bone-2); transition: color .6s; }
.sv-adv-row.on .mono { color: var(--signal); }
/* focus is carried by the headline and the index: the description keeps the readable tone (>= 4.5:1) in every state */
.sv-adv-row h3 { font-size: clamp(32px, 3.3vw, 50px); line-height: 1; letter-spacing: -.035em; font-weight: 300; opacity: .46; transition: opacity .8s var(--ease-out); }
.sv-adv-row.on h3 { opacity: 1; }
.sv-adv-row p { margin-top: 16px; max-width: 30ch; color: var(--bone-2); font-size: 17px; line-height: 1.5; opacity: .82; transition: opacity .8s var(--ease-out), color .8s var(--ease-out); }
.sv-adv-row.on p { opacity: 1; color: var(--bone); }
.sv-adv-stick { position: sticky; top: calc(var(--nav-h) + 24px); }
.sv-adv .sv-frame.sv-controls { height: 620px; }
.sv-note-wrap { margin-top: clamp(64px, 8vw, 120px); }
.sv-note { font-size: clamp(34px, 4.8vw, 80px); line-height: 1.04; letter-spacing: -.03em; max-width: 22ch; }
.sv-note .w { color: var(--bone-3); }
.sv-note .w.on { color: var(--bone); }
.sv-note-cta { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.sv-note-cta .mono { color: var(--bone-2); }
@media (max-width: 1100px) {
  .sv-adv-rows, .sv-adv-stick { grid-column: 1 / -1; }
  .sv-adv-rows { margin-bottom: 40px; }
  .sv-adv-stick { position: relative; top: 0; }
  .sv-adv .sv-frame.sv-controls { height: 600px; }
  .sv-adv-row { padding: 26px 0 30px; }
  .sv-adv-row h3 { opacity: 1; font-size: clamp(32px, 6vw, 46px); }
  .sv-adv-row p { opacity: 1; color: var(--bone-2); max-width: 44ch; }
  .sv-adv-row .mono { color: var(--signal); }
}

@media (max-width: 760px) { .sv-adv .sv-frame.sv-controls { height: 700px; } }

/* the caret used by the Build marks */
@keyframes caret { 50% { opacity: 0; } }

/* ------------------------------------------------------------------ close: start a project (the sketch itself lives on the contact page) */
.sv-close { position: relative; border-top: 1px solid var(--line); padding-top: clamp(88px, 9vw, 136px); padding-bottom: clamp(64px, 7vw, 104px); }
.sv-close-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); row-gap: 36px; align-items: end; }
.sv-close-l { grid-column: 1 / span 7; }
.sv-close-l h2 { margin-top: 26px; font-size: var(--t-h1); line-height: .96; }
.sv-close-r { grid-column: 8 / span 5; }
.sv-close-r .lede { max-width: 40ch; }
.sv-close-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.sv-close-steps { margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.sv-close-steps li { padding: 12px 10px 0 0; color: var(--bone-2); font-size: 10.5px; letter-spacing: .1em; line-height: 1.4; }
.sv-close-steps li span { display: block; margin-bottom: 6px; color: var(--signal); }
@media (max-width: 900px) { .sv-close-l, .sv-close-r { grid-column: 1 / -1; } }
@media (max-width: 480px) { .sv-close-steps { grid-template-columns: 1fr 1fr; row-gap: 14px; } .sv-close-cta .btn { width: 100%; justify-content: space-between; } }
/* the four steps are told in full on the contact page ("What happens next"); here, one line points there */
.sv-close-more { margin-top: 22px; display: inline-block; color: var(--bone-2); transition: color .3s; }
.sv-close-more:hover, .sv-close-more:focus-visible { color: var(--bone); }
.sv-also { margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 40px; color: var(--bone-3); }
.sv-also a { color: var(--bone-2); transition: color .3s; }
.sv-also a:hover { color: var(--bone); }
