/* ---------- process: THE LINE (2026-09-24, his Figma 1025:3676 / 1033:4383 / 1034:4871) ----------
   See buildProcessLine in app.js. A laptop: the page is one window — the
   intro, the services, the track and the row of stages 40 apart, the row
   filling what is left down to 20 above the footer. Nothing scrolls down; the
   row moves across (transform, driven by the frame loop). */
:root{
  --ptl-pip:#dedede;         /* the footer's dots: quiet, so the line's black dot leads (his note) */
  --ptl-pip-hover:#cccccc;
  --ptl-pip-on:#444444;
}
[data-theme="dark"]{
  --ptl-pip:#333333;
  --ptl-pip-hover:#444444;
  --ptl-pip-on:#cccccc;
}
@media (min-width:769px){.svc-page .svc-doc:has(> .ptl){padding-bottom:0}}   /* the page is exactly one window; out-ranks the 70 at line ~2753 */
.ptl{
  display:flex;
  flex-direction:column;
  gap:var(--syn-gap);
  height:calc(100vh - var(--header-h));
}
.ptl-intro,.ptl-services{flex:none}
.ptl-body{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:var(--syn-gap);
}
/* the Settings switch's track and knob, at the page's width */
.ptl-track{
  position:relative;
  flex:none;
  height:var(--chip-h);
  border-radius:999px;
  background-color:var(--chip);
  cursor:default;
  touch-action:none;
}
.ptl-dot{
  position:absolute;
  top:3px;left:3px;
  width:calc(var(--chip-h) - 6px);
  height:calc(var(--chip-h) - 6px);
  border-radius:50%;
  background-color:var(--ink);
  will-change:transform;
}
/* the row runs to the window's edges, the stages starting on the page's */
.ptl-rail{
  flex:1;
  min-height:300px;
  margin:0 calc(-1 * var(--pad)) 90px;   /* 20 above the footer's 70 */
  padding-left:var(--pad);
  overflow:hidden;
  cursor:default;
}
.ptl-row{display:flex;height:100%;will-change:transform}
.ptl-stage{
  flex:none;
  display:flex;
  align-items:flex-start;
  gap:40px;                  /* the words to their picture, as his frame has it */
  height:100%;
}
.ptl-text{
  flex:none;
  width:400px;               /* a card wide: ~55 characters a line at 14 */
  display:flex;
  flex-direction:column;
  gap:var(--gap);
  font-size:var(--fs-s);
}
.ptl-name{margin:0;font:inherit;font-size:16px}
.ptl-paras{display:flex;flex-direction:column;gap:var(--gap)}
.ptl-listbox{display:flex;flex-direction:column;gap:10px}
.ptl-list{margin:0;padding-left:20px;color:var(--ink)}   /* the li have no .ink of their own */
.ptl-pic{
  flex:none;
  margin:0;
  width:var(--ptl-pic-w, 520px);
  height:100%;
  border-radius:var(--radius);
  overflow:hidden;
  background-color:var(--surface);
}
.ptl-pic img{display:block;width:100%;height:100%;object-fit:cover}
/* Get in touch and the address, underlined as his frame has them */
.ptl-link{
  font:inherit;
  color:inherit;
  background:none;
  border:0;
  padding:0;
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:1px;
  cursor:pointer;
  transition:opacity 220ms var(--ease);
}
@media (hover:hover){.ptl-link:hover{opacity:.55}}.ptl-link.is-pressed{opacity:.55}

/* THE FOOTER'S DOTS, centred in the footer row (his frame). Quieter than his
   black: the current one is a dark grey, the rest light, so the track's dot is
   the one that says where you are; these are for jumping. Each is a 20 × 32
   target around a 10 dot; its name appears over it on hover and on focus. */
.ptl-dots{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  display:flex;
  pointer-events:auto;
  opacity:0;
  visibility:hidden;
  transition:opacity 260ms var(--ease),visibility 0s linear 260ms;
}
body.services-open .ptl-dots{opacity:1;visibility:visible;transition:opacity var(--fade) var(--fade-ease) var(--fade-gap),visibility 0s}
body.menu-open .ptl-dots,body.pong-open .ptl-dots{opacity:0;visibility:hidden}
.ptl-pip{
  position:relative;
  width:20px;
  height:var(--ctl-h);
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
  pointer-events:auto;
}
.ptl-pip::before{
  content:'';
  position:absolute;
  left:5px;top:calc(50% - 5px);
  width:10px;height:10px;
  border-radius:50%;
  background-color:var(--ptl-pip);
  transition:background-color var(--hover) var(--ease);
}
@media (hover:hover){.ptl-pip:hover::before{background-color:var(--ptl-pip-hover)}}.ptl-pip.is-pressed::before{background-color:var(--ptl-pip-hover)}
.ptl-pip.is-on::before{background-color:var(--ptl-pip-on)}
.ptl-pip:focus-visible{outline-offset:-4px;border-radius:999px}
.ptl-tag{
  position:absolute;
  bottom:calc(50% + 15px);   /* 10 above the dot */
  left:0;
  transform:translateX(-50%);
  height:var(--ctl-h);
  padding:0 16px;
  display:flex;
  align-items:center;
  border-radius:999px;
  background-color:var(--chip);
  color:var(--ink);
  font-size:var(--fs-s);
  white-space:nowrap;
  pointer-events:none;
  opacity:0;
  transition:opacity 200ms var(--ease);
}
.ptl-tag.is-on{opacity:1}

/* A PHONE: the same parts down the page — the track a 30 pill down the left of
   the stages, its dot holding the middle of the screen as you read (sticky),
   the stages 40 apart with their pictures under the words at 4:5. */
@media (max-width:768px){
  .ptl{height:auto}
  .ptl-body{
    display:grid;
    grid-template-columns:var(--chip-h) 1fr;
    column-gap:var(--gap);
  }
  .ptl-track{height:auto;width:var(--chip-h)}
  .ptl-dot{
    position:sticky;
    top:calc(50vh - (var(--chip-h) - 6px) / 2);
    display:block;
    margin:3px;
    left:auto;
  }
  .ptl-rail{margin:0;padding:0;overflow:visible;min-height:0}
  .ptl-row{flex-direction:column;gap:var(--syn-gap);height:auto}
  .ptl-stage{flex-direction:column;gap:var(--gap);height:auto;width:auto}
  .ptl-text{width:auto}
  .ptl-pic{width:100%;height:auto;aspect-ratio:4 / 5}
  .ptl-dots{display:none}
}

/* ---------- process: THE LIST (2026-09-24; see buildProcessList) ----------
   About's shape: the intro at 16, then labelled blocks 40 apart at 14. The
   stages are run-in paragraphs ("Talk: …"), 20 apart. */
.pd{display:flex;flex-direction:column;align-items:stretch;gap:var(--syn-gap)}


/* LABELS SMALLER THAN THE WORDS (Anthony, 2026-09-25): on About and Process a
   block's label (Contact, Press, Talk, Services…) stays 14 and what it says is
   16, the intro's size. The legal pages keep their 14 blocks. */
.about .about-block,
.pd .about-block{font-size:16px}
.about .about-block > :first-child,
.pd .about-block > :first-child{font-size:var(--fs-s)}

/* THE PROCESS AS ONE BLOCK (2026-09-25): name | line, rows 10 apart; the names'
   column is fixed so every line starts on one edge. On a phone the lines wrap
   inside their column (a hanging indent). */
.pd-steps{
  display:grid;
  grid-template-columns:80px 1fr;
  column-gap:var(--gap);
  row-gap:10px;
  margin:0;
}
.pd-steps dt,.pd-steps dd{margin:0}
@media (max-width:768px){.pd-steps{grid-template-columns:60px 1fr}}   /* "Launch" fits; the lines keep the width */

/* THE PROCESS PAGE IS GONE (2026-09-25): About · Process has nothing to switch
   between, so the About header shows Back and the plus alone. */
.view-seg.page-seg{display:none !important}
/* The press list stays 14 under About's 16 contents (his call, 2026-09-25):
   it is an index, and fifty rows at 16 ran on and on. */
.about .press-list{font-size:var(--fs-s)}

/* THE PROJECT PAGE (Anthony, 2026-09-25, third pass): the name at 14 over its
   one-line description at 16; the story and everything below it — Name /
   Type / Year, their values, the press kit — at 14. (The first try, name 20 / labels 14 / values 16, "looks
   worse".) The head takes its own height; Buy and share stay on its foot. */
.proj-head{height:auto;min-height:var(--caption-h)}
.proj-head .cap-text .t{font-size:16px}   /* name and line both 16 at the top of a project page (his call, 2026-09-25) */
.proj-head .cap-text .s{font-size:16px}
.proj-body p{font-size:var(--fs-s)}
.proj-meta dt,.proj-meta dd{font-size:var(--fs-s)}
.proj-part .press{font-size:var(--fs-s)}
.proj-head .cap-text{white-space:normal}   /* at 16 a long line would run under Buy on a phone; here it wraps */
.proj-head .cap-actions{flex:none;margin-left:var(--gap)}
/* Buy and share sit level with the TOP of the name (his note, 2026-09-25): on
   the head's foot, a line that wrapped on a phone pushed the name up above them. */
.proj-head .cap-actions{align-self:flex-start}
