/* Home services (Oct 27): four equal cards on one studio backdrop, one light from the upper left, one interface kit
   inside every screen, and one sample business (Cumberland Heating & Air) seen four ways. Each card plays once when
   it comes into view, then rests. A card opens a panel with that area's services; the panels replaced the Services
   page. Every scene is drawn at a fixed design size inside .stg and scaled to its box by services.js.
   Colours are tokens on .svc (the panel dialog lives inside it), swapped under [data-theme="dark"]. */
.svc {
  --sv-ink: #0D1633; --sv-mut: #4A5370; --sv-faint: #8E97AA; --sv-line: #E3E6EC; --sv-blue: #1F3FBF;
  --sv-sweep: radial-gradient(130% 110% at 14% 0%, #FFFFFF 0%, #F7F9FB 42%, #EDF1F6 100%);
  --sv-dots: #14213D17; --sv-veil: #EEF2F7E6; --sv-sheet: #FFFFFF; --sv-well: #F5F7FA;
  /* Interface kit: every screen in every card uses these. */
  --ui-win: #FFFFFF; --ui-side: #F3F5F8; --ui-line: #E2E6ED; --ui-line-2: #D2D8E2; --ui-fill: #EDF0F4; --ui-ink: #14213D;
  --ui-mut: #4F5A6D; --ui-faint: #8A93A6; --ui-blue: #0B68E3; --ui-blue-soft: #EAF2FE; --ui-blue-line: #C4D9FA;
  --ui-hatch: #EEF1F5; --ui-cream: #F5EFE0; --ui-cream-ink: #6B5A2E; --ui-cream-dark: #E4D8BD; --ui-on-blue: #FFFFFF;
  --dev-body: #1D2433; --dev-edge: #3A4357; --dev-hi: #6A7489; --dev-glass: #07090D;
  --m-floor: #14213D; --af-wire: #C3CBD7; --hi-line: transparent; --sw-light: #FFFFFFB3;
  --win-shadow: 0 1px 1px #14213D0A, 0 4px 10px -2px #14213D12, 0 30px 70px -24px #14213D40;
  --dev-shadow: 0 2px 4px #14213D1A, 0 18px 36px -12px #14213D4D, 0 44px 80px -30px #14213D59;
  --card-shadow: 0 1px 2px #14213D0F, 0 6px 16px -6px #14213D1F;
  --sv-out: cubic-bezier(.22, 1, .36, 1); --sv-quart: cubic-bezier(.165, .84, .44, 1);
}
[data-theme="dark"] .svc {
  --sv-ink: #E6E8EE; --sv-mut: #9AA2B1; --sv-faint: #6C7589; --sv-line: #252B37; --sv-blue: #5C7CFA;
  --sv-sweep: radial-gradient(130% 110% at 14% 0%, #181C25 0%, #12161D 45%, #0E1117 100%);
  --sv-dots: #FFFFFF12; --sv-veil: #0B0E13E0; --sv-sheet: #141821; --sv-well: #191E28;
  --ui-win: #1B212C; --ui-side: #161B24; --ui-line: #2B3341; --ui-line-2: #39424F; --ui-fill: #232A37; --ui-ink: #E6E8EE;
  --ui-mut: #A3AAB8; --ui-faint: #79839A; --ui-blue: #4C91F7; --ui-blue-soft: #1C2B45; --ui-blue-line: #2C4A7A;
  --ui-hatch: #1B212C; --ui-cream: #DCD3BC; --ui-cream-ink: #1E2433; --ui-cream-dark: #C2B89E; --ui-on-blue: #FFFFFF;
  --dev-body: #0B0E14; --dev-edge: #2A3140; --dev-hi: #555F73; --dev-glass: #030405;
  --m-floor: #000000; --af-wire: #4A5468; --hi-line: #FFFFFF14; --sw-light: #3A5A8C47;
  --win-shadow: 0 0 0 1px #FFFFFF12, inset 0 1px 0 #FFFFFF0F, 0 30px 70px -24px #000000B3;
  --dev-shadow: 0 0 0 1px #FFFFFF0F, 0 24px 60px -18px #000000CC;
  --card-shadow: 0 0 0 1px #FFFFFF0A, 0 8px 20px -8px #00000099;
}
.svc svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Section and cards ---------- */
.svc-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; max-width: 1200px; margin: 0 auto 34px; padding-inline: 6px; }
.svc-head h2 { margin: 0; text-wrap: balance; }
.svc-head .services-intro { margin: 0; }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 1212px; margin: 0 auto; }
.sc-grid > .sc { position: relative; display: flex; flex-direction: column; height: 600px; color: var(--sv-ink); text-decoration: none; border-radius: 16px; isolation: isolate; outline: none; cursor: var(--hand); }
.sc-grid > .sc::before, .sc-face { position: absolute; inset: 0; transition: clip-path .8s var(--sv-quart); }
.sc-grid > .sc::before { content: ""; z-index: -2; background: var(--sv-line); clip-path: inset(6px round 16px); }
.sc-face { z-index: -1; overflow: hidden; background: var(--sv-sweep); clip-path: inset(7px round 15px); }
.sc-head { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 34px 36px 0; transition: translate .8s var(--sv-quart); }
.sc-head h3 { margin: 0; color: var(--sv-ink); font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.sc-head p { grid-column: 1; margin: 0; color: var(--sv-mut); font-size: 15.5px; line-height: 1.45; }
.sc-open { grid-row: 1 / span 2; grid-column: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--sv-mut); box-shadow: inset 0 0 0 1px var(--sv-line); background: var(--ui-win); transition: background .3s, color .3s, box-shadow .3s; }
.sc-open svg.i { width: 14px; height: 14px; }
.sc-art { position: relative; flex: 1; min-height: 0; margin-top: 14px; overflow: hidden; border-radius: 0 0 15px 15px; }
.stg { position: absolute; left: 0; top: 0; width: var(--w); height: var(--h); transform-origin: 0 0; transform: translate(var(--ox, 0px), var(--oy, 0px)) scale(var(--k, 1)); color: var(--ui-ink); font-family: inherit; }
@media (hover: hover) {
  .sc-grid > .sc:hover::before { clip-path: inset(0 round 16px); }
  .sc:hover .sc-face { clip-path: inset(1px round 15px); }
  .sc:hover .sc-head { translate: -3px -4px; }
  .sc:hover .sc-open { background: var(--sv-blue); color: #fff; box-shadow: none; }
}
.sc-grid > .sc:focus-visible::before { background: var(--sv-blue); clip-path: inset(0 round 16px); }
.sc:focus-visible .sc-face { clip-path: inset(2px round 14px); }
.svc .cta-tile { max-width: 1196px; margin: 14px auto 0; }
.sc-tabs, .sc-more { display: none; }

/* ======================================================================================================
   CUSTOM SOFTWARE: Cumberland's own app. The desktop is the centrepiece, front facing; the iPad and iPhone
   only overlap its outer bottom corners. One finished job on the iPad updates the other two screens.
   ====================================================================================================== */
.sw { --w: 960px; --h: 640px; }
.sw .ly { position: absolute; transition: opacity .8s var(--sv-out), transform 1.2s var(--sv-out); }
.sw .win { left: 60px; top: 0; width: 760px; height: 410px; }
.sw .pad { left: 22px; top: 380px; width: 228px; height: 164px; }
.sw .ph { left: 744px; top: 282px; width: 140px; height: 292px; }
/* --px/--py run from -1 to 1 with the pointer, for a few pixels of depth */
.sw .win { transform: translate3d(calc(var(--px, 0) * -2px), calc(var(--py, 0) * -2px), 0); }
.sw .pad { transform: translate3d(calc(var(--px, 0) * 5px), calc(var(--py, 0) * 4px), 0); }
.sw .ph  { transform: translate3d(calc(var(--px, 0) * 7px), calc(var(--py, 0) * 5px), 0); }
/* one entrance: the window rises, then the iPad and the iPhone come up to its corners on the same curve */
.js .sw:not(.in) .win { opacity: 0; transform: translate3d(0, 26px, 0); }
.js .sw:not(.in) .pad { opacity: 0; transform: translate3d(-8px, 40px, 0); }
.js .sw:not(.in) .ph  { opacity: 0; transform: translate3d(8px, 40px, 0); }
.sw.in .pad, .sw.in .f-pad { transition-delay: .18s; } .sw.in .ph, .sw.in .f-ph { transition-delay: .3s; }
.sw.in.settled .ly { transition: transform .5s var(--sv-out); transition-delay: 0s; }
/* a soft light behind the window, and a contact shadow under each piece */
.sw::before { content: ""; position: absolute; left: 60px; top: -80px; width: 760px; height: 600px; background: radial-gradient(closest-side, var(--sw-light), transparent); pointer-events: none; }
.sw .floor { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--m-floor) 20%, transparent), transparent); filter: blur(7px); transition: opacity 1s var(--sv-out); }
.sw .f-win { left: 130px; top: 392px; width: 620px; height: 40px; opacity: .55; }
.sw .f-pad { left: 32px; top: 524px; width: 210px; height: 34px; }
.sw .f-ph  { left: 752px; top: 556px; width: 124px; height: 28px; }
.js .sw:not(.in) .floor { opacity: 0; }

/* the desktop window: 760 x 410, true size */
.win { display: flex; flex-direction: column; border-radius: 12px; background: var(--ui-win); box-shadow: var(--win-shadow); overflow: hidden; font-size: 12px; line-height: 1.3; }
.w-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-bottom: 1px solid var(--ui-line); background: var(--ui-side); box-shadow: inset 0 1px 0 var(--hi-line); }
.w-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--ui-line-2); }
.w-url { position: absolute; left: 50%; translate: -50% 0; display: flex; align-items: center; justify-content: center; gap: 6px; width: 300px; padding: 4px 12px; border-radius: 7px; background: var(--ui-fill); color: var(--ui-mut); font-size: 11px; }
.w-url svg.i { width: 10px; height: 10px; }
.w-body { flex: 1; display: grid; grid-template-columns: 172px 1fr; min-height: 0; }
.w-side { display: flex; flex-direction: column; gap: 1px; padding: 14px 10px; border-right: 1px solid var(--ui-line); background: var(--ui-side); }
.w-brand { display: flex; align-items: center; gap: 9px; padding: 0 6px 12px; }
.w-mark { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 7px; background: #14213D; color: #F5EFE0; font-weight: 700; font-size: 14px; letter-spacing: -.04em; box-shadow: inset 0 -2px 0 #0B68E3; }
.w-brand b { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; }
.w-brand small { display: block; color: var(--ui-mut); font-size: 11px; }
.w-search { display: flex; align-items: center; gap: 7px; margin: 0 2px 10px; padding: 6px 8px; border-radius: 7px; background: var(--ui-win); box-shadow: inset 0 0 0 1px var(--ui-line); color: var(--ui-faint); font-size: 11px; }
.w-search svg.i { width: 12px; height: 12px; }
.w-search kbd { margin-left: auto; font: inherit; font-size: 10.5px; }
.w-nav { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 7px; color: var(--ui-mut); font-size: 13px; }
.w-nav svg.i { width: 14px; height: 14px; }
.w-nav.on { background: var(--ui-win); color: var(--ui-ink); font-weight: 600; box-shadow: 0 0 0 1px var(--ui-line-2), 0 1px 3px #14213D14; }
.w-nav.on svg.i { color: var(--ui-blue); }
.w-nav em { margin-left: auto; font-style: normal; color: var(--ui-faint); font-size: 11px; font-variant-numeric: tabular-nums; }

.w-main { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 16px 20px 0; }
.w-head { display: flex; align-items: center; gap: 12px; }
.w-head h4 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.w-date { display: flex; align-items: center; gap: 4px; color: var(--ui-mut); font-size: 12.5px; }
.w-date svg.i { width: 13px; height: 13px; color: var(--ui-faint); }
.w-seg { display: flex; margin-left: auto; padding: 2px; border-radius: 8px; background: var(--ui-fill); }
.w-seg span { padding: 4px 10px; border-radius: 6px; color: var(--ui-mut); font-size: 11.5px; }
.w-seg span.on { background: var(--ui-win); color: var(--ui-ink); font-weight: 500; box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px #14213D12; }
.w-new { display: flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 7px; background: var(--ui-blue); color: var(--ui-on-blue); font-size: 12px; font-weight: 500; }
.w-new svg.i { width: 12px; height: 12px; stroke-width: 2.2; }
.w-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.w-kpis div { padding: 10px 12px; border-radius: 9px; background: var(--ui-win); box-shadow: inset 0 0 0 1px var(--ui-line-2), 0 1px 2px #14213D0D; }
.w-kpis div > span { display: block; color: var(--ui-mut); font-size: 11px; }
.w-kpis b { display: block; margin-top: 3px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-kpis b small { color: var(--ui-faint); font-size: 11.5px; font-weight: 400; letter-spacing: 0; }

/* the dispatch board: 128px people column, then 60px an hour from 8 AM to 2 PM */
.w-board { position: relative; --hr: 60px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ui-line-2); }
.w-hours { display: grid; grid-template-columns: 128px repeat(6, var(--hr)); align-items: center; height: 26px; padding-left: 12px; border-radius: 10px 10px 0 0; border-bottom: 1px solid var(--ui-line-2); background: var(--ui-side); color: var(--ui-mut); font-size: 11px; font-weight: 500; }
.w-hours span:first-child { color: var(--ui-mut); }
.w-row { position: relative; display: grid; grid-template-columns: 128px 1fr; align-items: center; height: 48px; padding-left: 12px; border-top: 1px solid var(--ui-line); }
.w-row:first-of-type { border-top: 0; }
.w-row::after { content: ""; position: absolute; inset: 0 0 0 140px; background: repeating-linear-gradient(90deg, var(--ui-line) 0 1px, transparent 1px var(--hr)); opacity: .6; pointer-events: none; }
.w-who { display: flex; align-items: center; gap: 8px; }
.av { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ui-cream); color: var(--ui-cream-ink); font-size: 10px; font-weight: 600; letter-spacing: .01em; }
.w-who b { display: block; font-size: 12.5px; font-weight: 500; }
.w-who small { display: flex; align-items: center; gap: 5px; color: var(--ui-mut); font-size: 10.5px; }
.w-who small i { width: 6px; height: 6px; border-radius: 50%; background: var(--ui-blue); }
.w-job { position: absolute; z-index: 1; top: 6px; bottom: 6px; left: calc(140px + var(--s) * var(--hr) + 2px); width: calc(var(--d) * var(--hr) - 4px); padding: 4px 8px; border-radius: 7px; background: var(--ui-win); box-shadow: inset 0 0 0 1px var(--ui-line-2); white-space: nowrap; overflow: hidden; box-shadow: inset 0 0 0 1px var(--ui-line-2), 0 1px 1px #14213D0D; transition: background .5s, box-shadow .5s, color .5s; }
.w-job b, .w-job small { display: block; overflow: hidden; text-overflow: ellipsis; line-height: 1.18; }
.w-job b { font-size: 12px; font-weight: 600; }
.w-job small { color: var(--ui-mut); font-size: 11px; }
.w-job.done { background: var(--ui-fill); box-shadow: none; color: var(--ui-mut); }
.w-job.done b { font-weight: 500; }
.w-job.done b::before, .sw.synced .w-job.r1 b::before { content: "✓ "; color: var(--ui-faint); }
.w-job.live { background: var(--ui-blue-soft); box-shadow: inset 3px 0 0 var(--ui-blue), inset 0 0 0 1px var(--ui-blue-line); }
.w-job.live b { color: var(--ui-blue); }
.w-job.open { background: repeating-linear-gradient(135deg, var(--ui-hatch) 0 6px, var(--ui-win) 6px 12px); box-shadow: inset 0 0 0 1px var(--ui-line); color: var(--ui-faint); }
.w-job.open b { font-weight: 400; }
.w-now { position: absolute; z-index: 2; top: 26px; bottom: 0; left: calc(140px + 3.78 * var(--hr)); width: 1px; background: var(--ui-blue); }
.w-now::before { content: "11:47"; position: absolute; top: -9px; left: 50%; translate: -50% 0; padding: 1px 5px; border-radius: 5px; background: var(--ui-blue); color: var(--ui-on-blue); font-size: 9.5px; font-weight: 500; }


/* shared device body */
/* Current devices, drawn to their real proportions: a thin metal band, an even black border around the glass,
   buttons on the edges, and the edge of the body showing where the device turns away. The iPad's camera sits
   in its long top border; the iPhone has its Dynamic Island. */
.dv { border-radius: 17px; padding: 2px; background: linear-gradient(150deg, var(--dev-hi), var(--dev-body) 22%, var(--dev-body) 78%, var(--dev-edge)); }
.dv-scr { position: relative; box-sizing: border-box; height: 100%; border: 6px solid var(--dev-glass); border-radius: 15px; background: var(--ui-win); overflow: hidden; color: var(--ui-ink); }
.dv::before, .dv::after { content: ""; position: absolute; background: var(--dev-edge); }
.pad.dv { box-shadow: 0 0 0 .5px var(--dev-edge), inset 0 1px 0 var(--hi-line), var(--dev-shadow); }
.pad.dv::before { left: 12%; top: -1.5px; width: 9%; height: 2px; border-radius: 2px 2px 0 0; }
.pad.dv::after { right: 10%; top: -1.5px; width: 7%; height: 2px; border-radius: 2px 2px 0 0; box-shadow: -26px 0 0 var(--dev-edge); }
.dv-cam { position: absolute; z-index: 2; left: 50%; top: 4.5px; width: 3px; height: 3px; translate: -50% 0; border-radius: 50%; background: #1E2636; box-shadow: inset 0 0 0 .7px #39435A; }
.ph.dv { border-radius: 25px; padding: 2.5px; box-shadow: 0 0 0 .5px var(--dev-edge), inset 0 1px 0 var(--hi-line), var(--dev-shadow); }
.ph .dv-scr { border-width: 3.5px; border-radius: 22.5px; }
.ph .dv-scr::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 44px; height: 3px; border-radius: 2px; background: var(--ui-ink); opacity: .7; translate: -50% 0; }
.ph.dv::before { left: -1.5px; top: 19%; width: 2px; height: 6%; border-radius: 2px 0 0 2px; box-shadow: 0 26px 0 var(--dev-edge), 0 50px 0 var(--dev-edge); }
.ph.dv::after { right: -1.5px; top: 29%; width: 2px; height: 10%; border-radius: 0 2px 2px 0; }
.dv-island { position: absolute; z-index: 2; left: 50%; top: 5px; width: 44px; height: 13px; translate: -50% 0; border-radius: 7px; background: #000; }
.dv-status { display: flex; justify-content: space-between; align-items: center; height: 22px; padding: 0 14px; font-size: 9.5px; font-weight: 600; }
.dv-status i { position: relative; display: inline-block; width: 16px; height: 7px; border-radius: 2px; box-shadow: inset 0 0 0 1px currentColor; opacity: .8; }
.dv-status i::after { content: ""; position: absolute; inset: 1.5px 4px 1.5px 1.5px; border-radius: 1px; background: currentColor; }
.ph .dv-status { height: 25px; padding: 3px 13px 0 15px; }

/* iPad, landscape: the job Chris is finishing, and nothing else */
.pad .dv-status { height: 18px; }
.pd { display: flex; flex-direction: column; height: calc(100% - 18px); padding: 0 14px 10px; }
.pd-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pd-h h5 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.pd-addr { margin: 2px 0 7px; color: var(--ui-mut); font-size: 11.5px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: var(--ui-blue-soft); color: var(--ui-blue); font-size: 10.5px; font-weight: 600; white-space: nowrap; transition: background .4s, color .4s; }
.chk { display: flex; align-items: center; gap: 8px; height: 24px; border-top: 1px solid var(--ui-line); font-size: 12px; }
.chk i { display: grid; place-items: center; flex: none; width: 15px; height: 15px; border-radius: 4px; box-shadow: inset 0 0 0 1.25px var(--ui-line-2); transition: background .3s, box-shadow .3s; }
.chk i svg { width: 9px; height: 9px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .2s; }
.chk.on i { background: var(--ui-blue); box-shadow: none; }
.chk.on i svg { opacity: 1; }
.pd-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.pd-foot b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-btn { display: flex; align-items: center; justify-content: center; gap: 5px; flex: 1; height: 30px; border-radius: 8px; background: var(--ui-blue); color: var(--ui-on-blue); font-size: 12px; font-weight: 600; transition: background .4s, color .4s, scale .15s; }
.pd-btn svg.i { width: 12px; height: 12px; stroke-width: 2.4; }
.pd-btn .b2 { display: none; }

/* iPhone: the owner's day at a glance; a notification drops in when the job is done */
.dl { display: flex; flex-direction: column; gap: 8px; padding: 2px 10px 0; }
.dl h5 { margin: 2px 2px 0; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.dl > p { margin: -8px 2px 2px; color: var(--ui-mut); font-size: 10.5px; }
.dl-card { padding: 9px 10px 10px; border-radius: 13px; background: var(--ui-fill); }
.dl-k { display: block; color: var(--ui-mut); font-size: 10.5px; }
.dl-card .big { margin-top: 1px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dl-card .big small { color: var(--ui-mut); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.ticks { display: flex; gap: 2px; margin-top: 8px; }
.ticks i { flex: 1; height: 5px; border-radius: 2px; background: var(--ui-line-2); transition: background .4s; }
.ticks i.on { background: var(--ui-ink); }
.ticks i.new { background: var(--ui-blue); }
.dl-note { position: absolute; z-index: 3; left: 5px; right: 5px; top: 27px; display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 13px; background: var(--ui-win); box-shadow: inset 0 0 0 1px var(--ui-line-2), 0 10px 20px -8px #14213D66; opacity: 0; translate: 0 -12px; transition: opacity .35s, translate .55s var(--sv-out); }
.dl-note > i { display: grid; place-items: center; flex: none; width: 19px; height: 19px; border-radius: 5px; background: #14213D; color: #F5EFE0; font-size: 11px; font-weight: 700; font-style: normal; letter-spacing: -.04em; }
.dl-note b { display: block; font-size: 10.5px; font-weight: 600; }
.dl-note small { display: block; color: var(--ui-mut); font-size: 9.5px; }

/* the synced change: one job finished on the iPad shows on the desktop and the phone at once */
.sw .sync-new { display: none; }
.sw.synced .sync-old { display: none; }
.sw.synced .sync-new { display: inline; }
.sw.synced .w-job.r1 { background: var(--ui-fill); box-shadow: inset 0 0 0 1.5px var(--ui-blue); color: var(--ui-mut); }
.sw.synced .w-job.r1 b::before { color: var(--ui-blue); }
.sw.synced .pd .tag { background: var(--ui-fill); color: var(--ui-mut); }
.sw.synced .pd-btn { background: var(--ui-fill); color: var(--ui-mut); }
.sw.synced .pd-btn .b1 { display: none; } .sw.synced .pd-btn .b2 { display: inline-flex; align-items: center; gap: 5px; }
.sw.synced .dl-note { opacity: 1; translate: 0 0; }
.dl > h5, .dl > p { transition: opacity .3s; }
.sw.synced .dl > h5, .sw.synced .dl > p { opacity: 0; }
.flash { border-radius: 4px; transition: background-color 1.6s ease; }
.sw.pulse .flash { background-color: var(--ui-blue-soft); transition: background-color .25s ease; }
.sw.press .pd-btn { scale: .96; }

/* ======================================================================================================
   AI AND AUTOMATION: a branching workflow on a canvas, in the spirit of Attio's builder. The card shows the
   call being sorted three ways; the panel shows the whole system down to the payment. Connectors are drawn
   from the nodes' layout boxes, and the light travels along them at one speed.
   ====================================================================================================== */
.ai { --w: 760px; --h: 520px; }
.sc-art:has(> .ai) { background-image: radial-gradient(circle at 1px 1px, var(--sv-dots) 1px, transparent 1.3px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(75% 70% at 50% 50%, #000 55%, transparent 100%); }
.af { position: relative; display: grid; grid-template-columns: 196px 244px 196px; justify-content: center; column-gap: 0; row-gap: 54px; padding: 40px 0 30px; align-items: start; }
.sv-sheet .af { column-gap: 22px; } /* the panel's longer flow puts two nodes side by side */
.af-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.af-wires path { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.af-wires .base { stroke: var(--af-wire); }
.af-wires .lit { stroke: var(--ui-blue); stroke-width: 1.6; }
.af-wires .head { fill: var(--ui-blue); stroke: none; opacity: 0; }
.af-wires .end { fill: var(--ui-win); stroke: var(--ui-line-2); stroke-width: 1.3; transition: stroke .3s; }
.af-wires .end.on { stroke: var(--ui-blue); }
.an { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; padding: 12px 14px; border-radius: 12px; background: var(--ui-win); box-shadow: inset 0 0 0 1px var(--ui-line-2), 0 1px 2px #14213D0A; transition: box-shadow .35s, opacity .45s; }
.an-ic { grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ui-fill); color: var(--ui-ink); }
.an-ic svg.i { width: 15px; height: 15px; }
.an-ic.ai-ic { background: var(--ui-blue-soft); color: var(--ui-blue); }
.an-ic.av { width: 30px; height: 30px; border-radius: 50%; font-size: 10.5px; }
.an h5 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.an p { grid-column: 2; margin: 0; color: var(--ui-mut); font-size: 12px; line-height: 1.35; }
.an-st { position: absolute; right: 12px; bottom: -10px; display: flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 99px; background: var(--ui-blue); color: var(--ui-on-blue); font-size: 10.5px; font-weight: 600; opacity: 0; translate: 0 4px; transition: opacity .3s, translate .4s var(--sv-out); }
.an-st::before { content: ""; width: 9px; height: 9px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.4 2.3 2.3L9.5 3.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.4 2.3 2.3L9.5 3.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.an.fin .an-st { opacity: 1; translate: 0 0; }
.an.run { box-shadow: inset 0 0 0 1.5px var(--ui-blue), 0 0 0 4px var(--ui-blue-soft); }
/* the branches not taken stay readable, one step quieter */
.an.off { background: var(--ui-side); box-shadow: inset 0 0 0 1px var(--ui-line-2); }
.an.off h5 { color: var(--ui-mut); font-weight: 500; }
.an.off p { color: var(--ui-faint); }
.an.off .an-ic { opacity: .75; }
/* node types: the trigger is outlined, AI is blue, the decision is navy, an outcome is cream */
.a1 .an-ic { background: var(--ui-win); box-shadow: inset 0 0 0 1px var(--ui-line-2); }
.an.ai-n { background: color-mix(in srgb, var(--ui-blue-soft) 55%, var(--ui-win)); box-shadow: inset 0 0 0 1px var(--ui-blue-line), 0 1px 2px #14213D0A; }
/* the AI is on the phone: a small voice level that moves while it talks */
.wave { position: absolute; right: 14px; top: 50%; display: flex; align-items: center; gap: 2px; height: 14px; translate: 0 -50%; }
.wave i { width: 2px; height: 4px; border-radius: 1px; background: var(--ui-blue); opacity: .55; }
.an.run .wave i { animation: talk .7s ease-in-out infinite alternate; opacity: 1; }
.an.run .wave i:nth-child(2) { animation-delay: -.25s; } .an.run .wave i:nth-child(3) { animation-delay: -.5s; } .an.run .wave i:nth-child(4) { animation-delay: -.12s; }
@keyframes talk { to { height: 13px; } }
.an.out .an-ic { background: var(--ui-cream); color: var(--ui-cream-ink); }
.af .a4 { width: 196px; justify-self: center; }
.an-k { position: absolute; left: 2px; top: -19px; display: flex; align-items: center; gap: 4px; color: var(--ui-faint); font-size: 10.5px; font-weight: 500; }
.an-k.trig { left: 0; padding: 2px 7px 2px 6px; top: -21px; border-radius: 6px 6px 6px 0; background: var(--ui-blue); color: var(--ui-on-blue); }
.an-k.trig svg { width: 8px; height: 8px; fill: currentColor; }
.an.dec .an-ic { background: var(--ui-ink); color: var(--ui-win); }
/* the decision is a router, not a step: a small pill */
.af .dec { justify-self: center; gap: 0 9px; padding: 6px 16px 6px 6px; border-radius: 99px; }
.an.dec .an-ic { grid-row: auto; width: 28px; height: 28px; border-radius: 50%; }
.an.dec h5 { font-size: 13.5px; }
/* between calls the last one fades out before the next comes in */
.af.reset .af-wires :is(.lit, .end), .af.reset .an-st { opacity: 0; transition: opacity .4s; }
/* branch labels sit on the connectors, just above the node they lead to */
.an-lab { position: absolute; left: 50%; top: -38px; translate: -50% 0; padding: 2px 8px; border-radius: 99px; background: var(--ui-win); box-shadow: inset 0 0 0 1px var(--ui-line-2); color: var(--ui-mut); font-size: 10.5px; font-weight: 500; white-space: nowrap; transition: color .3s, box-shadow .3s, background .3s; }
.an.lit-lab .an-lab { background: var(--ui-blue-soft); box-shadow: inset 0 0 0 1px var(--ui-blue-line); color: var(--ui-blue); }
.a1 { grid-area: 1 / 2; } .a2 { grid-area: 2 / 2; } .a3 { grid-area: 3 / 2; }
.a4q { grid-area: 4 / 1; } .a4 { grid-area: 4 / 2; } .a4e { grid-area: 4 / 3; }
.a5q { grid-area: 5 / 1; } .a5 { grid-area: 5 / 2; } .a6 { grid-area: 6 / 2; } .a7 { grid-area: 7 / 2; } .a7r { grid-area: 7 / 3; }
.sc-grid > .sc .an.more { display: none; }

/* ======================================================================================================
   PLANNING AND TRAINING: isometric drawings (services.js) with a flat card in the interface kit beside them.
   Soft tonal fills (white, pale blues, cream), one navy line for the things that matter, a quieter grey line for
   what's in the background, and the brand blue only for the plan. In dark mode the surfaces turn navy-tinted
   charcoal, the line turns light, and cream paper stays cream.
   ====================================================================================================== */
.svc {
  --il-ln: #14213D; --il-hair: #C7D0DC; --il-edge: #FFFFFF;
  --il-w: #FFFFFF; --il-p: #EEF3FA; --il-p2: #DCE5F2; --il-p3: #B9CDEC;
  --il-n: #14213D; --il-n2: #23345A; --il-n3: #56678A;
  --il-c: #F5EFE0; --il-c2: #EADFC6; --il-c3: #DDCFB0; --il-cln: #14213D;
  --il-q: #FFFFFF; --il-q2: #EEF1F5; --il-q3: #E1E6ED; --il-qln: #A9B3C3; --il-qd: #CCD4DF;
  --pl-0t: #ECEFF3; --pl-0l: #D3DAE4; --pl-0r: #B5C0CF;
  --pl-1t: #F2F5F8; --pl-1l: #D9E0E9; --pl-1r: #BCC7D5;
  --pl-2t: #F8FAFC; --pl-2l: #DEE4EC; --pl-2r: #C1CBD8;
  --pl-edge: #9DA9BB; --pl-hl: #FFFFFF; --pl-ao: #14213D; --pl-aoa: .16; --pl-pool: .3;
  --il-bl: #0B68E3; --il-bl2: #0A57C0; --il-bl3: #08479E; --il-on: #FFFFFF; --il-blsoft: #EAF2FE; --il-blline: #A9C7F5;
  --pl-pf: #EBEFF5; --pl-pwy: #E0E6EE; --pl-pwx: #D3DBE6; --pl-rd: #E4E9F0; --pl-rdl: #FFFFFF; --pl-lot: #EDF1F6; --pl-tree: #E6ECF4; --tr-rug: #F8F3E8; --tr-rugl: #E6DCC5;
  --il-shd: #14213D1C; --il-scr: #FFFFFF; --pl-ink: #14213D; --pl-sub: #6B5A2E; --pl-chip: #FFFFFFB3;
}
[data-theme="dark"] .svc {
  --il-ln: #A3AEC2; --il-hair: #343D4E; --il-edge: #FFFFFF1A;
  --il-w: #252C39; --il-p: #1F2633; --il-p2: #1A202B; --il-p3: #34588F;
  --il-n: #0C1018; --il-n2: #2B3957; --il-n3: #6A7895;
  --il-c: #E4D8B9; --il-c2: #CDBF9D; --il-c3: #B6A884; --il-cln: #4C432F;
  --il-q: #1E242F; --il-q2: #1A1F29; --il-q3: #161B23; --il-qln: #4D576B; --il-qd: #2B3341;
  --pl-0t: #222934; --pl-0l: #191E27; --pl-0r: #10141A;
  --pl-1t: #283040; --pl-1l: #1D232E; --pl-1r: #141921;
  --pl-2t: #2E3747; --pl-2l: #222A36; --pl-2r: #181E28;
  --pl-edge: #465166; --pl-hl: #FFFFFF2E; --pl-ao: #000000; --pl-aoa: .55; --pl-pool: .5;
  --il-bl: #3D86F5; --il-bl2: #2C6CD3; --il-bl3: #2257B0; --il-on: #FFFFFF; --il-blsoft: #1C2B45; --il-blline: #2F5490;
  --pl-pf: #161B24; --pl-pwy: #1B212C; --pl-pwx: #13171F; --pl-rd: #1F2531; --pl-rdl: #3A4456; --pl-lot: #1C222D; --pl-tree: #263042; --tr-rug: #1C222D; --tr-rugl: #2B3341; --glow: .8;
  --il-shd: #00000073; --il-scr: #1B212C; --pl-ink: #1E2433; --pl-sub: #5B4F33; --pl-chip: #FFFFFF59;
}
.ill { position: absolute; left: 0; top: 0; overflow: visible; }
.ill :is(polygon, path, rect, ellipse, circle) { stroke: var(--il-ln); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.ill .t, .ill .w { fill: var(--il-w); } .ill .l, .ill .p { fill: var(--il-p); } .ill .r, .ill .p2 { fill: var(--il-p2); }
.ill .n { fill: var(--il-n); } .ill .o { fill: none; }
.ill :is(.c, .c2, .c3) { stroke: var(--il-cln); } .ill .c { fill: var(--il-c); } .ill .c2 { fill: var(--il-c2); } .ill .c3 { fill: var(--il-c3); }
.ill .shd, .ill .shd * { fill: var(--il-shd); stroke: none; }

/* Planning and Training: layered plates in the manner of a circuit board. Every plate is full: sunken
   zones, thick named blocks, traces with round arrow badges. Navy line throughout, white and cool-grey plates,
   cream as the second fill, and blue only for the plan (or Claude), its routes and the light that spills from it. */
.ill text { stroke: none; fill: var(--il-ln); font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.ill .bn { letter-spacing: .005em; } .ill .bn.on { fill: #FFFFFF; } .ill .bn.mu { fill: var(--il-n3); } .ill .bn.ink { fill: var(--il-cln); } .ill .bi.ink { stroke: var(--il-cln); }
.ill .sg { fill: #FFFFFF; letter-spacing: .06em; } .ill .nm { letter-spacing: .1em; }
.ill .bi { fill: none; stroke: var(--il-ln); stroke-width: 1.8; } .ill .bi.on { stroke: #FFFFFF; }
/* plates: solid rounded slabs, drawn in hairlines (the navy line is kept for the pieces that matter); their edges
   are filled with a gradient from the left face's tone to the right face's (services.js) */
.ill .plate :is(polygon, path) { stroke: var(--pl-edge); stroke-width: .8; }
.ill .plate .pin { fill: none; stroke: var(--il-hair); stroke-width: .7; }
.ill .plate .edge { fill: none; stroke: var(--pl-hl); stroke-width: 1.2; }
.ill .pt0 .ptop { fill: var(--pl-0t); } .ill .pt1 .ptop { fill: var(--pl-1t); } .ill .pt2 .ptop { fill: var(--pl-2t); }
/* Planning (Nov 8, fifth pass): drawn after the approved picture. Thick white plates with soft grey-blue edges,
   sunken pale-blue zones, white rounded blocks, thin soft navy lines with round arrow badges, a little street with
   soft hill-green trees, and the brand blue only for the AI, its glow and the route the story takes. Everything is
   scoped to .pl; in dark mode the plates turn navy-tinted charcoal and the blue stays blue. */
.svc {
  --pq-top: #FFFFFF; --pq-top2: #F4F7FB; --pq-sl: #F4F7FB; --pq-sm: #E9EEF5; --pq-sm2: #DCE3EE; --pq-sr: #CFD8E5;
  --pq-edge: #14213D21; --pq-rim: #14213D0F;
  --pq-bt: #FFFFFF; --pq-bl: #F2F5F9; --pq-br: #DAE2ED; --pq-bln: #14213D3D;
  --pq-zw: #CFDDF2; --pq-zf: #E8F0FC; --pq-zr: #14213D14;
  --pq-ln: #14213D47; --pq-ink: #14213D; --pq-sh: #14213D; --pq-cast: .07;
  --pq-hs1: #0B5FD0; --pq-hs2: #08479E; --pq-ht: #1D7BF2; --pq-ht2: #3B8DF5; --pq-halo: .45; --pq-glow: .5;
  --pq-wt: #FFFFFF; --pq-wl: #F3F6FA; --pq-wr: #DCE3ED; --pq-win: #CFDFF3; --pq-door: #A9BCD6;
  --pq-rf: #D8E1EE; --pq-rf2: #E4EAF3; --pq-rfb: #C6D1E0; --pq-aw: #0B68E3; --pq-sign: #0B68E3;
  --pq-rd: #EBF0F6; --pq-rdl: #FFFFFF; --pq-curb: #D7DFEA; --pq-leaf: #B7CFA3; --pq-leaf2: #D7E6CA; --pq-leafd: #9DBB88; --pq-trunk: #A69C88; --pq-pot: #E9E4DA;
  --pq-rest: #0B68E34D; --pq-port: #FFFFFF;
  --pq-tire: #1B2740; --pq-rimc: #E6EBF2; --pq-und: #2A3550; --pq-tail: #8FA3C2; --pq-ct: #E6EEFA; --pq-cl: #D3E1F5; --pq-cr: #B7CAE6; --pq-glo: .6; --pq-sid: #14213D0F; --pq-fnd: #E4E9F0; --pq-shut: #C5D3E6; --pq-ridge: #F4F7FB; --pq-gnd: #F5F7FA; --pq-sho: .13; --pq-curbf: #D9E0EA; --pq-drain: #B9C5D6; --pq-lb: #C3CEDD; --pq-lbr: #A9B7CB; --pq-lht: #E9EEF5;
  --pq-lawn: #E6EFDD; --pq-walk: #FAFBFD; --pq-jt: #DDE4EE; --pq-drive: #F1F4F8; --pq-app: #E7F0FD; --pq-shg: #14213D17; --pq-mul: #FFFFFF;
}
[data-theme="dark"] .svc {
  --pq-top: #283040; --pq-top2: #222A38; --pq-sl: #222937; --pq-sm: #1B212D; --pq-sm2: #161B25; --pq-sr: #10141B;
  --pq-edge: #FFFFFF1F; --pq-rim: #FFFFFF0D;
  --pq-bt: #313A4C; --pq-bl: #262E3D; --pq-br: #1A202B; --pq-bln: #FFFFFF2B;
  --pq-zw: #172338; --pq-zf: #1D2B44; --pq-zr: #FFFFFF12;
  --pq-ln: #C9D2E266; --pq-ink: #E3E8F0; --pq-sh: #000000; --pq-cast: .5;
  --pq-hs1: #2C6CD3; --pq-hs2: #1F4F9E; --pq-ht: #3D86F5; --pq-ht2: #5A9BF7; --pq-halo: .6; --pq-glow: .55;
  --pq-wt: #343C4C; --pq-wl: #2A3240; --pq-wr: #1D232E; --pq-win: #3F5274; --pq-door: #56647E;
  --pq-rf: #3A4354; --pq-rf2: #2F3746; --pq-rfb: #262D3A; --pq-aw: #3D86F5; --pq-sign: #3D86F5;
  --pq-rd: #1D232F; --pq-rdl: #3A4354; --pq-curb: #2E3646; --pq-leaf: #3E5536; --pq-leaf2: #56704A; --pq-leafd: #33472D; --pq-trunk: #6B6457; --pq-pot: #3A3E44;
  --pq-rest: #4A90F780; --pq-port: #283040;
  --pq-tire: #07090D; --pq-rimc: #7D889B; --pq-und: #07090D; --pq-tail: #5A6A86; --pq-ct: #3A4C6B; --pq-cl: #2F3F5A; --pq-cr: #233046; --pq-glo: .14; --pq-sid: #FFFFFF0D; --pq-fnd: #232A36; --pq-shut: #45546E; --pq-ridge: #46506A; --pq-gnd: #262D39; --pq-sho: .42; --pq-curbf: #191E28; --pq-drain: #12161D; --pq-lb: #4A5468; --pq-lbr: #363E4E; --pq-lht: #5A6479;
  --pq-lawn: #2C3824; --pq-walk: #2E3646; --pq-jt: #222937; --pq-drive: #252C39; --pq-app: #1C2B45; --pq-shg: #FFFFFF14; --pq-mul: #4F6182;
}
.pl { --w: 760px; --h: 656px; }
.pl[data-lay="tall"] { --w: 572px; --h: 740px; }
.pl[data-lay="sq"] .pl-tag { gap: 7px; padding: 6px 13px 6px 7px; font-size: 17px; }
.pl[data-lay="sq"] .pl-tag .i { width: 19px; height: 19px; padding: 2.5px; }
/* phones draw it at about .6, so the labels are set larger to come out at about 12px */
.pl[data-lay="tall"] .pl-tag { gap: 9px; padding: 8px 17px 8px 9px; font-size: 21px; }
.pl[data-lay="tall"] .pl-tag .i { width: 24px; height: 24px; padding: 3px; }
.pl .ill :is(polygon, path, circle, ellipse, rect) { stroke-width: .8; stroke: var(--pq-bln); }
.pl .ill .fc * { vector-effect: non-scaling-stroke; }
/* plates */
.pl .ill .pq-ps { stroke: var(--pq-edge); } .pl .ill .pq-pt { fill: var(--pq-top); stroke: var(--pq-edge); }
.pl .ill .pq-rim { fill: none; stroke: var(--pq-rim); stroke-width: 1.2; }
.pl .ill :is(.pq-sh, .pq-cast) { fill: var(--pq-sh); stroke: none; } .pl .ill .pq-sh { opacity: .16; } .pl .ill .pq-cast { opacity: var(--pq-cast); }
.pl .ill .pq-glow { fill: var(--il-bl); stroke: none; opacity: var(--pq-glow); }
/* blocks */
.pl .ill .pq-bt { fill: var(--pq-bt); } .pl .ill .pq-bs { stroke: var(--pq-bln); }
.pl .ill .bt { fill: var(--pq-bt); } .pl .ill .bl { fill: var(--pq-bl); } .pl .ill .br { fill: var(--pq-br); }
.pl .ill .pq-ic { fill: none; stroke: var(--pq-ink); stroke-width: 2; }
.pl .ill .pq-nm { fill: var(--pq-ink); font-weight: 600; letter-spacing: .06em; text-anchor: middle; dominant-baseline: central; stroke: none; }
.pl .ill .pq-dl { fill: none; stroke: var(--pq-ink); stroke-width: 1.4; opacity: .6; }
/* the AI */
.pl .ill .pq-hs { stroke: var(--pq-hs2); } .pl .ill .pq-ht { fill: var(--pq-ht); stroke: var(--pq-hs1); }
.pl .ill .pq-hg { fill: var(--pq-ht2); stroke: none; opacity: .55; }
.pl .ill .pq-hic { fill: #FFFFFF; stroke: none; }
.pl .ill .pq-halo { fill: var(--il-bl); stroke: none; opacity: var(--pq-halo); transition: opacity .6s var(--sv-out); }
.pl .ill .pq-hub.on .pq-halo { opacity: calc(var(--pq-halo) + .3); }
/* sunken zones and what stands in them */
.pl .ill .pq-zw { fill: var(--pq-zw); stroke: none; } .pl .ill .pq-zf { fill: var(--pq-zf); stroke: none; }
.pl .ill .pq-zr { fill: none; stroke: var(--pq-zr); transition: stroke .5s var(--sv-out); }
.pl .ill .pq-zone.hit .pq-zr { animation: pq-rim 1.8s var(--sv-out); }
@keyframes pq-rim { from { stroke: var(--il-bl); stroke-width: 1.6; } }
.pl .ill .pq-scr { fill: var(--pq-win); } .pl .ill .pq-sl { fill: none; stroke: var(--pq-ink); stroke-width: 1; opacity: .5; }
.pl .ill :is(.pq-pot, .pq-potr) { fill: var(--pq-pot); } .pl .ill .pq-potr { filter: brightness(.9); }
.pl .ill .pq-cal { fill: var(--il-bl); stroke: none; } .pl .ill .pq-ring { fill: none; stroke: var(--pq-ink); stroke-width: 1.4; }
.pl .ill [class^="pq-cell"] { fill: none; stroke: var(--pq-ln); } .pl .ill .pq-cell.on { fill: var(--il-bl); stroke: none; }
.pl .ill .pq-dr { fill: none; stroke: var(--pq-bln); } .pl .ill .pq-hd { fill: none; stroke: var(--pq-ink); stroke-width: 1.4; } .pl .ill .pq-lab { fill: var(--pq-zf); }
.pl .ill .pq-leg { fill: none; stroke: var(--pq-door); stroke-width: 1.6; }
.pl .ill .pq-bar { fill: var(--il-bl); stroke: none; } .pl .ill .pq-bar:not(:last-of-type) { opacity: .45; } .pl .ill .pq-ax { fill: none; stroke: var(--pq-ink); opacity: .5; }
/* the street */
.pl .ill .pq-wt { fill: var(--pq-wt); } .pl .ill .pq-wl { fill: var(--pq-wl); } .pl .ill .pq-wr { fill: var(--pq-wr); }
.pl .ill .pq-win { fill: var(--pq-win); stroke: none; } .pl .ill .pq-door { fill: var(--pq-door); stroke: none; } .pl .ill .pq-bay { fill: var(--pq-wr); }
.pl .ill .pq-rf { fill: var(--pq-rf); } .pl .ill .pq-rf2 { fill: var(--pq-rf2); } .pl .ill .pq-rfb { fill: var(--pq-rfb); } .pl .ill .pq-rfe { fill: var(--pq-wr); }
.pl .ill .pq-aw { fill: var(--pq-aw); stroke: var(--pq-aw); } .pl .ill .pq-aw2 { fill: var(--pq-wt); }
.pl .ill .pq-sign { fill: var(--pq-sign); stroke: none; }
.pl .ill .pq-fan { fill: none; stroke: var(--pq-bln); }
.pl .ill .pq-rd { fill: var(--pq-rd); stroke: none; } .pl .ill .pq-rdl { fill: none; stroke: var(--pq-rdl); stroke-width: 1.5; stroke-dasharray: 6 6; }
.pl .ill .pq-trunk { fill: none; stroke: var(--pq-trunk); stroke-width: 1.8; }
.pl .ill .pq-leaf { fill: var(--pq-leaf); stroke: none; } .pl .ill .pq-leaf2 { fill: var(--pq-leaf2); stroke: none; } .pl .ill .pq-leafd { fill: var(--pq-leafd); stroke: none; }
.pl .ill .pq-curb { fill: none; stroke: var(--pq-curb); stroke-width: 1; }
.pl .ill .pq-lawn { fill: var(--pq-lawn); stroke: none; } .pl .ill .pq-walk { fill: var(--pq-walk); stroke: none; } .pl .ill .pq-jt { fill: none; stroke: var(--pq-jt); stroke-width: .7; }
.pl .ill .pq-drive { fill: var(--pq-drive); stroke: none; } .pl .ill .pq-zeb { fill: var(--pq-rdl); stroke: none; }
.pl .ill .pq-pkln { fill: none; stroke: var(--pq-rdl); stroke-width: 1.3; }
.pl .ill .pq-mul { fill: none; stroke: var(--pq-mul); stroke-width: .9; } .pl .ill .pq-sill { fill: none; stroke: var(--pq-bln); stroke-width: .8; }
.pl .ill .pq-shg { fill: none; stroke: var(--pq-shg); stroke-width: .8; } .pl .ill .pq-knob { fill: var(--pq-wt); stroke: none; }
.pl .ill .pq-gar { fill: var(--pq-wl); } .pl .ill .pq-dgl { fill: var(--pq-win); stroke: none; }
.pl .ill .pq-pick { fill: none; stroke: var(--pq-door); stroke-width: .8; opacity: .55; } .pl .ill .pq-flag { fill: var(--il-bl); stroke: none; }
.pl .ill .pq-lad { fill: none; stroke: var(--pq-door); stroke-width: .9; }
/* the tools: an app badge and a name printed on each block */
.pl .ill .pq-app { fill: var(--pq-app); stroke: none; transition: fill .4s var(--sv-out); } .pl .ill .pq-aic { fill: none; stroke: var(--il-bl); stroke-width: 2.6; transition: stroke .4s var(--sv-out); }
.pl .ill .pq-tn { fill: var(--pq-ink); stroke: none; font-weight: 600; text-anchor: start; letter-spacing: -.005em; dominant-baseline: central; transition: fill .4s var(--sv-out); }
.pl .ill .pq-tool .pq-bt { transition: stroke .4s var(--sv-out); } .pl .ill .pq-tool.on .pq-bt { stroke: var(--il-bl); }
.pl .ill .pq-tool.on .pq-app { fill: var(--il-bl); } .pl .ill .pq-tool.on .pq-aic { stroke: #FFFFFF; } .pl .ill .pq-tool.on .pq-tn { fill: var(--il-bl); }
.pl .ill .pq-cap { fill: var(--pq-door); stroke: none; } .pl .ill .pq-lt { fill: var(--pq-door); stroke: none; }
.pl .ill .pq-sgt { fill: none; stroke: #FFFFFF; stroke-width: 1.6; opacity: .9; }
.pl .ill .pq-ui { fill: var(--il-bl); stroke: none; } .pl .ill .pq-uil { fill: var(--pq-wt); stroke: none; } .pl .ill .pq-kb { fill: var(--pq-wr); } .pl .ill .pq-hs1 { fill: var(--pq-ink); stroke: none; }
.pl .ill .pq-post { fill: none; stroke: var(--pq-door); stroke-width: 1.4; } .pl .ill .pq-bulb { fill: var(--pq-wt); stroke: var(--pq-door); }
.pl .ill .pq-vt { fill: var(--pq-wt); } .pl .ill .pq-vl { fill: var(--pq-wl); } .pl .ill .pq-vr { fill: var(--pq-wr); }
.pl .ill .pq-glz { fill: var(--pq-win); } .pl .ill .pq-stripe { fill: var(--il-bl); stroke: none; }
.pl .ill .pq-ct { fill: var(--pq-ct); } .pl .ill .pq-cl { fill: var(--pq-cl); } .pl .ill .pq-cr { fill: var(--pq-cr); }
.pl .ill :is(.pq-und, .pq-arch) { fill: var(--pq-und); stroke: none; } .pl .ill .pq-tire { fill: var(--pq-tire); stroke: none; }
.pl .ill .pq-whr { fill: var(--pq-rimc); stroke: none; } .pl .ill .pq-hub { fill: var(--pq-tire); stroke: none; }
.pl .ill .pq-spk { fill: none; stroke: var(--pq-tire); stroke-width: .75; stroke-linecap: round; }
.pl .ill :is(.pq-ao, .pq-ao2) { fill: var(--pq-sh); stroke: none; opacity: .32; } .pl .ill .pq-ao2 { opacity: .5; }
.pl .ill .pq-vtr { fill: var(--pq-door); stroke: none; } .pl .ill .pq-mir { fill: var(--pq-tire); stroke: none; }
.pl .ill .pq-seam { fill: none; stroke: var(--pq-bln); stroke-width: .5; } .pl .ill .pq-hdl { fill: none; stroke: var(--pq-door); stroke-width: .7; stroke-linecap: round; }
.pl .ill .pq-gl { fill: var(--pq-wt); stroke: none; opacity: var(--pq-glo); } .pl .ill .pq-pil { fill: var(--pq-door); stroke: none; }
.pl .ill .pq-logo { fill: var(--il-bl); stroke: none; } .pl .ill .pq-logl { fill: none; stroke: #FFFFFF; stroke-width: .8; stroke-linecap: round; }
.pl .ill .pq-tail { fill: var(--pq-tail); stroke: none; } .pl .ill .pq-head { fill: var(--pq-wt); stroke: var(--pq-door); stroke-width: .4; }
.pl .ill .pq-plate { fill: var(--pq-wt); stroke: var(--pq-door); stroke-width: .4; }
.pl .ill .pq-sid { fill: none; stroke: var(--pq-sid); stroke-width: .6; } .pl .ill .pq-fnd { fill: var(--pq-fnd); stroke: none; }
.pl .ill .pq-shut { fill: var(--pq-shut); stroke: none; } .pl .ill .pq-dfr { fill: var(--pq-wt); stroke: var(--pq-bln); stroke-width: .5; }
.pl .ill .pq-vent { fill: var(--pq-wl); stroke: var(--pq-bln); stroke-width: .5; } .pl .ill .pq-dsp { fill: none; stroke: var(--pq-bln); stroke-width: .9; }
.pl .ill .pq-ridge { fill: none; stroke: var(--pq-ridge); stroke-width: 1.6; stroke-linecap: round; }
.pl .ill .pq-sh.pq-cs { opacity: calc(var(--o, 1) * var(--pq-sho)); }
.pl .ill .pq-gnd { fill: var(--pq-gnd); stroke: none; } .pl .ill .pq-curbf { fill: var(--pq-curbf); stroke: none; } .pl .ill .pq-drain { fill: var(--pq-drain); stroke: none; }
.pl .ill .pq-pit { fill: var(--pq-curbf); stroke: none; } .pl .ill .pq-stop { fill: var(--pq-rdl); stroke: none; } .pl .ill .pq-gln { fill: none; stroke: var(--pq-bln); stroke-width: .4; }
.pl .ill .pq-tsh { fill: none; stroke: var(--pq-sh); stroke-width: 1.4; opacity: calc(var(--pq-sho) * 1.1); } .pl .ill :is(.pq-lb, .pq-lbr, .pq-lht) { stroke: none; }
.pl .ill .pq-lb { fill: var(--pq-lb); } .pl .ill .pq-lbr { fill: var(--pq-lbr); } .pl .ill .pq-lht { fill: var(--pq-lht); }
.pl .ill .pq-rack { fill: none; stroke: var(--pq-und); stroke-width: .6; opacity: .35; }
/* the van drives like a van: it pulls away, sits back a touch, brakes, dips and settles, its wheels rolling exactly
   as far as it goes */
.pl { --pq-drv: cubic-bezier(.55, .02, .2, 1); }
.js .pl .pq-van:not(.here) .pq-vb { translate: var(--vx) var(--vy); }
.js .pl .pq-van:not(.here) .pq-spin { rotate: var(--spin); }
.pl .pq-vb { transition: translate 2.2s var(--pq-drv); } .pl .pq-van .pq-spin { transition: rotate 2.2s var(--pq-drv); }
.pl .pq-van .pq-vbody { transform-box: fill-box; transform-origin: 50% 100%; }
.pl .pq-van.here .pq-vbody { animation: pq-pitch 2.3s linear both; }
@keyframes pq-pitch { 0% { rotate: 0deg; } 16% { rotate: .9deg; } 42% { rotate: .25deg; } 74% { rotate: 0deg; } 87% { rotate: -1.2deg; } 94% { rotate: .35deg; } 100% { rotate: 0deg; } }
.pl.again .pq-van { opacity: 0; transition: opacity .3s; } .pl .pq-van { transition: opacity .4s; }
.pl .pq-van.snap :is(.pq-vb, .pq-spin) { transition: none; } .pl .pq-van.snap .pq-vbody { animation: none; }
.pl .ill .pq-ring { opacity: 0; } .pl .ill .pq-ring circle { fill: var(--il-bl); stroke: #FFFFFF; stroke-width: 1.6; } .pl .ill .pq-ring use { fill: none; stroke: #FFFFFF; stroke-width: 2.2; }
.pl .ill .ringing .pq-ring { opacity: 1; animation: pq-ring .45s var(--sv-out) 2 alternate; transform-box: fill-box; transform-origin: center; }
@keyframes pq-ring { to { scale: 1.16; } }
/* lines, badges, rails */
.pl .ill .pq-ln { fill: none; stroke: var(--pq-ln); stroke-width: .9; }
.pl .ill .pq-lit { fill: none; stroke: var(--il-bl); stroke-width: 1.8; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.pl .ill .pq-lit.on { stroke-dashoffset: 0; }
.pl.pins .ill .pq-lit.on { stroke: var(--pq-rest); transition: stroke 1.2s var(--sv-out); }
.pl .ill .pq-bd circle { fill: var(--pq-top); stroke: var(--pq-ln); } .pl .ill .pq-bd path { fill: var(--pq-ink); stroke: none; opacity: .75; }
.pl .ill .pq-bd.on circle { stroke: var(--il-bl); } .pl .ill .pq-bd.on path { fill: var(--il-bl); opacity: 1; }
.pl .ill .pq-rail { fill: none; stroke: var(--pq-ln); stroke-dasharray: 3 4; }
.pl .ill .pq-rb circle { fill: var(--pq-top); stroke: var(--pq-ln); } .pl .ill .pq-rb path { fill: none; stroke: var(--pq-ink); stroke-width: 1.3; }
.pl .ill .pq-port { fill: var(--pq-port); stroke: var(--pq-ln); }
.pl .ill .pq-pk { fill: var(--il-bl); stroke: #FFFFFF; stroke-width: 1.8; opacity: 0; transition: opacity .2s; }
.pl .ill .pq-pk.go { opacity: 1; }
.pl .ill .pq-pkg { fill: var(--il-bl); stroke: none; opacity: 0; filter: blur(5px); transition: opacity .2s; } .pl .ill .pq-pkg.go { opacity: .45; }
/* when something reaches the AI, a ring spreads from it once */
.pl .ill .pq-rip { fill: none; stroke: var(--il-bl); stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; vector-effect: non-scaling-stroke; }
.pl .ill .pq-hub.hit .pq-rip { animation: pq-rip 1.3s var(--sv-out); }
@keyframes pq-rip { from { opacity: .7; scale: 1; } to { opacity: 0; scale: 2.1; } }
.pl .ill .pq-fp { fill: none; stroke: none; }
/* a block the story reaches lights blue */
.pl .ill :is(.pq-tile, .pq-pill) :is(.pq-bt, .pq-ic) { transition: stroke .4s var(--sv-out), fill .4s var(--sv-out); }
.pl .ill :is(.pq-tile, .pq-pill).on .pq-bt { stroke: var(--il-bl); } .pl .ill :is(.pq-tile, .pq-pill).on .pq-ic { stroke: var(--il-bl); }
.pl .ill :is(.pq-tile, .pq-pill).on .pq-nm { fill: var(--il-bl); }
.pl .ill .hit .pq-bt { animation: pq-hit 1s var(--sv-out); }
@keyframes pq-hit { from { fill: var(--ui-blue-soft); } }
/* what a node says when the story reaches it, on a hairline from the node */
.pl-tag { position: absolute; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 5px 11px 5px 6px; border-radius: 99px; background: var(--ui-win); color: var(--ui-ink); box-shadow: inset 0 0 0 1px var(--ui-line-2), 0 8px 20px -8px #14213D47; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; pointer-events: none; opacity: 0; scale: .92; transition: opacity .35s var(--sv-out), scale .5s var(--sv-out); }
.pl-tag .i { width: 15px; height: 15px; padding: 2px; border-radius: 50%; background: var(--ui-blue); color: #FFFFFF; stroke: currentColor; stroke-width: 3; fill: none; }
.pl-tag.show { opacity: 1; scale: 1; }
.pl .ill .pq-ld { opacity: 0; transition: opacity .35s var(--sv-out); } .pl .ill .pq-ld.show { opacity: 1; }
.pl .ill .pq-ld path { fill: none; stroke: var(--il-bl); stroke-width: 1; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--sv-out); } .pl .ill .pq-ld.show path { stroke-dashoffset: 0; }
.pl-tag.show { transition-delay: .18s; } .pl .ill .pq-ld circle { fill: var(--il-bl); stroke: var(--pq-top); stroke-width: 1.4; }
/* on arrival the plates settle into place from below, bottom first; a replay fades the story's marks out first */
.pl .lay { transition: opacity .7s var(--sv-out) var(--d, 0s), transform 1.3s var(--sv-quart) var(--d, 0s); }
.pl .lay1 { --d: .12s; } .pl .lay2 { --d: .24s; } .pl .rails { --d: .6s; }
.js .pl:not(.in) .lay { opacity: 0; transition-delay: 0s; }
.js .pl:not(.in) :is(.lay1, .lay2) { transform: translateY(28px); }
.pl.again :is(.pq-lit, .pl-tag, .pq-ld, .pq-bd path, .pq-bd circle) { opacity: 0; transition: opacity .3s; }

/* Training (Nov 8): George's line-art picture of a session, its background cut away so it stands on the card like
   the other scenes. Its wall screen is blank in the picture; the slide on it is drawn in code (services.js, trSlide)
   in the picture's own line, the brand blue and white, over the screen's body (measured on the picture in its design
   pixels, so it scales with it). A cut-out of the heads, the raised hand and George's open hand in front of the screen
   (training-scene-front.png) sits over the slide, so they stay in front of it. Its colours are fixed: the screen is
   white in both themes. In dark mode the picture, drawn on white, sits on a light panel of its own. */
.stg.tr { --w: 710px; --h: 465px; }
.tr-in { position: absolute; left: 0; top: 0; }
.tr-art { position: absolute; left: 0; top: 0; display: block; width: 710px; height: 465px; }
.tr-deck, .tr-fg { position: absolute; left: 172.5px; top: 35px; width: 397.5px; height: 189.5px; }
.tr-fg { display: block; pointer-events: none; }
.td-pic { position: absolute; left: 0; top: 0; overflow: visible; font-family: inherit; }
.td-pic text { font-feature-settings: "tnum" 0; }
.td-pic .ln { stroke: #121417; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
/* the one thing that moves: every seven seconds, once the card is seen, a soft light leaves the van and follows the
   dashed line to the quote, and the chosen option glows as it lands */
.td-pic .td-flow { stroke-dasharray: .3 1.4; stroke-dashoffset: .3; opacity: 0; }
.stg.tr.in .td-pic .td-flow { animation: td-flow 7s cubic-bezier(.45, 0, .3, 1) 1.2s infinite; }
@keyframes td-flow {
  0% { stroke-dashoffset: .3; opacity: 0; }
  8% { opacity: 1; }
  30% { opacity: 1; }
  38%, 100% { stroke-dashoffset: -1; opacity: 0; }
}
.td-pic .td-glow { opacity: 0; }
.stg.tr.in .td-pic .td-glow { animation: td-glow 7s ease-out 1.2s infinite; }
@keyframes td-glow { 0%, 30% { opacity: 0; } 40% { opacity: .55; } 70%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stg.tr.in .td-pic :is(.td-flow, .td-glow) { animation: none; } }
/* dark mode: the picture is drawn on white, so it sits whole on a light panel (the stage, with a margin round it) */
[data-theme="dark"] .stg.tr { --w: 734px; --h: 489px; border-radius: 22px; background: #F7F8FA; }
[data-theme="dark"] .tr-in { translate: 12px 12px; }
[data-theme="dark"] .sc-art:has(> .tr) { margin-inline: 16px; }

/* ---------- The panel (replaces the Services page) ---------- */
.sv-sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 48px 16px 48px; border: 0; background: transparent; overflow-y: auto; overscroll-behavior: contain; color: var(--sv-ink); }
.sv-sheet::backdrop { background: var(--sv-veil); opacity: 0; transition: opacity .25s; }
.sv-sheet.show::backdrop { opacity: 1; }
.sv-sh { position: relative; max-width: 1120px; margin: 0 auto; padding: 22px 56px 40px; border-radius: 18px; background: var(--sv-sheet); box-shadow: 0 0 0 1px var(--sv-line), 0 40px 100px -40px #14213D40; opacity: 0; translate: 0 40px; transition: translate .5s var(--sv-out), opacity .3s ease; }
.sv-sheet.show .sv-sh { opacity: 1; translate: 0 0; }
.sv-sheet.hide .sv-sh { opacity: 0; translate: 0 60px; transition: translate .3s ease-in, opacity .25s ease-in; }
/* top bar: the four areas as tabs, and the close button; it stays in view while the panel scrolls */
.sv-top { position: sticky; top: -48px; z-index: 3; display: flex; align-items: center; gap: 12px; margin: 0 -34px; padding: 14px 34px 12px; border-radius: 18px 18px 0 0; background: color-mix(in srgb, var(--sv-sheet) 92%, transparent); backdrop-filter: blur(10px); }
.sv-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--sv-well); overflow-x: auto; scrollbar-width: none; }
.sv-tabs button { flex: none; padding: 7px 13px; border: 0; border-radius: 8px; background: none; color: var(--sv-mut); font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; cursor: var(--hand); transition: background .2s, color .2s; }
.sv-tabs button[aria-selected="true"] { background: var(--sv-sheet); color: var(--sv-ink); box-shadow: 0 0 0 1px var(--sv-line), 0 1px 2px #14213D14; }
.sv-tabs button:hover { color: var(--sv-ink); }
.sv-x { display: grid; place-items: center; flex: none; width: 38px; height: 38px; margin-left: auto; border: 0; border-radius: 11px; background: var(--sv-well); color: var(--sv-ink); cursor: var(--hand); }
.sv-x svg.i { width: 15px; height: 15px; }
.sv-tabs button:focus-visible, .sv-x:focus-visible, .sv-next:focus-visible { outline: 2px solid var(--sv-blue); outline-offset: 2px; }
.sv-tabs .t-s { display: none; }
.sv-head { max-width: 760px; padding-top: 30px; }
.sv-head h2 { margin: 0 0 12px; font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }
.sv-head p { margin: 0; max-width: 58ch; color: var(--sv-mut); font-size: 18px; line-height: 1.55; }
/* the services: a list on the left, the chosen one on the right */
.sv-pick { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); grid-template-rows: repeat(var(--n), auto) 1fr; gap: 4px 44px; margin-top: 40px; }
.sv-item { display: contents; }
.sv-svc, .sv-rh { grid-column: 1; margin: 0; font-size: inherit; font-weight: 400; }
.sv-svc { padding: 0 18px 10px; color: var(--sv-mut); font-size: 14px; font-weight: 500; }
.sv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; width: 100%; padding: 15px 16px 15px 18px; border: 0; border-radius: 12px; background: none; color: var(--sv-ink); font: inherit; text-align: left; cursor: var(--hand); transition: background .2s; }
.sv-row b { font-size: 16.5px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.sv-row span { grid-column: 1; margin-top: 3px; color: var(--sv-mut); font-size: 14px; line-height: 1.35; font-weight: 400; }
.sv-row svg.i { grid-column: 2; grid-row: 1 / span 2; width: 16px; height: 16px; color: var(--sv-blue); opacity: 0; translate: -4px 0; transition: opacity .2s, translate .25s var(--sv-out), rotate .25s var(--sv-out); }
.sv-row:hover:not([aria-expanded="true"]) { background: color-mix(in srgb, var(--sv-well) 55%, transparent); }
.sv-row[aria-expanded="true"] { background: var(--sv-sheet); box-shadow: inset 0 0 0 1px var(--sv-line), 0 1px 2px rgba(20, 33, 61, .06), inset 3px 0 0 var(--sv-blue); }
.sv-row[aria-expanded="true"] svg.i { opacity: 1; translate: 0 0; }
.sv-row:focus-visible { outline: 2px solid var(--sv-blue); outline-offset: 2px; }
.sv-pane { grid-column: 2; grid-row: 1 / -1; align-self: start; border-radius: 16px; background: var(--sv-sheet); box-shadow: inset 0 0 0 1px var(--sv-line); overflow: hidden; animation: sv-pane .35s var(--sv-out); }
.sv-pane[hidden] { display: none; }
@keyframes sv-pane { from { opacity: 0; translate: 0 8px; } }
.sv-pane .sv-ex { display: grid; place-items: center; height: 330px; padding: 28px; border-bottom: 1px solid var(--sv-line); background: var(--sv-sweep); color: var(--ui-ink); font-size: 12px; line-height: 1.35; }
.sv-pane .sv-ex > * { zoom: 1.4; }
.sv-tx { padding: 26px 30px 30px; }
.sv-tx h4 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.sv-tx p { margin: 0 0 22px; max-width: 60ch; color: var(--sv-mut); font-size: 16px; line-height: 1.55; }
.sv-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 56px; padding: 30px 34px; border-radius: 16px; background: var(--sv-well); }
.sv-end h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.sv-end p { margin: 0; max-width: 54ch; color: var(--sv-mut); font-size: 15.5px; line-height: 1.5; }
.sv-end p a { color: var(--sv-blue); }
.sv-foot { display: flex; justify-content: flex-end; margin-top: 22px; }
.sv-next { padding: 8px 0; border: 0; background: none; color: var(--sv-ink); font-family: inherit; font-size: 16px; font-weight: 600; cursor: var(--hand); }
.sv-next:hover { color: var(--sv-blue); }
/* the rows' entrance when a panel opens or switches */
/* Planning and Training: one service each, all of its parts at once. Planning reads as three steps in order;
   Training leads with the workspace and puts the rules and the people under it. */
.sv-one { margin-top: 36px; }
.sv-one-h { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--sv-line); }
.sv-one-h h3 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--sv-ink); }
.sv-parts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.sv-pt { display: grid; border-radius: 16px; background: var(--sv-sheet); box-shadow: inset 0 0 0 1px var(--sv-line); overflow: hidden; }
.sv-pt .sv-ex { display: grid; place-items: center; padding: 24px 18px; background: var(--sv-sweep); color: var(--ui-ink); font-size: 12px; line-height: 1.35; }
.sv-pt-tx { padding: 20px 22px 24px; }
.sv-pt-tx h4 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--sv-ink); }
.sv-pt-tx p { margin: 0; color: var(--sv-mut); font-size: 15px; line-height: 1.55; }
.sv-pt-n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-bottom: 12px; border-radius: 50%; background: var(--sv-well); box-shadow: inset 0 0 0 1px var(--sv-line); color: var(--sv-ink); font-size: 12.5px; font-weight: 600; }
/* steps: three columns joined by a line through their numbers */
.sv-one-steps .sv-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-one-steps .sv-pt { grid-template-rows: 270px auto; position: relative; overflow: visible; }
.sv-one-steps .sv-pt .sv-ex { border-radius: 16px 16px 0 0; border-bottom: 1px solid var(--sv-line); }
.sv-one-steps .sv-pt:not(:last-child)::after { content: ""; position: absolute; top: 135px; right: -20px; width: 20px; height: 1px; background: var(--sv-blue); opacity: .45; }
.sv-one-steps .sv-pt:first-child .sv-pt-n { background: var(--sv-blue); box-shadow: none; color: #fff; }
/* feature: the workspace large across the top, the other two side by side */
.sv-one-feature .sv-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-one-feature .sv-pt:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; }
.sv-one-feature .sv-pt:first-child .sv-ex { height: 100%; min-height: 300px; border-right: 1px solid var(--sv-line); }
.sv-one-feature .sv-pt:first-child .sv-ex > * { zoom: 1.3; }
.sv-one-feature .sv-pt:first-child .sv-pt-tx { padding: 28px 34px; }
.sv-one-feature .sv-pt:first-child h4 { font-size: 21px; }
.sv-one-feature .sv-pt:not(:first-child) { grid-template-rows: 250px auto; }
.sv-one-feature .sv-pt:not(:first-child) .sv-ex { border-bottom: 1px solid var(--sv-line); }
.sv-one-feature .sv-pt-n { display: none; }
.sv-sh .sv-one-h, .sv-sh .sv-pt { transition: opacity .5s var(--sv-out), translate .6s var(--sv-out); }
.sv-sh.fresh .sv-one-h, .sv-sh.fresh .sv-pt { opacity: 0; translate: 0 14px; transition: none; }
.sv-pt:nth-child(2) { transition-delay: .05s; } .sv-pt:nth-child(3) { transition-delay: .1s; }
.sv-sh .sv-rh, .sv-sh .sv-svc, .sv-sh .sv-end { transition: opacity .5s var(--sv-out), translate .6s var(--sv-out); }
.sv-sh.fresh .sv-rh, .sv-sh.fresh .sv-svc, .sv-sh.fresh .sv-end { opacity: 0; translate: 0 14px; transition: none; }
.sv-item:nth-of-type(2) .sv-rh { transition-delay: .04s; } .sv-item:nth-of-type(3) .sv-rh { transition-delay: .08s; }
.sv-item:nth-of-type(4) .sv-rh { transition-delay: .12s; } .sv-item:nth-of-type(5) .sv-rh { transition-delay: .16s; }
/* the card growing into the panel (services.js, View Transitions) */
.sv-sheet.now .sv-sh, .sv-sheet.now::backdrop { transition: none; }
html.sv-vt::view-transition-group(sv-morph) { overflow: clip; border-radius: 16px; animation-duration: .3s; animation-timing-function: cubic-bezier(.3, 0, 0, 1); }
html.sv-vt::view-transition-old(sv-morph), html.sv-vt::view-transition-new(sv-morph) { height: 100%; object-fit: cover; object-position: top; }
/* The card's picture fades out first and the panel's text fades in only once the shape has mostly grown, over a
   plain sheet, so the two never show through each other. */
html.sv-vt::view-transition-group(sv-morph) { background: #FFFFFF; }
html[data-theme="dark"].sv-vt::view-transition-group(sv-morph) { background: #141821; }
html.sv-vt::view-transition-old(sv-morph) { animation: sv-out .1s linear both; }
html.sv-vt::view-transition-new(sv-morph) { animation: sv-in .12s linear .16s both; }
html.sv-vt::view-transition-new(root) { animation: sv-in .25s linear both; }
@keyframes sv-in { from { opacity: 0; } }
@keyframes sv-out { to { opacity: 0; } }

/* ---------- Example scenes inside the panel cards (static, same interface kit) ---------- */
.ex { width: 100%; max-width: 300px; border-radius: 11px; background: var(--ui-win); box-shadow: var(--card-shadow), inset 0 0 0 1px var(--ui-line); padding: 12px 13px; }
.ex-h { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font-size: 12px; font-weight: 600; }
.ex-h .an-ic { width: 24px; height: 24px; margin-left: 0; border-radius: 7px; }
.ex-h .an-ic svg.i { width: 13px; height: 13px; }
.ex-h span { margin-left: auto; color: var(--ui-mut); font-size: 10.5px; font-weight: 500; }
.ex-line { display: flex; gap: 6px; padding: 5px 0; border-top: 1px solid var(--ui-line); font-size: 11.5px; }
.ex-line b { flex: none; width: 40px; color: var(--ui-faint); font-weight: 500; }
.ex-ok { display: flex; align-items: center; gap: 6px; margin-top: 7px; padding: 6px 8px; border-radius: 7px; background: var(--ui-blue-soft); color: var(--ui-blue); font-size: 11px; font-weight: 500; }
.ex-bub { max-width: 84%; margin-top: 6px; padding: 6px 9px; border-radius: 11px 11px 11px 3px; background: var(--ui-fill); font-size: 11.5px; }
.ex-bub.me { margin-left: auto; border-radius: 11px 11px 3px 11px; background: var(--ui-blue); color: var(--ui-on-blue); }
.ex-chips { display: flex; gap: 5px; margin-top: 8px; }
.ex-chips span { padding: 4px 9px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--ui-blue-line); color: var(--ui-blue); font-size: 10.5px; font-weight: 500; }
.ex-tl { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 6px 8px; font-size: 11.5px; }
.ex-tl i { width: 9px; height: 9px; justify-self: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ui-line-2); }
.ex-tl i.on { background: var(--ui-blue); box-shadow: none; }
.ex-tl em { font-style: normal; color: var(--ui-faint); font-size: 10.5px; }
.ex-inv { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.ex-inv b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ex-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ex-steps span { padding-top: 7px; border-top: 3px solid var(--ui-blue); color: var(--ui-mut); font-size: 10.5px; }
.ex-steps span b { display: block; color: var(--ui-ink); font-size: 11px; font-weight: 600; }
.ex-two { display: grid; grid-template-columns: 1fr 20px 1fr; align-items: center; gap: 4px; width: 100%; max-width: 330px; }
.ex-two > svg { width: 20px; height: 14px; fill: none; stroke: var(--ui-faint); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ex-two .ex { padding: 10px; }
.ex-rcpt { padding: 10px 11px; border-radius: 4px; background: var(--ui-cream); color: var(--ui-cream-ink); font-size: 10.5px; line-height: 1.5; box-shadow: var(--card-shadow); }
.ex-rcpt b { color: var(--ui-ink); }
.ex-rcpt div { display: flex; justify-content: space-between; }
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 9.5px; box-shadow: inset 0 0 0 1px var(--ui-line); border-radius: 5px; overflow: hidden; }
.ex-grid span { padding: 3px 5px; border-top: 1px solid var(--ui-line); border-left: 1px solid var(--ui-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-grid span:nth-child(3n+1) { border-left: 0; }
.ex-grid span:nth-child(-n+3) { border-top: 0; background: var(--ui-fill); color: var(--ui-mut); }
.ex-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 0; border-top: 1px solid var(--ui-line); font-size: 10.5px; }
.ex-row:first-of-type { border-top: 0; }
.ex-row small { display: block; color: var(--ui-mut); font-size: 9.5px; }
.pill2 { padding: 2px 7px; border-radius: 99px; background: var(--ui-fill); color: var(--ui-mut); font-size: 10px; font-weight: 500; white-space: nowrap; }
.pill2.b { background: var(--ui-blue-soft); color: var(--ui-blue); }
.pill2.dk { background: var(--ui-ink); color: var(--ui-win); }
.ex-hub { display: grid; grid-template-columns: 1fr 26px 1fr; align-items: center; gap: 6px; width: 100%; max-width: 320px; }
.ex-hub .ex { padding: 10px 11px; }
.ex-hub > svg { width: 26px; height: 60px; fill: none; stroke: var(--ui-blue); stroke-width: 1.4; }
.ex-apps { display: grid; gap: 6px; }
.ex-app { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 8px; background: var(--ui-win); box-shadow: var(--card-shadow), inset 0 0 0 1px var(--ui-line); font-size: 11px; font-weight: 500; }
.ex-app i { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 5px; background: var(--ui-fill); color: var(--ui-ink); font-size: 9px; font-style: normal; font-weight: 700; }
.ex-app em { margin-left: auto; color: var(--ui-blue); font-style: normal; font-size: 10px; }
.ex-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.ex-kpi span { color: var(--ui-mut); font-size: 10px; }
.ex-kpi b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ex-chart { display: flex; align-items: flex-end; gap: 6px; height: 54px; padding-top: 4px; border-bottom: 1px solid var(--ui-line); }
.ex-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: var(--ui-line-2); }
.ex-chart i.on { background: var(--ui-blue); }
.ex-ws { display: grid; grid-template-columns: 104px 1fr; max-width: 340px; padding: 0; overflow: hidden; }
.ex-ws aside { padding: 10px; border-right: 1px solid var(--ui-line); background: var(--ui-side); font-size: 10px; color: var(--ui-mut); }
.ex-ws aside b { display: block; margin-bottom: 6px; color: var(--ui-ink); font-size: 10.5px; }
.ex-ws aside span { display: block; padding: 3px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-ws > div { padding: 10px 11px; font-size: 11px; }
.ex-guard { display: flex; gap: 6px; margin-top: 8px; padding: 6px 8px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--ui-line-2); color: var(--ui-mut); font-size: 10.5px; }
.ex-guard b { color: var(--ui-ink); }
.ex-tl small { display: block; color: var(--ui-mut); font-size: 10px; }
.ex-plan { row-gap: 9px; background: linear-gradient(var(--ui-line-2), var(--ui-line-2)) 6.25px 10px / 1.5px calc(100% - 20px) no-repeat; }
.ex-plan i { background: var(--ui-win); }
.ex-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding: 5px 0; font-size: 11px; }
.ex-bar b { grid-column: 2; grid-row: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.ex-bar i { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 3px; background: linear-gradient(var(--ui-line-2), var(--ui-line-2)) 0 0 / var(--w) 100% no-repeat, var(--ui-fill); }
.ex-h + .ex-bar i { background: linear-gradient(var(--ui-blue), var(--ui-blue)) 0 0 / var(--w) 100% no-repeat, var(--ui-fill); }
.ex { max-width: min(300px, 100%); }
.ex-ws { max-width: min(340px, 100%); }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .svc-head { grid-template-columns: 1fr; margin-bottom: 24px; padding: 0; }
  /* Phones (Nov 9): the four cards are a row you swipe through, one card at a time, with the edge of the next one
     showing. Every card is the same height and its scene is fitted inside it (services.js), so nothing is cropped
     and the section is one screen tall. Dots under the row say where you are and jump to a card. */
  .sc-grid { display: flex; gap: 10px; margin-inline: calc(var(--sc-bleed, 24px) * -1); padding: 2px var(--sc-bleed, 24px) 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--sc-bleed, 24px); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sc-grid::-webkit-scrollbar { display: none; }
  .sc-grid > .sc { flex: 0 0 calc(100% - 16px); height: clamp(480px, 66svh, 540px); scroll-snap-align: start; scroll-snap-stop: always; -webkit-tap-highlight-color: transparent; transition: scale .18s var(--sv-quart); }
  .sc-grid > .sc::before { clip-path: inset(0 round 16px); } .sc-face { clip-path: inset(1px round 15px); }
  .sc-grid > .sc:active { scale: .985; }
  .sv-tx .svc-ask, .sv-tx .svc-ask:hover { color: white; text-decoration: none; }
  .sc-head { padding: 22px 20px 0; min-height: 96px; align-content: start; }
  .sc-head h3 { font-size: 21px; }
  .sc-head p { font-size: 15.5px; }
  .sc-open { width: 44px; height: 44px; margin: -6px -6px 0 0; border-radius: 12px; }
  .sc-art { flex: 1; margin-top: 8px; }
  /* Phones: the section is one piece without a box around it. The heading, then the four areas' names as tabs that
     follow the swipe, the cards, and a one-line "Don't see what you need?" bar that opens the letter (the chat card
     with its typing box is left out on phones). The intro paragraph is left out too, as in How I work. */
  .svc-head .services-intro { display: none; }
  .svc-head { margin-bottom: 16px; }
  .sc-tabs { display: flex; gap: 6px; margin: 0 16px 10px 0; }
  .sc-tabs button { flex: 1 1 auto; min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: none; box-shadow: inset 0 0 0 1px var(--sv-line); color: var(--sv-mut); font-family: inherit; font-size: 14.5px; font-weight: 500; white-space: nowrap; cursor: var(--hand); -webkit-tap-highlight-color: transparent; transition: background-color .25s, color .25s, box-shadow .25s; }
  .sc-tabs button[aria-current="true"] { background: var(--sv-ink); box-shadow: none; color: var(--sv-sheet); font-weight: 600; }
  .sc-tabs button:focus-visible, .sc-more:focus-visible { outline: 2px solid var(--sv-blue); outline-offset: 2px; }
  .sc-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: calc(100% - 16px); min-height: 56px; margin-top: 10px; padding: 0 18px 0 20px; border: 0; border-radius: 16px; background: var(--sv-sweep); box-shadow: inset 0 0 0 1px var(--sv-line); color: var(--sv-ink); font-family: inherit; font-size: 16px; font-weight: 600; text-align: left; text-decoration: none; cursor: var(--hand); -webkit-tap-highlight-color: transparent; transition: scale .18s var(--sv-quart); }
  .sc-more > span { flex: none; color: var(--sv-blue); }
  .sc-more:active { scale: .985; }
  .svc .cta-tile { display: none; }
  [data-theme="dark"] .sc-art:has(> .tr) { margin: 16px 14px 14px; }
  .sv-sheet { padding: 12px 0 0; }
  .sv-sh { min-height: 100%; padding: 0 20px 32px; border-radius: 18px 18px 0 0; }
  .sv-top { top: -12px; gap: 8px; margin: 0 -20px; padding: 12px 12px 10px 14px; }
  .sv-tabs { flex: 1 1 auto; min-width: 0; }
  .sv-tabs button { flex: 1 0 auto; }
  .sv-tabs .t-l { display: none; } .sv-tabs .t-s { display: inline; }
  .sv-tabs button { min-height: 44px; padding: 7px 11px; font-size: 14px; }
  .sv-x { width: 44px; height: 44px; border-radius: 12px; }
  .sv-next { min-height: 48px; }
  .sv-head { padding-top: 20px; }
  .sv-head h2 { font-size: 30px; }
  .sv-head p { font-size: 16.5px; }
  /* the list becomes an accordion: the chosen service opens under its row */
  .sv-pick { display: block; margin-top: 26px; border-top: 1px solid var(--sv-line); }
  .sv-one { margin-top: 26px; }
  .sv-one-h { flex-wrap: wrap; gap: 12px; padding-bottom: 18px; }
  .sv-one-h h3 { font-size: 17px; }
  .sv-parts, .sv-one-steps .sv-parts, .sv-one-feature .sv-parts { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 20px; }
  .sv-one-steps .sv-pt, .sv-one-feature .sv-pt:not(:first-child) { grid-template-rows: auto auto; }
  .sv-one-steps .sv-pt:not(:last-child)::after { top: auto; bottom: -14px; right: auto; left: 34px; width: 1px; height: 14px; }
  .sv-one-feature .sv-pt:first-child { grid-template-columns: minmax(0, 1fr); }
  .sv-one-feature .sv-pt:first-child .sv-ex { min-height: 0; border-right: 0; border-bottom: 1px solid var(--sv-line); }
  .sv-one-feature .sv-pt:first-child .sv-ex > * { zoom: 1; }
  .sv-one-feature .sv-pt:first-child .sv-pt-tx { padding: 18px 18px 20px; }
  .sv-one-feature .sv-pt:first-child h4 { font-size: 17px; }
  .sv-pt .sv-ex { min-height: 210px; padding: 20px 14px; }
  .sv-pt-tx { padding: 18px 18px 20px; }
  .sv-svc { padding: 14px 0 0; }
  .sv-item { display: block; border-bottom: 1px solid var(--sv-line); }
  .sv-row { padding: 16px 2px; border-radius: 0; }
  .sv-row:hover, .sv-row[aria-expanded="true"] { background: none; box-shadow: none; }
  .sv-row svg.i { opacity: 1; translate: 0 0; color: var(--sv-mut); rotate: 90deg; }
  .sv-row[aria-expanded="true"] svg.i { color: var(--sv-blue); rotate: -90deg; }
  .sv-pane { margin: 0 0 18px; border-radius: 14px; }
  .sv-pane .sv-ex { height: auto; min-height: 230px; padding: 22px 14px; }
  .sv-pane .sv-ex > * { zoom: 1; }
  .sv-tx { padding: 18px 18px 20px; }
  .sv-tx p { margin-bottom: 18px; font-size: 15.5px; }
  .sv-end { padding: 24px 22px; }
  /* AI: one column, the three branches stacked under the decision */
  .af { grid-template-columns: 300px; justify-content: start; row-gap: 24px; padding: 22px 0 16px 44px; }
  .af .an { grid-area: auto; }
  .af .br { margin-left: 28px; width: 272px; row-gap: 0; justify-self: start; }
  .af .br p { display: none; }
  .af .br .an-lab { position: static; translate: none; grid-row: 1; grid-column: 3; }
  .af .more { display: none; }
  .af .dec { justify-self: start; }
  /* the three branches sit closer together than the steps above them, with equal gaps */
  .af .br { margin-top: -10px; } /* room for the Booked tag under its branch */
  .af .br h5 { grid-row: 1 / span 2; }
  .af .br .an-lab { grid-row: 1 / span 2; align-self: center; }
}
@media (max-width: 380px) { .sc-more { padding-left: 16px; font-size: 15px; } .sc-tabs button { padding: 0 8px; font-size: 14px; } }
@media (max-width: 360px) {
  .sv-tabs button { padding: 7px 6px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc *, .svc *::before, .svc *::after, .sv-sheet::backdrop { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .sv-pane { animation: none; }
  .pl .pq-vbody { animation: none !important; }
}
