/* ============================================================
   AltxDesign — the rebuilt service pages (Navin, 20 Nov 2026)
   brand-guidelines-brand-kit, branding, website-design, creative-services,
   company-profile-design and monthly-design-retainer, rebuilt from the samples in
   altx-services-pages-handoff/ (brief: CLAUDE-CODE-SERVICES-PROMPT.md).

   Loaded after style.css, home.css and service.css, on those six pages only.
   Everything here sits under main.sp or uses an sp- class, so nothing reaches the
   nav, the footer or any other page. Ported from the samples' CSS with the site's
   tokens: ink is --near, and the samples' red is the site's --orange (Navin, 20 Nov).
   The site's own pieces are reused as they are: the opening (.br-hero), the client
   logos (.svc-proof), the pill buttons (.cta), the round arrows (.round), the FAQ
   rows (.faqitem); the closing is the short brief with art (css/sentence-form.css, tools/short-brief.mjs).
   Behaviour: js/service-pages.js.
   ============================================================ */
.sp{--sp-line:rgba(11,11,13,.14);--sp-line-d:rgba(245,241,231,.16);
  --sp-ease:cubic-bezier(.2,.7,.1,1);--sp-ease-x:cubic-bezier(.2,.8,.2,1)}
.sp-sec{padding-top:clamp(80px,11vw,170px);padding-bottom:clamp(80px,11vw,170px)}
.sp-h2{font-size:clamp(40px,5.6vw,88px);font-weight:700;letter-spacing:-.035em;line-height:1.02;text-wrap:balance}
/* the X from the logo, the pages' one interactive icon (<use href="#spx">) */
.sp-xm{display:inline-block;width:1em;height:1em;vertical-align:-.08em;fill:currentColor}

/* ---------- the opening: the site's .br-hero, set to the samples' proportions ---------- */
.sp .br-hero{min-height:96vh;padding-bottom:112px}
/* the X cue (72px, 22px off the bottom) keeps its own space under the buttons on every screen
   shape, short landscape ones included (foldables opened sideways); the homepage spacer shrinks
   to match */
.sp .br-hero::after{max-height:max(0px,calc(max(9vh,130px) - 112px))}
.sp .br-hero__title{max-width:7.6em;font-size:clamp(42px,5.1vw,84px);line-height:1.02;letter-spacing:-.045em}
.sp .br-hero__intro{max-width:30em;font-size:clamp(18px,1.5vw,22px)}
.sp .br-hero__proof{margin-top:14px;max-width:34em;font-size:15px;opacity:.6}
.sp .br-hero__img{object-position:var(--sp-focus,100% 50%)}
.sp .br-hero__shade{background:linear-gradient(180deg,rgba(11,11,13,.55) 0,rgba(11,11,13,0) 150px),
  linear-gradient(90deg,rgba(11,11,13,.97) 0%,rgba(11,11,13,.93) 34%,rgba(11,11,13,.5) 56%,rgba(11,11,13,.08) 80%),
  linear-gradient(0deg,rgba(11,11,13,.55),rgba(11,11,13,0) 30%)}

/* the X scroll cue: bobs, leans toward the pointer, turns as the page scrolls, and on
   hover or focus turns a further 135 degrees. Never a coloured background. */
.sp-cue{position:absolute;left:50%;bottom:22px;z-index:2;display:grid;place-items:center;width:72px;height:72px;
  margin:0 0 0 -36px;padding:0;border:0;border-radius:50%;background:none;color:var(--cream);cursor:pointer;
  transition:transform .35s var(--sp-ease-x)}
.sp-cue svg{width:34px;height:34px;overflow:visible;fill:currentColor;animation:sp-bob 2.6s ease-in-out infinite}
.sp-cue__x{transform-box:fill-box;transform-origin:center;transform:rotate(var(--r,0deg));transition:transform .5s var(--sp-ease-x)}
.sp-cue:hover .sp-cue__x,.sp-cue:focus-visible .sp-cue__x{transform:rotate(calc(var(--r,0deg) + 135deg)) scale(1.15)}
.sp-cue:focus-visible{outline:2px solid var(--ring);outline-offset:4px}
.sp-cue.is-go svg{animation:sp-go .7s cubic-bezier(.5,0,.2,1)}
@keyframes sp-bob{50%{transform:translateY(6px)}}
@keyframes sp-go{40%{transform:scale(1.5) rotate(180deg)}100%{transform:translateY(60px) scale(.4) rotate(360deg);opacity:0}}

/* ---------- the client logos: the site's .svc-proof, without the quote ---------- */
.sp .svc-proof{padding-top:0;padding-bottom:0}
.sp .svc-proof__logos{padding:34px 0}

/* ---------- the problem: heading and photo, statements beside, then the line that fills ---------- */
.sp-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,110px);align-items:start}
.sp-split > *{min-width:0}
.sp-pimg{margin:38px 0 0;border-radius:30px;overflow:hidden;aspect-ratio:4/3;background:#ddd6c6}
.sp-pimg img{display:block;width:100%;height:116%;object-fit:cover;will-change:transform}
/* the problem with its photo: heading and statements side by side, then the photo across the
   whole text width with a deeper parallax (Navin, 20 Nov); on a phone the photo sits between
   the heading and the statements, as before */
.sp-split--photo{grid-template-areas:"head says" "img img";row-gap:clamp(56px,7vw,104px)}
.sp-split__head{grid-area:head}
.sp-split__says{grid-area:says}
.sp-split__img{grid-area:img}
.sp-split--photo .sp-pimg{margin:0;aspect-ratio:21/9}
.sp-split--photo .sp-pimg img{height:134%}
/* lines that carry the story are centred on the page (Navin, 20 Nov) */
.sp-center{margin-inline:auto;text-align:center}
.sp-says{margin:0;padding:0;list-style:none}
.sp-says li{padding:22px 0;border-top:1px solid var(--sp-line);font-size:clamp(20px,1.8vw,26px);font-weight:500;line-height:1.3;text-wrap:pretty}
.sp-says li:last-child{border-bottom:1px solid var(--sp-line)}
.sp-state{max-width:15em;margin:clamp(70px,9vw,140px) auto 0;text-align:center;font-size:clamp(36px,6vw,96px);font-weight:700;letter-spacing:-.04em;line-height:1.05;text-wrap:balance}
/* a line that fills word by word as it scrolls through view (.sp-fill: the statement, "You leave with...") */
.sp-fill .sp-w{opacity:.14;transition:opacity .25s}
.sp-fill .sp-w.is-on{opacity:1}

/* ---------- the dark band (44px corners, 28px on phones) and its stacked cards ---------- */
.sp-dark{position:relative;background:var(--near);color:var(--cream);border-radius:44px}
.sp-intro{padding-top:clamp(80px,10vw,150px)}
.sp-intro p{max-width:30em;margin-top:26px;font-size:20px;line-height:1.45;opacity:.78}
.sp-intro .sp-center + p{margin-inline:auto;text-align:center}
.sp-kit{padding-top:clamp(40px,5vw,70px)}
/* the made-up brand's palette, used by name inside the artwork (Maple & Finch only) */
.sp-kit{--mi:#18233A;--mb:#3D6BFF;--my:#FFC83D;--ms:#EEE6D8;--mp:#FBF8F2}
.sp-kc{position:sticky;top:92px;display:grid;grid-template-columns:.78fr 1.22fr;gap:clamp(20px,3vw,50px);
  height:min(76vh,680px);min-height:480px;margin-bottom:34vh;padding:clamp(26px,3.4vw,52px);
  border-radius:30px;overflow:hidden;transform-origin:50% 0;will-change:transform}
.sp-kc:last-child{margin-bottom:0}
.sp-kt{display:flex;flex-direction:column;justify-content:space-between;min-width:0}
.sp-kt h3{font-size:clamp(36px,4.4vw,70px);font-weight:700;letter-spacing:-.045em;line-height:1.02;font-variant-numeric:tabular-nums;text-wrap:balance}
.sp-kt p{max-width:17em;font-size:clamp(18px,1.5vw,22px);line-height:1.35}
.sp-kt .cta{align-self:flex-start;margin-top:22px}
/* the Maple & Finch artwork (a made-up brand), copied from the samples as it is */
.sp-kv{position:relative;min-height:0}
.sp-kv svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.sp-kv text{font-family:var(--font)}
.sp-kv .fr{font-family:Fraunces,Georgia,serif;font-weight:600;letter-spacing:-.02em}
/* style.css sets .mono to Urbanist 600; the artwork's mono text is JetBrains Mono 400 */
.sp-kv .mono,.sp-kv .mono text{font-family:"JetBrains Mono",ui-monospace,Menlo,monospace;font-weight:400}
.sp-kv *{transform-box:fill-box;transform-origin:center}
.sp-kv .cov{transform:scaleX(0);transform-origin:right}
.sp-kv .fan{transform-origin:50% 115%}
.sp-kv .gx{transform-origin:left}
.sp-kv .gy{transform-origin:bottom}
.sp-kv .va{transform-box:view-box;transform-origin:0 0}
.sp-kc.is-on .up{animation:sp-k-up .8s var(--sp-ease) both;animation-delay:calc(var(--d,0)*1s)}
.sp-kc.is-on .pop{animation:sp-k-pop .7s cubic-bezier(.3,1.7,.5,1) both;animation-delay:calc(var(--d,0)*1s)}
.sp-kc.is-on .dr{stroke-dasharray:1;animation:sp-k-dr 1.1s cubic-bezier(.4,0,.2,1) both;animation-delay:calc(var(--d,0)*1s)}
.sp-kc.is-on .fan{animation:sp-k-fan 1s cubic-bezier(.2,.9,.2,1) both;animation-delay:calc(var(--d,0)*1s)}
.sp-kc.is-on .tint{animation:sp-k-tint .7s ease both;animation-delay:calc(var(--d,0)*1s)}
.sp-kc.is-on .gx{animation:sp-k-gx .9s var(--sp-ease) both;animation-delay:calc(var(--d,0)*1s)}
.sp-kc.is-on .gy{animation:sp-k-gy .9s var(--sp-ease) both;animation-delay:calc(var(--d,0)*1s)}
.sp-kc.is-on .knob{animation:sp-k-knob 1.2s cubic-bezier(.3,1.4,.4,1) both;animation-delay:calc(var(--d,0)*1s)}
.sp-kc.is-on .cov{animation:sp-k-cov calc(var(--t,1.2)*1s) steps(var(--n,22)) both;animation-delay:calc(var(--d,0)*1s)}
.sp-kc.is-on .mv{animation:sp-k-mv calc(var(--t,1)*1s) cubic-bezier(.4,0,.2,1) both;animation-delay:calc(var(--d,0)*1s)}
.sp-kv .sq{animation:sp-k-sq 2.4s ease-in-out infinite}
.sp-kv .blink{animation:sp-blink 1s steps(1) infinite}
.sp-kv .dot{animation:sp-k-dot 1.2s ease-in-out infinite;animation-delay:calc(var(--d,0)*1s)}
.sp-kv .float{animation:sp-k-float 5s ease-in-out infinite alternate}
.sp-kv .ring{animation:sp-k-ring 1.8s ease-out infinite;animation-delay:calc(var(--d,0)*1s)}
.sp-kv .cur{animation:none}
@keyframes sp-k-up{from{opacity:0;transform:translateY(18px)}}
@keyframes sp-k-pop{from{opacity:0;transform:scale(.3)}}
@keyframes sp-k-dr{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes sp-k-fan{from{transform:rotate(0);opacity:.2}}
@keyframes sp-k-tint{from{fill:var(--w,#2B3857)}}
@keyframes sp-k-gx{from{transform:scaleX(0)}}
@keyframes sp-k-gy{from{transform:scaleY(0)}}
@keyframes sp-k-knob{from{transform:translateX(var(--from,0px))}}
@keyframes sp-k-cov{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@keyframes sp-k-mv{from{transform:translate(var(--fx,0px),var(--fy,0px));opacity:var(--fo,1)}}
@keyframes sp-k-sq{0%,100%{transform:scale(1,1)}50%{transform:scale(1.75,.62)}}
@keyframes sp-k-dot{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1)}}
@keyframes sp-k-float{to{transform:translateY(-8px)}}
@keyframes sp-k-ring{0%{transform:scale(.4);opacity:.9}100%{transform:scale(1.9);opacity:0}}
@keyframes sp-blink{50%{opacity:0}}

/* ---------- accordion rows (services, work): one open at a time, the X as the toggle ---------- */
.sp-blk{padding-top:clamp(80px,10vw,150px)}
.sp-blk--near{padding-top:clamp(40px,5vw,70px)}
.sp-blk--end{padding-bottom:clamp(90px,11vw,170px)}
.sp-row{border-top:1px solid var(--sp-line-d)}
.sp-row:last-child{border-bottom:1px solid var(--sp-line-d)}
.sp-row__h{margin:0;font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:normal}
.sp-row__btn{display:grid;grid-template-columns:1.3fr 1fr 1fr 44px;gap:20px;align-items:center;width:100%;margin:0;padding:26px 0;
  border:0;background:none;color:inherit;font-family:var(--font);text-align:left;cursor:pointer}
.sp-row__btn:focus-visible{outline:2px solid var(--ring);outline-offset:4px;border-radius:10px}
.sp-row__name{font-size:clamp(26px,3vw,46px);font-weight:700;letter-spacing:-.035em;line-height:.98;text-wrap:balance}
.sp-row__meta{font-size:15px;line-height:1.4;opacity:.6}
.sp-row__one{grid-column:span 2;font-size:17px;line-height:1.4;opacity:.7}
.sp-tog{display:grid;place-items:center;justify-self:end;width:40px;height:40px;border:1px solid var(--sp-line-d);border-radius:50%;font-size:13px}
.sp-tog .sp-xm{transform:rotate(45deg);transition:transform .4s}
.sp-row.is-open > .sp-row__h .sp-tog .sp-xm{transform:rotate(0)}
.sp-row__body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .55s var(--sp-ease)}
.sp-row.is-open > .sp-row__body{grid-template-rows:1fr}
.sp-row__in{min-height:0;overflow:hidden}
/* a row opened from the address opens at once (js/service-pages.js) */
.sp-now .sp-row__body,.sp-now .sp-row__in > *{transition:none!important}
.sp-wgrid{display:grid;grid-template-columns:1.5fr 1fr;gap:clamp(24px,4vw,60px);align-items:end;padding:4px 0 40px}
.sp-wgrid--media{grid-template-columns:1.7fr 1fr}
.sp-wgrid > *{min-width:0}
.sp-wgrid p{max-width:24em;margin-bottom:18px;font-size:19px;line-height:1.45;opacity:.82}
.sp-rimg{aspect-ratio:16/10;border-radius:18px;overflow:hidden;background:#222}
.sp-rimg img,.sp-rimg video{display:block;width:100%;height:100%;object-fit:cover}
/* "Project image goes here": a placeholder until the site has a CMS */
.sp-wimg{position:relative;display:grid;place-items:center;aspect-ratio:16/9;padding:20px;border-radius:18px;
  color:#fff;font-size:clamp(22px,3vw,40px);font-weight:700;letter-spacing:-.02em;text-align:center}
.sp-wimg small{position:absolute;left:16px;bottom:14px;padding:5px 10px;border-radius:6px;background:rgba(245,241,231,.92);
  color:var(--near);font-size:12px;font-weight:500;letter-spacing:0}
/* the project's own card picture (tools/service-pages.mjs writes it from the work list) */
.sp-wimg--pic{padding:0;overflow:hidden;background:var(--tint)}
.sp-wimg--pic img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.sp-dark .svc-link{color:var(--cream)}

/* ---------- the routes (Branding: "Which of these sounds like your business?"): the name across
   two columns, the length in the third ---------- */
.sp-routes .sp-row__btn{grid-template-columns:2.3fr 1fr 44px}
/* a route with no page or picture yet: a dashed box, kept until there is one */
.sp-rnone{display:grid;place-items:center;aspect-ratio:16/10;padding:20px;border:1px dashed rgba(245,241,231,.35);border-radius:18px;font-size:14px;opacity:.7;text-align:center}
/* a short closing line under a list, centred */
.sp-after{max-width:34em;margin:34px auto 0;font-size:20px;line-height:1.45;opacity:.78;text-align:center}
/* the line straight after the cards, close to them */
.sp-blk--tight{padding-top:clamp(30px,4vw,60px)}
.sp-blk--tight > .sp-leave:first-child{margin-top:0}
/* questions straight after a dark band need their own space above */
.sp .sp-faq.sp-faq--gap{padding-top:clamp(80px,11vw,170px)}

/* ---------- the retainer: "What it covers" as one big centred line, orange dots between ---------- */
.sp-cov{display:flex;flex-wrap:wrap;justify-content:center;gap:0 .5em;margin:0 0 30px;padding:0;list-style:none;
  font-size:clamp(40px,6.4vw,104px);font-weight:700;letter-spacing:-.045em;line-height:1.02;text-align:center}
.sp-cov li:not(:last-child)::after{content:"·";margin-left:.5em;color:var(--orange)}
/* a heading and its answer side by side ("New brands and new websites are projects") */
.sp-pair{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,110px);align-items:start}
.sp-pair h2{font-size:clamp(34px,4.2vw,64px);font-weight:700;letter-spacing:-.035em;line-height:1;text-wrap:balance}
.sp-pair p{font-size:clamp(20px,1.8vw,26px);font-weight:500;line-height:1.3;text-wrap:pretty}
.sp .sp-sec--flush{padding-bottom:0}

/* ---------- the carousel: scroll-snap, the next slide peeks in ---------- */
.sp-car{--h:clamp(210px,30vw,440px);padding:4px 0 40px}
.sp-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;outline:0}
.sp-track::-webkit-scrollbar{display:none}
.sp-track:focus-visible{outline:2px solid var(--ring);outline-offset:6px;border-radius:18px}
.sp-slide{flex:0 0 auto;width:calc(var(--h)*var(--r));max-width:100%;margin:0;scroll-snap-align:start;cursor:pointer}
.sp-slide .sp-rimg{aspect-ratio:auto;height:var(--h)}
.sp-slide figcaption{padding-top:16px;font-size:17px;line-height:1.45;color:rgba(245,241,231,.78)}
.sp-slide figcaption b{display:block;margin-bottom:4px;color:var(--cream);font-size:clamp(20px,1.8vw,26px);font-weight:700;letter-spacing:-.02em}
.sp-cnav{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-top:26px}
.sp-cbtns{display:flex;align-items:center;gap:10px}
.sp-count{margin-left:8px;font-size:15px;opacity:.6;font-variant-numeric:tabular-nums}

/* ---------- a numbered list inside the band ("What goes into every document"): the number is
   part of the heading ("01. Story and structure"), never a label above it ---------- */
.sp-blk > .sp-h2{margin-bottom:50px}
/* a smaller heading over a list that follows the cards ("The full kit") */
.sp-k{margin-bottom:16px;font-size:clamp(30px,3.4vw,52px);font-weight:700;letter-spacing:-.035em;line-height:.98;text-wrap:balance}
.sp-k + p{max-width:32em;margin:0 auto 40px;font-size:20px;line-height:1.45;opacity:.76}
.sp-k:not(.sp-center) + p{margin-left:0}
.sp-blk > .sp-h2 + p{max-width:38em;margin:-24px auto 50px;font-size:20px;line-height:1.45;opacity:.78}
.sp-rows{margin:0;padding:0;list-style:none}
.sp-rows li{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;align-items:baseline;padding:26px 0;border-top:1px solid var(--sp-line-d);transition:padding .3s}
.sp-rows li:last-child{border-bottom:1px solid var(--sp-line-d)}
@media(hover:hover){.sp-rows li:hover{padding-left:14px}}
.sp-rows :is(h3,h4){font-size:clamp(24px,2.6vw,38px);font-weight:700;letter-spacing:-.03em;line-height:1.05}
.sp-num{color:var(--orange);font-variant-numeric:tabular-nums}
.sp-rows p{max-width:30em;font-size:18px;line-height:1.45;opacity:.76}

/* ---------- the platforms (Web development): six tiles, the title and text at the same height
   in every tile, "Built on it" at the foot. The dashed logo slot waits for Navin's logos ---------- */
.sp-plat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:50px 0 0;padding:0;list-style:none}
.sp-plat li{display:flex;flex-direction:column;gap:14px;min-height:260px;padding:26px;border:1px solid var(--sp-line-d);border-radius:26px}
/* the platform's mark on a soft tile, in the text colour (website-design.html; marks inline, 22 Nov 2026) */
.sp-lg{display:grid;place-items:center;flex:none;width:64px;height:64px;border-radius:16px;background:rgba(245,241,231,.08);font-size:17px;font-weight:700;letter-spacing:-.02em}
.sp-lg svg{display:block;width:30px;height:30px;fill:currentColor}
.sp-plat :is(h3,h4){margin-top:clamp(26px,3vw,44px);font-size:clamp(24px,2.3vw,34px);font-weight:700;letter-spacing:-.03em;line-height:1}
.sp-plat p{font-size:17px;line-height:1.35;opacity:.76}
.sp-plat small{margin-top:auto;padding-top:10px;font-size:14px;line-height:1.35;opacity:.55}

/* ---------- being found: SEO, AEO and GEO (#found), each with its picture held beside the list ---------- */
.sp-fxhead{display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(30px,5vw,90px);align-items:end;margin-bottom:clamp(50px,6vw,90px)}
.sp-fxhead > *{min-width:0}
.sp-fxhead p{max-width:30em;font-size:20px;line-height:1.45}
.sp-fxhead p + p{margin-top:16px;opacity:.72}
.sp-fx{display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(28px,4.5vw,80px);align-items:start;padding:clamp(36px,4.5vw,64px) 0;border-top:1px solid var(--sp-line)}
.sp-fx > *{min-width:0}
.sp-fxv{position:sticky;top:110px;padding:clamp(18px,2.2vw,30px);padding-top:clamp(64px,5.4vw,78px);border-radius:30px;background:#18233A;color:var(--cream)}
.sp-fxv svg{display:block;width:100%;height:auto;overflow:visible}
.sp-fxv svg text{font-family:var(--font)}
.sp-fxv .fr{font-family:Fraunces,Georgia,serif;font-weight:600;letter-spacing:-.02em}
.sp-fxv .mono,.sp-fxv .mono text{font-family:"JetBrains Mono",ui-monospace,Menlo,monospace;font-weight:400}
.sp-pill{position:absolute;top:clamp(18px,2vw,26px);left:clamp(18px,2.2vw,30px);padding:7px 14px;border:1px solid rgba(245,241,231,.5);border-radius:999px;font-size:14px;font-weight:600}
.sp-fx--inc .sp-pill{border-color:var(--orange);background:var(--orange);color:#fff}
.sp-js .sp-fxv .sv{opacity:0;transform:translateY(14px);transition:opacity .6s,transform .6s var(--sp-ease);transition-delay:calc(var(--d,0) * 1s + .25s)}
.sp-js .sp-fx.is-in .sp-fxv .sv{opacity:1;transform:none}
.sp-fxt h3{font-size:clamp(44px,5vw,80px);font-weight:700;letter-spacing:-.045em;line-height:.95}
.sp-fxn{margin-top:10px;font-size:20px;font-weight:600}
.sp-fxl{max-width:30em;margin-top:22px;font-size:20px;line-height:1.45;opacity:.82}
.sp-fxt ul{display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(20px,2.6vw,40px);margin:clamp(26px,3vw,40px) 0 0;padding:0;list-style:none}
.sp-fxt li{padding:18px 0;border-top:1px solid var(--sp-line)}
.sp-fxt li b{display:block;font-size:18px;line-height:1.25;letter-spacing:-.01em}
.sp-fxt li span{display:block;margin-top:6px;font-size:16px;line-height:1.45;opacity:.7}
.sp-fxg{margin-top:8px;padding-top:20px;border-top:1px solid var(--near);font-size:18px;line-height:1.4}
.sp-fxg b{margin-right:.4em}
.sp-fxnote{margin-top:clamp(20px,3vw,40px);padding:clamp(28px,4vw,60px);border-radius:30px;background:var(--near);color:var(--cream)}
.sp-fxnote h3{max-width:16em;font-size:clamp(28px,3vw,46px);font-weight:700;letter-spacing:-.03em;line-height:1.02;text-wrap:balance}
.sp-fxnote ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,3vw,44px);margin:clamp(26px,3vw,44px) 0;padding:0;list-style:none}
.sp-fxnote li{padding-top:18px;border-top:1px solid rgba(245,241,231,.25)}
.sp-fxnote li b{display:block;font-size:20px;line-height:1.25}
.sp-fxnote li span{display:block;margin-top:8px;font-size:17px;line-height:1.45;opacity:.72}
.sp-fxnote .svc-link{color:var(--cream)}

/* ---------- clients' words, on cream ---------- */
.sp-tst{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,3vw,50px);margin:clamp(40px,5vw,70px) 0 0;padding:0;list-style:none}
.sp-tst--two{grid-template-columns:repeat(2,minmax(0,1fr))}
/* one quote (Brand guidelines, 22 Nov): a single column, centred, at a readable measure */
.sp-tst--one{grid-template-columns:minmax(0,820px);justify-content:center}
.sp-tst li{display:flex;flex-direction:column;justify-content:space-between;gap:26px;padding-top:26px;border-top:1px solid var(--near)}
.sp-tst blockquote{margin:0;font-size:clamp(22px,2.1vw,30px);font-weight:600;letter-spacing:-.02em;line-height:1.15;text-wrap:pretty}
.sp-tst small{font-size:15px;line-height:1.45;color:var(--muted)}
.sp-tst small b{display:block;color:var(--near)}

/* ---------- the closing lines inside the band ---------- */
.sp-leave{max-width:17em;margin:clamp(60px,8vw,120px) auto 0;text-align:center;font-size:clamp(30px,4.2vw,64px);font-weight:700;letter-spacing:-.035em;line-height:1.04;text-wrap:balance}
.sp-leave + .cta{display:flex;width:max-content;margin:36px auto 0}
.sp-call{display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:end;margin-top:clamp(50px,6vw,90px);
  padding:clamp(28px,4vw,56px);border-radius:30px;background:var(--cream);color:var(--near)}
.sp-call h3{font-size:clamp(32px,4vw,60px);font-weight:700;letter-spacing:-.04em;line-height:.98;text-wrap:balance}
.sp-call p{margin-bottom:20px;font-size:19px;line-height:1.45}
.sp-work{padding-top:clamp(90px,11vw,170px);padding-bottom:clamp(80px,9vw,140px)}
.sp-work .sp-h2{margin-bottom:50px}

/* ---------- how it works: the dotted line fills as the page scrolls ---------- */
.sp-steps{position:relative;margin-top:clamp(50px,6vw,90px);padding-top:34px}
.sp-steps::before{content:"";position:absolute;left:0;right:0;top:6px;border-top:1px dashed rgba(11,11,13,.3)}
.sp-steps__fill{position:absolute;left:0;top:5px;width:0;height:3px;background:var(--orange)}
.sp-steps__list{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}
.sp-steps__list li{position:relative}
.sp-steps__list li::before{content:"";position:absolute;top:-34px;left:0;width:13px;height:13px;border:1.5px solid var(--near);border-radius:50%;
  background:var(--cream);transition:background .3s,border-color .3s}
.sp-steps__list li.is-on::before{border-color:var(--orange);background:var(--orange)}
.sp-steps h3{margin:0 0 8px;font-size:clamp(22px,2.2vw,32px);font-weight:700;letter-spacing:-.035em;line-height:.98}
.sp-steps__when{margin:-2px 0 8px;font-size:14px;color:var(--muted)}
.sp-steps p{max-width:16em;font-size:17px;line-height:1.45}

/* ---------- what shapes the quote ---------- */
.sp-price{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,110px);align-items:start;margin-top:clamp(70px,9vw,130px)}
.sp-price__big{font-size:clamp(28px,3.2vw,48px);font-weight:700;letter-spacing:-.03em;line-height:1.08;text-wrap:balance}
.sp-price__big + .cta{margin-top:30px}
.sp-price ul{margin:0;padding:0;list-style:none}
.sp-price li{padding:20px 0;border-top:1px solid var(--sp-line);font-size:19px;line-height:1.45}
.sp-price li:last-child{border-bottom:1px solid var(--sp-line)}

/* ---------- questions: the site's FAQ rows, one open at a time, with the X ---------- */
.sp .sp-faq{padding-top:0;padding-bottom:clamp(80px,11vw,170px)}
.sp-faq .svc-faq__in{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.sp-faq__title{font-size:clamp(36px,4.4vw,68px);font-weight:700;letter-spacing:-.035em;line-height:.98;text-wrap:balance}
.sp .faqq{padding:24px 0;font-size:clamp(19px,1.6vw,23px)}
.sp .faqq:focus-visible{outline:2px solid var(--ring);outline-offset:4px;border-radius:8px}
.sp .faqq .sp-xm{flex:none;font-size:14px;transform:rotate(45deg);transition:transform .4s,color .3s}
.sp .faqitem.open .faqq .sp-xm{transform:rotate(0);color:var(--orange)}
.sp .faqa__in p{max-width:34em;font-size:18px;padding-bottom:24px}

/* ---------- SCROLL MOTION (Navin, 20 Nov: "the sections need to have scroll animations so it
   does not feel like a wall of text and the focus stays on the narrative").
   .sp-js is set by a line in the page's <head>, so nothing flashes before the script runs;
   js/service-pages.js adds .is-in as each piece comes into view. If the script hasn't run
   within 4 seconds the head line adds .sp-safe and everything simply shows. ---------- */
/* a block rises in */
.sp-js .sp-rv{opacity:0;transform:translateY(26px);transition:opacity .7s,transform .7s var(--sp-ease)}
.sp-js .sp-rv.is-in{opacity:1;transform:none}
/* a heading rises in word by word, each word from behind its own line */
/* .22em under the line, enough for g, p, q and y tails (20 Nov 2026: .1em cut them) */
.sp-wd{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.22em;margin-bottom:-.22em}
.sp-wd__in{display:inline-block}
.sp-js .sp-words .sp-wd__in{transform:translateY(108%);transition:transform .9s var(--sp-ease) calc(var(--i,0) * 45ms)}
.sp-js .sp-words.is-in .sp-wd__in{transform:none}
/* lists and rows come in one after another */
.sp-js .sp-stagger > *{opacity:0;transform:translateY(22px);
  transition:opacity .7s var(--sp-ease) calc(var(--i,0) * 90ms),transform .8s var(--sp-ease) calc(var(--i,0) * 90ms)}
.sp-js .sp-stagger.is-in > *{opacity:1;transform:none}
/* ...and their dividing lines draw across, left to right */
.sp-lines > *{position:relative}
@media(prefers-reduced-motion:no-preference){
  .sp-js:not(.sp-safe) .sp-lines > *{border-top-color:transparent}
  .sp-js:not(.sp-safe) .sp-lines > *::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:currentColor;opacity:.16;
    transform:scaleX(0);transform-origin:left;transition:transform 1.1s var(--sp-ease) calc(var(--i,0) * 90ms + 120ms)}
  .sp-js .sp-lines.is-in > *::before{transform:none}
}
/* a photo opens from the bottom up */
.sp-js .sp-wipe{clip-path:inset(100% 0 0 0 round 30px);transition:clip-path 1.2s var(--sp-ease)}
.sp-js .sp-wipe.is-in{clip-path:inset(0 0 0 0 round 30px)}
/* a card rises and grows into place (an animation, not a transition, so the stacking that
   follows can set its own transform) */
.sp-js .sp-kc:not(.is-in){opacity:0}
.sp-js .sp-kc.is-in{animation:sp-card-in 1s var(--sp-ease) backwards}
@keyframes sp-card-in{from{opacity:0;transform:translateY(70px) scale(.95)}}
/* the steps light up as the dotted line reaches them */
.sp-js .sp-steps__list li > *{opacity:.28;transition:opacity .5s}
.sp-js .sp-steps__list li.is-on > *{opacity:1}
/* an open row's content follows the row open */
.sp-js .sp-row__in > *{opacity:0;transform:translateY(16px);transition:opacity .45s,transform .6s var(--sp-ease)}
.sp-js .sp-row.is-open > .sp-row__body > .sp-row__in > *{opacity:1;transform:none;transition-delay:.15s}
/* the dark band widens to the full page as it arrives (--sp-in from the script, 0 to 1) */
.sp-js .sp-dark{clip-path:inset(0 calc((1 - var(--sp-in,1)) * 5vw) round 44px)}
/* the opening settles in on load */
.sp-js .sp .br-hero__img{animation:sp-settle 1.8s cubic-bezier(.16,1,.3,1) backwards}
.sp-js .sp .br-hero__crumbs,.sp-js .sp .br-hero__title,.sp-js .sp .br-hero__side{animation:sp-rise 1s var(--sp-ease) backwards}
.sp-js .sp .br-hero__crumbs{animation-delay:.1s}
.sp-js .sp .br-hero__title{animation-delay:.2s}
.sp-js .sp .br-hero__side{animation-delay:.45s}
.sp-js .sp .sp-cue{animation:sp-fade .8s ease 1s backwards}
@keyframes sp-settle{from{transform:scale(1.07)}}
@keyframes sp-rise{from{opacity:0;transform:translateY(34px)}}
@keyframes sp-fade{from{opacity:0}}
/* the safety net: the script never ran, so show everything as it is */
.sp-safe .sp-rv,.sp-safe .sp-fxv .sv,.sp-safe .sp-stagger > *,.sp-safe .sp-kc,.sp-safe .sp-row__in > *,.sp-safe .sp-steps__list li > *{opacity:1!important;transform:none!important}
.sp-safe .sp-words .sp-wd__in{transform:none!important}
.sp-safe .sp-wipe{clip-path:none}
.sp-safe .sp-dark{clip-path:none}

/* ---------- upright screens wider than a phone: unfolded foldables (Galaxy Z Fold, Pixel Fold),
   tablets held upright. Side by side, the card's words would be a narrow column and the drawing a
   tall thin box, so the card stacks: words over the drawing, still sticking as it stacks ---------- */
@media(min-width:861px) and (max-aspect-ratio:19/20){
  .sp-kc{grid-template-columns:1fr;height:auto;min-height:0}
  .sp-kt{gap:14px}
  .sp-kt p{max-width:30em}
  .sp-kv{aspect-ratio:600/420}
}

/* ---------- phones and small tablets ---------- */
@media(max-width:860px){
  .sp .br-hero__shade{background:linear-gradient(180deg,rgba(11,11,13,.55) 0,rgba(11,11,13,0) 150px),rgba(11,11,13,.72)}
  .sp-split,.sp-price,.sp-wgrid,.sp-wgrid--media,.sp-call,.sp-faq .svc-faq__in{grid-template-columns:1fr}
  .sp-split--photo{grid-template-areas:"head" "img" "says";row-gap:clamp(30px,6vw,110px)}
  .sp-split--photo .sp-pimg{aspect-ratio:4/3}
  .sp-split--photo .sp-pimg img{height:116%}
  .sp-dark{border-radius:28px}
  .sp-js .sp-dark{clip-path:inset(0 calc((1 - var(--sp-in,1)) * 5vw) round 28px)}
  .sp-kc{position:relative;top:auto;grid-template-columns:1fr;height:auto;min-height:0;margin-bottom:16px;transform:none!important;filter:none!important}
  .sp-kt{gap:14px}
  .sp-kv{aspect-ratio:600/420}
  .sp-row__btn{grid-template-columns:1fr 44px}
  .sp-row__meta,.sp-row__one{display:none}
  /* how it works and what shapes the quote, centred on phones and tablets (Navin, 20 Nov):
     each step is a dot over its words, joined to the next by a short dashed line */
  .sp-steps{padding-top:0}
  .sp-steps::before,.sp-steps__fill{display:none}
  .sp-steps__list{grid-template-columns:1fr;gap:56px;text-align:center}
  .sp-steps__list li{padding-top:30px}
  .sp-steps__list li::before{top:0;left:50%;transform:translateX(-50%)}
  .sp-steps__list li:not(:last-child)::after{content:"";position:absolute;left:50%;top:calc(100% + 12px);height:32px;border-left:1px dashed rgba(11,11,13,.3)}
  .sp-steps p{margin-inline:auto}
  .sp-price{justify-items:center;text-align:center}
  .sp-price > *{width:100%}
  .sp-price .sp-lines > *::before{transform-origin:50% 0}
  .sp-rows li{grid-template-columns:1fr;gap:10px}
  .sp-pair{grid-template-columns:1fr;gap:20px}
  .sp-plat{grid-template-columns:1fr}
  .sp-plat li{min-height:200px}
  .sp-fxhead,.sp-fx{grid-template-columns:1fr}
  .sp-fxv{position:relative;top:0}
  .sp-fxt ul,.sp-fxnote ul{grid-template-columns:1fr}
  .sp-tst,.sp-tst--two,.sp-tst--one{grid-template-columns:1fr}
  .sp-slide{max-width:86%}
  .sp-slide .sp-rimg{height:auto;aspect-ratio:var(--r)}
}

/* ---------- reduced motion: nothing moves, nothing is hidden ---------- */
@media(prefers-reduced-motion:reduce){
  .sp-cue,.sp-cue svg,.sp-cue__x{animation:none!important;transform:none!important;transition:none}
  .sp-kc{transform:none!important;filter:none!important}
  .sp-kc *{animation:none!important}
  .sp-kv .ring{opacity:0}
  .sp-js .sp-fxv .sv{opacity:1;transform:none;transition:none}
  .sp-js .sp-rv{opacity:1;transform:none;transition:none}
  .sp-fill .sp-w{opacity:1;transition:none}
  .sp-pimg img{height:100%;transform:none!important}
  .sp-row__body,.sp .faqa{transition:none}
  .sp-tog .sp-xm,.sp .faqq .sp-xm{transition:none}
  /* the scroll motion: everything in place from the start */
  .sp-js .sp-stagger > *,.sp-js .sp-kc,.sp-js .sp-row__in > *,.sp-js .sp-steps__list li > *{opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
  .sp-js .sp-words .sp-wd__in{transform:none!important;transition:none!important}
  .sp-js .sp-wipe,.sp-js .sp-dark{clip-path:none!important;transition:none}
  .sp-js .sp .br-hero__img,.sp-js .sp .br-hero__crumbs,.sp-js .sp .br-hero__title,.sp-js .sp .br-hero__side,.sp-js .sp .sp-cue{animation:none}
}
