/* Services, the offer page and the Contact page (svc-ledger.css). Loaded after tokens.css, base.css and svc-base.css.
   A shop's service sheet on one two-column grid: a label column (--lc) and the content beside it. The opening puts the
   name small in the label column with the price and main button, and one large promise with a short paragraph in the
   content column; every part after it (What's included, How it works, the quote, questions, the enquiry form) opens
   on an ink rule with its label, then rows on the same two columns. All classes are lg- prefixed or local to .lg. */
.lg{--num:2.2ch}
/* Every page built on .lg ends on the shared footer (src/partials/footer.html), which carries the closing space */
/* Keeps a field or line reached by keyboard clear of the slim bar, and of the pill at the top */
html{scroll-padding-bottom:72px;scroll-padding-top:96px}
.lg h1:focus,.lg [data-i]:focus{outline:none}
.lg a:focus-visible,.lg button:focus-visible,.lg summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* The band: the service still at its native wide ratio, height capped so the opening starts on the first screen */
.lg-band{height:clamp(200px,34vh,420px);background:var(--set);overflow:hidden}
.lg-band img{width:100%;height:100%;object-fit:cover;display:block}

/* The opening. Label column: the path and name (small), then the price and the main button as one stack. Content column:
   the promise and the paragraph. */
.lg-open{display:grid;grid-template-columns:var(--lc) minmax(0,1fr);gap:0 var(--gap);align-items:start;margin:0 var(--pad);padding:clamp(22px,3.6vh,42px) 0 0}
.lg-open .crumb,.lg-open h1{margin:0;font-size:var(--t-sub);line-height:.96}
.lg-open .crumb{color:var(--mute)}
.lg-open .crumb a:hover{color:var(--ink)}
/* The path's links keep a thumb-sized target without moving the type */
.lg-open .crumb a{display:inline-block;padding:8px 0;margin:-8px 0}
.lg-open h1{text-wrap:balance}
.lg-open .pr{margin-top:28px}
.lg-price{margin:0;font-size:var(--t-figure);line-height:1.1;white-space:nowrap}
.lg-note{margin:6px 0 0;font-size:var(--t-small);color:var(--mute);line-height:1.45;max-width:30ch}
.lg-act{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:22px}
.lg-promise{margin:-.1em 0 0;font-size:var(--t-statement);line-height:1.06;letter-spacing:-.02em;max-width:17em;text-wrap:balance}
.lg-body{margin:clamp(18px,2.8vh,30px) 0 0;font-size:var(--t-body);line-height:1.5;max-width:36em;text-wrap:pretty}
/* Parts and rows */
.lg-ledger{margin-top:var(--sp)}
.lg-part{margin:var(--sp) var(--pad) 0;border-top:var(--rule);padding-top:12px}
.lg-ledger>.lg-part:first-child{margin-top:0}
.lg-part>.k{margin-bottom:16px}
.lg-r{display:grid;grid-template-columns:var(--lc) minmax(0,1fr);gap:0 var(--gap)}
.lg-r>.l,.lg-r>.r{min-width:0}
.lg-r+.lg-r{margin-top:28px}
.lg-incl .lg-r+.lg-r{margin-top:34px}
.lg-incl .lg-r:not(:last-child) .lg-lines li:last-child{border-bottom:0}
.lg-r h3{margin:0;padding-top:12px;font-size:var(--t-text);line-height:1.35}

/* Numbered lines: number, name, detail. What's included runs one count across its groups; the steps count on their own. */
.lg-incl{counter-reset:l}
.lg-lines{margin:0;padding:0;list-style:none}
.lg-lines li{counter-increment:l;display:grid;grid-template-columns:var(--num) minmax(0,38%) minmax(0,1fr);gap:0 14px;align-items:baseline;
  padding:12px 0 11px;border-top:var(--hair);font-size:var(--t-body);line-height:1.35}
.lg-lines li:last-child{border-bottom:var(--hair)}
.lg-lines li::before{content:counter(l,decimal-leading-zero);font-size:var(--t-label);color:var(--mute);letter-spacing:var(--num-ls);font-variant-numeric:tabular-nums}
.lg-lines .w{grid-column:2;min-width:0}
.lg-lines .d{grid-column:3;min-width:0;font-size:var(--t-text);line-height:1.45;color:var(--ink-2)}
.lg-lines .to{display:inline-flex;align-items:center;gap:10px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--soft)}
.lg-lines .to:hover{text-decoration-color:var(--ink)}
.lg-lines .to .ar{width:16px;height:10px;flex:none;color:var(--mute)}
.lg-lines .to:hover .ar{color:var(--ink)}
.lg-steps{counter-reset:s}
.lg-steps li{counter-increment:s}
.lg-steps li::before{content:counter(s,decimal-leading-zero)}
.lg-r .st{margin:0;padding-top:10px;font-size:var(--t-figure);line-height:1.38;max-width:22em;text-wrap:pretty}
/* A line reached from the Services page is marked once (svc-page.js puts .hl on it). Without motion it is a still
   mark, taken off after a moment. With motion the mark is its own layer behind the line's words: it is wiped in from
   the left like one pass of a marker, held, then faded out on a curve that slows to its end; the script takes .hl off
   when the fade ends. On a page that has only just opened (.hl-late) it waits for the page to arrive. */
.lg [data-i].hl{background:var(--set);box-shadow:0 0 0 8px var(--set)}
html.mo .lg [data-i].hl{background:none;box-shadow:none;position:relative;isolation:isolate}
html.mo .lg [data-i].hl::before{content:"";position:absolute;inset:-8px;z-index:-1;background:var(--set);pointer-events:none;
  animation:lg-hl-in var(--d-3) var(--e-out) backwards,lg-hl-out var(--d-4) var(--e-out) 1.92s forwards}
html.mo .lg [data-i].hl.hl-late::before{animation-delay:var(--d-2),2.16s}
@keyframes lg-hl-in{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes lg-hl-out{to{opacity:0}}

/* The closing price line: a leader to the price */
.lg-price-line{margin:clamp(40px,6vh,64px) var(--pad) 0;border-top:var(--rule);border-bottom:var(--rule);padding:14px 0 13px;align-items:baseline}
.lg-price-line .l span{font-size:var(--t-body)}
.lg-price-line .r{display:flex;align-items:baseline;gap:14px}
.lg-price-line .lead{display:block;flex:1;height:1em;min-width:24px;border-bottom:1px dotted var(--soft);transform:translateY(-.32em)}
.lg-price-line .p{font-size:var(--t-figure);letter-spacing:-.01em;white-space:nowrap}

/* Support: one price table across both columns (group names in the label column), a stacked list per package on the phone */
.lg-pks{display:none}
.lg-table{width:100%;border-collapse:collapse;table-layout:fixed;counter-reset:l}
.lg-table th,.lg-table td{padding:12px 0 11px;text-align:left;vertical-align:baseline;font-weight:400}
.lg-table thead .gl{width:var(--lc);padding-right:var(--gap)}
.lg-table thead .c{width:15%;padding-top:0;padding-bottom:14px;vertical-align:bottom}
.lg-table th .pn{display:block;font-size:var(--t-body)}
.lg-table th .pp{display:block;font-size:var(--t-small);color:var(--mute);margin-top:4px;text-transform:none;font-weight:400;font-stretch:normal;white-space:nowrap}
.lg-table th.gl{vertical-align:top;font-size:var(--t-text);line-height:1.35;padding-right:var(--gap)}
.lg-table tbody th.w,.lg-table tbody td.c{border-top:var(--hair)}
.lg-table tbody.sp td{height:22px;padding:0;border:0}
.lg-table th.w{padding-left:calc(var(--num) + 14px);padding-right:20px;position:relative}
.lg-table tbody th.w::before{content:counter(l,decimal-leading-zero);counter-increment:l;position:absolute;left:0;top:14px;font-size:var(--t-label);color:var(--mute);letter-spacing:var(--num-ls);font-variant-numeric:tabular-nums}
.lg-table th.w .n{display:block;font-size:var(--t-body);line-height:1.35}
.lg-table th.w .d{display:block;margin-top:2px;font-size:var(--t-text);line-height:1.4;color:var(--ink-2)}
.lg-table .c{text-align:center;vertical-align:middle;white-space:nowrap}
/* A value in a package column (hours, term, contact, reviews) */
.lg-table .c.val{white-space:normal;vertical-align:baseline;font-size:var(--t-text);line-height:1.35;padding-left:8px;padding-right:8px;text-wrap:balance}
.lg-table tfoot td.c{padding-left:8px;padding-right:8px}
/* Lines without a number: a package's own values on phones, and the reply targets */
.lg-vals li,.lg-targets li{grid-template-columns:minmax(0,38%) minmax(0,1fr)}
.lg-vals li::before,.lg-targets li::before{content:none}
.lg-vals li,.lg-targets li{counter-increment:none}
.lg-vals .w,.lg-targets .w{grid-column:1}
.lg-vals .d,.lg-targets .d{grid-column:2}
.lg-targets .tv{display:block;margin-top:2px;font-size:var(--t-text);color:var(--mute)}
.lg-table .yes{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--ink);font-size:0;color:transparent;vertical-align:middle}
.lg-table tfoot th.w,.lg-table tfoot td.c{border-top:var(--rule);border-bottom:var(--rule);font-size:var(--t-body);padding-left:0}
.lg-table tfoot td.c{font-size:var(--t-text);color:var(--mute);text-transform:none;font-weight:400;font-stretch:normal;white-space:normal}
@media (forced-colors:active){ .lg-table .yes{background:CanvasText;forced-color-adjust:none} }

/* The client quote */
.lg-quote blockquote{margin:0}
.lg-quote p{margin:0;font-size:var(--t-mid);line-height:1.15;letter-spacing:-.01em;max-width:20em;text-wrap:pretty}
.lg-quote footer{margin-top:18px;font-size:var(--t-label);color:var(--mute)}

/* Questions */
.lg-faq details{border-top:var(--hair)}
.lg-faq details:last-child{border-bottom:var(--hair)}
.lg-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;padding:13px 0 12px;font-size:var(--t-body);line-height:1.35}
.lg-faq summary::-webkit-details-marker{display:none}
/* The plus, drawn as two lines: open, the upright one lies flat and it reads as a minus */
.fq-x{flex:none;position:relative;width:11px;height:11px;margin-top:5px;color:var(--mute)}
.fq-x::before,.fq-x::after{content:"";position:absolute;left:0;top:5px;width:11px;height:1px;background:currentColor}
.fq-x::after{transform:rotate(90deg)}
.lg-faq details[open] .fq-x::after{transform:none}
.lg-faq details p{margin:0 0 16px;max-width:60ch;font-size:var(--t-text);line-height:1.55;color:var(--ink-2)}
/* The answer is one grid row, so it can open and close by its own height. With motion (html.mo) the script in
   svc-ledger.js opens a question by adding .on and closes it by taking .on off, [open] following when the row has
   shut; a click part way through turns the same transition round. Without motion it opens and closes at once. */
.lg-faq .fq-a{display:grid;grid-template-rows:1fr}
.lg-faq .fq-a>div{min-height:0;overflow:hidden}
html.mo .lg-faq .fq-a{grid-template-rows:0fr;transition:grid-template-rows var(--d-2) var(--e-out)}
html.mo .lg-faq details.on .fq-a{grid-template-rows:1fr;transition-duration:var(--d-3)}
html.mo .lg-faq .fq-a p{opacity:0;transition:opacity var(--d-1) linear}
html.mo .lg-faq details.on .fq-a p{opacity:1;transition:opacity var(--d-2) linear 60ms}
html.mo .lg-faq .fq-x::after{transition:transform var(--d-2) var(--e-out)}
html.mo .lg-faq details[open]:not(.on) .fq-x::after{transform:rotate(90deg)}

/* The work: Catalogue cards */
.lg-work .more-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.lg-work .lg-r .l{padding-top:2px}

/* The enquiry form: rows like ledger lines, the label in grey until its row is in use */
.lg-enq .fh{margin:0;font-size:var(--t-sub);line-height:.96}
.lg-enq .fi{margin:14px 0 0;font-size:var(--t-body);line-height:1.45;color:var(--ink-2);max-width:22em;text-wrap:pretty}
.lg-form{margin:0}
.fr{display:grid;grid-template-columns:minmax(0,34%) minmax(0,1fr);gap:0 14px;align-items:baseline;border-top:var(--hair)}
/* A part of the form that opens and closes: the Package and "What the business needs" rows (which swap when the
   service changes), a field's error, and the hint under "Your store today". Each is a one-row grid (.fx) whose row is
   1fr open and 0fr folded (.off), so it folds by its own height and the form never jumps; folded, it is hidden from
   the tab order too. The rows share one duration, so when one closes as the other opens the form keeps its height.
   Without motion the same change happens at once. The inner box clips up and down only, so a focus ring on a
   checkbox at the left edge is not cut. */
.fx{display:grid;grid-template-rows:1fr}
.fx>.fx-in{min-height:0;overflow:hidden;overflow:visible clip}
.fx.off{grid-template-rows:0fr;visibility:hidden}
html.mo .fx{transition:grid-template-rows var(--d-3) var(--e-out),margin-top var(--d-3) var(--e-out),visibility 0s}
html.mo .fx.off{transition:grid-template-rows var(--d-3) var(--e-out),margin-top var(--d-3) var(--e-out),visibility 0s linear var(--d-3)}
html.mo .fx>.fx-in{transition:opacity var(--d-2) linear}
html.mo .fx.off>.fx-in{opacity:0;transition-duration:var(--d-1)}
html.mo .fx-e{transition-duration:var(--d-2),var(--d-2),0s}
html.mo .fx-e.off{transition-duration:var(--d-2),var(--d-2),0s;transition-delay:0s,0s,var(--d-2)}
.fr>label,.fr>.flab{padding:13px 0 12px;font-size:var(--t-body);line-height:1.35;color:var(--mute);transition:color var(--d-1)}
.fr .rq{margin-left:4px;font-size:var(--t-label);color:var(--mute)}
.fc{min-width:0}
.fr input:not([type=checkbox]),.fr select,.fr textarea{all:unset;box-sizing:border-box;display:block;width:100%;min-width:0;padding:13px 0 12px;font-size:var(--t-body);line-height:1.35;color:var(--ink)}
.fr textarea{margin-bottom:10px;min-height:7.2em;white-space:pre-wrap;overflow-wrap:break-word}
/* The message row lines up by its top: Firefox takes a textarea's baseline from its last line, which dropped the label a line */
.fr.ask{align-items:start}
.fr select{cursor:pointer;padding-right:24px;text-overflow:ellipsis;white-space:nowrap;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230b0b0b' stroke-width='1.2'/%3E%3C/svg%3E") right 4px center/10px 6px no-repeat}
.fr select:has(option[value=""]:checked){color:var(--mute)}
.fr select[hidden]{display:none}
/* The form's menus with a mouse (svc-ledger.js, dress()): the select gives way to a button showing its value and a list
   in the pill's panel (nav.css): dark glass, rounded, the choice in white with a dot, the row under the pointer lifted.
   The list hangs 6px under the field and is 14px wider each side, so its words sit exactly under the field's value.
   Over white the glass is denser than the pill's (.92), so the grey names keep 4.5 to 1. */
.sel-b{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-width:0;padding:13px 4px 12px 0;font-size:var(--t-body);line-height:1.35;color:var(--ink);cursor:pointer}
.sel-v{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sel-b.blank .sel-v{color:var(--mute)}
.sel-b::after{content:"";flex:none;width:10px;height:6px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230b0b0b' stroke-width='1.2'/%3E%3C/svg%3E") center/10px 6px no-repeat}
.fw.open .sel-b::after{transform:rotate(180deg)}
.sel-b:focus{box-shadow:inset 0 -2px 0 var(--ink)}
html.mo .sel-b:focus{box-shadow:none}
.sel-l{position:absolute;z-index:6;left:-14px;right:-14px;top:calc(100% + 6px);box-sizing:border-box;margin:0;padding:4px;list-style:none;border-radius:12px;color:#fff;
  background:rgba(22,22,22,.92);-webkit-backdrop-filter:blur(26px) saturate(1.4);backdrop-filter:blur(26px) saturate(1.4);box-shadow:0 18px 50px rgba(0,0,0,.18);
  opacity:0;visibility:hidden;transform:translateY(-4px) scale(.985);transform-origin:50% 0}
.fw.up .sel-l{top:auto;bottom:calc(100% + 6px);transform:translateY(4px) scale(.985);transform-origin:50% 100%}
.fw.open .sel-l{opacity:1;visibility:visible;transform:none}
.sel-l li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 10px 8px;border-radius:8px;font-size:var(--t-body);line-height:1.35;color:rgba(255,255,255,.62);cursor:pointer}
.sel-l li[aria-selected="true"]{color:#fff}
.sel-l li[aria-selected="true"]::after{content:"";flex:none;width:5px;height:5px;border-radius:50%;background:#fff}
.sel-l li.act{background:rgba(255,255,255,.1);color:#fff}
html.mo .sel-b::after{transition:transform var(--d-2) var(--e-out)}
html.mo .sel-l{transition:opacity var(--d-1) ease,transform var(--d-1) var(--e-exit),visibility 0s linear var(--d-1)}
html.mo .fw.open .sel-l{transition:opacity var(--d-1) ease,transform var(--d-2) var(--e-out),visibility 0s}
html.mo .sel-l li{transition:background-color var(--d-1),color var(--d-1)}
/* A list inside a folding row (Package) is let out of the row's clip while it is open */
.fx:has(.fw.open)>.fx-in{overflow:visible}
.fr input::placeholder,.fr textarea::placeholder{color:var(--mute);opacity:1}
/* The field in use: its label goes to ink and the control itself carries a 2px ink rule under its value (not the row's top
   hairline, which read as belonging to the row above). With motion the rule is drawn from the left by the control's
   wrapper (.fw) and goes back the same way, a little faster, so a change of mind half way simply turns it round. */
.fr input:not([type=checkbox]):focus,.fr select:focus,.fr textarea:focus{box-shadow:inset 0 -2px 0 var(--ink)}
.fw{display:block;position:relative}
html.mo .fr input:not([type=checkbox]):focus,html.mo .fr select:focus,html.mo .fr textarea:focus{box-shadow:none}
html.mo .fw::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--ink);pointer-events:none;
  transform:scaleX(0);transform-origin:0 50%;transition:transform var(--d-1) var(--e-out)}
html.mo .fw:focus-within::after{transform:scaleX(1);transition-duration:var(--d-2)}
.fr:focus-within>label,.fr:focus-within>.flab{color:var(--ink)}
/* An invalid field, every one the same: red label and red message, no rules */
.fr:has([aria-invalid="true"])>label{color:var(--err)}
.fe{margin:0 0 12px;font-size:var(--t-text);line-height:1.4;color:var(--err)}
/* The line under an answer (what kind of project it makes; where the answer was read from). It keeps clear of the
   field's focus line above it, and closes the row with the same space a field has under its words. */
.fhint{margin:0;padding:5px 0 13px;font-size:var(--t-text);line-height:1.4;color:var(--mute)}
.fx-h{margin-top:0}
.fx-h.off{margin-top:0}
.fchecks{display:flex;flex-wrap:wrap;gap:6px 22px;padding:12px 0 11px}
.fchecks label{display:inline-flex;align-items:center;gap:8px;font-size:var(--t-body);line-height:1.35;cursor:pointer}
.fchecks input{width:15px;height:15px;margin:0;accent-color:var(--ink);cursor:pointer}
.fchecks input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* A value the visitor brought with them (Contact: the project they started from) */
.fval{margin:0;padding:13px 0 12px;font-size:var(--t-body);line-height:1.35}
.fval a{display:inline-block;padding:12px 0;margin:-12px 0}
/* The underline sits on the name, not on the brackets around it */
.fval .u{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--soft)}
.fval a:hover .u{text-decoration-color:var(--ink)}
.fsend{border-top:var(--rule);padding-top:20px}
.fsend>div{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.lg-enq .fnote{margin:0;font-size:var(--t-small);color:var(--mute)}
.lg-enq .fnote a{color:var(--ink);display:inline-block;padding:6px 0;margin:-6px 0}
/* A request that did not arrive: the line under the button, in the error red. The field no person sees (a script fills it in) */
.lg-enq .ffail{color:var(--err);outline:0}
.fhp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.fsend .btn[aria-disabled="true"]{opacity:.55;cursor:default}
/* The confirmation takes the form's place (svc-ledger.js). It never lands under the pill. */
.lg-done{border-top:var(--rule);padding-top:14px;outline:none;scroll-margin-top:96px}
.lg-done .dt{margin:14px 0 12px;font-size:var(--t-sub);line-height:1.3;max-width:24em;text-wrap:pretty}

/* The Contact page: the form is the page. It opens under the pill on the same ink rule as a part, its heading is the
   page's h1, then a closing line signs off the page. */
.lg-enq.lg-page{margin-top:clamp(30px,4.6vh,56px)}
.lg-enq .fi--page{margin-top:0;padding-top:12px}
/* The page is never shorter than the screen, so the footer starts below the fold */
body[data-view="contact"] main{min-height:100svh}
.lg-page h1.fh:focus{outline:none}
/* The heading follows the service chosen. Its box stays the height of a name at the full size (--cap, set by
   SVC.fitName), so a name that is set a little smaller to fit does not move the form under it. */
@media (min-width:761px){ body[data-view="contact"] .sp-hero h1:not(.wrap){box-sizing:border-box;height:calc(var(--cap) * .87)} }

/* Turning the sheet: previous and next service */
.lg-turn{margin:var(--sp) var(--pad) 0;border-top:var(--hair);padding-top:28px}
.lg-turn .next{text-align:right}
.lg-turn .next .k{justify-content:flex-end}

/* The slim bar: name, price and the main button, once the opening's button has scrolled off (hidden at the form) */
.lg-bar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;
  padding:8px var(--pad) calc(8px + env(safe-area-inset-bottom,0px));background:#fff;border-top:var(--hair);
  transform:translateY(110%);visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}
.lg-bar.on{transform:none;visibility:visible;transition:transform .25s ease}
.lg-bar .l{display:flex;align-items:baseline;gap:16px;min-width:0}
.lg-bar .n{font-size:var(--t-small);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lg-bar .p{font-size:var(--t-small);color:var(--mute);white-space:nowrap}

@media (min-width:761px) and (max-height:820px){
  .lg-band{height:clamp(180px,32vh,280px)}
  .lg-open{padding-top:22px}
  .lg-body{margin-top:18px}
}
/* Narrower screens: the work cards stack their name, route and services */
@media (max-width:1300px){ .lg-work .meta{grid-template-columns:minmax(0,1fr)} .lg-work .meta .price{text-align:left} }
/* Support's comparison stacks one block per package once the table's item column would fall under about 220px */
@media (max-width:1100px){
  .lg-table{display:none}
  .lg-pks{display:block}
  .lg-pk+.lg-pk,.lg-pk-rest+.lg-pk{margin-top:28px}
  .lg-pk .t{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin:0 0 10px;font-size:var(--t-body)}
  .lg-pk .t .pp{font-size:var(--t-small);color:var(--mute);text-transform:none;font-weight:400;font-stretch:normal;white-space:nowrap}
  .lg-pk .g{margin:0 0 8px;font-size:var(--t-text);color:var(--mute)}
  .lg-pk-rest{display:flex;justify-content:space-between;gap:12px;margin:28px 0 0;padding:13px 0 12px;border-top:var(--rule);border-bottom:var(--rule);font-size:var(--t-text);color:var(--mute)}
  .lg-pk-rest .caps{font-size:var(--t-body);color:var(--ink)}
}
/* Narrow desktop: the details drop under their names */
@media (max-width:1000px){
  .lg-lines li{grid-template-columns:var(--num) minmax(0,1fr);row-gap:2px}
  .lg-lines .d{grid-column:2}
  /* Lists with a label column and no number keep their two columns (the rule above would give the label the number's width) */
  .lg-vals li,.lg-targets li{grid-template-columns:minmax(0,38%) minmax(0,1fr)}
}
@media (max-width:760px){
  /* A line that opens another page is a tap target of 40px, without moving the type */
  .lg-lines .to{position:relative}
  .lg-lines .to::after{content:"";position:absolute;left:0;right:0;top:-10px;bottom:-10px}
  .lg-band{height:auto;aspect-ratio:16/9}
  /* Phone opening: the name, the promise and paragraph, then the price and button */
  .lg-open{display:flex;flex-direction:column;align-items:stretch;padding-top:18px}
  .lg-open .side{display:contents}
  .lg-open .crumb{order:1}
  .lg-open h1{order:2}
  .lg-open .main{order:3}
  .lg-open .pr{order:4}
  .lg-act{order:5}
  .lg-open .crumb,.lg-open h1{font-size:26px}
  .lg-promise{margin-top:18px;line-height:1.1}
  .lg-body{margin-top:14px}
  .lg-open .pr{margin-top:24px}
  .lg-act{margin-top:18px;gap:4px 16px}
  .lg-act .link{display:inline-block;padding:13px 0}
  .lg-act .btn{width:100%}
  .lg-r{grid-template-columns:minmax(0,1fr)}
  .lg-r+.lg-r{margin-top:24px}
  .lg-r h3{padding:0 0 10px}
  .lg-r .st{padding:0 0 16px}
  .lg-lines li{font-size:var(--t-text);gap:2px 10px}
  .lg-price-line .l{display:none}
  .lg-price-line .r::before{content:"Price";font-size:var(--t-body);text-transform:uppercase;font-weight:700;font-stretch:condensed}
  .lg-pk-rest{flex-direction:column;gap:4px}
  .lg-enq .fh{font-size:var(--t-mid)}
  .lg-enq .fi{margin-bottom:18px}
  .fr{grid-template-columns:minmax(0,1fr)}
  .fr>label,.fr>.flab{padding:12px 0 0;font-size:var(--t-text)}
  /* Phone controls are at least 40px tall, and each need is a 44px row to tap */
  .fr input:not([type=checkbox]),.fr select,.fr textarea{padding:6px 0 14px}
  .sel-b{padding:6px 4px 14px 0}
  .fval{padding:6px 0 14px}
  .fchecks{padding:0 0 6px;gap:0 22px}
  .fchecks label{min-height:44px}
  .fx-h{margin-top:-8px}
  .fr select{background-position:right 4px top 14px}
  .fsend .btn{width:100%}
  .fe{margin-top:0}
  .lg-work .card:nth-child(n+3){display:none}
  .lg-work .more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lg-work .lg-r .l{order:2;margin-top:2px}
  .lg-work .lg-r{display:flex;flex-direction:column}
  .lg-bar{padding:9px var(--pad) calc(9px + env(safe-area-inset-bottom,0px));gap:12px}
  .lg-bar .l{flex-direction:column;gap:2px}
  .lg-enq.lg-page{margin-top:22px}
}
@media (prefers-reduced-motion:reduce){ .lg-bar,.lg-bar.on,.fr>label,.fr>.flab{transition:none} }

/* ---- The service page (12 November 2026): one template for the six services, in the Studio's language. The parts
   above that it still uses: .lg-part, .lg-r, the quote, questions, the enquiry form, previous and next, the slim bar. ---- */
/* The opening: the Studio's shopfront, for a service */
.sp-hero{margin:0 var(--pad);padding-top:clamp(84px,11vh,112px)}
.sp-hero .top{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:clamp(10px,1.4vw,20px)}
.sp-hero .top{margin-top:0}
.sp-hero .back{display:inline-block;padding:8px 0;margin:-8px 0}
/* The name, at the Studio's size (13vw). A name a little too long for one line is set down to the page's width by the
   script below; a much longer one keeps the size and takes two lines, so the six pages match. */
.sp-hero h1{margin:0 -.045em 0 -.035em;line-height:.84;font-size:13vw;white-space:nowrap;overflow:hidden;padding-bottom:.03em}
.sp-hero h1.wrap{white-space:normal;text-wrap:balance;line-height:.86}
.sp-hero h1 span{display:inline-block;vertical-align:top;letter-spacing:-.008em}
.sp-hero h1.wrap span{display:inline}

/* Between the Services page and Shopify migration the name is one object and holds still (svc-page.js names it for
   the page-to-page transition in motion.css). Where the two settings differ by a little it eases across. */
@media (prefers-reduced-motion:no-preference){ ::view-transition-group(svc-name){animation-duration:var(--d-4);animation-timing-function:var(--e-move)} }

/* Price and button in the label column; the promise and the paragraph beside them */
.sp-open{display:grid;grid-template-columns:var(--lc) minmax(0,1fr);gap:0 var(--gap);align-items:start;margin:clamp(30px,4.6vh,56px) var(--pad) 0}
.sp-open .lg-price{padding-top:.28em}

/* A part with something on the right of its label (the work's link to the Catalog) */
.sp-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:16px}

/* The work: the Catalog's cards. Three across the page; two share it; one sits in the label column with the client's
   quote, or the project's name, beside it. A quote from one of several clients sits under that client's card, as on
   the Studio page. */
.sp-work{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 2px;align-items:start}
.sp-work .card .ph{aspect-ratio:1/1}
.sp-work .card .ph img{object-position:center 62%}
.sp-work .card.own .ph img{object-position:center}
.sp-work[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.sp-work[data-n="2"] .card .ph{aspect-ratio:4/3}
.sp-work[data-n="1"]{grid-template-columns:var(--lc) minmax(0,1fr);gap:0 var(--gap);align-items:end}
.sp-work .cq{grid-row:2;grid-column:var(--col,1);margin:0;padding:0 10px 4px}
.sp-work .cq p{margin:0;font-size:var(--t-body);line-height:1.42;text-wrap:pretty}
.sp-work .cq footer{margin-top:10px;font-size:var(--t-label);line-height:1.5;color:var(--mute)}
/* One project: its meta line gives way to the quote or the name in the content column */
.sp-work .q{margin:0;padding-bottom:46px}
.sp-work .q p{margin:0;font-size:var(--t-mid);line-height:1.15;letter-spacing:-.01em;max-width:20em;text-wrap:pretty}
.sp-work .q footer{margin-top:18px;font-size:var(--t-label);color:var(--mute)}
.sp-work[data-solo] .card .meta{display:none}
.sp-work .solo{display:block;min-width:0}
.sp-work .solo .nm{display:block;font-size:var(--t-sub);line-height:1.05;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:4px;transition:text-decoration-color .2s}
.sp-work .solo:hover .nm,.sp-work .solo:focus-visible .nm{text-decoration-color:var(--ink)}
.sp-work .solo .rt{display:block;margin-top:10px;font-size:var(--t-figure);line-height:1.2}
.sp-work .solo .ty{display:block;margin-top:6px;font-size:var(--t-small);color:var(--mute)}

/* What's included: a group's name in the label column, its lines three across under one hairline */
.sp-g{display:grid;grid-template-columns:var(--lc) minmax(0,1fr);gap:0 var(--gap)}
.sp-g + .sp-g{margin-top:clamp(24px,2.6vw,36px)}
.sp-g h3{margin:0;padding-top:13px;font-size:var(--t-text);line-height:1.35}
.sp-items{list-style:none;margin:0;padding:13px 0 0;border-top:var(--hair);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px var(--gap)}
.sp-items li{min-width:0}
.sp-items .w{display:block;font-size:var(--t-body);line-height:1.35}
.sp-items .d{display:block;margin-top:4px;font-size:var(--t-text);line-height:1.45;color:var(--ink-2);max-width:36ch;text-wrap:pretty}
.sp-items .to{display:inline-flex;align-items:center;gap:10px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--soft)}
.sp-items .to:hover{text-decoration-color:var(--ink)}
.sp-items .to .ar{width:16px;height:10px;flex:none;color:var(--mute)}
/* A group that is one list, said as a sentence across the content column */
.sp-say{margin:0;padding:11px 0 0;border-top:var(--hair);font-size:var(--t-figure);line-height:1.35;letter-spacing:-.005em;padding-right:max(0px,calc(100% - 38em));text-wrap:pretty}
/* A group of one line: its name in the first column, its detail across the other two */
.sp-items li:only-child{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:baseline}
.sp-items li:only-child .d{grid-column:2/-1;margin-top:0;max-width:60ch}

/* Support: the three lines that differ by package, as a table on the page's own columns (each line's name in the
   label column, the three packages on the three content columns the lists below use) */
.sp-pk,.sp-pk thead,.sp-pk tbody{display:block}
.sp-pk tr,.sp-pk-rest{display:grid;grid-template-columns:var(--lc) repeat(3,minmax(0,1fr));gap:0 var(--gap);align-items:baseline}
.sp-pk th,.sp-pk td{display:block;min-width:0;padding:12px 0 13px;text-align:left;font-weight:400}
.sp-pk tbody tr,.sp-pk-rest{border-top:var(--hair)}
.sp-pk thead th{padding-top:13px;font-size:var(--t-text);line-height:1.35;font-weight:700}
.sp-pk tbody th{font-size:var(--t-body);line-height:1.35}
.sp-pk td{font-size:var(--t-text);line-height:1.45;color:var(--ink-2);text-wrap:pretty}
.sp-pk-rest{margin:0;padding:12px 0 0;font-size:var(--t-text);line-height:1.45;color:var(--ink-2)}
.sp-pk-rest .caps{color:var(--ink)}
.sp-pk-rest .tx{grid-column:2/-1;max-width:60ch}
.sp-pk + .sp-pk-rest + .sp-g,.sp-pk + .sp-g{margin-top:clamp(24px,2.6vw,36px)}

/* A strip of columns: the steps, and Support's response targets. A lead line sits over the strip on its left edge (the
   Studio's statement over its facts); a longer qualifying note sits under the strip, small. */
.sp-lead{margin:0 0 clamp(22px,2.8vw,40px);padding-top:6px;font-size:var(--t-figure);line-height:1.38;max-width:34em;text-wrap:pretty}
.sp-note{margin:18px 0 0;font-size:var(--t-small);line-height:1.5;color:var(--mute);max-width:70ch;text-wrap:pretty}
.sp-cols{display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));margin:0;padding:0;list-style:none;border-top:var(--hair)}
.sp-cols li{padding:14px 22px 2px;border-left:var(--hair);min-width:0}
.sp-cols li:first-child{padding-left:0;border-left:0}
.sp-cols .no{display:block;font-size:var(--t-label);line-height:1.4;color:var(--mute);letter-spacing:var(--num-ls);font-variant-numeric:tabular-nums}
.sp-cols .v{display:block;margin-top:10px;font-size:var(--t-figure);line-height:1.18;letter-spacing:-.01em;text-wrap:balance}
.sp-cols .d{display:block;margin-top:10px;font-size:var(--t-text);line-height:1.45;color:var(--ink-2);max-width:32ch;text-wrap:pretty}

/* Narrow desktop and tablet: the strip becomes numbered rows on the content edge, and the lists go two across */
@media (max-width:1000px){
  .sp-cols{grid-template-columns:minmax(0,1fr)}
  .sp-cols li{display:grid;grid-template-columns:2.4em minmax(0,1fr);gap:0 6px;align-items:baseline;padding:12px 0 14px;border-left:0;border-top:var(--hair)}
  .sp-cols li:first-child{border-top:0}
  .sp-cols .v{margin-top:0}
  .sp-cols .d{grid-column:2;margin-top:3px;max-width:none}
  .sp-cols--named li{grid-template-columns:minmax(0,1fr)}
  .sp-cols--named .v{margin-top:2px}
  .sp-cols--named .d{grid-column:1}
}
@media (max-width:1000px) and (min-width:761px){
  .sp-cols,.sp-lead,.sp-note{margin-left:calc(var(--lc) + var(--gap))}
  .sp-items{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sp-items li:only-child .d{grid-column:2}
}
@media (max-width:760px){
  .sp-hero{padding-top:84px}
  /* Phone: the name wraps at its words */
  .sp-hero h1,.sp-hero h1.wrap{font-size:15vw;line-height:.88;white-space:normal;text-wrap:balance;margin:0}
  .sp-hero h1 span{display:inline}
  .sp-open{display:flex;flex-direction:column;align-items:stretch;margin-top:22px}
  .sp-open .side{display:contents}
  .sp-open .main{order:1}
  .sp-open .pr{order:2;margin-top:24px}
  .sp-open .lg-act{order:3;margin-top:18px;gap:4px 16px}
  .sp-open .lg-act .btn{width:100%}
  .sp-open .lg-act .link{display:inline-block;padding:13px 0}
  .sp-open .lg-promise{margin-top:0;line-height:1.1}
  .sp-open .lg-body{margin-top:14px}
  /* Phone: two cards across (the quoted client's first), the quote under them at the full width */
  .sp-work,.sp-work[data-n="1"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 2px}
  .sp-work[data-n="3"] .card.has-q{order:-1}
  .sp-work[data-n="3"] .card:not(.has-q) ~ .card:not(.has-q) ~ .card,.sp-work[data-n="3"] .card.has-q ~ .card ~ .card{display:none}
  .sp-work .cq{grid-column:1/-1;grid-row:auto;order:1;padding:4px 0 0}
  .sp-work[data-n="1"]{gap:0 14px;align-items:end}
  .sp-work .q{grid-column:1/-1;padding:16px 0 0}
  .sp-work[data-n="1"]:not([data-solo]) .card{grid-column:1}
  .sp-work .solo{padding-bottom:2px}
  .sp-work .solo .nm{font-size:var(--t-figure)}
  .sp-work .solo .rt{font-size:var(--t-text);margin-top:6px}
  .sp-g{grid-template-columns:minmax(0,1fr)}
  .sp-g h3{padding:0 0 10px}
  .sp-items{grid-template-columns:minmax(0,1fr);gap:0;padding:0;border-top:0}
  .sp-items li,.sp-items li:only-child{display:block;border-top:var(--hair);padding:11px 0 13px}
  .sp-items li:only-child .d{margin-top:4px}
  .sp-say{font-size:var(--t-body);padding-top:11px}
  .sp-items .w{font-size:var(--t-text)}
  .sp-items .d,.sp-cols .d{max-width:none}
  .sp-items .to{position:relative}
  .sp-items .to::after{content:"";position:absolute;left:0;right:0;top:-10px;bottom:-10px}
  /* The package table stacks: each line, then its value in each package */
  .sp-pk tr{display:block;padding-bottom:10px}
  .sp-pk thead{display:none}
  .sp-pk tbody th{padding:12px 0 4px;font-size:var(--t-text)}
  .sp-pk td{padding:2px 0;display:grid;grid-template-columns:5.6em minmax(0,1fr);gap:0 10px}
  .sp-pk td::before{content:attr(data-p);color:var(--ink);text-transform:uppercase;font-weight:700;font-stretch:condensed;font-size:var(--t-small);line-height:1.6}
  .sp-pk-rest{grid-template-columns:minmax(0,1fr);gap:4px}
  .sp-pk-rest .tx{grid-column:1}
  .sp-lead{margin:0 0 18px;padding-top:0}
  .sp-cols .v{font-size:var(--t-body)}
}
