/* ---------- services page ----------

   Ninth version (2026-09-17): THE SERVICES AS WORK — see "services page" in
   app.js. The feed's own card at the page's full width: a picture, a caption
   row, a synopsis that folds open under it. Then two of the feed's grey cards.
   Its own svc- class names; the stylesheet is one flat file. */
.svc-page{
  position:absolute;
  inset:0;
  padding:0 var(--pad);
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:none;
  visibility:hidden;
  pointer-events:none;
  transition:visibility 0s linear 420ms;
}
body.services-open .svc-page{visibility:visible;pointer-events:auto;transition-delay:0s}
.svc-page::-webkit-scrollbar{display:none}

.svc-doc{
  padding-top:var(--header-h);
  padding-bottom:var(--seam);
  opacity:0;
  transition:opacity var(--fade) var(--fade-ease);
}
body.services-open .svc-doc{opacity:1;transition:opacity var(--fade) var(--fade-ease) var(--fade-gap)}

.svc-col{display:flex;flex-direction:column;gap:var(--syn-gap);font-size:var(--fs-s)}

/* the statement and the intro: About's intro, with the surface card's title
   over it, in the project page's copy measure */
.svc-intro{display:flex;flex-direction:column;gap:var(--gap);max-width:var(--copy-w)}
.svc-h{font-size:20px}
.svc-p{font-size:16px}

/* ---------- process: the timeline (2026-09-19; see buildServicesTimeline) ----------
   Two paragraphs at 16 (a block, 720 at most, no headline — About has
   none); the timeline 40 below. THE LINE IS A TRACK THAT FILLS: the About · Process
   switch's chip as a 20px pill, and its highlight — 14, inset 3 — growing
   along it continuously with the scroll (Apple's progress pill; the fifth
   round replaced a glide that jumped step to step, and took the dots out).
   Every step's title is always there, at the switch's unchosen .4 until the
   fill reaches it; then it comes to full ink and the rest of the step pops in.
   A phone's line runs down with the words 40 in, a laptop's across with the
   words 20 under it. The room after a step is how long it takes (`weeks`). */
.tl-page{
  display:flex;
  flex-direction:column;
  gap:var(--syn-gap);
  font-size:var(--fs-s);
}
.tl-intro{display:flex;flex-direction:column;gap:30px}   /* two paragraphs, 30 apart; full measure, as About's are */
.tl-lead{font-size:16px}
.tl-rail{display:flex;flex-direction:column;gap:var(--syn-gap);min-width:0}
.tl-line{position:relative;list-style:none;margin:0;padding:0}
/* down, by default (a phone): top / height come from tlMeasure / tlApply */
/* The track is the switch's chip at 20, the fill its highlight at 14, inset 3
   — the thin-track / thick-fill pass was worse (Anthony) and is gone. */
/* THE LINE STANDS ON THE RIGHT, UNDER THE MENU'S PLUS (Anthony, 2026-09-22):
   the track is as wide as the controls (--chip-h: 32 on a laptop, 30 on a
   phone) and its right edge is the plus's, so the line reads as hanging from
   it; the words sit to its left, set right. */
.tl-track{position:absolute;right:0;width:var(--chip-h);top:0;height:0;border-radius:var(--chip-r);background-color:var(--chip)}
.tl-fill{
  position:absolute;
  right:3px;width:calc(var(--chip-h) - 6px);top:0;height:0;
  border-radius:calc(var(--chip-r) - 3px);
  /* ONE LIGHT GREY THE WHOLE WAY (Anthony, 2026-09-20: the gradation read as
     "not clean"). The green went the same way. */
  background-color:#cccccc;
  opacity:0;
  transition:opacity 200ms var(--ease);   /* only its coming and going: its length follows the scroll */
}

/* a step: the words 40 in, the title's 12px cap centred on the track's
   centre (so 4 down); the stretch after it is its length — 28% of the window
   and 3% more for each week (a phone's steps felt congested at 20% + 2.2%:
   Anthony, 2026-09-21) */
.tl-step{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) calc(var(--chip-h) + 20px);   /* the words, then 20 and the line */
  min-height:calc(28vh + var(--tl-weeks, 1) * 3vh);
  padding-bottom:var(--syn-gap);
}
.tl-step:last-child{min-height:0;padding-bottom:0}
.tl-body{grid-column:1;padding-top:4px;display:flex;flex-direction:column;align-items:flex-end;text-align:right}
.tl-t{font-size:16px;opacity:.4;transition:opacity 240ms var(--ease)}
.tl-more{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  opacity:0;
  transform:translateX(12px);   /* out from the line, which is on the right now */
  transition:opacity 180ms var(--ease),transform 240ms var(--ease);
}
.tl-d{margin-top:var(--gap);max-width:440px}
/* what we do in a step: a label, then plain lines (About's list idiom) */
.tl-lab{margin-top:var(--gap);opacity:.55}
.tl-list{margin-top:10px}

[data-theme="dark"] .tl-fill{background-color:#444444}
/* REACHED — the event (Anthony: "more like an event when you arrive at each
   milestone"): the title comes up to full ink, and the rest follows it out.
   --tl-d staggers steps that arrive together; leaving, all at once. */
.tl-step.is-in .tl-t{opacity:1;transition:opacity 300ms var(--ease) var(--tl-d, 0ms)}
.tl-step.is-in .tl-more{
  opacity:1;
  transform:none;
  transition:opacity 460ms var(--ease) calc(var(--tl-d, 0ms) + 120ms),
             transform 560ms cubic-bezier(.2,1.25,.4,1) calc(var(--tl-d, 0ms) + 120ms);
}
/* the loop's hand-over (tlWrap): the new picture is the old one, set without a
   single transition */
.tl-line.tl-still .tl-t,.tl-line.tl-still .tl-more,.tl-line.tl-still .tl-fill{transition:none!important}
/* THE INVITATION IS NOT A STEP. It stands past the end of the line — no track
   under it — and is not muted or "reached": it is an invitation, not a stage
   (Anthony's wife: you would not start a project after launch). It arrives at
   the END of the line — nothing until then — and on a laptop it is drawn under
   the last step's words (see tlApply); no card behind it (Anthony, 2026-09-20,
   who tried one). Its button opens the menu's form. */
.tl-again .tl-t,.tl-again .tl-more{opacity:0;transform:translateY(8px);transition:opacity 180ms var(--ease),transform 240ms var(--ease)}
.tl-again.is-in .tl-t,.tl-again.is-in .tl-more{
  opacity:1;transform:none;
  transition:opacity 460ms var(--ease) var(--tl-d, 0ms),transform 560ms cubic-bezier(.2,1.25,.4,1) var(--tl-d, 0ms);
}
.tl-again .svc-cta{margin-top:var(--gap)}
/* A STAGE CAN BE CLICKED — the whole of it: its stretch of line, its title and
   its words (the title alone was too small to find). Pointing at one brings a
   muted title up to full ink, so it says it can be pressed. Tab reaches the
   titles. */
.tl-line .tl-step:not(.tl-again){cursor:pointer}
@media (hover:hover){.tl-line .tl-step:not(.tl-again):hover .tl-t{opacity:1}}.tl-line .tl-step:not(.tl-again).is-pressed .tl-t{opacity:1}
.tl-line .tl-t:focus-visible{outline:1px solid var(--ink);outline-offset:3px;border-radius:2px}
/* the arrows and the end block are a laptop's (see the ACROSS block) */
.tl-arrows,.tl-end{display:none}
/* a phone ends on the invitation and never loops: no copy. The invitation
   starts at the page's margin, with the intro — not 40 in with the line's
   words — since it is not on the line. */
.tl-copy{display:none}
.tl-again .tl-body{grid-column:1 / -1;padding-top:0}
.tl-again{min-height:0;padding-bottom:0}

/* ACROSS, ON A LAPTOP. The statement at the top; the rail — the line — runs
   across the middle of the window, edge to edge, and scrolls sideways (the
   wheel drives it: see tlWheel). A step is 320 wide, its dot on the track,
   its words 20 under it; the room after it is its length (--tl-gap, 80 +
   220√weeks), and after the invitation a long stretch — 60% of a window —
   before the line comes round to We talk again (a rubber band: see tlWheel).
   The rail keeps 40% of a window at its end. */
@media (min-width:769px){
  /* ?v=across only since 2026-09-22 — the default laptop layout is down, with the pile */
  .svc-page.is-across .tl-page{position:relative;min-height:calc(100vh - var(--header-h) - var(--seam))}
  /* the line and its arrows, centred in what the statement leaves */
  .svc-page.is-across .tl-stage{position:relative;margin:auto 0}
  /* the home page's arrows, at the right, 20 above the line */
  /* the arrows at the foot of the page on the right, level with the invitation's
     line: 40 above the footer's words. No z-index: it would lift them over the
     Start panel's blur. */
  .svc-page.is-across .tl-arrows{display:flex;gap:10px;position:absolute;right:0;bottom:-24px}
  /* THE END, AT THE FOOT OF THE PAGE: on the page's left margin, 40 above the
     footer's words, arriving when the line reaches the invitation */
  .svc-page.is-across .tl-end{
    display:flex;flex-direction:column;
    position:absolute;left:0;bottom:-24px;   /* 40 above the footer's words (measured) */
    width:320px;
    opacity:0;transform:translateY(8px);pointer-events:none;
    transition:opacity 200ms var(--ease),transform 240ms var(--ease);
  }
  .svc-page.is-across .tl-end.is-in{
    opacity:1;transform:none;pointer-events:auto;
    transition:opacity 460ms var(--ease),transform 560ms cubic-bezier(.2,1.25,.4,1);
  }
  .svc-page.is-across .tl-end .tl-t{opacity:1;cursor:default}
  .svc-page.is-across .tl-end .svc-cta{margin-top:var(--gap)}
  /* the invitation in the line only holds its place now */
  .svc-page.is-across .tl-line .tl-again .tl-body{visibility:hidden}
  .svc-page.is-across .tl-rail{
    flex-direction:row;
    align-items:flex-start;
    gap:40px;
    margin:0 calc(-1 * var(--pad));        /* edge to edge */
    padding:0 40vw 20px var(--pad);        /* 20 below: a sideways scroller clips, and trimmed text keeps its descenders outside its box */
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
  }
  .svc-page.is-across .tl-rail::-webkit-scrollbar{display:none}
  .svc-page.is-across .tl-line{display:flex;flex:0 0 auto;will-change:transform}   /* the turn's band moves it */
  /* the line sits 60 down, under the drawings */
  .svc-page.is-across .tl-track{top:20px;height:20px;left:0;width:0;border-radius:10px}
  .svc-page.is-across .tl-fill{top:23px;height:14px;left:0;width:0}
  .svc-page.is-across .tl-line .tl-step{
    display:flex;
    flex-direction:column;
    flex:0 0 auto;
    width:320px;
    margin-right:var(--tl-gap, 300px);
    min-height:0;
    padding:0;
  }
  /* the room before the next round: enough that, at the turn, the head of the
     next round's line is in sight at the right — it says you can keep going
     (Anthony, 2026-09-20; it was 60vw and the screen went empty) */
  .svc-page.is-across .tl-line .tl-again{margin-right:28vw}

  .svc-page.is-across .tl-line .tl-step{padding-top:40px}                /* the line sits 20 down; the words 20 under it */
  .svc-page.is-across .tl-line .tl-body{padding-top:0;margin-top:20px;align-items:flex-start;text-align:left}   /* the words 20 under the line */
  .svc-page.is-across .tl-line .tl-more{align-items:flex-start}
  .svc-page.is-across .tl-track{right:auto}
  .svc-page.is-across .tl-fill{right:auto;border-radius:7px}
  .svc-page.is-across .tl-line .tl-more{transform:translateY(-10px)}
  /* the laptop loops: after the invitation, the copy */
  .svc-page.is-across .tl-line .tl-copy{display:flex}
}

/* ---------- process: down on a laptop, with the pile (2026-09-22) ----------
   Anthony: "a vertical layout on desktop like we have it on mobile, but use the
   extra space on the right… different images of the process on top of each
   other, and the person can move them around", swapped as each stage is
   reached (see tlStack). The line and the statement keep the project page's
   copy column (--copy-w: 555 at 1400); the pile has the rest, held on screen
   (sticky) between the header and the footer while the line scrolls past. */
.tl-stack{display:none}
@media (min-width:769px){
  .svc-page:not(.is-across) .tl-page{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,var(--copy-w));   /* the pile left, the words and the line right (2026-09-22) */
    column-gap:var(--gap);
    row-gap:var(--syn-gap);
    align-items:start;
  }
  /* MORE ROOM BETWEEN STAGES on a laptop (Anthony, 2026-09-22): each pile
     gets a good stretch of scroll to itself, so two are never confused and a
     stage cannot be skipped past by accident. Still longer for longer stages. */
  .svc-page:not(.is-across) .tl-step{min-height:calc(55vh + var(--tl-weeks, 1) * 4vh)}
  .svc-page:not(.is-across) .tl-step:last-child,
  .svc-page:not(.is-across) .tl-again{min-height:0}
  /* the page ends one header's height under the invitation, the pile's own
     bottom margin, so the pile (sticky, and held inside the page) never has to
     ride up at the end */
  .svc-page:not(.is-across) .svc-doc{padding-bottom:var(--header-h)}
  /* the statement across the whole page, set left as ever (Anthony: it
     "can stay as it was"); the pile and the line side by side under it */
  .svc-page:not(.is-across) .tl-intro{grid-column:1 / -1;grid-row:1}
  .svc-page:not(.is-across) .tl-stage{grid-column:2;grid-row:2}
  .svc-page:not(.is-across) .tl-stack{
    display:block;
    grid-column:1;
    grid-row:2;
    position:sticky;
    top:var(--header-h);
    height:calc(100vh - 2 * var(--header-h));
    /* NO PANEL (Anthony, 2026-09-22 — the grey behind the pile went the same
       day), and nothing clips: a picture can be carried anywhere on the page,
       over the words if the reader wants. No z-index — sticky and later in
       the page, it already paints over the line, and a z-index would lift it
       over the Start panel's blur. */
  }
}
/* a picture in the pile: the outer box is where it lies (moved by the hand, never
   transitioned), the picture inside it does the coming and going */
.tl-card{position:absolute;left:0;top:0;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.tl-card.is-held{cursor:grabbing}
/* A PHONE'S PILE LIVES UNDER EACH STAGE (Anthony, 2026-09-22): the stage's
   pictures, loosely stacked, under its words — arriving with them when the
   line reaches the stage. Not movable on a phone: a finger on a picture has
   to be able to scroll the page. */
.tl-pile{display:none}
@media (max-width:768px){
  .tl-pile{display:block;align-self:stretch;position:relative;height:300px;margin-top:var(--gap)}
  .tl-pile .tl-card{cursor:default;touch-action:auto}
}
.tl-card img{display:block;width:100%;height:100%;object-fit:cover;border-radius:var(--radius);background:var(--surface);pointer-events:none;-webkit-user-drag:none}

/* ---------- process with a side index (2026-09-23, evening; see buildProcessSide) ----------
   Koto's project page and SPACE10's, in the site's own measures. The page is
   the Index's four columns: the side column is one (325 at 1400), held 70
   under the header; the main is the other three. Side: the stages as rows the
   header's height (32), the name left and how long right, the one being read
   on the Index's pale band, which glides; 40 below, "Start a project" and the
   Start panel's form, always open. Main: the statement at 20 and one line at
   16; then each stage 100 apart — its name at 20 with how long under it in
   the first of the three columns, what happens at 16 and what we do in the
   other two, then 40 below, its pictures. */
.ps{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,3fr);
  column-gap:var(--gap);
  align-items:start;
  font-size:var(--fs-s);
}
.ps-side{
  position:sticky;
  top:var(--header-h);
  display:flex;
  flex-direction:column;
  gap:var(--syn-gap);
}
.ps-nav{position:relative;display:flex;flex-direction:column}
.ps-glide{
  position:absolute;
  top:0;left:-10px;right:-10px;
  height:var(--ctl-h);
  border-radius:999px;
  background:var(--surface);
  transition:transform 520ms var(--glide);
}
.ps-opt{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:var(--gap);
  height:var(--ctl-h);
  margin:0 -10px;
  padding:0 10px;
  border:0;
  border-radius:999px;
  background:none;
  font:inherit;
  font-size:var(--fs-s);
  color:var(--ink);
  text-align:left;
  cursor:pointer;
  transition:opacity 200ms var(--ease);
}
@media (hover:hover){.ps-opt:hover{opacity:.55}}.ps-opt.is-pressed{opacity:.55}
.ps-form{display:flex;flex-direction:column;gap:var(--gap)}
.ps-form-t{margin:0;font:inherit;font-size:var(--fs-s)}
.ps-main{display:flex;flex-direction:column;gap:var(--seam);padding-bottom:calc(60vh - var(--seam))}
.ps-top{display:flex;flex-direction:column;gap:30px}
.ps-lead{font-size:20px}
.ps-answer{font-size:16px}
.ps-stage{display:flex;flex-direction:column;gap:var(--syn-gap)}
.ps-words{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,2fr);
  column-gap:var(--gap);
  align-items:start;
}
.ps-head{display:flex;flex-direction:column;gap:10px}
.ps-t{margin:0;font:inherit;font-size:20px}
.ps-body{display:flex;flex-direction:column;gap:var(--gap);max-width:560px}
.ps-d{font-size:16px}
.ps-pics{display:flex;gap:var(--gap)}
.ps-pics img{display:block;width:100%;height:auto;object-fit:cover;border-radius:var(--radius);background:var(--surface)}
.ps-pics.is-pair img{width:calc(50% - var(--gap) / 2);aspect-ratio:5 / 4}
.ps-pics:not(.is-pair) img{aspect-ratio:2 / 1}

@media (max-width:768px){
  .ps{display:flex;flex-direction:column;align-items:stretch;gap:var(--syn-gap)}
  .ps-side{position:static;order:2}
  .ps-nav{display:none}
  .ps-main{gap:80px;padding-bottom:0}
  .ps-stage{gap:var(--gap)}
  .ps-words{display:flex;flex-direction:column;align-items:stretch;gap:var(--gap)}
  .ps-form .contact-fields{width:auto;max-width:none}
  .ps-head{flex-direction:row;justify-content:space-between;align-items:flex-end}
  .ps-pics.is-pair img{aspect-ratio:4 / 5}
}

/* ---------- process: AS TEXT (2026-09-24, later; see buildProcessText) ----------
   The legal pages' shape and rhythm: the statement, then a labelled block a
   stage — its name, then one paragraph — one size all the way down (16),
   label to paragraph 20, block to block 40, the full measure. */
.pt{display:flex;flex-direction:column;align-items:flex-start;gap:var(--syn-gap)}
.pt .about-block{font-size:16px}

/* TEXT · JOURNEY, the switch (index.html #procSeg). In the header on a laptop,
   on the Process page only; a phone's header has no room for a third switch,
   so its copy sits at the top of the page (.is-inpage). Four classes in the
   hide rule, as the note above the legal switch explains. */
html body:not(.services-open):not(.nf-open) .view-seg.proc-seg{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  order:-1;
  transition:opacity 260ms var(--ease),visibility 0s linear 260ms,
             order 0s linear 260ms,filter 520ms var(--ease);
}
html body.services-open .view-seg.proc-seg{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  order:0;
  transition:opacity 340ms var(--ease) var(--swap),visibility 0s var(--swap),
             order 0s var(--swap),filter 520ms var(--ease);
}
.view-seg.proc-seg.is-inpage{display:none}
@media (max-width:768px){
  .view-seg.proc-seg:not(.is-inpage){display:none}
  .view-seg.proc-seg.is-inpage{display:flex;align-self:flex-start;flex:none;width:max-content}
  .svc-doc:has(> .proc-seg.is-inpage){display:flex;flex-direction:column;gap:var(--syn-gap)}
}

/* ---------- process: THE STAGES (2026-09-24; see buildProcessStages) ----------
   A laptop: the project page's split on the Index's grid, and a click-through
   (no scroll-driven anything). Column 1: the seven names at 16 in 32 rows and
   Start a project 40 under them; all at full ink until one is chosen, then the
   rest at .4 (a switch's unchosen option). Columns 2–4: ONE thing — the
   statement at 16 as you land, or the chosen stage: what you get at 20, what
   happens at 16, what we do at 14, 30 apart in the width of two columns, then
   its picture across all three, 40 under, taking the height that is left
   (2:1 at most). The page never scrolls: the view is the window less the
   header's height top and bottom. A phone: the statement, then the folding
   list. */
.pr{font-size:var(--fs-s)}
.pr-lead{font-size:16px}   /* 20 until 2026-09-24: "too big" (Anthony), as About's */
.pr-fold{display:none}
.pr-split{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  column-gap:var(--gap);
  align-items:start;
}
.pr-side{display:flex;flex-direction:column;align-items:flex-start;gap:var(--syn-gap)}
/* pulled up so the first name's capitals stand level with the first line on
   the right (both cap-trimmed: a 16px name centred in a 32 row starts 10 down) */
.pr-nav{display:flex;flex-direction:column;align-self:stretch;margin-top:-10px}
.pr-opt{
  height:var(--ctl-h);
  padding:0;
  border:0;
  background:none;
  font:inherit;
  font-size:16px;
  color:var(--ink);
  text-align:left;
  cursor:pointer;
  transition:opacity 200ms var(--ease);
}
.pr-nav.has-sel .pr-opt{opacity:.4}
@media (hover:hover){.pr-nav.has-sel .pr-opt:hover{opacity:.7}}.pr-nav.has-sel .pr-opt.is-pressed{opacity:.7}
.pr-nav.has-sel .pr-opt.is-on{opacity:1}
@media (hover:hover){.pr-nav:not(.has-sel) .pr-opt:hover{opacity:.55}}.pr-nav:not(.has-sel) .pr-opt.is-pressed{opacity:.55}
.pr-view{
  grid-column:2 / -1;
  position:relative;
  height:calc(100vh - 2 * var(--header-h));
  container-type:inline-size;
}
.pr-stage{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  gap:30px;
  opacity:0;
  visibility:hidden;
  transition:opacity 200ms var(--ease), visibility 0s linear 200ms;
}
.pr-stage.is-on{
  opacity:1;
  visibility:visible;
  transition:opacity 420ms var(--ease) 140ms, visibility 0s;
}
.pr-lead, .pr-get, .pr-words, .pr-we{max-width:calc((200% - var(--gap)) / 3)}   /* two of the three columns */
.pr-get{font-size:20px}
.pr-words{display:flex;flex-direction:column;gap:30px}
.pr-d{font-size:16px}
.pr-we{display:flex;flex-direction:column;gap:10px}
.pr-lab{font-size:var(--fs-s)}
.pr-pic{flex:1 1 0;min-height:0;max-height:50cqw;margin:10px 0 0}
.pr-pic img{display:block;width:100%;height:100%;object-fit:cover;border-radius:var(--radius);background:var(--surface)}
@media (prefers-reduced-motion:reduce){.pr-stage, .pr-stage.is-on{transition:none}}

@media (min-width:769px){
  body.services-open .svc-page:has(.pr){overflow:hidden}   /* nothing to scroll: the view fits the window */
}

@media (max-width:768px){
  .pr-split{display:none}
  .pr-fold{display:flex;flex-direction:column;gap:var(--syn-gap)}
  .pr-lead{max-width:none}
  .pr-list{display:flex;flex-direction:column}
  .pr-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    height:48px;
    padding:0;
    border:0;
    background:none;
    font:inherit;
    font-size:16px;
    color:var(--ink);
    text-align:left;
    cursor:pointer;
    transition:opacity 200ms var(--ease);
  }
  .pr-list.has-open .pr-item:not(.is-open) .pr-row{opacity:.4}
  .pr-item.is-open .pr-chip .plus{transform:rotate(90deg)}   /* the site's plus → X */
  .pr-case{height:0;overflow:hidden}
  .pr-item.is-open .pr-case{height:auto}
  .pr-inner{display:flex;flex-direction:column;gap:30px;padding:10px 0 40px}
  .pr-get{font-size:16px}
  .pr-get, .pr-words, .pr-we{max-width:none}
  .pr-pic{flex:none;max-height:none;margin:10px 0 0;aspect-ratio:4 / 5}
  .pr-cta2{width:100%}
}

/* ---------- process as a ledger (2026-09-23; see buildProcessLedger) ----------
   The page in use, second pass ("a wall of text"). The statement and one line
   at 16, 30 apart; 40 down, two groups, each a label at 14 and 20 under it a
   row of the site's soft cards (--surface, --radius, 20 inside) in the Index's
   four columns — the three that begin every project, then the four stages of
   the work. A card: the name at 20 with how long at the right of the same line
   (a caption row), 20, what happens, 20, what we do, and at the foot, 30 clear,
   where you can join. The four cards of a row share one height, so the joins
   line up. Full ink throughout. A phone: the cards one under another, 10
   apart, and the page's one Start a project full width at the foot. */
.pl{display:flex;flex-direction:column;gap:var(--syn-gap);font-size:var(--fs-s)}
.pl-top{display:flex;flex-direction:column;gap:30px}
.pl-lead{font-size:16px}
.pl-group{display:flex;flex-direction:column;gap:var(--gap)}
.pl-group-t{margin:0;font:inherit;font-size:var(--fs-s)}
.pl-cards{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:var(--gap);
}
.pl-card{
  display:flex;
  flex-direction:column;
  gap:var(--gap);
  padding:var(--pad);
  border-radius:var(--radius);
  background:var(--surface);
  min-width:0;
}
.pl-cap{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--gap)}
.pl-t{margin:0;font:inherit;font-size:20px}
.pl-time{white-space:nowrap}
.pl-join{margin-top:auto;padding-top:10px}   /* 30 clear of the list, and level across a row */

@media (max-width:768px){
  .pl-cards{grid-template-columns:minmax(0,1fr);gap:10px}
  .pl-cta{display:inline-flex;align-self:stretch}
}

/* ---------- process as a journey (2026-09-22; see buildProcessJourney) ----------
   His Figma and his notes the same evening: the statement full width; nothing
   else on the page until the pointer's own pill is pressed; the line EXTENDS
   as you go, the bead at its head is white in the line's cap, and the dots sit
   at the very foot of the window with a pill for a name on hover. */
.pj{display:flex;flex-direction:column;gap:var(--syn-gap);font-size:var(--fs-s)}
.pj-head-copy{display:flex;flex-direction:column;gap:var(--gap)}
.pj-lead{font-size:16px}   /* full width, like About's (his note) */
/* the one instruction, under the statement until the journey starts */
.pj-hint{transition:opacity 260ms var(--ease)}
.pj.is-going .pj-hint{opacity:0;pointer-events:none}
.pj-stage{
  position:relative;
  height:calc(100vh - var(--header-h) - var(--seam) - 60px);
  min-height:420px;
  cursor:pointer;
}
.pj-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.pj-line{fill:none;stroke:var(--chip);stroke-width:20;stroke-linecap:round}
/* white, in the line's own round cap — the cap makes the ring (his note) */
.pj-bead{fill:var(--bg);transform-box:fill-box;transform-origin:center;transform:scale(0);opacity:0}
.pj-bead.is-in{transform:scale(1);opacity:1;transition:transform 420ms cubic-bezier(.34,1.4,.64,1),opacity 200ms var(--ease)}
.pj-words{
  position:absolute;left:0;top:0;width:320px;
  display:flex;flex-direction:column;
  opacity:0;
  transition:opacity 180ms var(--ease);
}
.pj-words.is-in{opacity:1;transition:opacity 460ms var(--ease)}
.pj-t{font-size:16px}
.pj-body{display:flex;flex-direction:column;margin-top:var(--gap)}
.pj-d{white-space:pre-line}
.pj-lab{margin-top:var(--gap)}   /* full ink: no grey text on this page (his note) */
.pj-list{margin-top:10px}
.pj-cta{margin-top:var(--gap);align-self:flex-start}
/* an address in the words: About's own link idiom */
.pj-mail{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
@media (hover:hover){.pj-mail:hover{opacity:.55}}.pj-mail.is-pressed{opacity:.55}
.pj-pic{position:absolute;left:0;top:0;opacity:0;visibility:hidden;transition:opacity 180ms var(--ease),visibility 0s linear 180ms}
.pj-pic.is-on.is-in{opacity:1;visibility:visible;transition:opacity 560ms var(--ease),visibility 0s}
/* the pile: two or three, a few degrees off square, any of them draggable and
   a press sending the top one to the back (pjPile) */
.pj-card{position:absolute;left:20px;top:20px;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.pj-card.is-held{cursor:grabbing}
.pj-card img{width:100%;height:100%;object-fit:cover;border-radius:var(--radius);background:var(--surface);display:block;pointer-events:none;-webkit-user-drag:none}
/* THE DOTS SIT AT THE FOOT OF THE WINDOW (his note), level with the footer's
   own line, and a hover lifts a PILL with the stage's name — not bare words. */
.pj-dots{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);display:flex;gap:10px;z-index:3}
.pj-dot{
  position:relative;
  width:15px;height:15px;border-radius:8px;
  border:0;padding:0;
  background-color:var(--chip);
  cursor:pointer;
  transition:background-color var(--seg-t) var(--seg-ease);
}
@media (hover:hover){.pj-dot:hover{background-color:var(--chip-hover)}}.pj-dot.is-pressed{background-color:var(--chip-hover)}
.pj-dot[aria-current="true"]{background-color:var(--ink)}
.pj-dot-name{
  position:absolute;left:50%;bottom:25px;
  height:var(--chip-h);padding:0 20px;border-radius:var(--chip-r);
  display:flex;align-items:center;
  background-color:var(--chip);color:var(--ink);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  white-space:nowrap;
  transform:translate3d(-50%,6px,0) scale(.94);
  opacity:0;pointer-events:none;
  transition:opacity 160ms var(--ease),transform 240ms var(--glide);
}
.pj-dot:focus-visible .pj-dot-name{opacity:1;transform:translate3d(-50%,0,0) scale(1)}@media (hover:hover){.pj-dot:hover .pj-dot-name{opacity:1;transform:translate3d(-50%,0,0) scale(1)}}.pj-dot.is-pressed .pj-dot-name{opacity:1;transform:translate3d(-50%,0,0) scale(1)}
/* the chip that flies from the badge to the first bead (pjStart) */
.pj-fly{
  position:fixed;left:0;top:0;z-index:59;
  border-radius:999px;
  background-color:var(--chip);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  pointer-events:none;
}
.cursor-tip.is-flying{opacity:0}
.pj-rows{display:none}
@media (prefers-reduced-motion:reduce){.pj-words,.pj-pic,.pj-dot-name{transition:none}}

@media (max-width:768px){
  /* THE JOURNEY STOOD UP. The track is the line's own 20 (his note: it was far
     too fat) on the page's margin, and the pill at the top narrows into it as
     the page is scrolled (--pj-p runs 0 → 1). The fill follows the finger. */
  .pj-stage{display:none}
  .pj-dots{display:none}
  .pj-rows{display:block;position:relative;padding-left:40px;padding-bottom:20px}   /* the words 20 from the line */
  /* the pill on the page's own margin, the height of the site's other pills,
     narrowing into the track's 20 as the page is scrolled (--pj-p 0 → 1) */
  /* THE PILL COMPRESSES INTO THE TRACK'S HEAD (pjPhoneStart): its width goes
     to the track's 20 and its word with it, and the track then runs down from
     under it. */
  .pj-start{
    position:relative;z-index:2;
    margin-left:-60px;
    margin-bottom:60px;
    height:32px;border-radius:16px;
    min-width:20px;
    padding:0 20px;
    justify-content:flex-start;
    overflow:hidden;
    white-space:nowrap;
    transition:width 340ms var(--glide),padding 340ms var(--glide),height 340ms var(--glide),color 120ms var(--ease);
  }
  .pj.is-saying .pj-start{color:transparent}
  .pj.is-going .pj-start{width:20px;height:20px;padding:0}
  .pj-start > *,
  .pj-start{white-space:nowrap}
  /* the line itself, as long as the journey has gone and no longer */
  .pj-track{
    position:absolute;left:0;top:0;width:20px;height:0;
    border-radius:10px;background-color:var(--chip);
  }
  /* the marker at the head of the line, following the finger down */
  .pj-head{
    position:absolute;left:3px;top:0;width:14px;height:14px;border-radius:7px;
    background-color:var(--bg);
    opacity:0;transition:opacity 200ms var(--ease);
  }
  .pj-head.is-on{opacity:1}
  [data-theme="dark"] .pj-track-fill{background-color:#444444}
  .pj-row{position:relative;padding-bottom:80px}
  .pj-row:last-child{padding-bottom:0}
  .pj-row-bead{
    position:absolute;left:-37px;top:3px;   /* INSIDE the line, not edge to edge */
    width:14px;height:14px;border-radius:7px;background-color:var(--bg);
    transform:scale(.4);opacity:0;
    transition:transform 420ms var(--glide),opacity 260ms var(--ease);
  }
  .pj-row.is-in .pj-row-bead{transform:none;opacity:1}
  .pj-row-words{display:flex;flex-direction:column;opacity:0;transform:translateY(12px);transition:opacity 180ms var(--ease),transform 240ms var(--ease)}
  .pj-row.is-in .pj-row-words{opacity:1;transform:none;transition:opacity 460ms var(--ease) 80ms,transform 560ms var(--glide) 80ms}
  .pj-row-words .pj-d{margin-top:var(--gap)}
  .pj-row-pic{width:100%;height:auto;aspect-ratio:4 / 5;object-fit:cover;border-radius:var(--radius);background:var(--surface);margin-top:var(--syn-gap)}
}

/* ---------- process as chapters (2026-09-22; see buildProcessChapters) ----------
   The project page's split. Left, held under the header: the statement, then
   40 below it the stages as the About · Process switch stood on end — a chip
   track, the highlight gliding to the stage being read, the others at the
   switch's .4. Right: each stage's one or two pictures (a pair side by side),
   then 20 under them its name on the left and its words on the right, as
   Koto sets a section. Stages a seam (100) apart. A phone: one column, the
   switch hidden, each stage's name above its pictures. */
.pb{display:grid;grid-template-columns:minmax(0,var(--copy-w)) minmax(0,1fr);column-gap:var(--gap);align-items:start}
.pb-side{position:sticky;top:var(--header-h);display:flex;flex-direction:column;gap:var(--syn-gap)}
.pb-lead{font-size:16px}
.pb-nav{
  position:relative;
  align-self:flex-start;
  display:flex;
  flex-direction:column;
  padding:3px;
  border-radius:var(--chip-r);
  background-color:var(--chip);
}
.pb-nav .pb-glide{left:3px;width:calc(100% - 6px);transform:translate3d(0,0,0)}
.pb-opt{text-align:left}
.pb-main{display:flex;flex-direction:column;gap:var(--seam)}
.pb-pics{display:flex;gap:var(--gap)}
.pb-pics img{display:block;width:100%;height:auto;max-height:calc(100vh - 2 * var(--header-h));object-fit:cover;border-radius:var(--radius);background:var(--surface)}
.pb-pics.is-pair img{width:calc(50% - var(--gap) / 2);aspect-ratio:4 / 5;height:auto}
.pb-pics:not(.is-pair) img{aspect-ratio:5 / 4}
.pb-words{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--gap);margin-top:var(--syn-gap)}
.pb-t,.pb-label{font-size:16px}
.pb-label{display:none}
.pb-body{display:flex;flex-direction:column}
.pb-d{max-width:440px}
.pb-lab{margin-top:var(--gap);opacity:.55}
.pb-list{margin-top:10px}
.pb-body .svc-cta{margin-top:var(--gap);align-self:flex-start}
.pb-end .pb-words{margin-top:0}
/* the page ends one screen past the invitation's top, so the last stages can
   still reach the reading line */
.pb-main{padding-bottom:calc(60vh - var(--seam))}
@media (max-width:768px){
  .pb{grid-template-columns:minmax(0,1fr)}
  .pb-side{position:static}
  .pb-nav{display:none}
  .pb-main{margin-top:var(--syn-gap);gap:80px;padding-bottom:0}
  .pb-stage{display:flex;flex-direction:column}
  /* each stage's name first, then its pictures and words */
  .pb-words{display:flex;flex-direction:column;margin-top:var(--gap)}
  .pb-stage:not(.pb-end) .pb-words .pb-t{display:none}
  .pb-label{display:block;margin-bottom:var(--gap)}
  .pb-pics.is-pair img{aspect-ratio:4 / 5}
  .pb-body .pb-d{margin-top:0}
}

/* ---------- process: the canvas (2026-09-19; see buildServicesCanvas) ----------
   A window onto a canvas several screens across: FIXED and screen-sized, so it
   adds nothing to the page scroller (whose rubber band would otherwise take
   the wheel), and inside .blurwrap like every view — the header and footer
   paint after it and run over it, blended. The canvas moves by one transform;
   the steps and the card sit on it at absolute positions set from the window
   size. A step keeps the timeline's parts and its pop. */
.svc-page.is-canvas{overflow:hidden}
.svc-page.is-canvas .svc-doc{padding:0}
.pc-view{
  position:fixed;
  inset:0;
  overflow:hidden;
  touch-action:none;               /* the finger pans the canvas, not the page */
  cursor:grab;
  -webkit-user-select:none;
  user-select:none;
}
.svc-page.is-held .pc-view{cursor:grabbing}
.pc-canvas{position:absolute;left:0;top:0;will-change:transform}
.pc-path{position:absolute;left:0;top:0;overflow:visible}
.pc-way,.pc-ink{fill:none;stroke-width:1;stroke-linecap:round}
.pc-way{stroke:#cccccc}
[data-theme="dark"] .pc-way{stroke:#444444}
/* the stretch that led to a found step draws in, from the step before */
.pc-ink{stroke:var(--ink);stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 900ms var(--ease)}
.pc-ink.is-in{stroke-dashoffset:0}
.pc-intro{position:absolute;left:20px;top:70px;display:flex;flex-direction:column;gap:var(--gap);width:min(720px, calc(100vw - 40px))}
.pc-hint{font-size:var(--fs-s)}
.pc-list{list-style:none;margin:0;padding:0}
.pc-node{position:absolute;min-height:0;padding-bottom:0;width:min(480px, calc(100vw - 60px));outline:none}
.pc-node:focus-visible .tl-dot{outline:1px solid var(--ink);outline-offset:3px}
.pc-end{width:min(600px, calc(100vw - 60px))}
.pc-end .svc-close{min-height:260px}
.pc-node a,.pc-node button{cursor:pointer}

@media (prefers-reduced-motion: reduce){
  .tl-t,.tl-more,.tl-step.is-in .tl-t,.tl-step.is-in .tl-more,.pc-ink{transition:none}
}

/* THE CHAPTERS. The feed's card at the page's full width: the picture at a
   wide 2:1, its corners the card's, and under it the caption row a card
   carries — number and name at the intro's 16px, the client's question at 13,
   the plus at the right — 20px apart, as on the feed. */
.svc-chapters{display:flex;flex-direction:column;gap:var(--syn-gap)}
.svc-chap{display:flex;flex-direction:column}
.svc-chap-media{
  aspect-ratio:2 / 1;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--surface);
}
.svc-chap-media img{display:block;width:100%;height:100%;object-fit:cover}
.svc-chap-cap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--gap);
  margin-top:var(--gap);
  cursor:pointer;
}
.svc-chap.is-open .svc-chap-cap{cursor:default}
.svc-chap-text{display:flex;flex-direction:column;gap:10px}
.svc-chap-t{font-size:16px}
.svc-n{margin-right:12px;opacity:.4;font-variant-numeric:tabular-nums}
.svc-chap-q{font-size:var(--fs-s)}
.svc-chap-x{flex:none}
.svc-chap.is-open .svc-chap-x .plus{transform:rotate(90deg)}          /* the X */

/* the synopsis: hidden until opened, then 20 under the caption, in the copy
   measure; its height and top gap are what the fold animates */
.svc-chap-case{display:none;margin-top:var(--gap);max-width:var(--copy-w)}
.svc-chap.is-open .svc-chap-case,
.svc-chap.is-closing .svc-chap-case{display:block}
.svc-chap-inner{display:flex;flex-direction:column;gap:var(--gap)}
.svc-body{font-size:var(--fs-s)}
.svc-get{font-size:var(--fs-s);line-height:1.55}
.svc-meta{font-size:var(--fs-s);opacity:.55}
.svc-meta a{text-decoration:underline;text-underline-offset:3px}

/* the two grey cards: the feed's surface card at the page's width — Working
   with us with its three steps across it, and the closing card in the intro
   card's shape, its button at the foot */
.svc-card{
  display:flex;
  flex-direction:column;
  gap:var(--gap);
  padding:var(--pad);
  border-radius:var(--radius);
  background:var(--surface);
  transition:background 420ms var(--ease);
}
.svc-card-t{font-size:20px}
.svc-card-b{font-size:var(--fs-s);max-width:var(--copy-w)}
.svc-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--syn-gap);
  margin-top:var(--gap);
}
.svc-step{display:flex;flex-direction:column;gap:10px}
.svc-step-t{font-size:16px}
.svc-step-b{font-size:var(--fs-s)}
.svc-close{justify-content:space-between;min-height:260px}
.svc-card-copy{display:flex;flex-direction:column;gap:var(--gap)}
.svc-cta{margin-top:var(--gap)}
