/*
 * The Services page (3.3.0, approved as sample v6 on 2026-11-03): after the award sites and Anthropic.
 * The offers are rows on hairlines, not cards; each has one small hand-drawn ink sketch (inc/sketches.php)
 * in the slate, with one soft yellow dab under it, drawn in by hi.js when it arrives on screen.
 * Loaded on the Services template only, after hi.css.
 */
:root { --sk-dab:#EFDFA6; }   /* the only colour in the drawings: a pale take on the brand yellow */

.sk { display:block; width:100%; height:auto; overflow:visible; }
.sk .ln { fill:none; stroke:var(--slate); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.sk .dab { fill:var(--sk-dab); transform-box:fill-box; transform-origin:center; }
.sk--big .ln { stroke-width:2.4; }
/* drawn in only when scripts run (the html loses no-js); without them the drawings simply show */
html:not(.no-js) .sk .ln { stroke-dasharray:1; stroke-dashoffset:1; transition:stroke-dashoffset 1.1s cubic-bezier(.6,.05,.3,1) calc(var(--i) * 110ms); }
html:not(.no-js) .sk .dab { opacity:0; transform:scale(.6); transition:opacity .8s ease .5s, transform 1s cubic-bezier(.2,.8,.2,1) .5s; }
html:not(.no-js) .sk.drawn .ln { stroke-dashoffset:0; }
html:not(.no-js) .sk.drawn .dab { opacity:1; transform:none; }

/* the offers: rows, not cards */
.svc-list { border-top:1px solid var(--rule); }
.svc-row { display:grid; grid-template-columns:132px minmax(0,1fr) minmax(0,1.1fr) auto; gap:clamp(20px,3vw,48px); align-items:center;
  padding:clamp(22px,2.6vw,34px) 0; border-bottom:1px solid var(--rule); text-decoration:none; color:var(--slate); transition:background var(--hover, .6s) ease; }
.svc-row__art { width:132px; }
.svc-row__small { display:block; font:600 15px/1.3 var(--display); color:#586378; margin-bottom:6px; }
.svc-row__title { display:block; font:400 clamp(30px,3.2vw,48px)/.98 var(--shout); text-transform:uppercase; color:var(--slate); }
.svc-row__what { font:400 18px/1.55 var(--display); color:#586378; max-width:34em; }
.svc-row__ask { font:600 16px/1 var(--display); color:var(--slate); text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px; white-space:nowrap; }
a.svc-row:hover, a.svc-row:focus-visible { background:rgba(255,255,255,.55); outline:none; }
a.svc-row:focus-visible { box-shadow:inset 0 0 0 2px var(--blue); }
a.svc-row:hover .svc-row__ask, a.svc-row:focus-visible .svc-row__ask { text-decoration-thickness:2px; }
/* on hover the drawing is drawn again */
a.svc-row:hover .sk.drawn .ln { animation:skRedraw 1.2s cubic-bezier(.6,.05,.3,1) calc(var(--i) * 90ms) both; }
@keyframes skRedraw { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
@media (max-width:860px) {
  .svc-row { grid-template-columns:96px minmax(0,1fr); row-gap:12px; }
  .svc-row__art { width:96px; grid-row:span 3; align-self:start; }
  .svc-row__what, .svc-row__ask { grid-column:2; }
}

/* the middle band: one larger drawing beside the words */
.svc-human { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:5vw; align-items:center; padding:clamp(72px,9vw,128px) clamp(16px,4vw,56px) 0; }
.svc-human--plain { grid-template-columns:1fr; }
.svc-human__art { max-width:520px; }
.svc-human__small { font:300 clamp(17px,1.5vw,22px)/1.3 var(--display); color:#586378; margin:0 0 .5em; }
.svc-human h2 { font:400 clamp(40px,5vw,80px)/.92 var(--shout); text-transform:uppercase; color:var(--slate); margin:0; }
.svc-human__line { margin:1.1rem 0 0; max-width:28em; font:400 clamp(17px,1.4vw,20px)/1.55 var(--display); color:#586378; }
.svc-human__link { display:inline-block; margin-top:1.4rem; font:600 17px/1 var(--display); color:var(--slate); text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; }
.svc-human__link:hover, .svc-human__link:focus-visible { text-decoration-thickness:2px; outline:none; }
@media (max-width:860px) { .svc-human { grid-template-columns:1fr; } .svc-human__art { max-width:340px; } }

/* how it works: three columns over one hairline */
.svc-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(20px,4vw,56px); border-top:1px solid var(--rule); padding-top:clamp(24px,3vw,40px); }
.svc-step__art { width:120px; }
.svc-step h3 { font:400 clamp(26px,2.4vw,34px)/1 var(--shout); text-transform:uppercase; color:var(--slate); margin:16px 0 8px; }
.svc-step p { font:400 17px/1.5 var(--display); color:#586378; max-width:22em; }
@media (max-width:860px) { .svc-steps { grid-template-columns:1fr; } }

@media (prefers-reduced-motion:reduce) {
  html:not(.no-js) .sk .ln { transition:none; stroke-dashoffset:0; }
  html:not(.no-js) .sk .dab { transition:none; opacity:1; transform:none; }
  a.svc-row:hover .sk.drawn .ln { animation:none; }
}
