/* Desktop (960 and up), loaded last: the grid, the type scale and the paper motion (DESIGN.md, 2026-10-10 afternoon).
   One left edge for every heading and block: the frame, 880 wide and centred. Running text keeps to a 34-character
   measure (578px at 17px); the statement, tables, cards, the steps and the team take the whole frame. */
@media (min-width: 960px) {
  .col, .wide, .contact-grid { margin-left: max(var(--gutter), (100% - 880px) / 2); margin-right: 0; }
  @supports (margin-left: round(down, 1.5px, 1px)) { /* whole pixels, so vertical hairlines stay crisp at 1x */
    .col, .wide, .contact-grid { margin-left: max(var(--gutter), round(down, (100% - 880px) / 2, 1px)); }
  }
  .col { width: min(880px, 100% - 2 * var(--gutter)); }
  p.col, .prose p { width: 578px; max-width: 100%; } /* 34 whole characters fill the measure: no tracking */

  /* Intro: the statement, the focus of the first paper screen. Display face, bold, at the section heading's 32/42 as on
     phones (owner, 2026-10-13). */
  .lede { font-size: 32px; line-height: 42px; letter-spacing: 0; }
  .lede p + p { margin-top: 32px; }
  .lede .ph { display: block; } /* a line per phrase, so no word is split across lines */

  /* Tiers below the focus (apple-design text tiers): section 32/42, item 20/28, body 17/31 (serif; 16/30 in the team's
     two columns), note 15/22, aux 13/18 (ink-2). Every item name (table, cases, steps, people) takes the item size. */
  .person h3 { font-size: 20px; line-height: 28px; }
  .steps li { font-size: 20px; line-height: 28px; }
  .cred { font-size: 15px; line-height: 22px; }
  .thead, .steps li::before { font-size: 13px; line-height: 18px; }

  /* Steps: each node, number and name start on their column's left edge, the first on the frame's; the track runs from
     the first node to the last (sky.js reads the nodes for the comet). The footer line keeps the same edge. */
  .steps::before, .steps::after { left: 5px; right: calc(20% - 5px); }
  .steps li { padding: 56px 8px 0 0; text-align: left; transform-origin: 5px 30.5px; }
  .steps li::before { right: auto; }
  .steps li::after { left: 0; }
  .foot { text-align: left; }
  .foot p { width: min(880px, 100% - 2 * var(--gutter)); margin-left: max(var(--gutter), (100% - 880px) / 2); }

  /* Tables: names start on the frame's edge, like the headings above them. */
  .thead span:first-child, .row dt { padding-left: 0; }
  /* Cases: the services table's grid, the title in its 300 column and the text or names in the 580 one (from 320, as
     the services' text). No ground: the cases are set apart by their rules and the space. */
  .case { display: grid; grid-template-columns: 300px 1fr; align-items: baseline; padding: 24px 0 32px; }
  .case h3 { padding-right: 20px; font-size: 20px; line-height: 28px; }
  .case-body { margin-top: 0; padding-inline: 20px; }

  /* Statement: typed out once it rises into view (paper.js splits it, sky.js adds .in), a glyph every 24 ms. Each glyph
     appears whole, never faded, so all the text on screen is at full contrast; at rest no line, no grey. */
  .motion .lede .ch { opacity: 0; }
  .motion .lede.in .ch { opacity: 1; transition: opacity 0s calc(var(--i) * 24ms); }

  /* Table rows: the scroll only starts it. Once a row arrives its ink rule draws itself across in 0.6 s, led by a short
     nib on the rule itself (7px, in the 18px under the text, so it never touches a glyph), and the name inks in. */
  .motion .table .row { border-bottom-color: var(--rule-soft); }
  .motion .table .row::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
    background: var(--ink); transform: scaleX(0); transform-origin: left;
  }
  .motion .table .row.in::after { transform: none; transition: transform 0.6s var(--draw) var(--d, 0s); }
  .motion .table .row::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 7px; opacity: 0; pointer-events: none;
    background: linear-gradient(var(--ink), var(--ink)) right / 2px 100% no-repeat;
  }
  .motion .table .row.in::before { animation: nib 0.6s var(--draw) var(--d, 0s) both; }
  .motion .row dt { transition: color 0.3s var(--enter) calc(var(--d, 0s) + 0.25s); }
  .motion .row:not(.in) dt { color: var(--ink-2); }

  /* Cases: the rule over a case draws across on its own (no nib: the table's pen is for the table), and only then does
     the title ink and the text come up (style.css, --t). */
  .case { --t: 0.45s; }
  .motion .case { border-top-color: var(--rule-soft); }
  .motion .case::before {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none;
    background: var(--ink); transform: scaleX(0); transform-origin: left;
  }
  .motion .case.in::before { transform: none; transition: transform 0.6s var(--draw); }
}
:root { --draw: cubic-bezier(0.45, 0, 0.2, 1); }
@keyframes nib { 0% { opacity: 0; transform: translateX(-100%); } 4%, 80% { opacity: 1; } 100% { opacity: 0; transform: none; } }
