/* Sheet 1 · Home (round 3, 21 November 2026): audition C, "From the region to the desk", made the home page.
   The page moves in scale: the region (hero), Plymouth close up (About), the desk (Finance, Operations,
   Automation), then back out (the process). Sections lock to the screen on a desk and spring gently on a phone
   (Build files\gte-review\SECTIONS-BRIEF.md). Day is the default; nothing here darkens the page or assumes a mode:
   every colour is a site.css token, so Dusk and Night repaint it only when chosen.
   The shell is kept: the header and its navigation are layout.mjs's own; on Home only, the header floats over the
   map (fixed on a desk, at the top of the hero on a phone), the sheet loses its top padding, and the sheet stamp
   sits with the footer as the last snap point.
   THE STAGE. One stage under the hero and About holds the region map (.hm-world, site/map/southwest.mjs) and the
   Plymouth close-up (.hm-near, site/map/plymouth.mjs, drawn in the region map's own units from full-resolution data).
     Flat (no JS, reduced motion, print, or before home.js runs): the stage is two screens deep, the region under
       the hero and the close-up under About, both finished and sharp.
     Zoom (html.hm-zoom, set by home.js when motion is wanted): the stage is sticky, one screen deep. home.js plays
       the zoom with the Web Animations API, composited: the region map scales up on the office's mark only until the
       close-up covers the screen (then it is hidden), while the close-up, laid out at its final size, comes in from a
       small scale (never scaled past 1, so never blurred), cross-fading over the region as it does.
   Motion on the desk hangs off the site's section engine ([data-draw] → .is-drawing → .is-drawn), so no-JS, reduced
   motion and print show every drawing finished. Tokens and the drawing standard are site.css's. */

/* ───────── The page's geometry ───────── */
:root{
  --ar:1.42634;                                   /* the region map: 1000 × 701.1 */
  --vh:100vh;
  /* the hero: the land to the right, its east edge at the frame; the open sea to the left and above it */
  --W:min(74vw,calc(var(--vh) * 1.185));
  --H:calc(var(--W) / var(--ar));
  --mx:calc(100vw - var(--band) - 34px - var(--W) * .975);   /* the region map's left and top on screen */
  --my:calc(var(--band) + 38px);
  --px:.5509;--py:.66353;                         /* the office's mark, as a fraction of the region map */
  --k:8;                                          /* the close-up's scale against the hero's */
  --sn:calc(var(--k) * var(--W) / 1000);          /* the close-up: screen pixels to a map unit */
  /* the mark on the About screen, set so the office (Peverell, 1.11 units west and 9.32 north of it) lands at 60 %
     across and 30 % down, between the words and the photograph */
  --nx:calc(60vw + 1.11 * var(--sn));--ny:calc(var(--vh) * .30 + 9.32 * var(--sn));
  --gx:2;                                         /* the close-up's box: screens wide, during the zoom (3 until round 4: a third less to draw) */
  --head:72px;                                    /* the floating header's depth (round 4: one row, a paper bar) */
}
@supports (height:100svh){:root{--vh:100svh}}
html,body{overflow-x:clip}
.sheet{padding-top:0}
.sheet-stamp{margin-top:0;padding-top:64px}

/* scroll: one section a step on a desk; a gentle spring on a phone; none when motion is unwanted */
/* round 4: phones lock too (Guy: "not locking the sections make it behave in an odd way"); a section taller than a
   phone's screen still scrolls inside itself, as the browser lets a snap area larger than the screen do */
@media screen and (prefers-reduced-motion:no-preference){
  html{scroll-snap-type:y mandatory}
  .hm-sec{scroll-snap-align:start;scroll-snap-stop:always}
  .site-foot{scroll-snap-align:end}
  .sheet-stamp{scroll-snap-align:start}
}
html{scroll-padding-top:0}

/* ───────── The shell's header, floating over the map ───────── */
.site-head{position:fixed;z-index:41;top:calc(var(--band) + 1px);left:calc(var(--band) + 1px);right:calc(var(--band) + 1px);
  max-width:none;margin:0;padding:16px 28px 14px;align-items:center;pointer-events:none}
.site-head > *{pointer-events:auto}
.site-head .nav{flex-wrap:nowrap}
/* round 4: a paper bar with a ruled foot, so it reads as the menu over the map; on the hero the full lockup is the
   title, so the bar's wordmark waits until the hero has gone (html.hm-on-hero, set by home.js) */
.site-head{background:var(--paper) var(--tex) 0 0/256px 256px repeat;border-bottom:1px solid var(--hair)}
.site-head .nav__btn:hover{background:var(--ink)}
.site-head .wordmark{transition:opacity 300ms linear}
html.hm-on-hero .site-head .wordmark{opacity:0;visibility:hidden}

/* ───────── The stage ───────── */
.hm{position:relative;width:100vw;margin-left:calc(50% - 50vw)}
.hm-reach{position:relative}
/* flat: two screens deep, out of the flow, under the hero and About */
.hm-stage{position:absolute;left:0;top:0;width:100%;height:calc(2 * var(--vh));overflow:hidden;z-index:0}
.hm-world{position:absolute;left:var(--mx);top:var(--my);width:var(--W);height:var(--H);transform-origin:calc(var(--px) * 100%) calc(var(--py) * 100%)}
.hm-map{margin:0;width:100%;height:100%}
.hm-map .sw{width:100%;height:100%;overflow:visible}
.hm-map .sw--phone{display:none}
/* the map's own furniture this page replaces: the neatline and graduated border (the sheet's frame does that job),
   the cartouche (the hook is the chart's title), the scale bar (each section has its own), the edge figures */
.hm-map .hm-nl,.hm-map .hm-cart,.hm-map .hm-sbar,.hm-map .hm-ll{display:none}
/* the close-up: under About when flat; the mark sits at (--ox, --oy) inside it */
.hm-near{position:absolute;left:0;top:var(--vh);width:100%;height:var(--vh);overflow:hidden;--ox:var(--nx);--oy:var(--ny);
  background:var(--paper) var(--tex) 0 0/256px 256px repeat}
.hm-near__in{position:absolute;left:var(--ox);top:var(--oy);width:0;height:0}
.hm-near .pm{position:absolute;display:block;left:calc(-1 * var(--px0) * var(--sn));top:calc(-1 * var(--py0) * var(--sn));
  width:calc(var(--pw) * var(--sn));height:calc(var(--ph) * var(--sn));overflow:hidden}
/* a paper haze at the top of the screen, so the floating header reads over the city's roads (with the lettering:
   it comes in only as the zoom lands) */
.hm-near__fog{position:absolute;left:calc(-1 * var(--ox));width:calc(100vw * var(--gx));top:calc(-1 * var(--ny));height:calc(var(--head) + 40px);
  background:linear-gradient(var(--paper) 35%,transparent);opacity:.82;pointer-events:none}
/* its lettering, set for this scale, placed in map units from the mark (paper or buff halos, as the map's) */
.hm-nlb{position:absolute;left:calc(var(--ux) * var(--sn));top:calc(var(--uy) * var(--sn));transform:translate(-50%,-50%);white-space:nowrap;
  font-size:14px;line-height:1;color:var(--pencil);text-shadow:0 0 2px var(--paper),0 0 4px var(--paper),0 0 6px var(--paper)}
.hm-nlb--end{transform:translate(-100%,-50%)}
.hm-nlb--caps{font-size:13px;letter-spacing:.42em;text-transform:uppercase;margin-right:-.42em;
  text-shadow:0 0 2px var(--buff),0 0 4px var(--buff),0 0 6px var(--buff)}
.hm-nlb--it{font-style:italic;font-size:16px}
.hm-nlb--sm{font-size:14px}
.hm-mark{position:absolute;left:-13px;top:-13px;width:26px;height:26px;border:2.5px solid var(--mark);border-radius:50%;box-sizing:border-box;background:var(--paper)}
.hm-mark::after{content:"";position:absolute;left:50%;top:50%;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:var(--mark)}
.hm-mark__l{position:absolute;right:20px;bottom:12px;display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap;line-height:1.25;
  text-shadow:0 0 2px var(--buff),0 0 4px var(--buff),0 0 6px var(--buff),0 0 8px var(--buff)}
.hm-mark__l b{font-weight:400;font-size:17px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);margin-right:-.14em}
.hm-mark__l i{font-size:16px;color:var(--pencil)}

/* zoom: one sticky screen. The close-up's box is the screen grown about the mark (--gx times to the sides, 2× below,
   3× above), with feathered edges, so that once the region map has faded it covers the screen by itself. */
html.hm-zoom .hm-stage{position:sticky;top:0;height:var(--vh)}
html.hm-zoom .hm-sec.hm-hero{margin-top:calc(-1 * var(--vh))}
html.hm-zoom .hm-near{left:calc(var(--nx) * (1 - var(--gx)));top:calc(-2 * var(--ny));width:calc(100vw * var(--gx));height:calc(2 * var(--vh) + var(--ny));
  --ox:calc(var(--gx) * var(--nx));--oy:calc(3 * var(--ny));transform-origin:var(--ox) var(--oy);opacity:0;
  background:none;   /* the page's own paper shows through: a box of paper grain this size was costly to draw at every scale */
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent),linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent),linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent);
  mask-composite:intersect}
/* where home.js reads the two marks (hero and About) from */
.hm-probe{position:absolute;width:0;height:0;visibility:hidden;left:var(--nx);top:var(--ny)}
.hm-probe--h{left:calc(var(--mx) + var(--W) * var(--px));top:calc(var(--my) + var(--H) * var(--py))}
/* as the zoom starts, the lettering and the ring made for the region step aside (the close-up has its own) */
html.hm-zoom .hm.is-near .sw :is(text,.tc,.td,.ply,.plyd){opacity:0}
html.hm-zoom .hm .sw :is(text,.tc,.td,.ply,.plyd){transition:opacity 250ms linear 1300ms}
html.hm-zoom .hm.is-near .sw :is(text,.tc,.td,.ply,.plyd){transition:opacity 200ms linear}
.hm.is-still .sw *{transition:none!important}

/* ───────── Sections ───────── */
.hm-sec{position:relative;z-index:1;min-height:var(--vh);height:var(--vh);margin:0;box-sizing:border-box}
.hm-kicker{margin:0 0 16px}
.hm-dot{color:var(--pencil);padding:0 .3em}

/* Hero (round 4): the full lockup as the chart's title, in the open sea; under it, in plain words, what I am; then
   the hook, one line, and the one button */
.hm-hero__text{position:absolute;left:calc(var(--band) + 56px);top:calc(var(--band) + var(--head) + 28px);max-width:min(600px,44vw)}
.hm-lockup{--lk:clamp(60px,min(6.2vw,10.4vh),100px);margin:0}
.hm-role{margin:28px 0 0;padding-top:12px;border-top:1.5px solid var(--ink);display:table;
  font:500 clamp(14px,min(1.15vw,2vh),17px)/1.35 var(--f-sans);letter-spacing:.05em;text-transform:uppercase;color:var(--ink)}
.hm-hook{font-family:var(--f-big);font-size:clamp(36px,min(3.7vw,6.4vh),58px);line-height:1.02;letter-spacing:-.015em;margin:.55em 0 .3em -.03em}
.hm-l{display:block}
.hm-hero__line{font-style:italic;font-size:clamp(18px,min(1.5vw,2.6vh),22px);line-height:1.4;max-width:21em;text-wrap:pretty}
.hm-hero__act{margin-top:clamp(16px,2.6vh,26px);display:flex;align-items:center;gap:26px;font-size:var(--s-note)}
.hm-btn{background:var(--ink);color:var(--paper);border-color:var(--ink);padding:0 1.3em}
.hm-btn:hover{background:var(--mark);border-color:var(--mark);color:var(--ink)}
.hm-quiet{font-variant-caps:var(--caps-v);text-transform:var(--caps-t);font-size-adjust:var(--caps-adj);letter-spacing:var(--sc-track);text-decoration-color:var(--ink)}
.hm-hero__text>*{text-shadow:0 0 3px var(--paper),0 0 6px var(--paper),0 0 10px var(--paper)}
.hm-hero__text>.hm-hero__act{text-shadow:none}

/* the cue: a pencil line that draws downward once, then rests; a word above it */
.hm-cue{position:absolute;right:calc(var(--band) + 48px);bottom:calc(var(--band) + 18px);display:flex;flex-direction:column;align-items:center;gap:8px;
  font-size:var(--s-furn);letter-spacing:var(--sc-track);text-transform:uppercase;font-size-adjust:var(--caps-adj);text-decoration:none;color:var(--pencil);padding:6px 10px}
.hm-cue:hover{color:var(--ink)}
.hm-cue__line{display:block;width:1px;height:44px;background:var(--pencil);transform-origin:50% 0}
html.motion .hm-cue__line{animation:hm-cue 1400ms var(--ease-pen) 3000ms both}
@keyframes hm-cue{from{transform:scaleY(0)}}

/* About (round 4): me, what I can do and why, the three parts of the lockup as my proof; the photograph on the right;
   a paper wash on the left so the words read over the city. Guy: "it needs to be me ... what i can do for a business
   and why, because i have done it", with "a no background one that fly in onto the right". */
.hm-about::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,var(--paper) 0,var(--paper) calc(var(--band) + 56px + min(600px,44vw)),transparent calc(var(--band) + 56px + min(600px,44vw) + 110px));opacity:.94}
.hm-about__text{position:absolute;left:calc(var(--band) + 56px);top:calc(var(--band) + var(--head) + 26px);max-width:min(600px,44vw)}
.hm-about__h{font-family:var(--f-big);font-size:clamp(34px,min(3.3vw,5.6vh),52px);line-height:1.04;letter-spacing:-.015em;margin:0 0 .4em;max-width:13em}
.hm-about__p{font-size:clamp(17px,min(1.35vw,2.3vh),20px);font-style:italic;line-height:1.42;max-width:28em;margin:0 0 clamp(12px,2.2vh,22px);text-wrap:pretty}
.hm-creds{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--hair)}
.hm-creds li{display:grid;grid-template-columns:128px 1fr;column-gap:18px;align-items:baseline;padding:clamp(8px,1.4vh,13px) 0;border-top:1px solid var(--hair)}
.hm-creds li:first-child{border-top:1.5px solid var(--ink)}
.hm-creds b{font:500 13px/1.3 var(--f-sans);letter-spacing:.1em;text-transform:uppercase;color:var(--mag)}
.hm-creds span{font-size:clamp(15px,min(1.15vw,2vh),17px);line-height:1.42;text-wrap:pretty}
.hm-about__keys{margin-top:clamp(12px,2.2vh,22px);font-family:var(--f-big);font-size:clamp(22px,min(1.9vw,3.3vh),30px);line-height:1.2;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 26px}
.hm-about__keys .hm-quiet{font-family:var(--f-text);font-size:var(--s-note)}
/* the photograph: stands on the foot of the screen, to the right; flies in as About arrives (home.js sets .is-near) */
.hm-pic{position:absolute;right:calc(var(--band) + 5vw);bottom:var(--band);height:min(calc(var(--vh) - var(--band) * 2 - var(--head) - 30px),780px);margin:0;pointer-events:none;
  -webkit-mask-image:linear-gradient(#000 82%,transparent);mask-image:linear-gradient(#000 82%,transparent)}
.hm-pic img{display:block;height:100%;width:auto}
html.hm-zoom .hm-pic{opacity:0;transform:translateX(18vw);transition:transform 700ms cubic-bezier(.4,0,.6,1),opacity 400ms linear}
html.hm-zoom .hm.is-near .hm-pic{opacity:1;transform:none;transition:transform 1100ms cubic-bezier(.16,.84,.3,1) 650ms,opacity 500ms linear 650ms}
html.hm-zoom .hm-creds li,html.hm-zoom .hm-about__keys{opacity:0;transform:translateY(10px);transition:opacity 200ms linear,transform 200ms linear}
html.hm-zoom .hm.is-near .hm-creds li{opacity:1;transform:none;transition:opacity 500ms linear calc(900ms + var(--i) * 160ms),transform 600ms cubic-bezier(.2,.7,.2,1) calc(900ms + var(--i) * 160ms)}
html.hm-zoom .hm.is-near .hm-about__keys{opacity:1;transform:none;transition:opacity 500ms linear 1450ms,transform 600ms ease-out 1450ms}

/* the mark that flies: the lockup's ring leaves the title and lands on the office (home.js); the office's own mark
   shows once it has landed, with one ring spreading from it */
.hm-fly{position:fixed;left:0;top:0;width:100px;height:100px;color:var(--mark);opacity:0;transform-origin:0 0;pointer-events:none;z-index:40;overflow:visible;will-change:transform}
@media print{.hm-fly{display:none}}
.hm.is-flown .hm-lockup .gte-mark{visibility:hidden}
html.hm-zoom .hm-office .hm-mark{opacity:0}
html.hm-zoom .hm.is-landed .hm-office .hm-mark{opacity:1}
.hm-office{position:absolute;left:calc(var(--ux) * var(--sn));top:calc(var(--uy) * var(--sn));width:0;height:0}
.hm-office .hm-mark::before{content:"";position:absolute;inset:-2.5px;border-radius:50%;border:2px solid var(--mark);opacity:0}
html.motion .hm.is-landed .hm-office .hm-mark::before{animation:hm-ping 1100ms ease-out both}
@keyframes hm-ping{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(3.2)}}
.hm-office .hm-mark__l{left:22px;right:auto;bottom:4px;align-items:flex-start;background:var(--paper);padding:5px 9px 6px;text-shadow:none;box-shadow:0 0 0 1px var(--hair)}

/* Scale bars: the same corner on every screen */
.hm-scale{position:absolute;left:calc(var(--band) + 56px);bottom:calc(var(--band) + 26px);display:flex;align-items:flex-end;gap:12px;
  font-size:13px;line-height:1;color:var(--pencil);font-variant-numeric:lining-nums}
.hm-scale__k{font-variant-caps:var(--caps-v);text-transform:var(--caps-t);font-size-adjust:var(--caps-adj);letter-spacing:var(--sc-track);padding-bottom:0}
.hm-scale__bar{position:relative;display:block;width:240px;padding-top:15px}
.hm-scale__t{position:absolute;left:0;right:0;top:0;height:12px}
.hm-scale__t b{position:absolute;left:var(--x);top:0;transform:translateX(-50%);font-weight:400;font-family:var(--f-sans);font-weight:300;white-space:nowrap}
.hm-scale__t b:first-child{transform:none}
.hm-scale__t b:last-child{transform:translateX(-100%)}
.hm-scale__t b.mid{transform:translateX(-50%)}
.hm-scale__s{display:flex;height:4px;border:1px solid var(--ink);box-sizing:border-box}
.hm-scale__s i{flex:1}
.hm-scale__s .f{background:var(--ink)}
.hm-scale__u{font-style:italic;font-size:14px;line-height:1}
/* space bars: true to the map's scale at each zoom (7.253 map units to the statute mile, true at 50°05′N) */
.hm-scale--miles .hm-scale__bar{width:calc(var(--W) * .007253 * var(--mi))}
.hm-scale--near .hm-scale__bar{width:calc(var(--sn) * 7.253 * var(--mi))}
.hm-scale--miles,.hm-scale--near{text-shadow:0 0 3px var(--paper),0 0 6px var(--paper)}
html.motion .hm-sec .hm-scale__s{transform-origin:0 50%}
html.motion .hm-desk[data-draw]:not(.is-drawn) .hm-scale__s,html.motion .hm-proc[data-draw]:not(.is-drawn) .hm-scale__s{transform:scaleX(0)}
html.motion .is-drawing .hm-scale__s{transition:transform 700ms var(--ease-pen) 200ms}

/* ───────── The desk ───────── */
.hm-desk,.hm-proc{display:flex;align-items:center;justify-content:center;padding:calc(var(--band) + var(--head)) calc(var(--band) + 56px) calc(var(--band) + 76px)}
.hm-desk__grid{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,780px);column-gap:clamp(40px,5vw,80px);align-items:center;width:100%;max-width:1240px}
.hm-desk h2{font-size:clamp(32px,3vw,40px);line-height:1.12;margin:0 0 .6em;max-width:11em}
.hm-desk__p{font-size:var(--s-body);line-height:1.5;max-width:20em;text-wrap:pretty}
.hm-desk__links{margin-top:26px;font-size:var(--s-note)}
.hm-desk__links span{color:var(--pencil)}

.hm-sheet{margin:0;padding:26px 30px 28px;transform-origin:0 0}
.hm-sheet > .rule--ink{position:absolute;left:0;right:0;top:0}
.hm-sheet__head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:18px;flex-wrap:wrap}
.hm-sheet__t{font-size:var(--s-note);font-style:italic;color:var(--ink)}
.hm-sheet .tag{font-size:12px}
/* the sheet is laid on the desk: it settles from a smaller scale about its corner as the section arrives */
html.motion .hm-desk[data-draw]:not(.is-drawn) .hm-sheet{transform:scale(.9) translate(2%,3%)}
html.motion .hm-desk.is-drawing .hm-sheet{transition:transform 1100ms cubic-bezier(.2,.7,.2,1) 150ms}

/* Finance: the sheet of figures and its line */
.hm-fin__plot{width:100%;height:auto;overflow:visible}
.hm-fin__plot--tall{display:none}
.hm-fin__plot .hm-col{stroke:var(--hair);stroke-width:.75}
.hm-fin__plot .d-line{stroke:var(--pencil);stroke-width:1.25;fill:none}
.hm-fin__plot .d-hair{stroke:var(--pencil);stroke-width:.75;fill:none}
.hm-fin__plot .d-ink{stroke:var(--ink);stroke-width:1.6;fill:none;stroke-linejoin:round}
.hm-fin__plot .hm-room{stroke:var(--mag);stroke-width:1.25}
.hm-fin__plot .d-node{fill:var(--paper);stroke:var(--ink);stroke-width:1.25}
.hm-fin__plot .d-node--key{fill:var(--mag);stroke:var(--mag)}
.hm-fin__plot .d-lbl{font-family:var(--f-text);font-style:italic;font-size:14px;fill:var(--pencil)}
.hm-fin__plot .d-lbl--mag{fill:var(--mag)}
.hm-fin__plot .d-halo{paint-order:stroke;stroke:var(--white);stroke-width:4px;stroke-linejoin:round}
.hm-fin__wk{font-family:var(--f-text);font-size:12px;fill:var(--pencil);font-variant-numeric:lining-nums}
.hm-fin__fig{font-family:var(--f-fig);font-weight:300;font-size:15px;fill:var(--ink);font-variant-numeric:tabular-nums lining-nums}
.hm-fin__fig.key{fill:var(--mag)}
html.motion .hm-fin[data-draw]:not(.is-drawn) .hm-fin__fig{fill:var(--hair)}
html.motion .hm-fin.is-drawing .hm-fin__fig{transition:fill 260ms linear calc(2200ms + var(--i) * 115ms)}
/* the fog (round 4): hatched paper over the sheet with two lines, there while the section waits, lifting as it draws;
   the finished sheet has none (so no JS, reduced motion and print show the forecast) */
.hm-fin__wrap{position:relative}
.hm-fog{position:absolute;inset:-6px -10px;display:none;flex-direction:column;justify-content:center;align-items:center;gap:8px;text-align:center;pointer-events:none;
  background:repeating-linear-gradient(135deg,var(--hair) 0 1px,transparent 1px 8px),linear-gradient(var(--white),var(--white))}
.hm-fog p{margin:0;padding:0 18px;background:var(--white)}
.hm-fog__a{font:italic clamp(20px,1.8vw,26px)/1.2 var(--f-text);color:var(--ink)}
.hm-fog__b{font:italic 15px/1.3 var(--f-text);color:var(--pencil)}
html.motion .hm-fin[data-draw]:not(.is-drawn) .hm-fog{display:flex}
html.motion .hm-fin.is-drawing .hm-fog{display:flex;animation:hm-fog 4600ms linear both}
@keyframes hm-fog{0%,26%{opacity:1;transform:none}36%{opacity:.6;transform:translateY(-10px)}44%,100%{opacity:0;transform:translateY(-24px)}}

/* Operations (round 4): the switchboard, then the board. First every question runs into the owner's ring; the ring
   strains; then five of the six run straight across to the board, a card lands in each column, the old lines fade to
   a dotted trace and the ring goes quiet. The sixth (a price under the margin line) stays the owner's. The finished
   state is the default (no JS, reduced motion, print); the play runs while the section draws (data-draw 4300). */
.hm-sw__svg{width:100%;height:auto;overflow:visible;display:block}
.hm-sw__svg--tall,.hm-sw__key--phone{display:none}
.hm-sw__who{font:500 10.5px/1 var(--f-sans);letter-spacing:.09em;text-transform:uppercase;fill:var(--pencil)}
.hm-sw__q{font:italic 14.5px/1 var(--f-text);fill:var(--ink)}
.hm-sw__src{fill:var(--ink)}
.hm-sw__in{fill:none;stroke:var(--pencil);stroke-width:1;opacity:.45;stroke-dasharray:.008 .014}
.hm-sw__keep{fill:none;stroke:var(--mag);stroke-width:1.5}
.hm-sw__out{fill:none;stroke:var(--ink);stroke-width:1.2}
.hm-sw__card rect{fill:var(--white);stroke:var(--hair)}
.hm-sw__card line{stroke:var(--ink);stroke-width:2.5}
.hm-sw__ring{fill:var(--paper);stroke:var(--ink);stroke-width:1.5}
.hm-sw__dot{fill:var(--mark)}
.hm-sw__younm{font:400 20px/1 var(--f-display);fill:var(--ink)}
.hm-sw__calls{font:300 14px/1 var(--f-sans);fill:var(--pencil);font-variant-numeric:lining-nums}
.hm-sw__was{text-decoration:line-through}
.hm-sw__now{fill:var(--mag);font-weight:500}
.hm-sw__bh{font:italic 13px/1 var(--f-text);fill:var(--ink)}
.hm-sw__rule{stroke:var(--ink);stroke-width:1}
.hm-sw__col{stroke:var(--hair);stroke-width:.75}
.hm-sw__cap{font:italic 13px/1 var(--f-text);fill:var(--pencil)}
.hm-sw__key{margin:10px 0 0;font-size:13px;color:var(--pencil)}
/* waiting to draw: nothing on the lines yet */
html.motion .hm-ops[data-draw]:not(.is-drawn) :is(.hm-sw__in,.hm-sw__keep){stroke-dasharray:1 1;stroke-dashoffset:1}
html.motion .hm-ops[data-draw]:not(.is-drawn) .hm-sw__calls{opacity:0}
/* the play */
html.motion .hm-ops.is-drawing .hm-sw__in{animation:hm-sw-in 4300ms linear calc(var(--i) * 140ms) both}
html.motion .hm-ops.is-drawing .hm-sw__keep{animation:hm-sw-keep 4300ms linear calc(var(--i) * 140ms) both}
html.motion .hm-ops.is-drawing .hm-sw__ring{animation:hm-sw-ring 4300ms linear both}
html.motion .hm-ops.is-drawing .hm-sw__calls{animation:hm-sw-calls 4300ms linear both}
html.motion .hm-ops.is-drawing .hm-sw__was{animation:hm-sw-was 4300ms linear both}
html.motion .hm-ops.is-drawing .hm-sw__now{animation:hm-sw-now 4300ms linear both}
@keyframes hm-sw-in{
  0%{stroke-dasharray:1 1;stroke-dashoffset:1;stroke:var(--ink);opacity:1}
  4%{stroke-dasharray:1 1;stroke-dashoffset:1;stroke:var(--ink);opacity:1;animation-timing-function:cubic-bezier(.4,0,.2,1)}
  24%{stroke-dasharray:1 1;stroke-dashoffset:0;stroke:var(--ink);opacity:1}
  52%{stroke-dasharray:1 1;stroke-dashoffset:0;stroke:var(--ink);opacity:1}
  64%{stroke-dasharray:1 1;stroke-dashoffset:0;stroke:var(--pencil);opacity:.3}
  100%{stroke-dasharray:1 1;stroke-dashoffset:0;stroke:var(--pencil);opacity:.3}}
@keyframes hm-sw-keep{
  0%{stroke-dasharray:1 1;stroke-dashoffset:1;stroke:var(--ink)}
  4%{stroke-dasharray:1 1;stroke-dashoffset:1;stroke:var(--ink);animation-timing-function:cubic-bezier(.4,0,.2,1)}
  24%{stroke-dasharray:1 1;stroke-dashoffset:0;stroke:var(--ink)}
  58%{stroke:var(--ink)}
  70%,100%{stroke-dasharray:1 1;stroke-dashoffset:0;stroke:var(--mag)}}
@keyframes hm-sw-ring{0%,26%{stroke-width:1.5}32%{stroke-width:4}38%{stroke-width:2.5}44%{stroke-width:4.5}52%{stroke-width:4.5}62%,100%{stroke-width:1.5}}
@keyframes hm-sw-calls{0%,26%{opacity:0}32%,100%{opacity:1}}
@keyframes hm-sw-was{0%,56%{text-decoration:none;fill:var(--ink)}60%,100%{text-decoration:line-through;fill:var(--pencil)}}
@keyframes hm-sw-now{0%,58%{opacity:0}66%,100%{opacity:1}}

/* Systems (round 4; was Automation): one joined-up system. Eight tiles, scattered and turned, each saying where it
   lives now; they slide into one frame and the spine (one record for each customer and job) draws between the rows,
   with a short line from every tile to it. Transforms and opacity only. Finished is the default. */
.hm-js__frame{position:relative;padding:40px 18px 18px;border:1px solid var(--ink)}
.hm-js__name{position:absolute;left:18px;top:12px;margin:0;font:500 11px/1 var(--f-sans);letter-spacing:.1em;text-transform:uppercase;color:var(--mag)}
.hm-js__tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:auto 46px auto;gap:0 12px}
.hm-js__t{grid-row:1;position:relative;min-height:74px;padding:12px 12px 10px;border:1px solid var(--ink);background:var(--paper);box-sizing:border-box}
.hm-js__t--lo{grid-row:3}
.hm-js__t b{display:block;font:400 19px/1.1 var(--f-display);color:var(--ink)}
.hm-js__t i{position:absolute;left:12px;right:10px;top:38px;font-size:13px;line-height:1.3;color:var(--pencil);opacity:0}
.hm-desk__also{margin-top:14px;font-size:var(--s-note);line-height:1.5;color:var(--ink);max-width:24em}
.hm-desk__also b{font:500 12px/1 var(--f-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--mag);display:block;margin-bottom:6px}
.hm-js__t::after{content:"";position:absolute;left:50%;width:1.5px;height:23px;background:var(--ink);top:100%;transform-origin:50% 0}
.hm-js__t--lo::after{top:auto;bottom:100%;transform-origin:50% 100%}
.hm-js__spine{grid-row:2;grid-column:1 / -1;position:relative;display:flex;align-items:center;justify-content:center}
.hm-js__spine::before{content:"";position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;background:var(--mark);transform-origin:0 50%}
.hm-js__spine span{position:relative;padding:0 12px;background:var(--white);font:italic 14px/1 var(--f-text);color:var(--ink)}
/* waiting to draw: scattered, each saying where it lives, nothing joined */
html.motion .hm-auto[data-draw]:not(.is-drawn) .hm-js__t{transform:translate(var(--sx),var(--sy)) rotate(var(--sr)) scale(.94)}
html.motion .hm-auto[data-draw]:not(.is-drawn) .hm-js__t i{opacity:1}
html.motion .hm-auto[data-draw]:not(.is-drawn) .hm-js__t::after{transform:scaleY(0)}
html.motion .hm-auto[data-draw]:not(.is-drawn) .hm-js__spine::before{transform:scaleX(0)}
html.motion .hm-auto[data-draw]:not(.is-drawn) :is(.hm-js__spine span,.hm-js__name){opacity:0}
html.motion .hm-auto[data-draw]:not(.is-drawn) .hm-js__frame{border-color:transparent}
/* the play */
html.motion .hm-auto.is-drawing .hm-js__t{animation:hm-js-in 3800ms linear calc(var(--i) * 45ms) both}
html.motion .hm-auto.is-drawing .hm-js__t i{animation:hm-js-was 3800ms linear both}
html.motion .hm-auto.is-drawing .hm-js__t::after{animation:hm-js-stub 3800ms linear both}
html.motion .hm-auto.is-drawing .hm-js__spine::before{animation:hm-js-spine 3800ms linear both}
html.motion .hm-auto.is-drawing :is(.hm-js__spine span,.hm-js__name){animation:hm-js-show 3800ms linear both}
html.motion .hm-auto.is-drawing .hm-js__frame{animation:hm-js-frame 3800ms linear both}
@keyframes hm-js-in{0%,30%{transform:translate(var(--sx),var(--sy)) rotate(var(--sr)) scale(.94);animation-timing-function:cubic-bezier(.5,0,.15,1)}56%,100%{transform:none}}
@keyframes hm-js-was{0%,40%{opacity:1}52%,100%{opacity:0}}
@keyframes hm-js-spine{0%,58%{transform:scaleX(0);animation-timing-function:cubic-bezier(.4,0,.2,1)}74%,100%{transform:none}}
@keyframes hm-js-stub{0%,70%{transform:scaleY(0)}80%,100%{transform:none}}
@keyframes hm-js-show{0%,66%{opacity:0}76%,100%{opacity:1}}
@keyframes hm-js-frame{0%,52%{border-color:transparent}62%,100%{border-color:var(--ink)}}

/* The process: the three ways, drawn back out as one line from the office */
.hm-proc{flex-direction:column;align-items:stretch}
.hm-proc > *{width:100%;max-width:1160px;margin-left:auto;margin-right:auto}
.hm-proc h2{font-size:clamp(32px,3vw,40px);margin:0 0 .3em}
.hm-proc__p{font-size:var(--s-body);line-height:1.45;max-width:34em;margin:0 0 .6em;text-wrap:pretty}
.hm-proc__draw{position:relative;margin-top:10px;transform-origin:3.5% 68%}
.hm-route{width:100%;height:auto;overflow:visible}
.hm-route .d-route{fill:none;stroke:var(--ink);stroke-width:3;stroke-linejoin:miter}
.hm-route .d-hair{fill:none;stroke:var(--pencil);stroke-width:.75;stroke-dasharray:4 4}
.hm-route .d-node{fill:var(--paper);stroke:var(--ink);stroke-width:2}
.hm-route .d-node--key{stroke:var(--mag)}
.hm-route .ring{fill:none;stroke:var(--ink);stroke-width:1.5}
.hm-route .dot{fill:var(--ink)}
.hm-legs{position:absolute;inset:0}
.hm-leg{position:absolute;left:var(--x);top:calc(150 / 220 * 100% + 26px);width:250px;transform:translateX(-24px)}
.hm-leg--up{top:auto;bottom:calc(120 / 220 * 100% + 26px)}
.hm-route .d-lbl{font-family:var(--f-text);font-style:italic;font-size:15px;fill:var(--pencil)}
.hm-proc__draw{margin-bottom:150px}
.hm-leg__term{font-size:12px;letter-spacing:var(--sc-track);text-transform:uppercase;font-size-adjust:var(--caps-adj);color:var(--pencil);margin-bottom:6px}
.hm-leg__h{font-style:normal;font-size:24px;line-height:1.2;margin:0 0 6px}
.hm-leg__h a{text-decoration-color:var(--hair)}
.hm-leg__p{font-size:var(--s-note);line-height:1.45;max-width:17em}
.hm-proc__act{display:flex;align-items:center;gap:28px;margin-top:0}
html.motion .hm-proc[data-draw]:not(.is-drawn) .hm-proc__draw{transform:scale(1.12)}
html.motion .hm-proc.is-drawing .hm-proc__draw{transition:transform 1600ms cubic-bezier(.3,.1,.2,1)}

/* ───────── Landing: the hero's words go Pencil → Ink while the map draws ───────── */
html.motion.map-pending:not(.map-done) .hm-hero__text :is(.kicker,.hm-h1,.hm-hero__line){animation:gte-ink 900ms var(--ease-ink) 1100ms both}

/* ───────── Narrow desktops ───────── */
@media screen and (max-width:1180px) and (min-width:761px){
  .hm-desk__grid{grid-template-columns:minmax(240px,300px) minmax(0,1fr)}
}
/* below 1080 px the shell gives the navigation its own ruled line under the wordmark: the header is deeper */
@media screen and (max-width:1080px) and (min-width:761px){
  :root{--head:108px;--W:min(56vw,calc(var(--vh) * 1.185));--my:calc(var(--band) + 112px)}
  .hm-hero__text,.hm-about__text{max-width:46vw}
  .hm-pic{right:calc(var(--band) + 2vw);height:min(calc(var(--vh) * .62),640px)}
  .hm-nlb--nophone{display:none}   /* the Tamar's name would sit under the two-line header */
}
@media screen and (max-height:760px) and (min-width:761px){
  :root{--head:64px}
  .hm-nlb--nophone{display:none}   /* the Tamar's name would sit under the header */
  .hm-proc h2{margin-bottom:.2em}
  .hm-proc__draw{margin-bottom:112px}
  .hm-proc > *{max-width:1000px}
  .hm-leg{top:calc(150 / 220 * 100% + 16px)}.hm-leg--up{top:auto;bottom:calc(120 / 220 * 100% + 16px)}
  .hm-sheet{padding:20px 26px 22px}
  .hm-job{height:40px}
  .hm-tray{padding-bottom:26px}
}

/* ───────── Phone: its own composition ───────── */
@media screen and (max-width:760px){
  :root{--W:calc(100vw * 1.02);--mx:calc(-.03 * var(--W));--my:calc(var(--band) + 112px);--k:8;--gx:2;--head:0px;
    --nx:calc(24vw + 1.11 * var(--sn));--ny:calc(var(--vh) * .12 + 9.32 * var(--sn))}
  .hm-map .sw--phone{display:block}.hm-map .sw:not(.sw--phone){display:none}
  /* the shell's phone header (wordmark and mode button, then the navigation's one swipeable row), at the top of
     the hero, not fixed */
  .site-head{position:absolute;top:calc(var(--band) + 2px);padding:0 14px}
  .site-head .nav{padding-right:36px}
  .hm-sec{height:auto;min-height:var(--vh)}
  /* round 4: the lockup at the top under the menu, the map below it, the words in the sea at the foot */
  .site-head .wordmark{display:none}
  .hm-hero__text{left:calc(var(--band) + 24px);right:calc(var(--band) + 24px);top:calc(var(--band) + 24px);bottom:calc(var(--band) + 70px);max-width:none;
    display:flex;flex-direction:column}
  .hm-lockup{--lk:min(54px,12.6vw);margin-bottom:auto}
  .hm-role{font-size:12.5px;letter-spacing:.04em;margin-top:0;padding-top:9px}
  .hm-hook{font-size:min(36px,8.6vw);margin:.4em 0 .25em}
  .hm-hero__line{font-size:17px;line-height:1.38}
  .hm-hero__act{margin-top:14px;gap:22px}
  .hm-cue{bottom:calc(var(--band) + 10px)}
  .hm-cue__line{height:28px}
  .hm-scale{left:calc(var(--band) + 24px);bottom:calc(var(--band) + 24px);gap:10px}
  .hm-scale__bar{width:150px}
  .hm-scale--whole .hm-scale__bar{width:186px}
  .hm-nlb{left:calc(var(--pux,var(--ux)) * var(--sn));top:calc(var(--puy,var(--uy)) * var(--sn))}
  .hm-nlb--nophone{display:none}
  .hm-nlb--pstart{transform:translate(0,-50%)}
  .hm-nlb--caps{font-size:12px;letter-spacing:.32em;margin-right:-.32em}
  .hm-nlb--it{font-size:15px}
  .hm-nlb--sm{font-size:13px}
  /* About on a phone: the photograph top right, the office's mark top left, the words on paper below */
  .hm-about::before{background:linear-gradient(0deg,var(--paper) 0,var(--paper) 58%,transparent 72%)}
  .hm-about__text{left:calc(var(--band) + 24px);right:calc(var(--band) + 24px);top:auto;bottom:calc(var(--band) + 56px);max-width:none}
  .hm-kicker{margin-bottom:8px}
  .hm-about__h{font-size:min(30px,7.4vw);margin-bottom:.3em}
  .hm-about__p{font-size:16px;margin-bottom:10px}
  .hm-creds li{grid-template-columns:1fr;row-gap:2px;padding:7px 0}
  .hm-creds b{font-size:11.5px}
  .hm-creds span{font-size:15px;line-height:1.36}
  .hm-about__keys{font-size:21px;margin-top:10px;gap:4px 18px}
  .hm-pic{right:calc(var(--band) + 4px);top:calc(var(--band) + 66px);bottom:auto;height:calc(var(--vh) * .30);
    -webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
  .hm-office .hm-mark__l{left:-14px;right:auto;top:20px;bottom:auto;align-items:flex-start}
  .hm-mark__l{right:auto;left:18px;bottom:10px;align-items:flex-start}
  .hm-role{border-top:0;padding-top:0}
  .hm-hero__text>*{text-shadow:0 0 3px var(--paper),0 0 6px var(--paper),0 0 10px var(--paper),0 0 14px var(--paper)}
  .hm-scale--miles .hm-scale__t .in{display:none}   /* 0 and 30 only: the bar is a hundred pixels long */
  .hm-mark__l b{font-size:14px}.hm-mark__l i{font-size:14px}
  .hm-desk,.hm-proc{display:block;padding:calc(var(--band) + 78px) calc(var(--band) + 24px) calc(var(--band) + 84px)}
  .hm-desk__grid{display:block}
  .hm-desk h2,.hm-proc h2{font-size:30px}
  .hm-desk__p{font-size:18px}
  .hm-desk__links{margin:18px 0 26px}
  .hm-sheet{padding:18px 14px 20px;margin:0 -8px}
  .hm-sheet__head{margin-bottom:12px}
  .hm-fin__plot--wide{display:none}.hm-fin__plot--tall{display:block}
  .hm-js__tiles{grid-template-columns:1fr 40px 1fr;grid-template-rows:repeat(4,auto);gap:10px 0}
  .hm-js__t,.hm-js__t--lo{grid-row:auto;min-height:62px;padding:9px 10px}
  .hm-js__t:nth-child(-n+4){grid-column:1}.hm-js__t--lo{grid-column:3}
  .hm-js__t:nth-child(1),.hm-js__t:nth-child(5){grid-row:1}.hm-js__t:nth-child(2),.hm-js__t:nth-child(6){grid-row:2}
  .hm-js__t:nth-child(3),.hm-js__t:nth-child(7){grid-row:3}.hm-js__t:nth-child(4),.hm-js__t:nth-child(8){grid-row:4}
  .hm-js__t b{font-size:17px}
  .hm-js__t i{font-size:12px;top:32px;left:10px}
  .hm-js__t::after,.hm-js__t--lo::after{top:50%;bottom:auto;left:100%;width:20px;height:1.5px;transform-origin:0 50%}
  .hm-js__t--lo::after{left:auto;right:100%;transform-origin:100% 50%}
  .hm-js__spine{grid-row:1 / -1;grid-column:2}
  .hm-js__spine::before{left:50%;right:auto;top:0;bottom:0;width:2px;height:auto;margin:0 0 0 -1px;transform-origin:50% 0}
  .hm-js__spine span{display:none}
  .hm-js__frame{padding:36px 12px 14px}
  .hm-sw__svg--wide{display:none}.hm-sw__svg--tall,.hm-sw__key--phone{display:block}
  .hm-sw__q{font-size:13px}.hm-sw__who{font-size:9.5px}.hm-sw__bh{font-style:normal;font:500 11px/1 var(--f-sans)}.hm-sw__cap{font-size:12px}
  .hm-board__col{font-size:13px;padding:8px 4px 8px 2px}
  .hm-job{height:54px}
  .hm-job__card{padding:0 2px 0 7px;white-space:normal}
  .hm-job__no{font-size:12px}
  .hm-job__k{font-size:13px;line-height:1.1}
  .hm-board__days{font-size:12px;letter-spacing:.04em}
  .hm-inbox{grid-template-columns:1fr;min-height:0;--lw:300px;--in-y:90px;--in-g:3px;--tr-x:48px;--tr-y:259px;--tr-h:80px;--tk:6px}
  .hm-inbox__in{height:213px}
  .hm-inbox__trays{grid-column:1;grid-row:2}
  .hm-tray{grid-template-columns:36px 1fr}
  .hm-tray__n{font-size:24px}
  .hm-route{display:none}
  .hm-proc__draw{margin:20px 0 0}
  .hm-legs{position:static;display:block;border-left:3px solid var(--ink);margin-left:6px;padding-left:22px}
  .hm-leg,.hm-leg--up{position:relative;left:auto;top:auto;bottom:auto;width:auto;transform:none;padding:0 0 22px;margin:0}
  .hm-leg::before{content:"";position:absolute;left:-33px;top:2px;width:14px;height:14px;border:2px solid var(--ink);border-radius:50%;background:var(--paper);box-sizing:border-box}
  .hm-leg:first-child::before{border-color:var(--mag)}
  .hm-proc__act{flex-wrap:wrap;gap:20px}
}

/* a phone with a short screen (toolbars showing): About keeps the headline, the three proofs and the keys */
@media screen and (max-width:760px) and (max-height:840px){
  .hm-about .hm-about__p{display:none}
  .hm-pic{height:calc(var(--vh) * .27)}
  .hm-hero__line{font-size:16px}
}

/* ───────── Print: the chart, then each section in turn; no floating header, no zoom ───────── */
@media print{
  .site-head{position:static;padding:0 0 12px}
  /* site.css and site.js keep main's last child whole with the footer: on Home that child is the whole page */
  main > .hm,.print-keep > .hm,main > .print-keep{width:auto;margin-left:0;break-inside:auto}
  html .hm-stage,html.hm-zoom .hm-stage{position:static;height:auto;overflow:visible}
  .hm-world{transform:none!important;opacity:1!important}
  .hm-scale__s .f{print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .hm-world{position:relative;left:auto;top:auto;width:100%;height:auto;aspect-ratio:1.42634;margin:0 0 24px}
  .hm-map .hm-grat{display:none}
  html .hm-near,.hm-probe,.hm-cue{display:none}
  .hm-sec,html.hm-zoom .hm-sec.hm-hero{height:auto;min-height:0;margin:0;padding:0 0 36px;break-inside:avoid}
  .hm-hero__text,.hm-about__text{position:static;max-width:none}
  .hm-h1{font-size:44pt}
  .hm-scale{position:static;margin-top:14px}
  .hm-desk,.hm-proc{display:block;padding:24px 0 36px;break-before:page}
  .hm-desk__grid{display:block}
  .hm-desk__text{margin-bottom:20px}
  .hm-sheet{transform:none!important}
}

/* at the foot of the page the floating header steps aside for the sheet stamp (it comes back on focus) */
html.hm-foot .site-head{opacity:0;pointer-events:none}
html.hm-foot .site-head:focus-within{opacity:1;pointer-events:auto}
html.motion .site-head{transition:opacity 200ms linear}

/* the region map's office ring in the mark's amber, on a paper disc so it reads on the buff land */
.hm-map .sw .ply{stroke:var(--mark);fill:var(--paper);stroke-width:2}
.hm-map .sw .plyd{fill:var(--mark)}

/* the office's label is Plymouth's local time (Guy, 21 Nov 2026: "replace the peverell name in the about marker with
   plymouth local time. its just looks cool"); the clock is the footer's (site.js ticks every [data-clock]) */
.hm-mark__l--clock .clock{margin:0;font-size:24px;letter-spacing:-.01em;color:var(--ink);text-transform:none}
.hm-mark__l--clock .clock .z{font-size:11px}
.hm-mark__l--clock i{font-style:normal;font:500 10.5px/1.2 var(--f-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--pencil);margin-top:3px}
html:not(.js) .hm-mark__l--clock i{margin-top:0}
